/base/account/os_account/services/accountmgr/test/unittest/domain_account/ |
H A D | domain_account_plugin_proxy_test.cpp | 131 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); in HWTEST_F() local 132 EXPECT_NE(callbackService, nullptr); in HWTEST_F() 133 EXPECT_NE(pluginProxy_->GetAuthStatusInfo(info, callbackService), ERR_OK); in HWTEST_F() 159 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); in HWTEST_F() local 160 EXPECT_NE(callbackService, nullptr); in HWTEST_F() 162 EXPECT_NE(pluginProxy_->AuthWithToken(info, token, callbackService), ERR_OK); in HWTEST_F() 224 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); in HWTEST_F() local 225 EXPECT_NE(callbackService, nullptr); in HWTEST_F() 226 auto callbackWrapper = std::make_shared<DomainHasDomainInfoCallback>(callbackService, "test", "name"); in HWTEST_F() 243 sptr<DomainAccountCallbackService> callbackService in HWTEST_F() local [all...] |
H A D | domain_account_manager_inner_service_test.cpp | 486 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); in HWTEST_F() local 487 ASSERT_NE(callbackService, nullptr); in HWTEST_F() 491 pluginService, domainInfo, authData, callbackService, AUTH_WITH_TOKEN_MODE), ERR_OK); in HWTEST_F() 493 pluginService, domainInfo, authData, callbackService, AUTH_MODE_END), ERR_ACCOUNT_COMMON_INVALID_PARAMETER); in HWTEST_F()
|
/base/account/os_account/frameworks/domain_account/src/ |
H A D | domain_account_client.cpp | 87 sptr<DomainAccountCallbackService> &callbackService, sptr<IDomainAccount> &proxy)
in AuthProxyInit() 93 callbackService = new (std::nothrow) DomainAccountCallbackService(callback);
in AuthProxyInit() 94 if (callbackService == nullptr) {
in AuthProxyInit() 114 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callbackPtr);
in GetAccessToken() local 115 if (callbackService == nullptr) {
in GetAccessToken() 124 return proxy->GetAccessToken(info, parameters, callbackService);
in GetAccessToken() 134 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback);
in HasAccount() local 135 if (callbackService == nullptr) {
in HasAccount() 144 return proxy->HasDomainAccount(info, callbackService);
in HasAccount() 150 sptr<DomainAccountCallbackService> callbackService in Auth() local 86 AuthProxyInit(const std::shared_ptr<DomainAccountCallback> &callback, sptr<DomainAccountCallbackService> &callbackService, sptr<IDomainAccount> &proxy) AuthProxyInit() argument 162 sptr<DomainAccountCallbackService> callbackService = nullptr; AuthUser() local 173 sptr<DomainAccountCallbackService> callbackService = nullptr; AuthWithPopup() local 245 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); GetDomainAccountInfo() local [all...] |
/base/account/os_account/test/fuzztest/osaccount_stub/createosaccountfordomainstub_fuzzer/ |
H A D | createosaccountfordomainstub_fuzzer.cpp | 53 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callbackPtr); in CreateOsAccountForDomainStubFuzzTest() local 54 if ((callbackService == nullptr) || (!datas.WriteRemoteObject(callbackService->AsObject()))) { in CreateOsAccountForDomainStubFuzzTest()
|
/base/account/os_account/frameworks/domain_account/test/moduletest/src/ |
H A D | domain_account_plugin_stub_test.cpp | 113 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); in HWTEST_F() local 114 ASSERT_NE(callbackService, nullptr); in HWTEST_F() 115 EXPECT_EQ(data.WriteRemoteObject(callbackService->AsObject()), true); in HWTEST_F() 135 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); in HWTEST_F() local 136 ASSERT_NE(callbackService, nullptr); in HWTEST_F() 137 EXPECT_EQ(data.WriteRemoteObject(callbackService->AsObject()), true); in HWTEST_F()
|
H A D | domain_account_client_module_test.cpp | 1808 sptr<DomainAccountCallbackService> callbackService;
in HWTEST_F() local 1811 EXPECT_EQ(DomainAccountClient::GetInstance().AuthProxyInit(callback, callbackService, proxy),
in HWTEST_F() 1828 sptr<DomainAccountCallbackService> callbackService = nullptr;
in HWTEST_F() local 1831 EXPECT_EQ(DomainAccountClient::GetInstance().AuthProxyInit(testCallback, callbackService, proxy), ERR_OK);
in HWTEST_F() 1832 EXPECT_NE(callbackService, nullptr);
in HWTEST_F()
|
/base/account/os_account/services/accountmgr/src/domain_account/ |
H A D | inner_domain_account_manager.cpp | 1059 sptr<DomainAccountCallbackService> callbackService =
in StartGetAccessToken() local 1061 if (callbackService == nullptr) {
in StartGetAccessToken() 1066 ErrCode result = plugin->GetAccessToken(info, accountToken, option, callbackService);
in StartGetAccessToken() 1267 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback);
in CheckUserToken() local 1268 if (callbackService == nullptr) {
in CheckUserToken() 1285 errCode = plugin_->IsAccountTokenValid(info, token, callbackService);
in CheckUserToken() 1342 sptr<IDomainAccountCallback> callbackService =
in GetAuthStatusInfo() local 1344 if (callbackService == nullptr) {
in GetAuthStatusInfo() 1356 callbackService->OnResult(err, emptyParcel);
in GetAuthStatusInfo() 1360 return plugin_->GetAuthStatusInfo(info, callbackService);
in GetAuthStatusInfo() 1399 sptr<DomainAccountCallbackService> callbackService = StartHasDomainAccount() local 1450 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); OnAccountBound() local 1492 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); OnAccountUnBound() local 1572 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callbackFunc); GetDomainAccountInfo() local 1629 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); IsAccountTokenValid() local 1724 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); CheckNewDomainAccountInfo() local [all...] |
/base/useriam/user_auth_framework/services/ipc/src/ |
H A D | co_auth_service.cpp | 250 auto callbackService = HdiMessageCallbackService::GetInstance(); in AuthServiceInit() local 251 IF_FALSE_LOGE_AND_RETURN(callbackService != nullptr); in AuthServiceInit() 252 callbackService->OnHdiConnect(); in AuthServiceInit()
|
/base/account/os_account/interfaces/innerkits/domain_account/native/include/ |
H A D | domain_account_client.h | 154 sptr<DomainAccountCallbackService> &callbackService, sptr<IDomainAccount> &proxy);
|
/base/account/os_account/frameworks/osaccount/core/src/ |
H A D | os_account.cpp | 173 sptr<DomainAccountCallbackService> callbackService = new (std::nothrow) DomainAccountCallbackService(callback); in CreateOsAccountForDomain() local 174 return proxy->CreateOsAccountForDomain(type, domainInfo, callbackService, options); in CreateOsAccountForDomain()
|