Home
last modified time | relevance | path

Searched refs:authCapacity (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/mock/
H A Dtrans_lane_pending_test_mock.cpp122 int32_t LnnGetDLAuthCapacity(const char *networkId, uint32_t *authCapacity) in LnnGetDLAuthCapacity() argument
124 return GetTransLanePendingTestInterface()->LnnGetDLAuthCapacity(networkId, authCapacity); in LnnGetDLAuthCapacity()
H A Dtrans_lane_pending_test_mock.h53 virtual int32_t LnnGetDLAuthCapacity(const char *networkId, uint32_t *authCapacity) = 0;
80 MOCK_METHOD2(LnnGetDLAuthCapacity, int32_t (const char *networkId, uint32_t *authCapacity));
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/
H A Dlnn_net_ledger.c106 uint32_t authCapacity = 0; in IsBleDirectlyOnlineFactorChange() local
107 if (LnnGetLocalNumU32Info(NUM_KEY_AUTH_CAP, &authCapacity) == SOFTBUS_OK) { in IsBleDirectlyOnlineFactorChange()
108 if (authCapacity != info->authCapacity) { in IsBleDirectlyOnlineFactorChange()
109 … LNN_LOGW(LNN_LEDGER, "authCapacity=%{public}d->%{public}d", info->authCapacity, authCapacity); in IsBleDirectlyOnlineFactorChange()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/
H A Dlnn_data_cloud_sync.h50 uint32_t authCapacity; member
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_data_cloud_sync.c175 cacheInfo->authCapacity = (uint32_t)atoi(value); in DBNumInfoSyncToCache()
176 LNN_LOGI(LNN_BUILDER, "success. authCapacity=%{public}u", cacheInfo->authCapacity); in DBNumInfoSyncToCache()
775 …anonyDeviceName, cacheInfo->authCapacity, cacheInfo->heartbeatCapacity, cacheInfo->deviceInfo.osTy… in PrintSyncNodeInfo()
826 oldInfo->authCapacity = newInfo->authCapacity; in UpdateDevBasicInfoToCache()
H A Dlnn_connection_fsm.c1203 if (!IsSupportBrDupBle(connInfo->nodeInfo->authCapacity, BIT_SUPPORT_BR_DUP_BLE)) { in ProcessBleOnline()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/include/
H A Dlnn_distributed_net_ledger.h74 int32_t LnnGetDLAuthCapacity(const char *networkId, uint32_t *authCapacity);
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_test_enhance.cpp302 node.authCapacity = BIT_SUPPORT_NORMALIZED_LINK << 1;
335 node.authCapacity = BIT_SUPPORT_NORMALIZED_LINK << 1;
H A Dauth_other_test.cpp1142 .authCapacity = 127,
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/
H A Dlnn_node_info.h143 uint32_t authCapacity; member
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_interface.c179 if (!IsSupportFeatureByCapaBit(nodeInfo.authCapacity, BIT_SUPPORT_NORMALIZED_LINK)) { in AuthCheckSessionKeyValidByConnInfo()
426 …bool isSupportNormalizedKey = IsSupportFeatureByCapaBit(nodeInfo->authCapacity, BIT_SUPPORT_NORMAL… in FillAuthSessionInfo()
H A Dauth_session_json.c812 …bool isSupportNormalizedKey = IsSupportFeatureByCapaBit(nodeInfo->authCapacity, BIT_SUPPORT_NORMAL… in PackNormalizedData()
1365 !JSON_AddInt32ToObject(json, AUTH_CAP, info->authCapacity) || in PackCommonEx()
1537 (void)JSON_GetInt32FromOject(json, AUTH_CAP, (int32_t *)&info->authCapacity); in ParseCommonJsonInfo()
1549 if ((info->deviceInfo.osType == -1) && info->authCapacity != 0) { in ParseCommonJsonInfo()
H A Dauth_session_fsm.c229 IsNeedExchangeNetworkId(nodeInfo.authCapacity, BIT_SUPPORT_EXCHANGE_NETWORKID)) { in ProcAuthFsm()
1521 if (IsSupportFeatureByCapaBit(nodeInfo.authCapacity, BIT_SUPPORT_NEGOTIATION_AUTH)) { in IsPeerSupportNegoAuth()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger_manager.c1648 int32_t LnnGetDLAuthCapacity(const char *networkId, uint32_t *authCapacity) in LnnGetDLAuthCapacity() argument
1660 *authCapacity = nodeInfo->authCapacity; in LnnGetDLAuthCapacity()
H A Dlnn_distributed_net_ledger.c1488 oldInfo->authCapacity = newInfo->authCapacity; in UpdateDevBasicInfoToDLedger()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/
H A Dtrans_lane_pending_ctl.c943 uint32_t authCapacity; in PeerDeviceIsLegacyOs() local
944 if (LnnGetDLAuthCapacity(peerNetworkId, &authCapacity) != SOFTBUS_OK) { in PeerDeviceIsLegacyOs()
948 if (authCapacity == 0 && IsDbdSession(sessionName)) { in PeerDeviceIsLegacyOs()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/
H A Dlnn_local_net_ledger.c723 *((int32_t *)buf) = info->authCapacity; in LlGetAuthCapability()
2260 nodeInfo->authCapacity = DEFAULT_SUPPORT_AUTHCAPACITY; in LnnInitLocalLedger()