Home
last modified time | relevance | path

Searched refs:remoteNodeInfo (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/dsoftbus/tools/device_info/
H A Dget_device_info.c95 NodeBasicInfo *remoteNodeInfo = NULL; in main() local
105 if (GetAllNodeDeviceInfo(g_pkgName, &remoteNodeInfo, &infoNum) != 0) { in main()
112 PrintNodeProperty(remoteNodeInfo + i); in main()
113 PrintNodePropertyNum(remoteNodeInfo + i); in main()
115 FreeNodeInfo(remoteNodeInfo); in main()
/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dbus_center_sdk_test.cpp294 NodeBasicInfo *remoteNodeInfo = nullptr; in HWTEST_F() local
323 EXPECT_TRUE(GetAllNodeDeviceInfo(TEST_PKG_NAME, &remoteNodeInfo, &infoNum) == SOFTBUS_OK); 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_NAME, (remoteNodeInfo + i)->networkId, NODE_KEY_DEV_NAME, in HWTEST_F()
331 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, (remoteNodeInfo + i)->networkId, NODE_KEY_NETWORK_CAPABILITY, in HWTEST_F()
333 EXPECT_TRUE(GetNodeKeyInfo(TEST_PKG_NAME, (remoteNodeInfo + i)->networkId, NODE_KEY_NETWORK_TYPE, in HWTEST_F()
336 FreeNodeInfo(remoteNodeInfo); in HWTEST_F()
348 NodeBasicInfo *remoteNodeInfo = nullptr; in HWTEST_F() local
353 EXPECT_TRUE(GetAllNodeDeviceInfo(TEST_PKG_NAME, &remoteNodeInfo, in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_screen/services/screendemo/
H A Dtest.cpp273 NodeBasicInfo *remoteNodeInfo = nullptr; in QueryRemoteDeviceInfo() local
282 if (GetAllNodeDeviceInfo(DSOFTBUS_TOOL_PKG_NAME, &remoteNodeInfo, &infoNum) != 0) { in QueryRemoteDeviceInfo()
289 PrintNodeProperty(remoteNodeInfo + i); in QueryRemoteDeviceInfo()
291 FreeNodeInfo(remoteNodeInfo); in QueryRemoteDeviceInfo()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_net_builder.c584 NodeInfo remoteNodeInfo; in DeletePcNodeInfo() local
585 (void)memset_s(&remoteNodeInfo, sizeof(NodeInfo), 0, sizeof(NodeInfo)); in DeletePcNodeInfo()
586 if (LnnGetRemoteNodeInfoById(peerUdid, CATEGORY_UDID, &remoteNodeInfo)) { in DeletePcNodeInfo()
590 if (strcmp(remoteNodeInfo.deviceInfo.deviceUdid, remoteNodeInfo.uuid) != 0) { in DeletePcNodeInfo()
599 if (remoteNodeInfo.accountId == localNodeInfo->accountId) { in DeletePcNodeInfo()
604 DeleteFromProfile(remoteNodeInfo.deviceInfo.deviceUdid); in DeletePcNodeInfo()
605 LnnRemoveNode(remoteNodeInfo.deviceInfo.deviceUdid); in DeletePcNodeInfo()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link.c1401 NodeInfo remoteNodeInfo; in LnnLaneSelectProtocol() local
1402 (void)memset_s(&remoteNodeInfo, sizeof(NodeInfo), 0, sizeof(NodeInfo)); in LnnLaneSelectProtocol()
1403 int ret = LnnGetRemoteNodeInfoById(netWorkId, CATEGORY_NETWORK_ID, &remoteNodeInfo); in LnnLaneSelectProtocol()
1417 .remoteSupporttedProtocol = remoteNodeInfo.supportedProtocols & acceptableProtocols, in LnnLaneSelectProtocol()
1423 (strcmp(remoteNodeInfo.nodeAddress, NODE_ADDR_LOOPBACK) == 0 || in LnnLaneSelectProtocol()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger.c1665 NodeBasicInfo *remoteNodeInfo = NULL; in SoftBusDumpBusCenterRemoteDeviceInfo() local
1667 if (LnnGetAllOnlineNodeInfo(&remoteNodeInfo, &infoNum) != 0) { in SoftBusDumpBusCenterRemoteDeviceInfo()
1674 SoftBusDumpBusCenterPrintInfo(fd, remoteNodeInfo + i); in SoftBusDumpBusCenterRemoteDeviceInfo()
1676 SoftBusFree(remoteNodeInfo); in SoftBusDumpBusCenterRemoteDeviceInfo()

Completed in 9 milliseconds