/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_domain_account_callback.cpp | 35 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/ |
D | user_auth_callback_service.cpp | 35 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()
|
D | user_auth_client_impl.cpp | 38 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 …]
|
D | user_idm_client_impl.cpp | 69 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/ |
D | account_iam_callback.cpp | 35 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/ |
D | mock_domain_has_domain_info_callback.cpp | 34 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()
|
D | mock_domain_plugin.cpp | 55 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 …]
|
D | mock_domain_auth_callback.cpp | 34 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()
|
D | mock_domain_get_access_token_callback.cpp | 32 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/ |
D | account_iam_mgr_proxy.cpp | 112 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 …]
|
D | account_iam_callback_service.cpp | 38 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/ |
D | domain_has_domain_info_callback.cpp | 28 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/ |
D | user_auth_client_callback.h | 50 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/ |
D | user_auth_callback_service_test.cpp | 55 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/ |
D | mock_domain_has_domain_info_callback.h | 27 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/ |
D | mock_user_auth_client_callback.h | 28 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/ |
D | account_iam_callback_test.cpp | 69 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/ |
D | user_idm_service.cpp | 212 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 …]
|
D | user_auth_service.cpp | 344 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/ |
D | account_iam_callback.h | 33 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/ |
D | mock_domain_account_callback_stub.cpp | 32 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/ |
D | domain_account_callback_client.cpp | 30 void DomainAccountCallbackClient::OnResult(const int32_t errCode, Parcel &parcel) in OnResult() function in OHOS::AccountSA::DomainAccountCallbackClient 33 proxy_->OnResult(errCode, parcel); in OnResult()
|
D | domain_auth_callback_client.cpp | 28 void DomainAuthCallbackClient::OnResult(int32_t resultCode, const DomainAuthResult &result) in OnResult() function in OHOS::AccountSA::DomainAuthCallbackClient 31 proxy_->OnResult(resultCode, result); in OnResult()
|
D | domain_auth_callback_service.cpp | 29 void DomainAuthCallbackService::OnResult(int32_t resultCode, const DomainAuthResult &result) in OnResult() function in OHOS::AccountSA::DomainAuthCallbackService 35 return innerCallback_->OnResult(resultCode, result); in OnResult()
|
D | domain_account_callback_adapters.cpp | 29 void GetAccessTokenCallbackAdapter::OnResult(const int32_t errCode, Parcel &parcel) in OnResult() function in OHOS::AccountSA::GetAccessTokenCallbackAdapter 39 return innerCallback_->OnResult(errCode, accessToken); in OnResult()
|