Home
last modified time | relevance | path

Searched refs:GetNodeKeyInfo (Results 1 - 25 of 28) sorted by relevance

12

/foundation/communication/dsoftbus/tools/device_info/
H A Dget_device_info.c31 if (GetNodeKeyInfo(g_pkgName, nodeInfo->networkId, key, in PrintNodeProperty()
33 printf("GetNodeKeyInfo Fail!\n"); in PrintNodeProperty()
39 if (GetNodeKeyInfo(g_pkgName, nodeInfo->networkId, key, in PrintNodeProperty()
41 printf("GetNodeKeyInfo Fail!\n"); in PrintNodeProperty()
47 if (GetNodeKeyInfo(g_pkgName, nodeInfo->networkId, key, in PrintNodeProperty()
49 printf("GetNodeKeyInfo Fail!\n"); in PrintNodeProperty()
55 if (GetNodeKeyInfo(g_pkgName, nodeInfo->networkId, key, in PrintNodeProperty()
57 printf("GetNodeKeyInfo Fail!\n"); in PrintNodeProperty()
63 if (GetNodeKeyInfo(g_pkgName, nodeInfo->networkId, key, in PrintNodeProperty()
65 printf("GetNodeKeyInfo Fai in PrintNodeProperty()
[all...]
/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dbus_center_sdk_test.cpp306 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, info.networkId, NODE_KEY_UDID, in HWTEST_F()
308 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, info.networkId, NODE_KEY_UUID, in HWTEST_F()
312 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, info.networkId, NODE_KEY_BR_MAC, in HWTEST_F()
314 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, info.networkId, NODE_KEY_IP_ADDRESS, in HWTEST_F()
316 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, info.networkId, NODE_KEY_DEV_NAME, in HWTEST_F()
318 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, info.networkId, NODE_KEY_NETWORK_CAPABILITY, in HWTEST_F()
320 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, info.networkId, NODE_KEY_NETWORK_TYPE, in HWTEST_F()
325 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, (remoteNodeInfo + i)->networkId, NODE_KEY_BR_MAC, in HWTEST_F()
327 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, (remoteNodeInfo + i)->networkId, NODE_KEY_IP_ADDRESS, in HWTEST_F()
329 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAM in HWTEST_F()
[all...]
H A Dsoftbus_center_sdk_test.cpp74 EXPECT_TRUE(GetNodeKeyInfo(PKG_NAME, info.networkId, NODE_KEY_DATA_CHANGE_FLAG, in HWTEST_F()
108 EXPECT_TRUE(GetNodeKeyInfo(PKG_NAME, info->networkId, NODE_KEY_DATA_CHANGE_FLAG, in HWTEST_F()
/foundation/distributedhardware/device_manager/test/unittest/mock/
H A Dsoftbus_bus_center.cpp18 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, NodeDeviceInfoKey key, uint8_t *info, in GetNodeKeyInfo() function
/foundation/distributedhardware/distributed_input/common/test/mock/
H A Dsoftbus_bus_center_mock.cpp30 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, in GetNodeKeyInfo() function
/foundation/filemanagement/dfs_service/test/mock/
H A Dsoftbus_bus_center_mock.cpp35 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, in GetNodeKeyInfo() function
38 GTEST_LOG_(INFO) << "GetNodeKeyInfo start"; in GetNodeKeyInfo()
/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/getnodekeyinfo_fuzzer/
H A Dgetnodekeyinfo_fuzzer.cpp47 GetNodeKeyInfo(reinterpret_cast<const char *>(tmp), in GetNodeKeyInfoTest()
/foundation/distributedhardware/device_manager/services/softbuscache/src/
H A Ddm_softbus_cache.cpp100 int32_t ret = GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_UDID, mUdid, sizeof(mUdid)); in GetUdidByNetworkId()
102 LOGE("[SOFTBUS]GetNodeKeyInfo failed, ret: %{public}d.", ret); in GetUdidByNetworkId()
112 int32_t ret = GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_UUID, mUuid, sizeof(mUuid)); in GetUuidByNetworkId()
114 LOGE("[SOFTBUS]GetNodeKeyInfo failed, ret: %{public}d.", ret); in GetUuidByNetworkId()
291 if (GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_DEVICE_SECURITY_LEVEL, in SaveDeviceSecurityLevel()
293 LOGE("[SOFTBUS]GetNodeKeyInfo networkType failed."); in SaveDeviceSecurityLevel()
326 if (GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_DEVICE_SECURITY_LEVEL, in GetDevLevelFromBus()
328 LOGE("[SOFTBUS]GetNodeKeyInfo networkType failed."); in GetDevLevelFromBus()
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/src/
H A Dmock_soft_bus.cpp80 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, NodeDeviceInfoKey key, uint8_t *info, in GetNodeKeyInfo() function
/foundation/communication/dsoftbus/sdk/transmission/ipc/standard/include/
H A Dtrans_server_proxy_standard.h47 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, int32_t key, unsigned char *buf,
/foundation/communication/dsoftbus/sdk/frame/standard/include/
H A Dsoftbus_server_proxy_standard.h50 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, int key, unsigned char *buf,
/foundation/distributedhardware/distributed_screen/services/screendemo/
H A Dtest.cpp238 if (GetNodeKeyInfo(DSOFTBUS_TOOL_PKG_NAME, nodeInfo->networkId, key, udid, UDID_BUF_LEN) != 0) { in PrintNodeProperty()
239 printf("GetNodeKeyInfo Fail!\n"); in PrintNodeProperty()
245 if (GetNodeKeyInfo(DSOFTBUS_TOOL_PKG_NAME, nodeInfo->networkId, key, uuid, UUID_BUF_LEN) != 0) { in PrintNodeProperty()
246 printf("GetNodeKeyInfo Fail!\n"); in PrintNodeProperty()
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/include/
H A Dbus_center_server_proxy_standard.h47 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, int key, unsigned char *buf,
/foundation/communication/dsoftbus/core/frame/standard/init/include/
H A Dsoftbus_server.h50 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, int key, unsigned char *buf,
H A Dif_softbus_server.h49 virtual int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, int key, unsigned char *buf,
/foundation/communication/dsoftbus/sdk/frame/standard/src/
H A Dsoftbus_server_proxy_standard.cpp185 int32_t SoftBusServerProxyFrame::GetNodeKeyInfo(const char *pkgName, const char *networkId, int key, in GetNodeKeyInfo() function in OHOS::SoftBusServerProxyFrame
/foundation/communication/dsoftbus/interfaces/kits/bus_center/
H A Dsoftbus_bus_center.h169 * The key can be obtained via {@link GetNodeKeyInfo}.
753 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId,
/foundation/communication/dsoftbus/tests/sdk/bus_center/benchmarktest/
H A Dbus_center_test.cpp230 * @tc.desc: GetNodeKeyInfo Performance Testing
232 * @tc.require: GetNodeKeyInfo normal operation
244 ret = GetNodeKeyInfo(TEST_PKG_NAME, info.networkId, NODE_KEY_UDID, in BENCHMARK_F()
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_connector.cpp660 if (GetNodeKeyInfo(DM_PKG_NAME, reinterpret_cast<char *>(nodeBasicInfo->networkId), in GetNetworkIdByDeviceId()
662 LOGE("[SOFTBUS]GetNodeKeyInfo failed."); in GetNetworkIdByDeviceId()
735 if (GetNodeKeyInfo(DM_PKG_NAME, reinterpret_cast<char *>(nodeBasicInfo->networkId), in CheckIsOnline()
737 LOGE("[SOFTBUS]GetNodeKeyInfo failed."); in CheckIsOnline()
770 if (GetNodeKeyInfo(DM_PKG_NAME, nodeBasicInfo->networkId, NodeDeviceInfoKey::NODE_KEY_UDID, in GetDeviceInfoByDeviceId()
772 LOGE("[SOFTBUS]GetNodeKeyInfo failed."); in GetDeviceInfoByDeviceId()
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
H A Dbus_center_server_proxy.cpp129 int32_t ret = g_serverProxy->GetNodeKeyInfo(pkgName, networkId, key, buf, len); in ServerIpcGetNodeKeyInfo()
/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dsoftbus_listener.cpp329 if (GetNodeKeyInfo(DM_PKG_NAME, info->networkId, NodeDeviceInfoKey::NODE_KEY_NETWORK_TYPE, in OnSoftbusDeviceInfoChanged()
331 LOGE("[SOFTBUS]GetNodeKeyInfo networkType failed."); in OnSoftbusDeviceInfoChanged()
873 int32_t ret = GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_NETWORK_TYPE, in GetNetworkTypeByNetworkId()
876 LOGE("[SOFTBUS]GetNodeKeyInfo networkType failed."); in GetNetworkTypeByNetworkId()
1098 int32_t ret = GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_DEVICE_SCREEN_STATUS, in GetDeviceScreenStatus()
1101 LOGE("[SOFTBUS]GetNodeKeyInfo screenStatus failed."); in GetDeviceScreenStatus()
/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dsoftbus_server.cpp205 int32_t SoftBusServer::GetNodeKeyInfo(const char *pkgName, const char *networkId, int key, unsigned char *buf, in GetNodeKeyInfo() function in OHOS::SoftBusServer
/foundation/distributedhardware/distributed_input/utils/src/
H A Ddinput_utils_tool.cpp91 auto ret = GetNodeKeyInfo(DINPUT_PKG_NAME.c_str(), networkId.c_str(), NodeDeviceInfoKey::NODE_KEY_UUID, in GetUUIDBySoftBus()
/foundation/communication/dsoftbus/sdk/bus_center/service/src/
H A Dclient_bus_center.c267 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, NodeDeviceInfoKey key, in GetNodeKeyInfo() function
/foundation/communication/dsoftbus/sdk/transmission/ipc/standard/src/
H A Dtrans_server_proxy_standard.cpp752 int32_t TransServerProxy::GetNodeKeyInfo(const char *pkgName, const char *networkId, int32_t key, unsigned char *buf, in GetNodeKeyInfo() function in OHOS::TransServerProxy

Completed in 17 milliseconds

12