Searched refs:nodeInfo (Results 1 – 5 of 5) sorted by relevance
| /test/xts/dcts/distributedhardware/distributedscreentest/ |
| D | test.cpp | 244 static void PrintNodeProperty(NodeBasicInfo *nodeInfo) in PrintNodeProperty() argument 246 if (nodeInfo == nullptr) { in PrintNodeProperty() 251 DHLOGE("DeviceName = %{public}s", nodeInfo->deviceName); in PrintNodeProperty() 252 DHLOGE("NetworkId = %{public}s", GetAnonyString(nodeInfo->networkId).c_str()); in PrintNodeProperty() 255 if (GetNodeKeyInfo(DSOFTBUS_TOOL_PKG_NAME, nodeInfo->networkId, key, udid, UDID_BUF_LEN) != 0) { in PrintNodeProperty() 260 if (GetNodeKeyInfo(DSOFTBUS_TOOL_PKG_NAME, nodeInfo->networkId, key, uuid, UUID_BUF_LEN) != 0) { in PrintNodeProperty()
|
| /test/xts/dcts/distributedhardware/distributedaudionewtest/ |
| D | distributedaudiotest.cpp | 761 void PrintNodeProperty(NodeBasicInfo *nodeInfo) in PrintNodeProperty() argument 763 if (nodeInfo == nullptr) { in PrintNodeProperty() 768 printf("DeviceName = %s\n", nodeInfo->deviceName); in PrintNodeProperty() 769 std::cout << "NetworkId = " << nodeInfo->networkId << std::endl; in PrintNodeProperty() 773 if (GetNodeKeyInfo(PKG_NAME, nodeInfo->networkId, key, udid, UDID_BUF_LEN) != 0) { in PrintNodeProperty() 780 if (GetNodeKeyInfo(PKG_NAME, nodeInfo->networkId, key, uuid, UUID_BUF_LEN) != 0) { in PrintNodeProperty() 787 void PrintNodeProperty(NodeBasicInfo *nodeInfo, std::string& netWorkId) in PrintNodeProperty() argument 789 if (nodeInfo == nullptr) { in PrintNodeProperty() 794 printf("DeviceName = %s\n", nodeInfo->deviceName); in PrintNodeProperty() 795 netWorkId = nodeInfo->networkId; in PrintNodeProperty() [all …]
|
| D | distributedaudiotest.h | 131 void PrintNodeProperty(NodeBasicInfo *nodeInfo); 132 void PrintNodeProperty(NodeBasicInfo *nodeInfo, std::string& netWorkId);
|
| /test/xts/dcts/communication/softbus_standard/common/ |
| D | socket_common.c | 560 NodeBasicInfo* nodeInfo = NULL; in CheckRemoteDeviceIsNull() local 561 int ret = GetAllNodeDeviceInfo(DEF_PKG_NAME, &nodeInfo, &nodeNum); in CheckRemoteDeviceIsNull() 563 if (nodeInfo != NULL && nodeNum > 0) { in CheckRemoteDeviceIsNull() 564 LOG("[check]get netid is:%s", nodeInfo->networkId); in CheckRemoteDeviceIsNull() 566 … (void)strncpy_s(g_networkId, NETWORK_ID_BUF_LEN, nodeInfo->networkId, NETWORK_ID_BUF_LEN); in CheckRemoteDeviceIsNull() 568 FreeNodeInfo(nodeInfo); in CheckRemoteDeviceIsNull()
|
| D | net_trans_common.c | 1097 NodeBasicInfo* nodeInfo = NULL; in CheckRemoteDeviceIsNull() local 1098 int ret = GetAllNodeDeviceInfo(DEF_PKG_NAME, &nodeInfo, &nodeNum); in CheckRemoteDeviceIsNull() 1100 if (nodeInfo != NULL && nodeNum > 0) { in CheckRemoteDeviceIsNull() 1101 LOG("[check]get netid is:%s", nodeInfo->networkId); in CheckRemoteDeviceIsNull() 1103 … (void)strncpy_s(g_networkId, NETWORK_ID_BUF_LEN, nodeInfo->networkId, NETWORK_ID_BUF_LEN); in CheckRemoteDeviceIsNull() 1105 FreeNodeInfo(nodeInfo); in CheckRemoteDeviceIsNull()
|