Home
last modified time | relevance | path

Searched refs:OnResult (Results 1 – 25 of 256) sorted by relevance

1234567891011

/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_domain_account_callback.cpp35 void CheckAndCreateDomainAccountCallback::OnResult(int32_t errCode, Parcel &parcel) in OnResult() function in OHOS::AccountSA::CheckAndCreateDomainAccountCallback
46 return innerCallback_->OnResult(errCode, resultParcel); in OnResult()
51 return innerCallback_->OnResult(ERR_JS_SYSTEM_SERVICE_EXCEPTION, resultParcel); in OnResult()
59 return innerCallback_->OnResult(ERR_JS_ACCOUNT_NOT_FOUND, resultParcel); in OnResult()
63 return innerCallback_->OnResult(errCode, resultParcel); in OnResult()
72 void BindDomainAccountCallback::OnResult(int32_t errCode, Parcel &parcel) in OnResult() function in OHOS::AccountSA::BindDomainAccountCallback
81 return innerCallback_->OnResult(ERR_JS_SYSTEM_SERVICE_EXCEPTION, parcel); in OnResult()
89 return innerCallback_->OnResult(errCode, parcel); in OnResult()
95 return innerCallback_->OnResult(errCode, resultParcel); in OnResult()
107 innerCallback_->OnResult(errCode, resultParcel); in OnResult()
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_auth_callback_service.cpp35 impl->OnResult(GENERAL_ERROR, extraInfo); in UserAuthCallbackService()
49 impl->OnResult(GENERAL_ERROR, extraInfo); in UserAuthCallbackService()
60 void UserAuthCallbackService::OnResult(int32_t result, const Attributes &extraInfo) in OnResult() function in OHOS::UserIam::UserAuth::UserAuthCallbackService
64 authCallback_->OnResult(result, extraInfo); in OnResult()
66 identifyCallback_->OnResult(result, extraInfo); in OnResult()
94 impl->OnResult(GENERAL_ERROR, extraInfo); in GetExecutorPropertyCallbackService()
112 getPropCallback_->OnResult(result, attributes); in OnGetExecutorPropertyResult()
122 impl->OnResult(GENERAL_ERROR, extraInfo); in SetExecutorPropertyCallbackService()
141 setPropCallback_->OnResult(result, attr); in OnSetExecutorPropertyResult()
Duser_auth_client_impl.cpp38 void OnResult(int32_t result, const Attributes &extraInfo) override;
69 void NorthAuthenticationCallback::OnResult(int32_t result, const Attributes &extraInfo) in OnResult() function in OHOS::UserIam::UserAuth::__anonb0c6933e0111::NorthAuthenticationCallback
76 innerCallback_->OnResult(result, extraInfo); in OnResult()
108 callback->OnResult(GENERAL_ERROR, extraInfo); in GetProperty()
117 callback->OnResult(GENERAL_ERROR, extraInfo); in GetProperty()
167 callback->OnResult(GENERAL_ERROR, retExtraInfo); in SetProperty()
184 callback->OnResult(GENERAL_ERROR, extraInfo); in BeginAuthentication()
192 callback->OnResult(GENERAL_ERROR, extraInfo); in BeginAuthentication()
210 callback->OnResult(GENERAL_ERROR, extraInfo); in BeginNorthAuthentication()
218 callback->OnResult(GENERAL_ERROR, extraInfo); in BeginNorthAuthentication()
[all …]
Duser_idm_client_impl.cpp69 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential()
77 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential()
98 callback->OnResult(GENERAL_ERROR, extraInfo); in UpdateCredential()
106 callback->OnResult(GENERAL_ERROR, extraInfo); in UpdateCredential()
138 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteCredential()
146 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteCredential()
163 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteUser()
171 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteUser()
187 callback->OnResult(GENERAL_ERROR, extraInfo); in EraseUser()
194 callback->OnResult(GENERAL_ERROR, extraInfo); in EraseUser()
/base/account/os_account/services/accountmgr/src/account_iam/
Daccount_iam_callback.cpp35 void AuthCallback::OnResult(int32_t result, const Attributes &extraInfo) in OnResult() function in OHOS::AccountSA::AuthCallback
44 innerCallback_->OnResult(result, extraInfo); in OnResult()
54 innerCallback_->OnResult(result, extraInfo); in OnResult()
71 innerCallback_->OnResult(ResultCode::FAIL, errInfo); in OnResult()
74 innerCallback_->OnResult(result, extraInfo); in OnResult()
98 void IDMAuthCallback::OnResult(int32_t result, const Attributes &extraInfo) in OnResult() function in OHOS::AccountSA::IDMAuthCallback
105 idmCallback_->OnResult(ResultCode::FAIL, reqResult_); in OnResult()
117 idmCallback_->OnResult(oldResult_, reqResult_); in OnResult()
134 idmCallback_->OnResult(oldResult_, reqResult_); in OnResult()
148 void AddCredCallback::OnResult(int32_t result, const Attributes &extraInfo) in OnResult() function in OHOS::AccountSA::AddCredCallback
[all …]
/base/account/os_account/frameworks/domain_account/test/moduletest/src/
Dmock_domain_has_domain_info_callback.cpp34 void TestHasDomainInfoCallback::OnResult(const int32_t errCode, Parcel &parcel) in OnResult() function in OHOS::AccountSA::TestHasDomainInfoCallback
40 callback_->OnResult(errCode, hasDomainInfo_); in OnResult()
52 void TestGetDomainAccountInfoCallback::OnResult(const int32_t errCode, Parcel &parcel) in OnResult() function in OHOS::AccountSA::TestGetDomainAccountInfoCallback
57 callback_->OnResult(errCode, parcel); in OnResult()
Dmock_domain_plugin.cpp55 callback->OnResult(0, result); in AuthCommonInterface()
59 callback->OnResult(1, result); in AuthCommonInterface()
87 callback->OnResult(!isCorrect, result); in AuthCommonInterface()
121 callback->OnResult(0, parcel); in GetAuthStatusInfo()
134 callback->OnResult(0, parcel); in GetDomainAccountInfo()
142 callback->OnResult(0, parcel); in GetDomainAccountInfo()
150 callback->OnResult(0, parcel); in GetDomainAccountInfo()
158 callback->OnResult(0, parcel); in GetDomainAccountInfo()
166 callback->OnResult(0, parcel); in GetDomainAccountInfo()
172 callback->OnResult(INVALID_CODE, parcel); in GetDomainAccountInfo()
[all …]
Dmock_domain_auth_callback.cpp34 void TestDomainAuthCallback::OnResult(int32_t resultCode, const DomainAuthResult &result) in OnResult() function in OHOS::AccountSA::TestDomainAuthCallback
46 callback_->OnResult(errCode, emptyResult); in OnResult()
51 callback_->OnResult(resultCode, result); in OnResult()
Dmock_domain_get_access_token_callback.cpp32 void TestGetAccessTokenCallback::OnResult(const int32_t errCode, const std::vector<uint8_t> &access… in OnResult() function in OHOS::AccountSA::TestGetAccessTokenCallback
37 callback_->OnResult(errCode, accessToken); in OnResult()
/base/account/os_account/frameworks/account_iam/src/
Daccount_iam_mgr_proxy.cpp112 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in AddOrUpdateCredential()
117 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in AddOrUpdateCredential()
123 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in AddOrUpdateCredential()
128 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in AddOrUpdateCredential()
133 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in AddOrUpdateCredential()
144 callback->OnResult(result, emptyResult); in AddOrUpdateCredential()
188 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in DelCred()
193 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in DelCred()
198 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in DelCred()
203 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in DelCred()
[all …]
Daccount_iam_callback_service.cpp38 void IDMCallbackService::OnResult(int32_t result, const Attributes &extraInfo) in OnResult() function in OHOS::AccountSA::IDMCallbackService
44 callback_->OnResult(result, extraInfo); in OnResult()
65 void GetSetPropCallbackService::OnResult(int32_t result, const Attributes &extraInfo) in OnResult() function in OHOS::AccountSA::GetSetPropCallbackService
71 callback_->OnResult(result, extraInfo); in OnResult()
78 void DomainAuthCallbackAdapter::OnResult(int32_t resultCode, const DomainAuthResult &result) in OnResult() function in OHOS::AccountSA::DomainAuthCallbackAdapter
88 callback_->OnResult(resultCode, attr); in OnResult()
106 idmCallback_->OnResult(ERR_ACCOUNT_COMMON_INSUFFICIENT_MEMORY_ERROR, attr); in OnSetData()
113 callback->OnResult(errCode, result); in OnSetData()
/base/account/os_account/services/accountmgr/src/domain_account/
Ddomain_has_domain_info_callback.cpp28 void DomainHasDomainInfoCallback::OnResult(const int32_t errCode, Parcel &parcel) in OnResult() function in OHOS::AccountSA::DomainHasDomainInfoCallback
37 return innerCallback_->OnResult(errCode, parcelResult); in OnResult()
43 return innerCallback_->OnResult(ERR_ACCOUNT_COMMON_INSUFFICIENT_MEMORY_ERROR, parcelResult); in OnResult()
51 return innerCallback_->OnResult(errCode, parcelResult); in OnResult()
54 return innerCallback_->OnResult(errCode, parcelResult); in OnResult()
/base/useriam/user_auth_framework/interfaces/inner_api/
Duser_auth_client_callback.h50 virtual void OnResult(int32_t result, const Attributes &extraInfo) = 0;
70 virtual void OnResult(int32_t result, const Attributes &extraInfo) = 0;
81 virtual void OnResult(int32_t result, const Attributes &extraInfo) = 0;
92 virtual void OnResult(int32_t result, const Attributes &extraInfo) = 0;
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
Duser_auth_callback_service_test.cpp55 service->OnResult(testResult, testExtraInfo);
69 EXPECT_CALL(*authCallback, OnResult(_, _)).Times(1);
70 ON_CALL(*authCallback, OnResult)
86 service->OnResult(testResult, testExtraInfo);
100 EXPECT_CALL(*identifyCallback, OnResult(_, _)).Times(1);
101 ON_CALL(*identifyCallback, OnResult)
117 service->OnResult(testResult, testExtraInfo);
139 EXPECT_CALL(*getPropCallback, OnResult(_, _)).Times(1);
140 ON_CALL(*getPropCallback, OnResult)
167 EXPECT_CALL(*setPropCallback, OnResult(_, _)).Times(1);
[all …]
/base/account/os_account/frameworks/domain_account/test/moduletest/include/
Dmock_domain_has_domain_info_callback.h27 MOCK_METHOD2(OnResult, void(const int32_t errCode, const bool hasDomainInfo));
34 void OnResult(const int32_t errCode, Parcel &parcel) override;
44 MOCK_METHOD2(OnResult, void(const int32_t errCode, Parcel &parcel));
51 void OnResult(const int32_t errCode, Parcel &parcel) override;
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/
Dmock_user_auth_client_callback.h28 MOCK_METHOD2(OnResult, void(int32_t result, const Attributes &extraInfo));
34 MOCK_METHOD2(OnResult, void(int32_t result, const Attributes &extraInfo));
40 MOCK_METHOD2(OnResult, void(int32_t result, const Attributes &extraInfo));
45 MOCK_METHOD2(OnResult, void(int32_t result, const Attributes &extraInfo));
/base/account/os_account/services/accountmgr/test/unittest/account_iam/
Daccount_iam_callback_test.cpp69 void OnResult(int32_t result, const Attributes &extraInfo) override in OnResult() function in OHOS::AccountTest::MockIIDMCallback
82 MOCK_METHOD1(OnResult, void(int32_t result));
86 OnResult(infoListSize); in OnCredentialInfo()
123 userAuthCallback->OnResult(0, extraInfo);
141 userAuthCallback->OnResult(errCode, extraInfo);
144 userAuthCallback->OnResult(errCode, extraInfo);
162 userAuthCallback->OnResult(errCode, extraInfo);
165 userAuthCallback->OnResult(errCode, extraInfo);
212 idmAuthCallback->OnResult(0, extraInfo);
229 idmAuthCallback->OnResult(errCode, extraInfo);
[all …]
/base/useriam/user_auth_framework/services/ipc/src/
Duser_idm_service.cpp212 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential()
222 contextCallback->OnResult(CHECK_PERMISSION_FAILED, extraInfo); in AddCredential()
239 contextCallback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential()
248 contextCallback->OnResult(context->GetLatestError(), extraInfo); in AddCredential()
264 callback->OnResult(NOT_ENROLLED, extraInfo); in UpdateCredential()
322 callback->OnResult(GENERAL_ERROR, extraInfo); in EnforceDelUser()
329 contextCallback->OnResult(CHECK_PERMISSION_FAILED, extraInfo); in EnforceDelUser()
339 contextCallback->OnResult(INVALID_PARAMETERS, extraInfo); in EnforceDelUser()
348 contextCallback->OnResult(ret, extraInfo); in EnforceDelUser()
358 contextCallback->OnResult(SUCCESS, extraInfo); in EnforceDelUser()
[all …]
Duser_auth_service.cpp344 callback->OnResult(GENERAL_ERROR, extraInfo); in GetAuthContextCallback()
367 contextCallback->OnResult(checkRet, extraInfo); in Auth()
373 contextCallback->OnResult(GENERAL_ERROR, extraInfo); in Auth()
379 contextCallback->OnResult(TRUST_LEVEL_NOT_SUPPORT, extraInfo); in Auth()
392 contextCallback->OnResult(GENERAL_ERROR, extraInfo); in Auth()
401 contextCallback->OnResult(errorCode, extraInfo); in Auth()
420 contextCallback->OnResult(TRUST_LEVEL_NOT_SUPPORT, extraInfo); in AuthUser()
425 contextCallback->OnResult(CHECK_PERMISSION_FAILED, extraInfo); in AuthUser()
438 contextCallback->OnResult(GENERAL_ERROR, extraInfo); in AuthUser()
446 contextCallback->OnResult(context->GetLatestError(), extraInfo); in AuthUser()
[all …]
/base/account/os_account/services/accountmgr/include/account_iam/
Daccount_iam_callback.h33 void OnResult(int32_t result, const Attributes &extraInfo) override;
47 void OnResult(int32_t result, const Attributes &extraInfo) override;
66 void OnResult(int32_t result, const Attributes &extraInfo) override;
81 void OnResult(int32_t result, const Attributes &extraInfo) override;
97 void OnResult(int32_t result, const Attributes &extraInfo) override;
126 void OnResult(int32_t result, const Attributes &extraInfo) override;
137 void OnResult(int32_t result, const Attributes &extraInfo) override;
148 void OnResult(int32_t result, Parcel &parcel) override;
/base/account/os_account/services/accountmgr/test/unittest/domain_account/mock/
Dmock_domain_account_callback_stub.cpp32 void MockDomainAccountCallbackStub::OnResult(const int32_t errCode, Parcel &parcel) in OnResult() function in OHOS::AccountSA::MockDomainAccountCallbackStub
35 innerCallback_->OnResult(errCode, parcel); in OnResult()
/base/account/os_account/frameworks/domain_account/src/
Ddomain_account_callback_client.cpp30 void DomainAccountCallbackClient::OnResult(const int32_t errCode, Parcel &parcel) in OnResult() function in OHOS::AccountSA::DomainAccountCallbackClient
33 proxy_->OnResult(errCode, parcel); in OnResult()
Ddomain_auth_callback_client.cpp28 void DomainAuthCallbackClient::OnResult(int32_t resultCode, const DomainAuthResult &result) in OnResult() function in OHOS::AccountSA::DomainAuthCallbackClient
31 proxy_->OnResult(resultCode, result); in OnResult()
Ddomain_auth_callback_service.cpp29 void DomainAuthCallbackService::OnResult(int32_t resultCode, const DomainAuthResult &result) in OnResult() function in OHOS::AccountSA::DomainAuthCallbackService
35 return innerCallback_->OnResult(resultCode, result); in OnResult()
Ddomain_account_callback_adapters.cpp29 void GetAccessTokenCallbackAdapter::OnResult(const int32_t errCode, Parcel &parcel) in OnResult() function in OHOS::AccountSA::GetAccessTokenCallbackAdapter
39 return innerCallback_->OnResult(errCode, accessToken); in OnResult()

1234567891011