/ohos5.0/foundation/communication/dsoftbus/adapter/common/bus_center/network/ |
H A D | lnn_netmanager_listener.cpp | 86 int32_t ret = LnnGetLocalNumInfo(NUM_KEY_NET_CAP, (int32_t *)&netCapability); in OnInterfaceLinkStateChanged() 116 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, netCapability); in OnInterfaceLinkStateChanged() 145 int32_t ret = LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, &netCapability); in OnInterfaceAddressUpdated() 153 ret = LnnSetLocalNumU32Info(NUM_KEY_NET_CAP, netCapability); in OnInterfaceAddressUpdated()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/ |
H A D | ledger_lane_hub_test.cpp | 175 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, 1 << BIT_BR); in ConstructBtLocalInfo() 188 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, 1 << BIT_WIFI_5G); in ConstructWiFiLocalInfo() 190 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, 1 << BIT_WIFI_24G); in ConstructWiFiLocalInfo() 346 EXPECT_TRUE(LnnGetLocalStrInfo(NUM_KEY_NET_CAP, nodeInfo, len) == SOFTBUS_INVALID_PARAM); 407 ret = LnnGetRemoteNumU32Info(NODE1_NETWORK_ID, NUM_KEY_NET_CAP, &cap);
|
H A D | lane_test.cpp | 134 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, (1 << BIT_BR) | in ConstructLocalInfo()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_network_info.c | 230 if (LnnSetLocalNumInfo(NUM_KEY_NET_CAP, (int32_t)netCapability) != SOFTBUS_OK) { in WifiStateProcess() 370 if (LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, &oldNetCap) != SOFTBUS_OK) { in WifiStateEventHandler() 389 if (LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, &netCapability) != SOFTBUS_OK) { in BtStateChangeEventHandler() 417 if (LnnSetLocalNumInfo(NUM_KEY_NET_CAP, (int32_t)netCapability) != SOFTBUS_OK) { in BtStateChangeEventHandler()
|
H A D | lnn_sync_info_manager.c | 1117 if (LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, &localCap) != SOFTBUS_OK || in IsNeedSyncByAuth() 1118 LnnGetRemoteNumU32Info(networkId, NUM_KEY_NET_CAP, &remoteCap) != SOFTBUS_OK) { in IsNeedSyncByAuth()
|
H A D | lnn_net_builder.c | 908 if (LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, &oldNetCap) != SOFTBUS_OK) { in UpdateLocalNetCapability() 952 if (LnnSetLocalNumInfo(NUM_KEY_NET_CAP, netCapability) != SOFTBUS_OK) { in UpdateLocalNetCapability()
|
H A D | lnn_connection_fsm.c | 456 if (LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, &local) != SOFTBUS_OK) { in DfxRecordLnnOnlineType()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/interface/ |
H A D | bus_center_info_key.h | 63 NUM_KEY_NET_CAP, enumerator
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/ |
H A D | lnn_ledger_common_test.cpp | 294 EXPECT_TRUE(LnnSetLocalNumInfo(NUM_KEY_NET_CAP, 1 << BIT_BR) == SOFTBUS_OK); 391 NUM_KEY_NET_CAP, 423 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, LOCAL_CAPACITY);
|
H A D | lnn_disctributed_net_ledger_test.cpp | 182 NUM_KEY_NET_CAP,
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_query.c | 119 int32_t ret = LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, local); in GetNetCap() 124 ret = LnnGetRemoteNumU32Info(networkId, NUM_KEY_NET_CAP, remote); in GetNetCap()
|
H A D | lnn_select_rule.c | 62 int32_t ret = LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, local); in GetNetCap() 67 ret = LnnGetRemoteNumU32Info(networkId, NUM_KEY_NET_CAP, remote); in GetNetCap() 201 (void)LnnSetLocalNumU32Info(NUM_KEY_NET_CAP, local); in P2pCapCheck()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_net_ledger.c | 250 return LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, (uint32_t *)info); in LnnGetNodeKeyInfoLocal() 289 return LnnGetRemoteNumU32Info(networkId, NUM_KEY_NET_CAP, (uint32_t *)info); in LnnGetNodeKeyInfoRemote()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/ |
H A D | trans_channel_common.c | 587 int32_t ret = LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, local); in TransGetNetCapability() 592 ret = LnnGetRemoteNumU32Info(networkId, NUM_KEY_NET_CAP, remote); in TransGetNetCapability()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_utils.c | 475 if (LnnGetRemoteNumU32Info(networkId, NUM_KEY_NET_CAP, &netCapacity) != SOFTBUS_OK) { in LnnDumpPrintNetCapacity()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_manager.c | 1668 if (LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, &local) != SOFTBUS_OK || in TryGetBrConnInfo() 1669 LnnGetRemoteNumU32Info(networkId, NUM_KEY_NET_CAP, &remote) != SOFTBUS_OK) { in TryGetBrConnInfo()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger_manager.c | 782 {NUM_KEY_NET_CAP, DlGetNetCap},
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
H A D | lnn_local_net_ledger.c | 1802 {NUM_KEY_NET_CAP, -1, LlGetNetCap, UpdateLocalNetCapability},
|