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/
Duser_idm_session_controller_test.cpp52 EXPECT_CALL(*mock, OpenSession(userId, _)).WillRepeatedly(Return(SUCCESS));
54 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId, challenge));
65 EXPECT_CALL(*mock, OpenSession(_, _)).WillRepeatedly(Return(SUCCESS));
67 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId1, challenge));
68 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId2, challenge));
69 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId3, challenge));
78 EXPECT_CALL(*mock, OpenSession(userId, _)).WillRepeatedly(Return(GENERAL_ERROR));
80 EXPECT_EQ(false, UserIdmSessionController::Instance().OpenSession(userId, challenge));
93 …EXPECT_CALL(*mock, OpenSession(userId, _)).WillRepeatedly(DoAll(WithArg<1>(fillUpChallenge), Retur…
97 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId, challenge));
[all …]
Duser_idm_service_test.cpp63 EXPECT_CALL(*mockHdi, OpenSession(_, _)).Times(1);
64 ON_CALL(*mockHdi, OpenSession)
73 int32_t ret = service.OpenSession(testUserId, challenge);
86 int32_t ret = service.OpenSession(testUserId, challenge);
99 EXPECT_CALL(*mockHdi, OpenSession(_, _))
105 EXPECT_EQ(service.OpenSession(testUserId, challenge), SUCCESS);
106 EXPECT_EQ(service.OpenSession(testUserId, challenge), SUCCESS);
107 EXPECT_EQ(service.OpenSession(testUserId, challenge), GENERAL_ERROR);
525 EXPECT_CALL(*mockHdi, OpenSession(_, _)).WillOnce(Return(HDF_SUCCESS));
529 int32_t ret = service.OpenSession(testUserId, challenge);
[all …]
/base/account/os_account/services/accountmgr/src/appaccount/
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
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/
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/
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()
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/
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/
Dopensession_fuzzer.cpp31 int32_t result = AccountIAMClient::GetInstance().OpenSession(userId, challenge); in OpenSessionFuzzTest()
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/include/
Ddsoftbus_adapter.h38 int32_t OpenSession(const std::string &networkId) override;
/base/account/os_account/interfaces/kits/napi/account_iam/include/
Dnapi_account_iam_identity_manager.h30 static napi_value OpenSession(napi_env env, napi_callback_info info);
/base/msdp/device_status/intention/prototype/include/
Di_dsoftbus_adapter.h50 virtual int32_t OpenSession(const std::string &networkId) = 0;
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_user_idm_service.h28 MOCK_METHOD2(OpenSession, int32_t(int32_t userId, std::vector<uint8_t> &challenge));
/base/useriam/user_auth_framework/interfaces/inner_api/
Duser_idm_client.h60 virtual std::vector<uint8_t> OpenSession(int32_t userId) = 0;
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/
Duser_idm_interface.h42 virtual int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) = 0;
/base/security/device_security_level/baselib/msglib/src/lite/
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/useriam/user_auth_framework/frameworks/native/ipc/inc/
Duser_idm_proxy.h31 int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) override;
/base/tee/tee_client/services/cadaemon/src/ca_daemon/
Dcadaemon_interface.h29 virtual TEEC_Result OpenSession(TEEC_Context *context, const char *taPath, int32_t fd,
/base/account/os_account/interfaces/innerkits/account_iam/native/include/
Diaccount_iam.h31 virtual int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) = 0;
Daccount_iam_mgr_proxy.h31 int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) override;
/base/useriam/user_auth_framework/frameworks/native/client/inc/
Duser_idm_client_impl.h31 std::vector<uint8_t> OpenSession(int32_t userId) override;
/base/account/os_account/services/accountmgr/include/account_iam/
Daccount_iam_service.h30 int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) override;
/base/account/os_account/services/accountmgr/src/account_iam/
Daccount_iam_service.cpp32 int32_t AccountIAMService::OpenSession(int32_t userId, std::vector<uint8_t> &challenge) in OpenSession() function in OHOS::AccountSA::AccountIAMService
46 InnerAccountIAMManager::GetInstance().OpenSession(userId, challenge); in OpenSession()
/base/account/os_account/services/accountmgr/include/appaccount/
Dapp_account_authenticator_session_manager.h60 ErrCode OpenSession(const std::shared_ptr<AppAccountAuthenticatorSession> &session);
/base/account/os_account/frameworks/account_iam/test/unittest/src/
Daccount_iam_mgr_proxy_test.cpp72 int32_t ret = accountIAMMgrProxy->OpenSession(TEST_USER_ID, challenge);
/base/useriam/user_auth_framework/services/ipc/inc/
Duser_idm_service.h41 int32_t OpenSession(int32_t userId, std::vector<uint8_t> &challenge) override;

123