Home
last modified time | relevance | path

Searched refs:authResponseContext_ (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_message_processor.cpp158 json[TAG_REPLY] = authResponseContext_->reply; in CreateResponseAuthMessageExt()
159 json[TAG_TOKEN] = authResponseContext_->token; in CreateResponseAuthMessageExt()
237 if (authResponseContext_->reply == 0) { in CreateResponseAuthMessage()
278 authResponseContext_->msgType = msgType; in ParseMessage()
406 authResponseContext_->appThumbnail = ""; in ParseAuthRequestMessage()
410 authResponseContext_->appThumbnail = authResponseContext_->appThumbnail + appSliceThumbnail; in ParseAuthRequestMessage()
424 authResponseContext_->bindType.clear(); in ParseAuthRequestMessage()
449 if (authResponseContext_->reply == 0) { in ParseAuthResponseMessage()
505 authResponseContext_->bindType.clear(); in ParsePkgNegotiateMessage()
594 authResponseContext_ = authResponseContext; in SetResponseContext()
[all …]
H A Ddm_auth_manager.cpp842 authResponseContext_->dmVersion.c_str(), authResponseContext_->bindLevel); in SendAuthRequest()
897 authResponseContext_->deviceId = authResponseContext_->localDeviceId; in GetAuthRequestContext()
930authResponseContext_->bindType, authResponseContext_->localDeviceId, authResponseContext_->deviceI… in ProcessAuthRequestExt()
932 if (authResponseContext_->isOnline && authResponseContext_->authed && in ProcessAuthRequestExt()
967 if (authResponseContext_->isOnline && authResponseContext_->authed) { in IsAuthFinish()
976 (authResponseContext_->authed && !authResponseContext_->isOnline)) { in IsAuthFinish()
2352 authResponseContext_->remoteAccountId = authResponseContext_->localAccountId; in ProcRespNegotiateExt()
2354 authResponseContext_->remoteUserId = authResponseContext_->localUserId; in ProcRespNegotiateExt()
2358 authResponseContext_->deviceId = authResponseContext_->localDeviceId; in ProcRespNegotiateExt()
2362 authResponseContext_->localDeviceId, authResponseContext_->deviceId); in ProcRespNegotiateExt()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_auth_manager_second.cpp59 authManager_->authResponseContext_ = nullptr;
122 authManager_->authResponseContext_ = nullptr;
166 authManager_->authResponseContext_ = nullptr;
276 authManager_->authResponseContext_ = nullptr;
324 authManager_->authResponseContext_ = nullptr;
484 authManager_->authResponseContext_ = nullptr;
568 authManager_->authResponseContext_ = nullptr;
653 authManager_->authResponseContext_ = nullptr;
674 authManager_->authResponseContext_ = nullptr;
695 authManager_->authResponseContext_ = nullptr;
[all …]
H A DUTTest_dm_auth_manager_first.cpp118 authManager_->authResponseContext_ = nullptr;
128 authManager_->authResponseContext_ = nullptr;
188 authManager_->authResponseContext_ = nullptr;
207 authManager_->authResponseContext_ = nullptr;
232 authManager_->authResponseContext_ = nullptr;
258 authManager_->authResponseContext_ = nullptr;
292 authManager_->authResponseContext_ = nullptr;
311 authManager_->authResponseContext_ = nullptr;
336 authManager_->authResponseContext_ = nullptr;
487 authManager_->authResponseContext_ = nullptr;
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_auth_message_processor.cpp194 authMessageProcessor->authResponseContext_->reply = 0;
196 authMessageProcessor->authResponseContext_->token = "11";
200 authMessageProcessor->authResponseContext_->authToken = "123456";
202 authMessageProcessor->authResponseContext_->requestId = 222222;
203 authMessageProcessor->authResponseContext_->groupName = "333333";
233 authMessageProcessor->authResponseContext_->reply = 1;
257 authMessageProcessor->authResponseContext_->reply = 1;
1022 ASSERT_EQ(authMessageProcessor->authResponseContext_, nullptr);
1460 authMessageProcessor->authResponseContext_->reply = 123;
1461 authMessageProcessor->authResponseContext_->token = "13213521";
[all …]
H A DUTTest_auth_request_state.cpp189 authManager->authResponseContext_ = std::make_shared<DmAuthResponseContext>();
249 authManager->authResponseContext_ = std::make_shared<DmAuthResponseContext>();
306 authManager->authResponseContext_ = std::make_shared<DmAuthResponseContext>();
369 authManager->authResponseContext_ = std::make_shared<DmAuthResponseContext>();
433 authManager->authResponseContext_->sessionId = 1;
495 authManager->authResponseContext_->groupId = "111";
496 authManager->authResponseContext_->groupName = "222";
497 authManager->authResponseContext_->code = 123;
498 authManager->authResponseContext_->requestId = 234;
499 authManager->authResponseContext_->deviceId = "234";
[all …]
H A DUTTest_auth_response_state.cpp150 authManager->authResponseContext_ = std::make_shared<DmAuthResponseContext>();
234 authManager->authResponseContext_ = std::make_shared<DmAuthResponseContext>();
238 authManager->authResponseContext_->deviceId = "111";
239 authManager->authResponseContext_->localDeviceId = "222";
298 authManager->authResponseContext_ = std::make_shared<DmAuthResponseContext>();
299 authManager->authResponseContext_->isShowDialog = true;
351 authManager->authResponseContext_ = std::make_shared<DmAuthResponseContext>();
402 authManager->authResponseContext_ = std::make_shared<DmAuthResponseContext>();
405 authManager->authResponseContext_->code = 123456;
463 authManager->authResponseContext_->sessionId = 1;
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/test/commonfuzztest/dmauthmanager_fuzzer/
H A Ddm_auth_manager_fuzzer.cpp66 …g_authManager->authMessageProcessor_->authResponseContext_ = std::make_shared<DmAuthResponseContex… in DmAuthManagerFuzzTest()
69 g_authManager->authResponseContext_ = std::make_shared<DmAuthResponseContext>(); in DmAuthManagerFuzzTest()
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/include/authentication/
H A Dauth_message_processor.h119 std::shared_ptr<DmAuthResponseContext> authResponseContext_; variable
H A Ddm_auth_manager.h570 std::shared_ptr<DmAuthResponseContext> authResponseContext_; variable