/base/useriam/user_auth_framework/test/unittest/inner_api/src/ |
D | callback_manager_impl_test.cpp | 52 auto widgetCallback = Common::MakeShared<MockIUserAuthWidgetCallback>(); 54 auto service = Common::MakeShared<WidgetCallbackService>(widgetCallback); 61 auto idmClientCallback = Common::MakeShared<MockUserIdmClientCallback>(); 63 auto service = Common::MakeShared<IdmCallbackService>(idmClientCallback); 70 auto getCredInfoCallback = Common::MakeShared<MockGetCredentialInfoCallback>(); 72 auto service = Common::MakeShared<IdmGetCredInfoCallbackService>(getCredInfoCallback); 79 auto getSecInfoCallback = Common::MakeShared<MockGetSecUserInfoCallback>(); 81 auto service = Common::MakeShared<IdmGetSecureUserInfoCallbackService>(getSecInfoCallback); 88 auto authCallback = Common::MakeShared<MockAuthenticationCallback>(); 90 auto service = Common::MakeShared<UserAuthCallbackService>(authCallback); [all …]
|
D | executor_callback_service_test.cpp | 51 auto service = Common::MakeShared<ExecutorCallbackService>(testCallback); 62 auto testCallback = Common::MakeShared<MockExecutorRegisterCallback>(); 74 auto service = Common::MakeShared<ExecutorCallbackService>(testCallback); 86 auto service = Common::MakeShared<ExecutorCallbackService>(testCallback); 98 auto testCallback = Common::MakeShared<MockExecutorRegisterCallback>(); 110 auto service = Common::MakeShared<ExecutorCallbackService>(testCallback); 122 auto service = Common::MakeShared<ExecutorCallbackService>(testCallback); 133 auto testCallback = Common::MakeShared<MockExecutorRegisterCallback>(); 143 auto service = Common::MakeShared<ExecutorCallbackService>(testCallback); 154 auto service = Common::MakeShared<ExecutorCallbackService>(testCallback); [all …]
|
D | user_auth_callback_service_test.cpp | 53 auto service = Common::MakeShared<UserAuthCallbackService>(authCallback); 67 auto authCallback = Common::MakeShared<MockAuthenticationCallback>(); 84 auto service = Common::MakeShared<UserAuthCallbackService>(authCallback); 98 auto identifyCallback = Common::MakeShared<MockIdentificationCallback>(); 115 auto service = Common::MakeShared<UserAuthCallbackService>(identifyCallback); 127 auto service = Common::MakeShared<GetExecutorPropertyCallbackService>(getPropCallback); 137 auto getPropCallback = Common::MakeShared<MockGetPropCallback>(); 146 auto service = Common::MakeShared<GetExecutorPropertyCallbackService>(getPropCallback); 156 auto service = Common::MakeShared<SetExecutorPropertyCallbackService>(setPropCallback); 165 auto setPropCallback = Common::MakeShared<MockSetPropCallback>(); [all …]
|
D | user_idm_proxy_test.cpp | 54 auto proxy = Common::MakeShared<UserIdmProxy>(obj); 56 auto service = Common::MakeShared<MockUserIdmService>(); 79 auto proxy = Common::MakeShared<UserIdmProxy>(obj); 81 auto service = Common::MakeShared<MockUserIdmService>(); 105 auto proxy = Common::MakeShared<UserIdmProxy>(obj); 107 auto getCredInfoCallback = Common::MakeShared<MockGetCredentialInfoCallback>(); 111 auto service = Common::MakeShared<MockUserIdmService>(); 137 auto proxy = Common::MakeShared<UserIdmProxy>(obj); 139 auto getSecInfoCallback = Common::MakeShared<MockGetSecUserInfoCallback>(); 143 auto service = Common::MakeShared<MockUserIdmService>(); [all …]
|
D | user_idm_callback_service_test.cpp | 53 auto service = Common::MakeShared<IdmCallbackService>(idmClientCallback); 67 auto idmClientCallback = Common::MakeShared<MockUserIdmClientCallback>(); 84 auto service = Common::MakeShared<IdmCallbackService>(idmClientCallback); 95 auto service = Common::MakeShared<IdmGetCredInfoCallbackService>(getCredInfoCallback); 107 auto getCredInfoCallback = Common::MakeShared<MockGetCredentialInfoCallback>(); 119 auto service = Common::MakeShared<IdmGetCredInfoCallbackService>(getCredInfoCallback); 129 auto service = Common::MakeShared<IdmGetSecureUserInfoCallbackService>(getSecInfoCallback); 136 auto getSecInfoCallback = Common::MakeShared<MockGetSecUserInfoCallback>(); 150 auto service = Common::MakeShared<IdmGetSecureUserInfoCallbackService>(getSecInfoCallback);
|
D | user_auth_proxy_test.cpp | 56 auto proxy = Common::MakeShared<UserAuthProxy>(obj); 58 auto service = Common::MakeShared<MockUserAuthService>(); 86 auto proxy = Common::MakeShared<UserAuthProxy>(obj); 88 auto getPropCallback = Common::MakeShared<MockGetPropCallback>(); 92 auto service = Common::MakeShared<MockUserAuthService>(); 123 auto proxy = Common::MakeShared<UserAuthProxy>(obj); 125 auto setPropCallback = Common::MakeShared<MockSetPropCallback>(); 129 auto service = Common::MakeShared<MockUserAuthService>(); 160 auto proxy = Common::MakeShared<UserAuthProxy>(obj); 162 auto authCallback = Common::MakeShared<MockAuthenticationCallback>(); [all …]
|
D | widget_callback_service_test.cpp | 47 auto service = Common::MakeShared<WidgetCallbackService>(impl); 57 auto widgetCallback = Common::MakeShared<MockIUserAuthWidgetCallback>(); 67 auto service = Common::MakeShared<WidgetCallbackService>(widgetCallback);
|
D | user_idm_client_test.cpp | 57 auto service = Common::MakeShared<MockUserIdmService>(); 91 auto service = Common::MakeShared<MockUserIdmService>(); 151 testCallback = Common::MakeShared<MockUserIdmClientCallback>(); 165 auto testCallback = Common::MakeShared<MockUserIdmClientCallback>(); 169 auto service = Common::MakeShared<MockUserIdmService>(); 203 testCallback = Common::MakeShared<MockUserIdmClientCallback>(); 217 auto testCallback = Common::MakeShared<MockUserIdmClientCallback>(); 221 auto service = Common::MakeShared<MockUserIdmService>(); 262 auto service = Common::MakeShared<MockUserIdmService>(); 292 testCallback = Common::MakeShared<MockUserIdmClientCallback>(); [all …]
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | identify_context_test.cpp | 58 const auto finalResult = Common::MakeShared<Attributes>(); 60 … std::shared_ptr<MockContextCallback> contextCallback = Common::MakeShared<MockContextCallback>(); 66 auto oriContext = Common::MakeShared<IdentifyContext>(testContestId, identify, contextCallback); 83 const auto finalResult = Common::MakeShared<Attributes>(); 86 std::shared_ptr<MockIdentification> mockIdentify = Common::MakeShared<MockIdentification>(); 91 …auto oriContext = Common::MakeShared<IdentifyContext>(testContestId, mockIdentify, contextCallback… 104 std::shared_ptr<MockIdentification> mockIdentify = Common::MakeShared<MockIdentification>(); 106 std::shared_ptr<ContextCallback> contextCallback = Common::MakeShared<MockContextCallback>(); 109 …auto oriContext = Common::MakeShared<IdentifyContext>(testContestId, mockIdentify, contextCallback… 121 std::shared_ptr<MockIdentification> mockIdentify = Common::MakeShared<MockIdentification>(); [all …]
|
D | enroll_context_test.cpp | 59 const auto finalResult = Common::MakeShared<Attributes>(); 61 … std::shared_ptr<MockContextCallback> contextCallback = Common::MakeShared<MockContextCallback>(); 67 auto oriContext = Common::MakeShared<EnrollContext>(testContestId, enroll, contextCallback); 84 const auto finalResult = Common::MakeShared<Attributes>(); 87 std::shared_ptr<MockEnrollment> mockEnroll = Common::MakeShared<MockEnrollment>(); 92 auto oriContext = Common::MakeShared<EnrollContext>(testContestId, mockEnroll, contextCallback); 105 std::shared_ptr<MockEnrollment> mockEnroll = Common::MakeShared<MockEnrollment>(); 107 std::shared_ptr<ContextCallback> contextCallback = Common::MakeShared<MockContextCallback>(); 110 auto oriContext = Common::MakeShared<EnrollContext>(testContestId, mockEnroll, contextCallback); 122 std::shared_ptr<MockEnrollment> mockEnroll = Common::MakeShared<MockEnrollment>(); [all …]
|
D | simple_auth_context_test.cpp | 62 const auto finalResult = Common::MakeShared<Attributes>(); 64 … std::shared_ptr<MockContextCallback> contextCallback = Common::MakeShared<MockContextCallback>(); 70 auto oriContext = Common::MakeShared<SimpleAuthContext>(testContestId, auth, contextCallback); 87 const auto finalResult = Common::MakeShared<Attributes>(); 90 std::shared_ptr<MockAuthentication> mockAuth = Common::MakeShared<MockAuthentication>(); 95 … auto oriContext = Common::MakeShared<SimpleAuthContext>(testContestId, mockAuth, contextCallback); 108 std::shared_ptr<MockAuthentication> mockAuth = Common::MakeShared<MockAuthentication>(); 110 std::shared_ptr<ContextCallback> contextCallback = Common::MakeShared<MockContextCallback>(); 113 … auto oriContext = Common::MakeShared<SimpleAuthContext>(testContestId, mockAuth, contextCallback); 125 std::shared_ptr<MockAuthentication> mockAuth = Common::MakeShared<MockAuthentication>(); [all …]
|
D | widget_context_callback_impl_test.cpp | 62 std::shared_ptr<ContextCallback> callback = Common::MakeShared<MockContextCallback>(); 66 …Common::MakeShared<WidgetContextCallbackImpl>(std::shared_ptr<WidgetContext>(widgetContext), authT… 78 auto contextCallback = Common::MakeShared<WidgetContextCallbackImpl>(widgetContext, authType); 89 std::shared_ptr<ContextCallback> callback = Common::MakeShared<MockContextCallback>(); 93 …Common::MakeShared<WidgetContextCallbackImpl>(std::shared_ptr<WidgetContext>(widgetContext), authT…
|
D | resource_node_utils_test.cpp | 55 auto credInfo = Common::MakeShared<MockCredentialInfo>(); 67 auto credInfo1 = Common::MakeShared<MockCredentialInfo>(); 72 auto credInfo2 = Common::MakeShared<MockCredentialInfo>(); 81 auto resourceNode1 = Common::MakeShared<MockResourceNode>(); 85 auto resourceNode2 = Common::MakeShared<MockResourceNode>(); 114 auto resourceNode1 = Common::MakeShared<MockResourceNode>(); 118 auto resourceNode2 = Common::MakeShared<MockResourceNode>(); 146 auto mockCredentialInfo = Common::MakeShared<MockCredentialInfo>(); 160 auto mockCredentialInfo = Common::MakeShared<MockCredentialInfo>(); 176 auto mockCredentialInfo = Common::MakeShared<MockCredentialInfo>();
|
/base/useriam/user_auth_framework/test/unittest/executors/ |
D | auth_command_unit_test.cpp | 69 auto messenger = MakeShared<MockIExecutorMessenger>(); 85 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); 88 auto command = Common::MakeShared<AuthCommand>(executor, testScheduleId, attr, messenger); 99 auto messenger = MakeShared<MockIExecutorMessenger>(); 106 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); 109 auto command = Common::MakeShared<AuthCommand>(executor, testScheduleId, attr, messenger); 120 auto messenger = MakeShared<MockIExecutorMessenger>(); 136 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); 139 auto command = Common::MakeShared<AuthCommand>(executor, testScheduleId, attr, messenger); 150 auto messenger = MakeShared<MockIExecutorMessenger>(); [all …]
|
D | identify_command_unit_test.cpp | 69 auto messenger = MakeShared<MockIExecutorMessenger>(); 85 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); 88 auto command = Common::MakeShared<IdentifyCommand>(executor, testScheduleId, attr, messenger); 99 auto messenger = MakeShared<MockIExecutorMessenger>(); 107 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); 110 auto command = Common::MakeShared<IdentifyCommand>(executor, testScheduleId, attr, messenger); 121 auto messenger = MakeShared<MockIExecutorMessenger>(); 137 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); 140 auto command = Common::MakeShared<IdentifyCommand>(executor, testScheduleId, attr, messenger); 151 auto messenger = MakeShared<MockIExecutorMessenger>(); [all …]
|
D | enroll_command_unit_test.cpp | 69 auto messenger = MakeShared<MockIExecutorMessenger>(); 85 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); 88 auto command = Common::MakeShared<EnrollCommand>(executor, testScheduleId, attr, messenger); 99 auto messenger = MakeShared<MockIExecutorMessenger>(); 107 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); 110 auto command = Common::MakeShared<EnrollCommand>(executor, testScheduleId, attr, messenger); 121 auto messenger = MakeShared<MockIExecutorMessenger>(); 137 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); 140 auto command = Common::MakeShared<EnrollCommand>(executor, testScheduleId, attr, messenger); 151 auto messenger = MakeShared<MockIExecutorMessenger>(); [all …]
|
D | executor_unit_test.cpp | 85 auto executorMgrWrapper = MakeShared<MockExecutorMgrWrapper>(); 99 auto executorHdi = MakeShared<MockIAuthExecutorHdi>(); 111 auto executor = MakeShared<Executor>(executorMgrWrapper, executorHdi, testHdiId); 127 auto executorMgrWrapper = MakeShared<MockExecutorMgrWrapper>(); 141 auto executorHdi = MakeShared<MockIAuthExecutorHdi>(); 152 auto executor = MakeShared<Executor>(executorMgrWrapper, executorHdi, testHdiId); 168 auto executorMgrWrapper = MakeShared<MockExecutorMgrWrapper>(); 171 auto executor = MakeShared<Executor>(executorMgrWrapper, nullptr, testHdiId); 187 auto executorMgrWrapper = MakeShared<MockExecutorMgrWrapper>(); 190 auto executorHdi = MakeShared<MockIAuthExecutorHdi>(); [all …]
|
/base/useriam/user_auth_framework/services/context/src/ |
D | context_factory.cpp | 40 …auto auth = Common::MakeShared<AuthenticationImpl>(newContextId, para.userId, para.authType, para.… in CreateSimpleAuthContext() 45 return Common::MakeShared<SimpleAuthContext>(newContextId, auth, callback); in CreateSimpleAuthContext() 53 auto identify = Common::MakeShared<IdentificationImpl>(newContextId, para.authType); in CreateIdentifyContext() 57 return Common::MakeShared<IdentifyContext>(newContextId, identify, callback); in CreateIdentifyContext() 65 auto enroll = Common::MakeShared<EnrollmentImpl>(para.userId, para.authType); in CreateEnrollContext() 71 return Common::MakeShared<EnrollContext>(newContextId, enroll, callback); in CreateEnrollContext() 84 return Common::MakeShared<WidgetContext>(newContextId, para, callback); in CreateWidgetContext()
|
/base/useriam/user_auth_framework/test/fuzztest/clients/useridmclient_fuzzer/ |
D | user_idm_client_fuzzer.cpp | 91 auto callback = Common::MakeShared<DummyUserIdmClientCallback>(); in FuzzClientAddCredential() 103 auto callback = Common::MakeShared<DummyUserIdmClientCallback>(); in FuzzClientUpdateCredential() 123 auto callback = Common::MakeShared<DummyUserIdmClientCallback>(); in FuzzClientDeleteCredential() 134 auto callback = Common::MakeShared<DummyUserIdmClientCallback>(); in FuzzClientDeleteUser() 143 auto callback = Common::MakeShared<DummyUserIdmClientCallback>(); in FuzzClientEraseUser() 153 auto callback = Common::MakeShared<DummyGetCredentialInfoCallback>(); in FuzzClientGetCredentialInfo() 162 auto callback = Common::MakeShared<DummyGetSecUserInfoCallback>(); in FuzzClientGetSecUserInfo() 168 Common::MakeShared<IdmCallbackService>(Common::MakeShared<DummyUserIdmClientCallback>()); 171 …Common::MakeShared<IdmGetCredInfoCallbackService>(Common::MakeShared<DummyGetCredentialInfoCallbac… 174 …Common::MakeShared<IdmGetSecureUserInfoCallbackService>(Common::MakeShared<DummyGetSecUserInfoCall…
|
/base/useriam/face_auth/test/unittest/ |
D | face_auth_executor_hdi_unit_test.cpp | 90 auto executorHdi = MakeShared<FaceAuthExecutorHdi>(executorProxy); 114 auto executorHdi = MakeShared<FaceAuthExecutorHdi>(executorProxy); 143 auto executorHdi = MakeShared<FaceAuthExecutorHdi>(executorProxy); 177 auto executorHdi = MakeShared<FaceAuthExecutorHdi>(executorProxy); 213 auto executorHdi = MakeShared<FaceAuthExecutorHdi>(executorProxy); 225 auto executorHdi = MakeShared<FaceAuthExecutorHdi>(nullptr); 248 auto executorHdi = MakeShared<FaceAuthExecutorHdi>(executorProxy); 258 auto executorHdi = MakeShared<FaceAuthExecutorHdi>(nullptr); 278 auto executorHdi = MakeShared<FaceAuthExecutorHdi>(executorProxy); 295 auto executorHdi = MakeShared<FaceAuthExecutorHdi>(executorProxy); [all …]
|
/base/useriam/fingerprint_auth/test/unittest/ |
D | fingerprint_auth_executor_hdi_unit_test.cpp | 90 auto executorHdi = MakeShared<FingerprintAuthExecutorHdi>(executorProxy); 114 auto executorHdi = MakeShared<FingerprintAuthExecutorHdi>(executorProxy); 143 auto executorHdi = MakeShared<FingerprintAuthExecutorHdi>(executorProxy); 177 auto executorHdi = MakeShared<FingerprintAuthExecutorHdi>(executorProxy); 213 auto executorHdi = MakeShared<FingerprintAuthExecutorHdi>(executorProxy); 225 auto executorHdi = MakeShared<FingerprintAuthExecutorHdi>(nullptr); 255 auto executorHdi = MakeShared<FingerprintAuthExecutorHdi>(executorProxy); 265 auto executorHdi = MakeShared<FingerprintAuthExecutorHdi>(nullptr); 285 auto executorHdi = MakeShared<FingerprintAuthExecutorHdi>(executorProxy); 302 auto executorHdi = MakeShared<FingerprintAuthExecutorHdi>(executorProxy); [all …]
|
/base/useriam/user_auth_framework/test/fuzztest/clients/userauthclient_fuzzer/ |
D | user_auth_client_fuzzer.cpp | 113 auto callback = Common::MakeShared<DummyGetPropCallback>(); in FuzzClientGetProperty() 125 auto callback = Common::MakeShared<DummySetPropCallback>(); in FuzzClientSetProperty() 138 auto callback = Common::MakeShared<DummyAuthenticationCallback>(); in FuzzClientBeginAuthentication001() 151 auto callback = Common::MakeShared<DummyAuthenticationCallback>(); in FuzzClientBeginAuthentication002() 170 auto callback = Common::MakeShared<DummyIdentificationCallback>(); in FuzzClientBeginIdentification() 208 auto callback = Common::MakeShared<DummyAuthenticationCallback>(); in FuzzBeginWidgetAuth() 217 auto callback = Common::MakeShared<DummyIUserAuthWidgetCallback>(); in FuzzSetWidgetCallback() 232 Common::MakeShared<UserAuthCallbackService>(Common::MakeShared<DummyAuthenticationCallback>()); 235 …Common::MakeShared<GetExecutorPropertyCallbackService>(Common::MakeShared<DummyGetPropCallback>()); 238 …Common::MakeShared<SetExecutorPropertyCallbackService>(Common::MakeShared<DummySetPropCallback>());
|
/base/useriam/pin_auth/test/unittest/src/ |
D | pin_auth_proxy_test.cpp | 51 auto proxy = Common::MakeShared<PinAuthProxy>(obj); 56 auto service = Common::MakeShared<MockPinAuthService>(); 76 auto proxy = Common::MakeShared<PinAuthProxy>(obj); 87 auto proxy = Common::MakeShared<PinAuthProxy>(obj); 92 auto service = Common::MakeShared<MockPinAuthService>();
|
/base/useriam/user_auth_framework/test/fuzztest/clients/useridmclientstub_fuzzer/ |
D | user_idm_client_stub_fuzzer.cpp | 85 Common::MakeShared<IdmCallbackService>(Common::MakeShared<DummyUserIdmClientCallback>()); in FuzzIdmCallbackStub() 117 …Common::MakeShared<IdmGetCredInfoCallbackService>(Common::MakeShared<DummyGetCredentialInfoCallbac… in FuzzIdmGetInfoCallbackStub() 149 …Common::MakeShared<IdmGetSecureUserInfoCallbackService>(Common::MakeShared<DummyGetSecUserInfoCall… in FuzzIdmGetSecureUserInfoCallbackstub()
|
/base/useriam/user_auth_framework/services/core/src/ |
D | user_idm_database_impl.cpp | 54 auto enrolledInfo = Common::MakeShared<EnrolledInfoImpl>(userId, info); in GetSecUserInfo() 61 auto secInfoRet = Common::MakeShared<SecureUserInfoImpl>(userId, in GetSecUserInfo() 88 auto info = Common::MakeShared<CredentialInfoImpl>(userId, hdiInfo); in GetCredentialInfo() 116 auto info = Common::MakeShared<CredentialInfoImpl>(userId, hdiInfo); in DeleteCredentialInfo() 143 auto infoRet = Common::MakeShared<CredentialInfoImpl>(userId, hdiInfo); in DeleteUser() 172 auto infoRet = Common::MakeShared<CredentialInfoImpl>(userId, hdiInfo); in DeleteUserEnforce()
|