Home
last modified time | relevance | path

Searched refs:OpenSession (Results 1 - 25 of 68) sorted by relevance

123

/base/useriam/user_auth_framework/test/unittest/services/src/
H A Duser_idm_session_controller_test.cpp52 EXPECT_CALL(*mock, OpenSession(userId, _)).WillRepeatedly(Return(SUCCESS)); in HWTEST_F()
54 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId, challenge)); in HWTEST_F()
65 EXPECT_CALL(*mock, OpenSession(_, _)).WillRepeatedly(Return(SUCCESS)); in HWTEST_F()
67 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId1, challenge)); in HWTEST_F()
68 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId2, challenge)); in HWTEST_F()
69 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId3, challenge)); in HWTEST_F()
78 EXPECT_CALL(*mock, OpenSession(userId, _)).WillRepeatedly(Return(GENERAL_ERROR)); in HWTEST_F()
80 EXPECT_EQ(false, UserIdmSessionController::Instance().OpenSession(userId, challenge)); in HWTEST_F()
93 EXPECT_CALL(*mock, OpenSession(userId, _)).WillRepeatedly(DoAll(WithArg<1>(fillUpChallenge), Return(SUCCESS))); in HWTEST_F()
97 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userI in HWTEST_F()
[all...]
H A Duser_idm_service_test.cpp63 EXPECT_CALL(*mockHdi, OpenSession(_, _)).Times(1); in HWTEST_F()
64 ON_CALL(*mockHdi, OpenSession) in HWTEST_F()
73 int32_t ret = service.OpenSession(testUserId, challenge); in HWTEST_F()
86 int32_t ret = service.OpenSession(testUserId, challenge); in HWTEST_F()
99 EXPECT_CALL(*mockHdi, OpenSession(_, _)) in HWTEST_F()
105 EXPECT_EQ(service.OpenSession(testUserId, challenge), SUCCESS); in HWTEST_F()
106 EXPECT_EQ(service.OpenSession(testUserId, challenge), SUCCESS); in HWTEST_F()
107 EXPECT_EQ(service.OpenSession(testUserId, challenge), GENERAL_ERROR); in HWTEST_F()
525 EXPECT_CALL(*mockHdi, OpenSession(_, _)).WillOnce(Return(HDF_SUCCESS)); in HWTEST_F()
529 int32_t ret = service.OpenSession(testUserI in HWTEST_F()
[all...]
/base/account/os_account/services/accountmgr/src/appaccount/
H A Dapp_account_authenticator_session_manager.cpp88 return OpenSession(session); in AddAccountImplicitly()
94 return OpenSession(session); in CreateAccountImplicitly()
100 return OpenSession(session); in Authenticate()
106 return OpenSession(session); in Auth()
112 return OpenSession(session); in VerifyCredential()
118 return OpenSession(session); in CheckAccountLabels()
124 return OpenSession(session); in IsAccountRemovable()
131 OpenSession(session); in SelectAccountsByOptions()
138 return OpenSession(session); in SetAuthenticatorProperties()
141 ErrCode AppAccountAuthenticatorSessionManager::OpenSession( in OpenSession() function in OHOS::AccountSA::AppAccountAuthenticatorSessionManager
[all...]
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/
H A Ddsoftbus_adapter.cpp43 int32_t DSoftbusAdapter::OpenSession(const std::string &networkId) in OpenSession() function in OHOS::Msdp::DeviceStatus::DSoftbusAdapter
45 return DSoftbusAdapterImpl::GetInstance()->OpenSession(networkId); in OpenSession()
/base/useriam/user_auth_framework/services/core/src/
H A Duser_idm_session_controller_impl.cpp29 bool UserIdmSessionControllerImpl::OpenSession(int32_t userId, std::vector<uint8_t> &challenge) in OpenSession() function in OHOS::UserIam::UserAuth::UserIdmSessionControllerImpl
41 int32_t ret = hdi->OpenSession(userId, challenge); in OpenSession()
H A Duser_idm_session_controller_impl.h34 bool OpenSession(int32_t userId, std::vector<uint8_t> &challenge) override;
/base/useriam/user_auth_framework/services/core/inc/
H A Duser_idm_session_controller.h27 virtual bool OpenSession(int32_t userId, std::vector<uint8_t> &challenge) = 0;
/base/account/os_account/test/fuzztest/iamaccount/opensession_fuzzer/
H A Dopensession_fuzzer.cpp33 int32_t result = AccountIAMClient::GetInstance().OpenSession(userId, challenge); in OpenSessionFuzzTest()
/base/account/os_account/interfaces/kits/napi/account_iam/include/
H A Dnapi_account_iam_identity_manager.h30 static napi_value OpenSession(napi_env env, napi_callback_info info);
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/include/
H A Ddsoftbus_adapter.h38 int32_t OpenSession(const std::string &networkId) override;
H A Ddsoftbus_adapter_impl.h79 int32_t OpenSession(const std::string &networkId) override;
/base/msdp/device_status/intention/prototype/include/
H A Di_dsoftbus_adapter.h51 virtual int32_t OpenSession(const std::string &networkId) = 0;
/base/useriam/user_auth_framework/test/unittest/services/mocks/
H A Dmock_user_idm_service.h28 MOCK_METHOD2(OpenSession, int32_t(int32_t userId, std::vector<uint8_t> &challenge));
/base/account/os_account/interfaces/innerkits/account_iam/native/include/
H A Diaccount_iam.h31 virtual int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) = 0;
H A Daccount_iam_mgr_proxy.h31 int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) override;
/base/account/os_account/services/accountmgr/include/account_iam/
H A Daccount_iam_service.h30 int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) override;
/base/tee/tee_client/services/cadaemon/src/ca_daemon/
H A Dcadaemon_interface.h29 virtual TEEC_Result OpenSession(TEEC_Context *context, const char *taPath, int32_t fd,
/base/useriam/user_auth_framework/frameworks/native/client/inc/
H A Duser_idm_client_impl.h31 std::vector<uint8_t> OpenSession(int32_t userId) override;
/base/useriam/user_auth_framework/frameworks/native/ipc/inc/
H A Duser_idm_proxy.h31 int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) override;
/base/useriam/user_auth_framework/interfaces/inner_api/
H A Duser_idm_client.h60 virtual std::vector<uint8_t> OpenSession(int32_t userId) = 0;
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/
H A Duser_idm_interface.h42 virtual int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) = 0;
/base/account/os_account/services/accountmgr/src/account_iam/
H A Daccount_iam_service.cpp69 int32_t AccountIAMService::OpenSession(int32_t userId, std::vector<uint8_t> &challenge) in OpenSession() function in OHOS::AccountSA::AccountIAMService
79 InnerAccountIAMManager::GetInstance().OpenSession(userId, challenge); in OpenSession()
/base/security/device_security_level/baselib/msglib/src/lite/
H A Dmessenger_device_session_manager.c440 int ret = OpenSession(primary, primary, deviceName, "", &attr); in CreateNewDeviceSession()
443 ret = OpenSession(primary, primary, deviceName, "", &attr); in CreateNewDeviceSession()
451 ret = OpenSession(primary, secondary, deviceName, "", &attr); in CreateNewDeviceSession()
454 ret = OpenSession(primary, secondary, deviceName, "", &attr); in CreateNewDeviceSession()
/base/account/os_account/services/accountmgr/include/appaccount/
H A Dapp_account_authenticator_session_manager.h60 ErrCode OpenSession(const std::shared_ptr<AppAccountAuthenticatorSession> &session);
/base/account/os_account/frameworks/account_iam/test/unittest/src/
H A Daccount_iam_mgr_proxy_test.cpp64 * @tc.desc: test OpenSession.
72 int32_t ret = accountIAMMgrProxy->OpenSession(TEST_USER_ID, challenge); in HWTEST_F()

Completed in 11 milliseconds

123