Home
last modified time | relevance | path

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

/ohos5.0/base/account/os_account/frameworks/domain_account/src/
H A Ddomain_account_client.cpp94 if (callbackService == nullptr) { in AuthProxyInit()
115 if (callbackService == nullptr) { in GetAccessToken()
135 if (callbackService == nullptr) { in HasAccount()
144 return proxy->HasDomainAccount(info, callbackService); in HasAccount()
150 sptr<DomainAccountCallbackService> callbackService = nullptr; in Auth() local
156 return proxy->Auth(info, password, callbackService); in Auth()
162 sptr<DomainAccountCallbackService> callbackService = nullptr; in AuthUser() local
168 return proxy->AuthUser(userId, password, callbackService); in AuthUser()
173 sptr<DomainAccountCallbackService> callbackService = nullptr; in AuthWithPopup() local
179 return proxy->AuthWithPopup(userId, callbackService); in AuthWithPopup()
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/domain_account/
H A Ddomain_account_plugin_proxy_test.cpp132 …sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackServi… variable
133 EXPECT_NE(callbackService, nullptr);
134 EXPECT_NE(pluginProxy_->GetAuthStatusInfo(info, callbackService), ERR_OK);
160 …sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackServi… variable
161 EXPECT_NE(callbackService, nullptr);
163 EXPECT_NE(pluginProxy_->AuthWithToken(info, token, callbackService), ERR_OK);
225 …sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackServi… variable
226 EXPECT_NE(callbackService, nullptr);
227 …auto callbackWrapper = std::make_shared<DomainHasDomainInfoCallback>(callbackService, "test", "nam…
245 EXPECT_NE(callbackService, nullptr);
[all …]
H A Ddomain_account_manager_inner_service_test.cpp483 …sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackServi… variable
484 ASSERT_NE(callbackService, nullptr);
488 pluginService, domainInfo, authData, callbackService, AUTH_WITH_TOKEN_MODE), ERR_OK);
490 …pluginService, domainInfo, authData, callbackService, AUTH_MODE_END), ERR_ACCOUNT_COMMON_INVALID_P…
/ohos5.0/base/account/os_account/frameworks/domain_account/test/moduletest/src/
H A Ddomain_account_plugin_stub_test.cpp113 …sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackServi… variable
114 ASSERT_NE(callbackService, nullptr);
115 EXPECT_EQ(data.WriteRemoteObject(callbackService->AsObject()), true);
135 …sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackServi… variable
136 ASSERT_NE(callbackService, nullptr);
137 EXPECT_EQ(data.WriteRemoteObject(callbackService->AsObject()), true);
H A Ddomain_account_client_module_test.cpp1812 sptr<DomainAccountCallbackService> callbackService; variable
1815 EXPECT_EQ(DomainAccountClient::GetInstance().AuthProxyInit(callback, callbackService, proxy),
1832 sptr<DomainAccountCallbackService> callbackService = nullptr; variable
1835 …EXPECT_EQ(DomainAccountClient::GetInstance().AuthProxyInit(testCallback, callbackService, proxy), …
1836 EXPECT_NE(callbackService, nullptr);
/ohos5.0/base/account/os_account/services/accountmgr/src/domain_account/
H A Dinner_domain_account_manager.cpp1013 if (callbackService == nullptr) { in StartGetAccessToken()
1192 if (callbackService == nullptr) { in CheckUserToken()
1262 sptr<IDomainAccountCallback> callbackService = in GetAuthStatusInfo() local
1264 if (callbackService == nullptr) { in GetAuthStatusInfo()
1321 if (callbackService == nullptr) { in StartHasDomainAccount()
1363 if (callbackService == nullptr) { in OnAccountBound()
1401 if (callbackService == nullptr) { in OnAccountUnBound()
1416 auto task = [this, info, callbackService] { in OnAccountUnBound()
1492 if (callbackService == nullptr) { in GetDomainAccountInfo()
1545 if (callbackService == nullptr) { in IsAccountTokenValid()
[all …]
/ohos5.0/base/account/os_account/test/fuzztest/osaccount_stub/createosaccountfordomainstub_fuzzer/
H A Dcreateosaccountfordomainstub_fuzzer.cpp53 …sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackServi… in CreateOsAccountForDomainStubFuzzTest() local
54 if ((callbackService == nullptr) || (!datas.WriteRemoteObject(callbackService->AsObject()))) { in CreateOsAccountForDomainStubFuzzTest()
/ohos5.0/base/useriam/user_auth_framework/services/ipc/src/
H A Dco_auth_service.cpp250 auto callbackService = HdiMessageCallbackService::GetInstance(); in AuthServiceInit() local
251 IF_FALSE_LOGE_AND_RETURN(callbackService != nullptr); in AuthServiceInit()
252 callbackService->OnHdiConnect(); in AuthServiceInit()
/ohos5.0/base/account/os_account/interfaces/innerkits/domain_account/native/include/
H A Ddomain_account_client.h154 sptr<DomainAccountCallbackService> &callbackService, sptr<IDomainAccount> &proxy);
/ohos5.0/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp173 …sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackServi… in CreateOsAccountForDomain() local
174 return proxy->CreateOsAccountForDomain(type, domainInfo, callbackService, options); in CreateOsAccountForDomain()