Home
last modified time | relevance | path

Searched refs:NUM_KEY_NET_CAP (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/adapter/common/bus_center/network/
H A Dlnn_netmanager_listener.cpp86 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 Dledger_lane_hub_test.cpp175 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 Dlane_test.cpp134 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 Dlnn_network_info.c230 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 Dlnn_sync_info_manager.c1117 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 Dlnn_net_builder.c908 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 Dlnn_connection_fsm.c456 if (LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, &local) != SOFTBUS_OK) { in DfxRecordLnnOnlineType()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/interface/
H A Dbus_center_info_key.h63 NUM_KEY_NET_CAP, enumerator
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/
H A Dlnn_ledger_common_test.cpp294 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 Dlnn_disctributed_net_ledger_test.cpp182 NUM_KEY_NET_CAP,
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_query.c119 int32_t ret = LnnGetLocalNumU32Info(NUM_KEY_NET_CAP, local); in GetNetCap()
124 ret = LnnGetRemoteNumU32Info(networkId, NUM_KEY_NET_CAP, remote); in GetNetCap()
H A Dlnn_select_rule.c62 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 Dlnn_net_ledger.c250 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 Dtrans_channel_common.c587 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 Dlnn_heartbeat_utils.c475 if (LnnGetRemoteNumU32Info(networkId, NUM_KEY_NET_CAP, &netCapacity) != SOFTBUS_OK) { in LnnDumpPrintNetCapacity()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_manager.c1668 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 Dlnn_distributed_net_ledger_manager.c782 {NUM_KEY_NET_CAP, DlGetNetCap},
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/
H A Dlnn_local_net_ledger.c1802 {NUM_KEY_NET_CAP, -1, LlGetNetCap, UpdateLocalNetCapability},