Searched refs:iamCallback (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/useriam/user_auth_framework/services/context/src/ |
H A D | context_death_recipient.cpp | 33 const sptr<IamCallbackInterface> iamCallback = callback->GetIamCallback(); in AddDeathRecipient() local 34 if (iamCallback == nullptr) { in AddDeathRecipient() 38 auto obj = iamCallback->AsObject(); in AddDeathRecipient() 65 const sptr<IamCallbackInterface> iamCallback = callback->GetIamCallback(); in RemoveDeathRecipient() local 66 if (iamCallback == nullptr) { in RemoveDeathRecipient() 71 auto obj = iamCallback->AsObject(); in RemoveDeathRecipient()
|
H A D | context_callback_impl.cpp | 30 ContextCallbackImpl::ContextCallbackImpl(sptr<IamCallbackInterface> iamCallback, OperationType oper… in ContextCallbackImpl() argument 31 : iamCallback_(iamCallback) in ContextCallbackImpl() 229 …d::shared_ptr<ContextCallback> ContextCallback::NewInstance(sptr<IamCallbackInterface> iamCallback, in NewInstance() argument 232 if (iamCallback == nullptr) { in NewInstance() 236 return UserIam::Common::MakeShared<ContextCallbackImpl>(iamCallback, operationType); in NewInstance()
|
H A D | widget_context.cpp | 152 AuthTrustLevel authTrustLevel, sptr<IamCallbackInterface> &iamCallback) in GetAuthContextCallback() argument 154 auto widgetCallback = ContextCallback::NewInstance(iamCallback, TRACE_AUTH_USER_SECURITY); in GetAuthContextCallback() 158 iamCallback->OnResult(ResultCode::GENERAL_ERROR, extraInfo); in GetAuthContextCallback() 176 …sptr<IamCallbackInterface> iamCallback(new (std::nothrow) WidgetContextCallbackImpl(weak_from_this… in BuildTask() local 178 IF_FALSE_LOGE_AND_RETURN_VAL(iamCallback != nullptr, nullptr); in BuildTask() 179 auto widgetCallback = GetAuthContextCallback(authType, authTrustLevel, iamCallback); in BuildTask()
|
H A D | context_callback_impl.h | 29 … explicit ContextCallbackImpl(sptr<IamCallbackInterface> iamCallback, OperationType operationType);
|
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/services/useridmservice_fuzzer/ |
H A D | user_idm_service_fuzzer.cpp | 267 …sptr<IamCallbackInterface> iamCallback = sptr<IamCallbackInterface>(new (nothrow) DummyIamCallback… in FuzzEnforceDelUserInner() local 269 ContextCallback::NewInstance(iamCallback, TRACE_ENFORCE_DELETE_USER); in FuzzEnforceDelUserInner() 287 …sptr<IamCallbackInterface> iamCallback = sptr<IamCallbackInterface>(new (nothrow) DummyIamCallback… in FuzzStartEnroll() local 288 …std::shared_ptr<ContextCallback> contextCallback = ContextCallback::NewInstance(iamCallback, TRACE… in FuzzStartEnroll() 297 …sptr<IamCallbackInterface> iamCallback = sptr<IamCallbackInterface>(new (nothrow) DummyIamCallback… in FuzzCheckEnrollPermissionAndEnableStatus() local 298 …std::shared_ptr<ContextCallback> contextCallback = ContextCallback::NewInstance(iamCallback, TRACE… in FuzzCheckEnrollPermissionAndEnableStatus()
|
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/services/userauthservice_fuzzer/ |
H A D | user_auth_service_fuzzer.cpp | 479 …sptr<IamCallbackInterface> iamCallback = sptr<IamCallbackInterface>(new (nothrow) DummyIamCallback… in FuzzAuthRemoteUser() local 480 …std::shared_ptr<ContextCallback> contextCallback = ContextCallback::NewInstance(iamCallback, TRACE… in FuzzAuthRemoteUser() 515 …sptr<IamCallbackInterface> iamCallback = sptr<IamCallbackInterface>(new (nothrow) DummyIamCallback… in FuzzStartWidgetContext() local 516 …std::shared_ptr<ContextCallback> contextCallback = ContextCallback::NewInstance(iamCallback, TRACE… in FuzzStartWidgetContext() 530 …sptr<IamCallbackInterface> iamCallback = sptr<IamCallbackInterface>(new (nothrow) DummyIamCallback… in FuzzStartRemoteAuthInvokerContext() local 531 …std::shared_ptr<ContextCallback> contextCallback = ContextCallback::NewInstance(iamCallback, TRACE… in FuzzStartRemoteAuthInvokerContext() 541 …sptr<IamCallbackInterface> iamCallback = sptr<IamCallbackInterface>(new (nothrow) DummyIamCallback… in FuzzStartAuthContext() local 542 …std::shared_ptr<ContextCallback> contextCallback = ContextCallback::NewInstance(iamCallback, TRACE… in FuzzStartAuthContext()
|
/ohos5.0/base/useriam/user_auth_framework/services/context/inc/ |
H A D | context_callback.h | 67 static std::shared_ptr<ContextCallback> NewInstance(sptr<IamCallbackInterface> iamCallback,
|
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
H A D | mock_context.h | 35 … MOCK_METHOD2(NewInstance, std::shared_ptr<ContextCallback>(sptr<IamCallbackInterface> iamCallback,
|