Searched refs:g_nodeInfo (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/ |
H A D | hdi_service_test.cpp | 116 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in CheckSubfolderNode() 216 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadTemperatureSysfs() 253 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadVoltageSysfs() 290 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadCapacitySysfs() 328 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadTotalEnergySysfs() 366 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadCurrentAverageSysfs() 404 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadCurrentNowSysfs() 442 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadRemainEnergySysfs() 511 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadHealthStateSysfs() 647 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadChargeStateSysfs() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/ |
H A D | ledger_lane_hub_test.cpp | 72 static NodeInfo g_nodeInfo[NODE_NUM]; variable 115 g_nodeInfo[BR_NUM].netCapacity = cap; in ConstructBRNode() 118 LnnSetBtMac(&g_nodeInfo[BR_NUM], NODE1_BT_MAC); in ConstructBRNode() 125 g_nodeInfo[BR_NUM].authSeqNum = NODE1_AUTH_SEQ_NUM; in ConstructBRNode() 135 g_nodeInfo[WLAN2P4G_NUM].netCapacity = cap; in ConstructWlan2P4GNode() 138 LnnSetBtMac(&g_nodeInfo[WLAN2P4G_NUM], NODE2_BT_MAC); in ConstructWlan2P4GNode() 152 LnnSetWiFiIp(&g_nodeInfo[WLAN2P4G_NUM], LOCAL_WLAN_IP); in ConstructWlan2P4GNode() 375 LnnAddOnlineNode(&g_nodeInfo[BR_NUM]); 376 LnnAddOnlineNode(&g_nodeInfo[WLAN2P4G_NUM]); 394 LnnAddOnlineNode(&g_nodeInfo[BR_NUM]); [all …]
|
H A D | lane_test.cpp | 54 static NodeInfo g_nodeInfo; variable 92 (void)memset_s(&g_nodeInfo, sizeof(NodeInfo), 0, sizeof(NodeInfo)); in TearDownTestCase() 112 g_nodeInfo.netCapacity = cap; in ConstructRemoteNode() 115 ret = LnnSetDeviceUdid(&g_nodeInfo, NODE_UDID); in ConstructRemoteNode() 117 ret = LnnSetDiscoveryType(&g_nodeInfo, DISCOVERY_TYPE_WIFI); in ConstructRemoteNode() 119 ret = LnnSetProxyPort(&g_nodeInfo, REMOTE_PROXY_PORT); in ConstructRemoteNode() 121 ret = LnnSetSessionPort(&g_nodeInfo, REMOTE_SESSION_PORT); in ConstructRemoteNode() 123 LnnSetWiFiIp(&g_nodeInfo, REMOTE_WLAN_IP); in ConstructRemoteNode() 124 ret = LnnSetAuthPort(&g_nodeInfo, REMOTE_AUTH_PORT); in ConstructRemoteNode() 126 LnnSetBtMac(&g_nodeInfo, NODE_BT_MAC); in ConstructRemoteNode() [all …]
|