Home
last modified time | relevance | path

Searched refs:ActivateOsAccount (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/
H A Dsubscribe_distributed_account_event_test.cpp91 EXPECT_EQ(OsAccountManager::ActivateOsAccount(SubDistributedAccount.GetLocalId()), ERR_OK);
136 EXPECT_EQ(OsAccountManager::ActivateOsAccount(SubDistributedAccount.GetLocalId()), ERR_OK);
188 EXPECT_EQ(OsAccountManager::ActivateOsAccount(SubDistributedAccount.GetLocalId()), ERR_OK);
250 EXPECT_EQ(OsAccountManager::ActivateOsAccount(SubDistributedAccount.GetLocalId()), ERR_OK);
293 EXPECT_EQ(OsAccountManager::ActivateOsAccount(SubDistributedAccount.GetLocalId()), ERR_OK);
H A Daccount_mgr_inner_sdk_func_test.cpp196 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
246 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
301 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
333 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp2047 EXPECT_NE(OsAccountManager::ActivateOsAccount(INVALID_ID), ERR_OK);
2058 EXPECT_NE(OsAccountManager::ActivateOsAccount(ERROR_LOCAL_ID), ERR_OK);
2650 OsAccountManager::ActivateOsAccount(MAIN_ACCOUNT_ID);
2691 EXPECT_EQ(OsAccountManager::ActivateOsAccount(account.GetLocalId()), ERR_OK);
3047 OsAccountManager::ActivateOsAccount(MAIN_ACCOUNT_ID);
3057 EXPECT_EQ(OsAccountManager::ActivateOsAccount(MAIN_ACCOUNT_ID), ERR_OK);
3080 OsAccountManager::ActivateOsAccount(MAIN_ACCOUNT_ID);
3141 EXPECT_EQ(OsAccountManager::ActivateOsAccount(MAIN_ACCOUNT_ID), ERR_OK);
3201 OsAccountManager::ActivateOsAccount(MAIN_ACCOUNT_ID);
3208 EXPECT_EQ(OsAccountManager::ActivateOsAccount(MAIN_ACCOUNT_ID), ERR_OK);
[all …]
/ohos5.0/base/account/os_account/test/fuzztest/osaccount/activateosaccount_fuzzer/
H A Dactivateosaccount_fuzzer.cpp35 result = OsAccountManager::ActivateOsAccount(testId); in GetDistributedVirtualDeviceIdFuzzTest()
/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_subscribe_module_test.cpp211 result = OsAccount::GetInstance().ActivateOsAccount(osAccountInfo.GetLocalId());
256 result = OsAccount::GetInstance().ActivateOsAccount(id);
H A Dos_account_manager_service_module_test.cpp245 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
924 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
925 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(Constants::START_USER_ID), ERR_OK);
1074 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfo.GetLocalId()), ERR_OK);
1878 osAccountManagerService_->ActivateOsAccount(MAIN_ACCOUNT_ID));
2195 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfo.GetLocalId()), ERR_OK);
2212 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfo.GetLocalId()), ERR_OK);
2219 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(MAIN_ACCOUNT_ID), ERR_OK);
2372 ret = osAccountManagerService_->ActivateOsAccount(createdOsAccounts[i]);
2377 …ret = osAccountManagerService_->ActivateOsAccount(createdOsAccounts[createdOsAccounts.size() - 1]);
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/ohos_account/
H A Dohos_account_manager_test.cpp211 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
253 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp608 ErrCode OsAccountManagerService::ActivateOsAccount(const int id) in ActivateOsAccount() function in OHOS::AccountSA::OsAccountManagerService
625 return innerManager_.ActivateOsAccount(id); in ActivateOsAccount()
661 innerManager_.ActivateOsAccount(id, false); in DeactivateOsAccount()
663 innerManager_.ActivateOsAccount(Constants::START_USER_ID, false); in DeactivateOsAccount()
/ohos5.0/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp212 ErrCode OsAccountManager::ActivateOsAccount(const int id) in ActivateOsAccount() function in OHOS::AccountSA::OsAccountManager
214 return OsAccount::GetInstance().ActivateOsAccount(id); in ActivateOsAccount()
/ohos5.0/base/account/os_account/frameworks/osaccount/core/
H A Dlibos_account_core.map24 "OHOS::AccountSA::OsAccount::ActivateOsAccount(int)";
/ohos5.0/base/account/os_account/frameworks/domain_account/test/moduletest/src/
H A Ddomain_account_client_module_test.cpp518 errCode = OsAccountManager::ActivateOsAccount(osAccountInfo.GetLocalId());
536 errCode = OsAccountManager::ActivateOsAccount(osAccountInfo.GetLocalId());
1251 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK);
1342 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK);
1608 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK);
1624 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId1), ERR_OK);
1656 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK);
1663 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK);
/ohos5.0/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h367 static ErrCode ActivateOsAccount(const int id);
/ohos5.0/base/account/os_account/frameworks/osaccount/core/include/
H A Dios_account.h71 virtual ErrCode ActivateOsAccount(const int id) = 0;
H A Dos_account.h61 ErrCode ActivateOsAccount(const int id);
H A Dos_account_proxy.h65 ErrCode ActivateOsAccount(const int id) override;
/ohos5.0/base/account/os_account/services/accountmgr/include/osaccount/
H A Diinner_os_account.h62 …virtual ErrCode ActivateOsAccount(const int id, const bool startStorage = true, const uint64_t dis…
H A Dos_account_manager_service.h82 ErrCode ActivateOsAccount(const int id) override;
H A Diinner_os_account_manager.h67 …ErrCode ActivateOsAccount(const int id, const bool startStorage = true, const uint64_t displayId =…
/ohos5.0/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp494 ErrCode OsAccount::ActivateOsAccount(const int id) in ActivateOsAccount() function in OHOS::AccountSA::OsAccount
505 return proxy->ActivateOsAccount(id); in ActivateOsAccount()
/ohos5.0/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_mock_test.cpp379 g_osAccount->ActivateOsAccount(MAIN_ACCOUNT_ID));
/ohos5.0/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp401 ErrCode errCode = OsAccountManager::ActivateOsAccount(TEST_USER_ID);
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/include/
H A Dnapi_os_account.h243 napi_value ActivateOsAccount(napi_env env, napi_callback_info cbInfo);
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_inner_account_mgr_mock.cpp497 EXPECT_EQ(ERR_OK, innerMgrService_->ActivateOsAccount(accountInfo.GetLocalId()));
1467 ErrCode ret = innerMgrService_->ActivateOsAccount(id);
1476 ret = innerMgrService_->ActivateOsAccount(id);
1483 ret = innerMgrService_->ActivateOsAccount(id);
/ohos5.0/base/account/os_account/tools/acm/src/
H A Daccount_command.cpp377 result = OsAccount::GetInstance().ActivateOsAccount(id); in RunAsSwitchCommand()
/ohos5.0/base/account/os_account/frameworks/osaccount/native/
H A Dlibos_account_innerkits.map55 "OHOS::AccountSA::OsAccount::ActivateOsAccount(int)";
142 "OHOS::AccountSA::OsAccountManager::ActivateOsAccount(int)";

12