Home
last modified time | relevance | path

Searched refs:localAccountId (Results 1 - 7 of 7) sorted by relevance

/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_deviceprofile.cpp157 static void DumpAccountId(int64_t localAccountId, int64_t peerAccountId) in DumpAccountId() argument
160 if (sprintf_s(localAccountString, LONG_TO_STRING_MAX_LEN, "%" PRId64, localAccountId) == -1) { in DumpAccountId()
175 LNN_LOGI(LNN_STATE, "localAccountId=%{public}s, peerAccountId=%{public}s", in DumpAccountId()
183 int64_t localAccountId = 0; in IsSameAccount() local
184 int32_t ret = LnnGetLocalNum64Info(NUM_KEY_ACCOUNT_LONG, &localAccountId); in IsSameAccount()
189 DumpAccountId(localAccountId, accountId); in IsSameAccount()
190 if (localAccountId == accountId && !LnnIsDefaultOhosAccount()) { in IsSameAccount()
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Ddm_auth_manager.cpp203 authRequestContext_->localAccountId = MultipleUserConnector::GetOhosAccountId(); in GetAuthParam()
204 MultipleUserConnector::SetSwitchOldAccountId(authRequestContext_->localAccountId); in GetAuthParam()
771 authResponseContext_->localAccountId = authRequestContext_->localAccountId; in StartNegotiate()
937 authRequestContext_->remoteAccountId = authResponseContext_->localAccountId; in GetAuthRequestContext()
939 authResponseContext_->localAccountId = authRequestContext_->localAccountId; in GetAuthRequestContext()
2114 if (authResponseContext_->localAccountId == accountId && accountId != "ohosAnonymousUid") { in ProcRespNegotiateExt()
2117 authResponseContext_->remoteAccountId = authResponseContext_->localAccountId; in ProcRespNegotiateExt()
2118 authResponseContext_->localAccountId in ProcRespNegotiateExt()
[all...]
H A Dauth_message_processor.cpp173 json[TAG_LOCAL_ACCOUNTID] = authResponseContext_->localAccountId; in CreateNegotiateMessage()
202 json[TAG_LOCAL_ACCOUNTID] = authResponseContext_->localAccountId; in CreateRespNegotiateMessage()
447 authResponseContext_->localAccountId = json[TAG_LOCAL_ACCOUNTID].get<std::string>(); in ParsePkgNegotiateMessage()
/foundation/distributedhardware/device_manager/services/implementation/include/authentication/
H A Ddm_auth_manager.h116 std::string localAccountId; member
166 std::string localAccountId; member
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_auth_manager_third.cpp373 authManager_->authResponseContext_->localAccountId = "test"; in HWTEST_F()
387 authManager_->authResponseContext_->localAccountId = "test"; in HWTEST_F()
H A DUTTest_dm_auth_manager_second.cpp376 authManager_->authResponseContext_->localAccountId = "123456789"; in HWTEST_F()
378 authManager_->authRequestContext_->localAccountId = "123456789"; in HWTEST_F()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_data_cloud_sync.c891 char localAccountId[INT64_TO_STR_MAX_LEN] = {0}; in LnnSaveAndUpdateDistributedNode() local
895 if (!Int64ToString(localCacheInfo.accountId, localAccountId, INT64_TO_STR_MAX_LEN)) { in LnnSaveAndUpdateDistributedNode()
901 Anonymize(localAccountId, &anonyLocalAccountId); in LnnSaveAndUpdateDistributedNode()

Completed in 11 milliseconds