mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-12-24 07:46:24 +00:00
fuzz
Signed-off-by: sunjingqiang <17319862417@163.com>
This commit is contained in:
parent
01ee3737d4
commit
4c892c7d1e
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user