/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_mock.cpp | 24 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->AuthGetDeviceUuid(authId, uuid, size); in AuthGetDeviceUuid() 29 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->AuthPostTransData(authHandle, dataInfo); in AuthPostTransData() 34 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->RegAuthTransListener(module, listener); in RegAuthTransListener() 39 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->Hid2dGetChannelListFor5G(chanList, len); in Hid2dGetChannelListFor5G() 44 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->GetP2pEnableStatus(state); in GetP2pEnableStatus() 49 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->LnnGetLocalStrInfo(key, info, len); in LnnGetLocalStrInfo() 54 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->LnnSetLocalStrInfo(key, info); in LnnSetLocalStrInfo() 59 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->LnnSetLocalNumInfo(key, info); in LnnSetLocalNumInfo() 64 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->LnnGetLocalNumU64Info(key, info); in LnnGetLocalNumU64Info() 69 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock() in LnnSyncP2pInfo() [all...] |
H A D | net_conn_client.cpp | 20 auto mock = OHOS::NetManagerStandard::MockNetConnClient::GetMock(); in AddStaticArp() 30 auto mock = OHOS::NetManagerStandard::MockNetConnClient::GetMock(); in DelStaticArp() 40 auto mock = OHOS::NetManagerStandard::MockNetConnClient::GetMock(); in AddNetworkRoute() 50 auto mock = OHOS::NetManagerStandard::MockNetConnClient::GetMock(); in RemoveNetworkRoute() 60 auto mock = OHOS::NetManagerStandard::MockNetConnClient::GetMock(); in AddInterfaceAddress() 70 auto mock = OHOS::NetManagerStandard::MockNetConnClient::GetMock(); in DelInterfaceAddress()
|
H A D | net_conn_client.h | 87 static MockNetConnClient *GetMock() in GetMock() function in OHOS::NetManagerStandard::MockNetConnClient
|
H A D | wifi_direct_mock.h | 121 static WifiDirectInterfaceMock *GetMock() in GetMock() function in OHOS::SoftBus::WifiDirectInterfaceMock
|
/foundation/communication/dsoftbus/tests/core/discovery/ble/softbus_ble_mock/ |
H A D | ble_mock.cpp | 32 return BleMock::GetMock()->SoftBusAddBtStateListener(listener); in SoftBusAddBtStateListener() 37 return BleMock::GetMock()->InitBroadcastMgr(); in InitBroadcastMgr() 42 return BleMock::GetMock()->DeInitBroadcastMgr(); in DeInitBroadcastMgr() 47 return BleMock::GetMock()->RegisterScanListener(type, listenerId, cb); in RegisterScanListener() 52 return BleMock::GetMock()->SetScanFilter(listenerId, scanFilter, filterNum); in SetScanFilter() 57 return BleMock::GetMock()->RegisterBroadcaster(type, bcId, cb); in RegisterBroadcaster() 62 return BleMock::GetMock()->UnRegisterBroadcaster(bcId); in UnRegisterBroadcaster() 67 return BleMock::GetMock()->StopScan(listenerId); in StopScan() 72 return BleMock::GetMock()->SoftBusRemoveBtStateListener(listenerId); in SoftBusRemoveBtStateListener() 77 return BleMock::GetMock() in UnRegisterScanListener() [all...] |
H A D | bus_center_mock.cpp | 24 return BusCenterMock::GetMock()->LnnGetLocalStrInfo(key, info, len); in LnnGetLocalStrInfo() 29 return BusCenterMock::GetMock()->LnnConvertDeviceTypeToId(deviceType, typeId); in LnnConvertDeviceTypeToId() 34 return BusCenterMock::GetMock()->LnnGetLocalByteInfo(key, info, len); in LnnGetLocalByteInfo() 39 return BusCenterMock::GetMock()->LnnIsDefaultOhosAccount(); in LnnIsDefaultOhosAccount() 44 return BusCenterMock::GetMock()->LnnEncryptDataByHuks(keyAlias, inData, outData); in LnnEncryptDataByHuks() 49 return BusCenterMock::GetMock()->LnnDecryptDataByHuks(keyAlias, inData, outData); in LnnDecryptDataByHuks() 54 return BusCenterMock::GetMock()->LnnGenerateRandomByHuks(randomKey, len); in LnnGenerateRandomByHuks()
|
H A D | bus_center_mock.h | 42 static BusCenterMock* GetMock() in GetMock() function in BusCenterMock
|
H A D | ble_mock.h | 62 static BleMock* GetMock() in GetMock() function in BleMock
|
/foundation/communication/dsoftbus/tests/core/discovery/ble/bluetooth_mock/ |
H A D | bluetooth_mock.cpp | 114 BluetoothMock *BluetoothMock::GetMock() in GetMock() function in OHOS::BluetoothMock 373 return BluetoothMock::GetMock()->EnableBle(); in EnableBle() 378 return BluetoothMock::GetMock()->DisableBle(); in DisableBle() 383 return BluetoothMock::GetMock()->IsBleEnabled(); in IsBleEnabled() 388 return BluetoothMock::GetMock()->EnableBr(); in EnableBr() 393 return BluetoothMock::GetMock()->DisableBr(); in DisableBr() 398 return BluetoothMock::GetMock()->GetBtState(); in GetBtState() 404 return BluetoothMock::GetMock()->GetLocalAddr(mac, len); in GetLocalAddr() 410 return BluetoothMock::GetMock()->SetLocalName(localName, length); in SetLocalName() 416 return BluetoothMock::GetMock() in GapRegisterCallbacks() [all...] |
H A D | bluetooth_mock.h | 110 static BluetoothMock *GetMock(void);
|
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/softbus_adapter/ |
H A D | mock_softbus_adapter.cpp | 34 SoftbusMock& SoftbusMock::GetMock() in GetMock() function in OHOS::DistributedSchedule::SoftbusMock 42 return SoftbusMock::GetMock().SendEvent(pkgName, target, event); in SendEvent() 47 return SoftbusMock::GetMock().StopEvent(pkgName, target, event); in StopEvent() 52 return SoftbusMock::GetMock().RegisterEventListener(pkgName, listener); in RegisterEventListener() 57 return SoftbusMock::GetMock().UnregisterEventListener(pkgName, listener); in UnregisterEventListener()
|
H A D | mock_softbus_adapter.h | 41 static SoftbusMock& GetMock();
|
/foundation/communication/dsoftbus/tests/core/adapter/unittest/ |
H A D | lnn_ohos_account_adapter_mock.cpp | 26 auto mock = OHOS::AccountSA::OhosAccountKitsMock::GetMock(); in QueryOhosAccountInfo() 36 auto mock = OHOS::AccountSA::OhosAccountKitsMock::GetMock(); in IsSameAccountGroupDevice() 58 auto mock = OHOS::AccountSA::OhosAccountKitsMock::GetMock(); in IsSameAccountGroupDevice() 70 auto mock = OHOS::AccountSA::OsAccountManagerMock::GetMock(); in QueryActiveOsAccountIds() 79 auto mock = OHOS::AccountSA::OsAccountManagerMock::GetMock(); in IsOsAccountVerified()
|
H A D | lnn_ohos_account_adapter_mock.h | 45 static OhosAccountKitsMock *GetMock() in GetMock() function in OHOS::AccountSA::OhosAccountKitsMock 70 static OsAccountManagerMock *GetMock() in GetMock() function in OHOS::AccountSA::OsAccountManagerMock
|
/foundation/communication/dsoftbus/tests/adapter/bluetooth/broadcast/ |
H A D | softbus_ble_mock.cpp | 52 ManagerMock *ManagerMock::GetMock() in GetMock() function in ManagerMock 59 ManagerMock::GetMock()->SoftbusBleAdapterInit(); in SoftbusBleAdapterInit() 74 return ManagerMock::GetMock()->SoftBusAddBtStateListener(listener); in SoftBusAddBtStateListener() 79 return ManagerMock::GetMock()->SoftBusRemoveBtStateListener(listenerId); in SoftBusRemoveBtStateListener()
|
H A D | softbus_ble_mock.h | 35 static ManagerMock* GetMock();
|
/foundation/communication/dsoftbus/tests/core/common/dfx/log/unittest/mock/ |
H A D | hilog_mock.cpp | 45 return HilogMock::GetMock()->HiLogPrint(type, level, domain, tag, fmt, args); in HiLogPrint() 61 return HilogMock::GetMock()->HiLogPrint(type, level, domain, tag, fmt, args); in HiLogPrintDictNew()
|
H A D | hilog_mock.h | 33 static HilogMock *GetMock() in GetMock() function in HilogMock
|
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/channel/ |
H A D | proxy_negotiate_channel.h | 71 return WifiDirectInterfaceMock::GetMock()->ProxyNegotiateChannelSendMessage(channelId_, msg); 76 return WifiDirectInterfaceMock::GetMock()->ProxyNegotiateChannelGetRemoteDeviceId(channelId_);
|
/foundation/communication/dsoftbus/tests/core/discovery/coap/nstackx_adapter_mock/ |
H A D | nstackx_adapter_mock.cpp | 20 return AdapterMock::GetMock()->NSTACKX_RegisterServiceData(serviceData); in NSTACKX_RegisterServiceData()
|
H A D | nstackx_adapter_mock.h | 31 static AdapterMock* GetMock() in GetMock() function in AdapterMock
|
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/mock/ |
H A D | hisysevent_mock.cpp | 36 return HiSysEventMock::GetMock()->HiSysEvent_Write(func, line, domain, name, type, params, size); in HiSysEvent_Write()
|
H A D | hisysevent_mock.h | 33 static HiSysEventMock *GetMock() in GetMock() function in HiSysEventMock
|
/foundation/communication/dsoftbus/tests/core/discovery/ipc/ |
H A D | disc_client_on_device_found_test.cpp | 99 static BusCenterMock *GetMock() in GetMock() function in __anon6953::BusCenterMock 129 return BusCenterMock::GetMock()->ClientOnRefreshDeviceFound(pkgName, pid, device, deviceLen); in ClientOnRefreshDeviceFound() 135 return BusCenterMock::GetMock()->LnnStartDiscDevice(pkgName, info, cb, isInnerRequest); in LnnStartDiscDevice() 140 return BusCenterMock::GetMock()->LnnStopDiscDevice(pkgName, subscribeId, isInnerRequest); in LnnStopDiscDevice() 146 return BusCenterMock::GetMock()->LnnRefreshDeviceOnlineStateAndDevIdInfo(pkgName, device, additions); in LnnRefreshDeviceOnlineStateAndDevIdInfo()
|