Home
last modified time | relevance | path

Searched refs:nodeInfo (Results 1 - 5 of 5) sorted by relevance

/test/xts/dcts/distributedhardware/distributedscreentest/
H A Dtest.cpp244 static void PrintNodeProperty(NodeBasicInfo *nodeInfo) in PrintNodeProperty() argument
246 if (nodeInfo == nullptr) { in PrintNodeProperty()
247 DHLOGE("nodeInfo is 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/
H A Ddistributedaudiotest.cpp761 void PrintNodeProperty(NodeBasicInfo *nodeInfo) in PrintNodeProperty() argument
763 if (nodeInfo == nullptr) { in PrintNodeProperty()
764 std::cout << "nodeInfo is nullptr" << std::endl; 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()
790 std::cout << "nodeInfo i in PrintNodeProperty()
[all...]
H A Ddistributedaudiotest.h131 void PrintNodeProperty(NodeBasicInfo *nodeInfo);
132 void PrintNodeProperty(NodeBasicInfo *nodeInfo, std::string& netWorkId);
/test/xts/dcts/communication/softbus_standard/common/
H A Dsocket_common.c517 NodeBasicInfo* nodeInfo = NULL; in CheckRemoteDeviceIsNull() local
518 int ret = GetAllNodeDeviceInfo(DEF_PKG_NAME, &nodeInfo, &nodeNum); in CheckRemoteDeviceIsNull()
520 if (nodeInfo != NULL && nodeNum > 0) { in CheckRemoteDeviceIsNull()
521 LOG("[check]get netid is:%s", nodeInfo->networkId); in CheckRemoteDeviceIsNull()
523 (void)strncpy_s(g_networkId, NETWORK_ID_BUF_LEN, nodeInfo->networkId, NETWORK_ID_BUF_LEN); in CheckRemoteDeviceIsNull()
525 FreeNodeInfo(nodeInfo); in CheckRemoteDeviceIsNull()
528 LOG("[check]get nodeInfo is null"); in CheckRemoteDeviceIsNull()
H A Dnet_trans_common.c1049 NodeBasicInfo* nodeInfo = NULL; in CheckRemoteDeviceIsNull() local
1050 int ret = GetAllNodeDeviceInfo(DEF_PKG_NAME, &nodeInfo, &nodeNum); in CheckRemoteDeviceIsNull()
1052 if (nodeInfo != NULL && nodeNum > 0) { in CheckRemoteDeviceIsNull()
1053 LOG("[check]get netid is:%s", nodeInfo->networkId); in CheckRemoteDeviceIsNull()
1055 (void)strncpy_s(g_networkId, NETWORK_ID_BUF_LEN, nodeInfo->networkId, NETWORK_ID_BUF_LEN); in CheckRemoteDeviceIsNull()
1057 FreeNodeInfo(nodeInfo); in CheckRemoteDeviceIsNull()
1060 LOG("[check]get nodeInfo is null"); in CheckRemoteDeviceIsNull()

Completed in 6 milliseconds