Signed-off-by: sunjingqiang <17319862417@163.com>
This commit is contained in:
sunjingqiang 2023-11-22 18:02:04 +08:00
parent 01ee3737d4
commit 4c892c7d1e
2 changed files with 4 additions and 4 deletions

View File

@ -33,11 +33,11 @@ namespace OHOS {
namespace Wifi {
constexpr size_t U32_AT_SIZE_ZERO = 4;
constexpr size_t MAP_DEVICE_NUMS = 100;
constexpr int instId = 0;
constexpr int INS_ID = 0;
const std::u16string FORMMGR_INTERFACE_TOKEN = u"ohos.wifi.IWifiDeviceService";
const std::u16string FORMMGR_INTERFACE_TOKEN_EX = u"ohos.wifi.IWifiDeviceMgr";
sptr<WifiDeviceMgrStub> pWifiDeviceMgrStub = WifiDeviceMgrServiceImpl::GetInstance();
sptr<WifiDeviceStub> pWifiDeviceStub = new (std::nothrow) WifiDeviceServiceImpl(instId);
sptr<WifiDeviceStub> pWifiDeviceStub = new (std::nothrow) WifiDeviceServiceImpl(INS_ID);
bool DoSomethingInterestingWithMyAPIEx(const uint8_t* data, size_t size)
{

View File

@ -33,11 +33,11 @@ namespace OHOS {
namespace Wifi {
constexpr size_t U32_AT_SIZE_ZERO = 4;
constexpr size_t MAP_SCAN_NUMS = 31;
constexpr int instId = 0;
constexpr int INS_ID = 0;
const std::u16string FORMMGR_INTERFACE_TOKEN = u"ohos.wifi.IWifiScan";
const std::u16string FORMMGR_INTERFACE_TOKEN_EX = u"ohos.wifi.IWifiScanMgr";
sptr<WifiScanMgrStub> pWifiScanMgrStub = WifiScanMgrServiceImpl::GetInstance();
sptr<WifiScanStub> pWifiScanStub = new (std::nothrow) WifiScanServiceImpl(instId);
sptr<WifiScanStub> pWifiScanStub = new (std::nothrow) WifiScanServiceImpl(INS_ID);
bool DoSomethingInterestingWithMyAPIEx(const uint8_t* data, size_t size)
{