Home
last modified time | relevance | path

Searched refs:AccountMgrService (Results 1 - 19 of 19) sorted by relevance

/base/account/os_account/services/accountmgr/src/
H A Daccount_mgr_service.cpp46 SystemAbility::MakeAndRegisterAbility(&DelayedRefSingleton<AccountMgrService>::GetInstance());
67 AccountMgrService::AccountMgrService() : SystemAbility(SUBSYS_ACCOUNT_SYS_ABILITY_ID_BEGIN, true) in AccountMgrService() function in OHOS::AccountSA::AccountMgrService
72 AccountMgrService::~AccountMgrService() in ~AccountMgrService()
75 std::int32_t AccountMgrService::GetCallingUserID() in GetCallingUserID()
89 bool AccountMgrService::UpdateOhosAccountInfo( in UpdateOhosAccountInfo()
100 std::int32_t AccountMgrService::SetOhosAccountInfo(const OhosAccountInfo &ohosAccountInfo, const std::string &eventStr) in SetOhosAccountInfo()
105 std::int32_t AccountMgrService::SetOhosAccountInfoByUserId( in SetOhosAccountInfoByUserId()
116 ErrCode AccountMgrService
[all...]
H A Dohos_account_manager.cpp184 std::int32_t userId = AccountMgrService::GetInstance().GetCallingUserID(); in OhosAccountStateChange()
239 std::int32_t callingUserId = AccountMgrService::GetInstance().GetCallingUserID(); in GetCurrentOhosAccountInfo()
250 userId = AccountMgrService::GetInstance().GetCallingUserID(); in GetAccountInfoByUserId()
661 AccountMgrService::GetInstance().GetCallingUserID()); in CheckOhosAccountCanBind()
H A Daccount_stub.cpp149 userId = AccountMgrService::GetInstance().GetCallingUserID(); in InnerSetOhosAccountInfo()
/base/account/os_account/services/accountmgr/include/
H A Daccount_mgr_service.h36 class AccountMgrService : public SystemAbility, class
38 public OHOS::DelayedRefSingleton<AccountMgrService> {
40 AccountMgrService();
41 ~AccountMgrService() override;
42 DISALLOW_COPY_AND_MOVE(AccountMgrService);
43 DECLARE_SYSTEM_ABILITY(AccountMgrService);
68 static AccountMgrService &GetInstance() in GetInstance()
70 return DelayedRefSingleton<AccountMgrService>::GetInstance(); in GetInstance()
/base/account/os_account/test/fuzztest/account_stub/cmdquerydeviceaccountidstub_fuzzer/
H A Dcmdquerydeviceaccountidstub_fuzzer.cpp46 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdQueryDeviceAccountIdStubFuzzTest()
47 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdQueryDeviceAccountIdStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdgetaccountiamservicestub_fuzzer/
H A Dcmdgetaccountiamservicestub_fuzzer.cpp66 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdGetAccountIAMServiceStubFuzzTest()
67 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdGetAccountIAMServiceStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdgetappaccountservicestub_fuzzer/
H A Dcmdgetappaccountservicestub_fuzzer.cpp66 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdGetAppAccountServiceStubFuzzTest()
67 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdGetAppAccountServiceStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdgetosaccountservicestub_fuzzer/
H A Dcmdgetosaccountservicestub_fuzzer.cpp66 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdGetOsAccountServiceStubFuzzTest()
67 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdGetOsAccountServiceStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdgetdomainaccountservicestub_fuzzer/
H A Dcmdgetdomainaccountservicestub_fuzzer.cpp66 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdGetDomainAccountServiceStubFuzzTest()
67 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdGetDomainAccountServiceStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdgetohosaccountinfostub_fuzzer/
H A Dcmdgetohosaccountinfostub_fuzzer.cpp63 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdGetOhosAccountInfoStubFuzzTest()
64 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdGetOhosAccountInfoStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdgetohosaccountinfobyuseridstub_fuzzer/
H A Dcmdgetohosaccountinfobyuseridstub_fuzzer.cpp52 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdGetOhosAccountInfoByUserIdStubFuzzTest()
53 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdGetOhosAccountInfoByUserIdStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdqueryohosaccountinfostub_fuzzer/
H A Dcmdqueryohosaccountinfostub_fuzzer.cpp63 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdQueryOhosAccountInfoStubFuzzTest()
64 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdQueryOhosAccountInfoStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdqueryohosaccountinfobyuseridstub_fuzzer/
H A Dcmdqueryohosaccountinfobyuseridstub_fuzzer.cpp68 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdQueryOhosAccountInfoByUserIdStubFuzzTest()
69 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdQueryOhosAccountInfoByUserIdStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdupdateohosaccountinfostub_fuzzer/
H A Dcmdupdateohosaccountinfostub_fuzzer.cpp61 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdUpdateOhosAccountInfoStubFuzzTest()
62 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdUpdateOhosAccountInfoStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdsetohosaccountinfostub_fuzzer/
H A Dcmdsetohosaccountinfostub_fuzzer.cpp99 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdSetOhosAccountInfoStubFuzzTest()
100 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdSetOhosAccountInfoStubFuzzTest()
/base/account/os_account/test/fuzztest/account_stub/cmdsetohosaccountinfobyuseridstub_fuzzer/
H A Dcmdsetohosaccountinfobyuseridstub_fuzzer.cpp110 DelayedRefSingleton<AccountMgrService>::GetInstance().state_ = ServiceRunningState::STATE_RUNNING; in CmdSetOhosAccountInfoByUserIdStubFuzzTest()
111 DelayedRefSingleton<AccountMgrService>::GetInstance().OnRemoteRequest(code, dataTemp, reply, option); in CmdSetOhosAccountInfoByUserIdStubFuzzTest()
/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/
H A Daccount_stub_test.cpp41 sptr<AccountMgrService> accountServie_ = nullptr;
59 accountServie_ = new (std::nothrow) AccountMgrService(); in SetUp()
H A Daccount_mgr_service_test.cpp56 std::shared_ptr<AccountMgrService> g_accountMgrService = nullptr;
107 g_accountMgrService = std::make_shared<AccountMgrService>(); in SetUpTestCase()
/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/
H A Daccount_mgr_inner_sdk_func_test.cpp97 auto servicePtr = new (std::nothrow) AccountMgrService(); in SetUpTestCase()

Completed in 8 milliseconds