Home
last modified time | relevance | path

Searched refs:authManager_ (Results 1 - 14 of 14) sorted by relevance

/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_auth_manager_second.cpp36 authManager_ = std::make_shared<DmAuthManager>(softbusConnector, hiChainConnector, listener, hiChainAuthConnector); in SetUp()
37 authManager_->authMessageProcessor_ = std::make_shared<AuthMessageProcessor>(authManager_); in SetUp()
38 authManager_->authMessageProcessor_->authResponseContext_ = std::make_shared<DmAuthResponseContext>(); in SetUp()
39 authManager_->authRequestContext_ = std::make_shared<DmAuthRequestContext>(); in SetUp()
40 authManager_->authRequestState_ = std::make_shared<AuthRequestFinishState>(); in SetUp()
41 authManager_->authResponseContext_ = std::make_shared<DmAuthResponseContext>(); in SetUp()
42 authManager_->authResponseState_ = std::make_shared<AuthResponseConfirmState>(); in SetUp()
43 authManager_->hiChainAuthConnector_ = std::make_shared<HiChainAuthConnector>(); in SetUp()
44 authManager_ in SetUp()
[all...]
H A DUTTest_dm_auth_manager_first.cpp56 authManager_->authMessageProcessor_ = std::make_shared<AuthMessageProcessor>(authManager_); in SetUp()
57 authManager_->authMessageProcessor_->authResponseContext_ = std::make_shared<DmAuthResponseContext>(); in SetUp()
58 authManager_->authRequestContext_ = std::make_shared<DmAuthRequestContext>(); in SetUp()
59 authManager_->authRequestState_ = std::make_shared<AuthRequestFinishState>(); in SetUp()
60 authManager_->authResponseContext_ = std::make_shared<DmAuthResponseContext>(); in SetUp()
61 authManager_->authResponseState_ = std::make_shared<AuthResponseConfirmState>(); in SetUp()
62 authManager_->hiChainAuthConnector_ = std::make_shared<HiChainAuthConnector>(); in SetUp()
63 authManager_->softbusConnector_ = std::make_shared<SoftbusConnector>(); in SetUp()
64 authManager_ in SetUp()
[all...]
H A DUTTest_dm_auth_manager_third.cpp116 authManager_ = std::make_shared<DmAuthManager>(softbusConnector, hiChainConnector, listener, hiChainAuthConnector); in SetUp()
118 authManager_->authMessageProcessor_ = std::make_shared<AuthMessageProcessor>(authManager_); in SetUp()
119 authManager_->authMessageProcessor_->authResponseContext_ = std::make_shared<DmAuthResponseContext>(); in SetUp()
120 authManager_->authRequestContext_ = std::make_shared<DmAuthRequestContext>(); in SetUp()
121 authManager_->authRequestState_ = std::make_shared<AuthRequestFinishState>(); in SetUp()
122 authManager_->authResponseContext_ = std::make_shared<DmAuthResponseContext>(); in SetUp()
123 authManager_->authResponseState_ = std::make_shared<AuthResponseConfirmState>(); in SetUp()
124 authManager_->hiChainAuthConnector_ = std::make_shared<HiChainAuthConnector>(); in SetUp()
125 authManager_ in SetUp()
[all...]
H A DUTTest_dm_auth_manager_second.h46 std::shared_ptr<DmAuthManager> authManager_; member in OHOS::DistributedHardware::DmAuthManagerTest
H A DUTTest_dm_auth_manager_third.h45 std::shared_ptr<DmAuthManager> authManager_; member in OHOS::DistributedHardware::DmAuthManagerTest
H A DUTTest_dm_auth_manager_first.h51 std::shared_ptr<DmAuthManager> authManager_ = member in OHOS::DistributedHardware::DmAuthManagerTest
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_request_state.cpp30 authManager_ = std::move(authManager); in SetAuthManager()
48 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in TransitionTo()
50 LOGE("AuthRequestState::authManager_ null"); in TransitionTo()
69 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
71 LOGE("AuthRequestState::authManager_ null"); in Enter()
85 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
87 LOGE("AuthRequestState::authManager_ null"); in Enter()
101 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
103 LOGE("AuthRequestState::authManager_ null"); in Enter()
117 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_ in Enter()
[all...]
H A Dauth_response_state.cpp42 authManager_ = std::move(authManager); in SetAuthManager()
49 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in TransitionTo()
51 LOGE("AuthResponseState::authManager_ null"); in TransitionTo()
81 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
83 LOGE("AuthResponseNegotiateState authManager_ is null"); in Enter()
98 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
100 LOGE("AuthResponseConfirmState authManager_ is null"); in Enter()
115 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
117 LOGE("AuthResponseGroupState authManager_ is null"); in Enter()
131 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_ in Enter()
[all...]
/foundation/distributedhardware/device_manager/test/unittest/
H A Dauth_request_state.cpp30 authManager_ = std::move(authManager); in SetAuthManager()
47 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in TransitionTo()
49 LOGE("AuthRequestState::authManager_ null"); in TransitionTo()
75 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
77 LOGE("AuthRequestInitState::Enter authManager_ is null"); in Enter()
95 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
97 LOGE("AuthRequestNegotiateState::Enter authManager_ is null"); in Enter()
115 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
117 LOGE("AuthRequestNegotiateDoneState::Enter authManager_ is null"); in Enter()
135 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_ in Enter()
[all...]
H A Dauth_response_state.cpp42 authManager_ = std::move(authManager); in SetAuthManager()
49 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in TransitionTo()
51 LOGE("AuthRequestState::authManager_ null"); in TransitionTo()
88 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
90 LOGE("AuthResponseNegotiateState::Enter authManager_ is null"); in Enter()
109 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
111 LOGE("AuthResponseConfirmState::Enter authManager_ is null"); in Enter()
126 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
128 LOGE("AuthResponseGroupState::Enter authManager_ is null"); in Enter()
142 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_ in Enter()
[all...]
H A DUTTest_auth_request_state.cpp48 * 3 check ret is authResponseState->authManager_.use_count()
65 * 3 check ret is authResponseState->authManager_.use_count()
85 * 3 check ret is authResponseState->authManager_.use_count()
93 int32_t ret = authRequestState->authManager_.use_count(); in HWTEST_F()
94 authRequestState->authManager_.reset(); in HWTEST_F()
102 * 3 check ret is authResponseState->authManager_.use_count()
122 * 3 check ret is authResponseState->authManager_.use_count()
132 int32_t ret = authRequestState->authManager_.use_count(); in HWTEST_F()
133 authRequestState->authManager_.reset(); in HWTEST_F()
141 * 3 check ret is authResponseState->authManager_
[all...]
H A DUTTest_auth_response_state.cpp49 * 3 check ret is authResponseState->authManager_.use_count()
66 * 3 check ret is authResponseState->authManager_.use_count()
86 * 3 check ret is authResponseState->authManager_.use_count()
96 int32_t ret = authResponseState->authManager_.use_count(); in HWTEST_F()
104 * 3 check ret is authResponseState->authManager_.use_count()
112 int32_t ret = authResponseState->authManager_.use_count(); in HWTEST_F()
130 authResponseState->authManager_ = authManager; in HWTEST_F()
/foundation/distributedhardware/device_manager/services/implementation/include/authentication/
H A Dauth_request_state.h31 authManager_.reset(); in ~AuthRequestState()
64 std::weak_ptr<DmAuthManager> authManager_; member in OHOS::DistributedHardware::AuthRequestState
H A Dauth_response_state.h29 authManager_.reset(); in ~AuthResponseState()
70 std::weak_ptr<DmAuthManager> authManager_; member in OHOS::DistributedHardware::AuthResponseState

Completed in 9 milliseconds