/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/mock/ |
H A D | trans_lane_pending_test_mock.cpp | 122 int32_t LnnGetDLAuthCapacity(const char *networkId, uint32_t *authCapacity) in LnnGetDLAuthCapacity() argument 124 return GetTransLanePendingTestInterface()->LnnGetDLAuthCapacity(networkId, authCapacity); in LnnGetDLAuthCapacity()
|
H A D | trans_lane_pending_test_mock.h | 53 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 D | lnn_net_ledger.c | 106 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 D | lnn_data_cloud_sync.h | 50 uint32_t authCapacity; member
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_data_cloud_sync.c | 175 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 D | lnn_connection_fsm.c | 1203 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 D | lnn_distributed_net_ledger.h | 74 int32_t LnnGetDLAuthCapacity(const char *networkId, uint32_t *authCapacity);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_test_enhance.cpp | 302 node.authCapacity = BIT_SUPPORT_NORMALIZED_LINK << 1; 335 node.authCapacity = BIT_SUPPORT_NORMALIZED_LINK << 1;
|
H A D | auth_other_test.cpp | 1142 .authCapacity = 127,
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 143 uint32_t authCapacity; member
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_interface.c | 179 if (!IsSupportFeatureByCapaBit(nodeInfo.authCapacity, BIT_SUPPORT_NORMALIZED_LINK)) { in AuthCheckSessionKeyValidByConnInfo() 426 …bool isSupportNormalizedKey = IsSupportFeatureByCapaBit(nodeInfo->authCapacity, BIT_SUPPORT_NORMAL… in FillAuthSessionInfo()
|
H A D | auth_session_json.c | 812 …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 D | auth_session_fsm.c | 229 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 D | lnn_distributed_net_ledger_manager.c | 1648 int32_t LnnGetDLAuthCapacity(const char *networkId, uint32_t *authCapacity) in LnnGetDLAuthCapacity() argument 1660 *authCapacity = nodeInfo->authCapacity; in LnnGetDLAuthCapacity()
|
H A D | lnn_distributed_net_ledger.c | 1488 oldInfo->authCapacity = newInfo->authCapacity; in UpdateDevBasicInfoToDLedger()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/ |
H A D | trans_lane_pending_ctl.c | 943 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 D | lnn_local_net_ledger.c | 723 *((int32_t *)buf) = info->authCapacity; in LlGetAuthCapability() 2260 nodeInfo->authCapacity = DEFAULT_SUPPORT_AUTHCAPACITY; in LnnInitLocalLedger()
|