/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_role_option_test.cpp | 42 std::string netWorkId = "12345"; in HWTEST_F() local 49 netWorkId, WIFI_DIRECT_CONNECT_TYPE_AUTH_NEGO_P2P, expectedRole, isStrict); in HWTEST_F() 58 netWorkId, WIFI_DIRECT_CONNECT_TYPE_AUTH_NEGO_P2P, expectedRole, isStrict); in HWTEST_F() 67 netWorkId, WIFI_DIRECT_CONNECT_TYPE_AUTH_NEGO_P2P, expectedRole, isStrict); in HWTEST_F() 78 netWorkId, WIFI_DIRECT_CONNECT_TYPE_AUTH_NEGO_P2P, expectedRole, isStrict); in HWTEST_F() 91 std::string netWorkId = "12345"; in HWTEST_F() local 100 netWorkId, WIFI_DIRECT_CONNECT_TYPE_AUTH_NEGO_HML, expectedRole, isStrict); in HWTEST_F() 111 netWorkId, WIFI_DIRECT_CONNECT_TYPE_AUTH_NEGO_HML, expectedRole, isStrict); in HWTEST_F() 122 netWorkId, WIFI_DIRECT_CONNECT_TYPE_AUTH_NEGO_HML, expectedRole, isStrict); in HWTEST_F() 135 std::string netWorkId in HWTEST_F() local [all...] |
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/ |
H A D | dbms_device_manager.cpp | 61 int32_t DbmsDeviceManager::GetUdidByNetworkId(const std::string &netWorkId, std::string &udid) in GetUdidByNetworkId() argument 68 DISTRIBUTED_BUNDLE_NAME, netWorkId, udid); in GetUdidByNetworkId() 71 int32_t DbmsDeviceManager::GetUuidByNetworkId(const std::string &netWorkId, std::string &uuid) in GetUuidByNetworkId() argument 78 .GetUuidByNetworkId(DISTRIBUTED_BUNDLE_NAME, netWorkId, uuid); in GetUuidByNetworkId()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/softbus/ |
H A D | softbus_session_listener_test.cpp | 150 string netWorkId = "?networkid=454553656565656656"; in HWTEST_F() local 153 string testUri2 = "datashare:///com.demo.a/data/test/el2/base/files/test.txt" + netWorkId; in HWTEST_F() 156 string testUri3 = TEST_URI + netWorkId; in HWTEST_F() 160 string testUri4 = "file://docs/data/test/el2/base/files/test2.txt" + netWorkId; in HWTEST_F() 164 string testUri5 = TEST_MEDIA_URI + netWorkId; in HWTEST_F()
|
/foundation/distributedhardware/device_manager/common/include/ipc/model/ |
H A D | ipc_get_device_screen_status_req.h | 42 void SetNetWorkId(const std::string &netWorkId) in SetNetWorkId() argument 44 netWorkId_ = netWorkId; in SetNetWorkId()
|
H A D | ipc_get_info_by_network_req.h | 42 void SetNetWorkId(const std::string &netWorkId) in SetNetWorkId() argument 44 netWorkId_ = netWorkId; in SetNetWorkId()
|
H A D | ipc_get_info_by_network_rsp.h | 124 void SetNetWorkId(const std::string &netWorkId) in SetNetWorkId() argument 126 netWorkId_ = netWorkId; in SetNetWorkId()
|
/foundation/distributedhardware/device_manager/test/benchmarktest/device_manager_test/ |
H A D | device_manager_test.cpp | 116 std::string netWorkId = "netWorkId_"; in BENCHMARK_F() local 118 int32_t ret = DeviceManager::GetInstance().GetUdidByNetworkId(pkgName, netWorkId, udid); in BENCHMARK_F() 129 std::string netWorkId = "netWorkId_"; in BENCHMARK_F() local 131 int32_t ret = DeviceManager::GetInstance().GetUuidByNetworkId(pkgName, netWorkId, uuid); in BENCHMARK_F()
|
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/include/ |
H A D | dbms_device_manager.h | 31 int32_t GetUdidByNetworkId(const std::string &netWorkId, std::string &udid); 32 int32_t GetUuidByNetworkId(const std::string &netWorkId, std::string &uuid);
|
/foundation/distributedhardware/device_manager/test/servicesfuzztest/getuuidbynetworkid_fuzzer/ |
H A D | get_uuid_by_network_id_fuzzer.cpp | 34 std::string netWorkId(reinterpret_cast<const char*>(data), size); in GetUuidByNetworkIdFuzzTest() 37 DeviceManager::GetInstance().GetUuidByNetworkId(packName, netWorkId, uuid); in GetUuidByNetworkIdFuzzTest()
|
/foundation/distributedhardware/device_manager/test/servicesfuzztest/getudidbynetworkid_fuzzer/ |
H A D | get_udid_by_network_id_fuzzer.cpp | 34 std::string netWorkId(reinterpret_cast<const char*>(data), size); in GetUdidByNetworkIdFuzzTest() 38 DeviceManager::GetInstance().GetUdidByNetworkId(pkgName, netWorkId, udid); in GetUdidByNetworkIdFuzzTest()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_link_conflict/ |
H A D | lnn_lane_link_conflict_deps_mock.cpp | 62 int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo() argument 64 return GetLaneLinkConflictDepsInterface()->LnnGetRemoteStrInfo(netWorkId, key, info, len); in LnnGetRemoteStrInfo()
|
H A D | lnn_lane_link_conflict_deps_mock.h | 33 virtual int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) = 0;
|
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/ |
H A D | distribute_net_ledger_mock.cpp | 51 int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo() argument 53 return GetDistriLedgerInterface()->LnnGetRemoteStrInfo(netWorkId, key, info, len); in LnnGetRemoteStrInfo()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_service.cpp | 217 ErrCode StaService::AddCandidateConfig(const int uid, const WifiDeviceConfig &config, int& netWorkId) const in AddCandidateConfig() 221 netWorkId = INVALID_NETWORK_ID; in AddCandidateConfig() 252 netWorkId = AddDeviceConfig(tempDeviceConfig); in AddCandidateConfig() 253 return (netWorkId == INVALID_NETWORK_ID) ? WIFI_OPT_FAILED : WIFI_OPT_SUCCESS; in AddCandidateConfig() 410 int netWorkId = INVALID_NETWORK_ID; in AddDeviceConfig() local 418 netWorkId = tempDeviceConfig.networkId; in AddDeviceConfig() 427 netWorkId = WifiSettings::GetInstance().GetNextNetworkId(); in AddDeviceConfig() 428 LOGI("AddDeviceConfig alloc new id[%{public}d] succeed!", netWorkId); in AddDeviceConfig() 433 tempDeviceConfig.networkId = netWorkId; in AddDeviceConfig() 473 return netWorkId; in AddDeviceConfig() 552 int netWorkId = AddDeviceConfig(config); ConnectToDevice() local [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/src/dfx/ |
H A D | dms_continue_time_dumper.cpp | 115 srcInfo_.netWorkId.clear(); in Init() 119 dstInfo_.netWorkId.clear(); in Init() 167 srcInfo_.netWorkId = srcNetWorkId; in SetNetWorkId() 168 dstInfo_.netWorkId = dstNetWorkId; in SetNetWorkId() 173 srcInfo_.deviceName = DtbschedmgrDeviceInfoStorage::GetInstance().GetDeviceName(srcInfo_.netWorkId); in SetDeviceNamePull() 182 dstInfo_.deviceName = DtbschedmgrDeviceInfoStorage::GetInstance().GetDeviceName(dstInfo_.netWorkId); in SetDeviceNamePush() 397 << GetAnonymStr(srcInfo_.netWorkId.c_str()) in AppendInfo() 404 << GetAnonymStr(dstInfo_.netWorkId.c_str()) in AppendInfo()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/ |
H A D | lnn_lane_deps_mock.cpp | 94 int32_t LaneDepsInterfaceMock::ActionOfGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) in ActionOfGetRemoteStrInfo() argument 96 (void)netWorkId; in ActionOfGetRemoteStrInfo() 190 int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo() argument 192 return GetLaneDepsInterface()->LnnGetRemoteStrInfo(netWorkId, key, info, len); in LnnGetRemoteStrInfo() 231 int32_t LnnGetRemoteNumInfo(const char *netWorkId, InfoKey key, int32_t *info) in LnnGetRemoteNumInfo() argument 233 return GetLaneDepsInterface()->LnnGetRemoteNumInfo(netWorkId, key, info); in LnnGetRemoteNumInfo() 251 int32_t LnnGetRemoteNumU32Info(const char *netWorkId, InfoKey key, uint32_t *info) in LnnGetRemoteNumU32Info() argument 253 return GetLaneDepsInterface()->LnnGetRemoteNumU32Info(netWorkId, key, info); in LnnGetRemoteNumU32Info()
|
/foundation/ability/ability_runtime/frameworks/js/napi/feature_ability/ |
H A D | distribute_req_param.h | 95 inline void SetNetWorkId(const std::string &netWorkId) in SetNetWorkId() argument 97 netWorkId_ = netWorkId; in SetNetWorkId()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_role_option.cpp | 58 WifiDirectRole WifiDirectRoleOption::GetExpectedP2pRole(const std::string &netWorkId) in GetExpectedP2pRole() argument 72 ret = LnnGetRemoteNumInfo(netWorkId.data(), NUM_KEY_DEV_TYPE_ID, &remoteDevTypeId); in GetExpectedP2pRole()
|
H A D | wifi_direct_role_option.h | 34 WifiDirectRole GetExpectedP2pRole(const std::string &netWorkId);
|
/foundation/filemanagement/dfs_service/test/mock/ |
H A D | device_manager_impl_mock.cpp | 185 const std::string &netWorkId, in GetUdidByNetworkId() 192 const std::string &netWorkId, in GetUuidByNetworkId() 318 const std::string &netWorkId, in GetNetworkTypeByNetworkId() 322 if (netWorkId == NETWORKID_ONE) { in GetNetworkTypeByNetworkId() 326 if (netWorkId == NETWORKID_TWO) { in GetNetworkTypeByNetworkId() 184 GetUdidByNetworkId(const std::string &pkgName, const std::string &netWorkId, std::string &udid) GetUdidByNetworkId() argument 191 GetUuidByNetworkId(const std::string &pkgName, const std::string &netWorkId, std::string &uuid) GetUuidByNetworkId() argument 317 GetNetworkTypeByNetworkId(const std::string &pkgName, const std::string &netWorkId, int32_t &netWorkType) GetNetworkTypeByNetworkId() argument
|
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | dtbschedmgr_device_info_storage_test.cpp | 420 std::string netWorkId = "netWorkId"; in HWTEST_F() local 421 std::shared_ptr<DmsDeviceInfo> deviceInfo = std::make_shared<DmsDeviceInfo>("deviceName", 0, "netWorkId"); in HWTEST_F() 422 DtbschedmgrDeviceInfoStorage::GetInstance().remoteDevices_[netWorkId] = deviceInfo; in HWTEST_F() 423 std::string ret = DtbschedmgrDeviceInfoStorage::GetInstance().GetDeviceName(netWorkId); in HWTEST_F() 428 DtbschedmgrDeviceInfoStorage::GetInstance().remoteDevices_[netWorkId] = deviceInfo1; in HWTEST_F() 429 ret = DtbschedmgrDeviceInfoStorage::GetInstance().GetDeviceName(netWorkId); in HWTEST_F() 444 std::string netWorkId = "netWorkId"; in HWTEST_F() local 448 std::shared_ptr<DmsDeviceInfo> deviceInfo = std::make_shared<DmsDeviceInfo>("deviceName", 0, "netWorkId"); in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_input/services/source/inputinject/src/ |
H A D | virtual_device.cpp | 189 void VirtualDevice::SetNetWorkId(const std::string &netWorkId) in SetNetWorkId() argument 191 DHLOGI("SetNetWorkId %{public}s\n", GetAnonyString(netWorkId).c_str()); in SetNetWorkId() 192 netWorkId_ = netWorkId; in SetNetWorkId()
|
/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_device_manager_impl_two.cpp | 982 std::string netWorkId = "111"; in HWTEST_F() local 985 int32_t ret = DeviceManager::GetInstance().GetUdidByNetworkId(packName, netWorkId, udid); in HWTEST_F() 1006 std::string netWorkId = "111"; in HWTEST_F() local 1015 int32_t ret = DeviceManager::GetInstance().GetUdidByNetworkId(packName, netWorkId, udid); in HWTEST_F() 1037 std::string netWorkId = "111"; in HWTEST_F() local 1046 int32_t ret = DeviceManager::GetInstance().GetUdidByNetworkId(packName, netWorkId, udid); in HWTEST_F() 1069 std::string netWorkId = "111"; in HWTEST_F() local 1078 int32_t ret = DeviceManager::GetInstance().GetUdidByNetworkId(packName, netWorkId, udid); in HWTEST_F() 1100 std::string netWorkId = "111"; in HWTEST_F() local 1109 int32_t ret = DeviceManager::GetInstance().GetUdidByNetworkId(packName, netWorkId, udi in HWTEST_F() 1130 std::string netWorkId = "111"; HWTEST_F() local 1154 std::string netWorkId = "111"; HWTEST_F() local 1185 std::string netWorkId = "111"; HWTEST_F() local 1216 std::string netWorkId = "111"; HWTEST_F() local 1247 std::string netWorkId = "111"; HWTEST_F() local [all...] |
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_service_test.cpp | 499 int netWorkId = NETWORK_ID; in StaServiceAddCandidateConfigTestSucc() local 506 EXPECT_FALSE(pStaService->AddCandidateConfig(uid, config, netWorkId) == WIFI_OPT_SUCCESS); in StaServiceAddCandidateConfigTestSucc() 518 int netWorkId = NETWORK_ID; in StaServiceAddCandidateConfigTestFail0() local 520 EXPECT_TRUE(pStaService->AddCandidateConfig(uid, config, netWorkId) == WIFI_OPT_NOT_SUPPORTED); in StaServiceAddCandidateConfigTestFail0() 532 int netWorkId = NETWORK_ID; in StaServiceAddCandidateConfigTestFail1() local 536 pStaService->AddCandidateConfig(uid, config, netWorkId); in StaServiceAddCandidateConfigTestFail1() 576 int netWorkId = NETWORK_ID; in StaServiceConnectToCandidateConfigTestSucc0() local 579 EXPECT_TRUE(pStaService->ConnectToCandidateConfig(uid, netWorkId) == WIFI_OPT_SUCCESS); in StaServiceConnectToCandidateConfigTestSucc0() 592 int netWorkId = NETWORK_ID; in StaServiceConnectToCandidateConfigTestSucc1() local 595 EXPECT_TRUE(pStaService->ConnectToCandidateConfig(uid, netWorkId) in StaServiceConnectToCandidateConfigTestSucc1() 607 int netWorkId = NETWORK_ID; StaServiceConnectToCandidateConfigTestFail() local [all...] |
/foundation/communication/dsoftbus/tests/core/connection/ble/mock/ |
H A D | connection_ble_manager_mock.cpp | 99 int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo() argument 101 return GetConnectionBleInterface()->LnnGetRemoteStrInfo(netWorkId, key, info, len); in LnnGetRemoteStrInfo()
|