mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2025-01-12 01:57:12 +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 {
|
namespace Wifi {
|
||||||
constexpr size_t U32_AT_SIZE_ZERO = 4;
|
constexpr size_t U32_AT_SIZE_ZERO = 4;
|
||||||
constexpr size_t MAP_DEVICE_NUMS = 100;
|
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 = u"ohos.wifi.IWifiDeviceService";
|
||||||
const std::u16string FORMMGR_INTERFACE_TOKEN_EX = u"ohos.wifi.IWifiDeviceMgr";
|
const std::u16string FORMMGR_INTERFACE_TOKEN_EX = u"ohos.wifi.IWifiDeviceMgr";
|
||||||
sptr<WifiDeviceMgrStub> pWifiDeviceMgrStub = WifiDeviceMgrServiceImpl::GetInstance();
|
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)
|
bool DoSomethingInterestingWithMyAPIEx(const uint8_t* data, size_t size)
|
||||||
{
|
{
|
||||||
|
@ -33,11 +33,11 @@ namespace OHOS {
|
|||||||
namespace Wifi {
|
namespace Wifi {
|
||||||
constexpr size_t U32_AT_SIZE_ZERO = 4;
|
constexpr size_t U32_AT_SIZE_ZERO = 4;
|
||||||
constexpr size_t MAP_SCAN_NUMS = 31;
|
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 = u"ohos.wifi.IWifiScan";
|
||||||
const std::u16string FORMMGR_INTERFACE_TOKEN_EX = u"ohos.wifi.IWifiScanMgr";
|
const std::u16string FORMMGR_INTERFACE_TOKEN_EX = u"ohos.wifi.IWifiScanMgr";
|
||||||
sptr<WifiScanMgrStub> pWifiScanMgrStub = WifiScanMgrServiceImpl::GetInstance();
|
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)
|
bool DoSomethingInterestingWithMyAPIEx(const uint8_t* data, size_t size)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user