Home
last modified time | relevance | path

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

12

/base/account/os_account/test/fuzztest/osaccount/activateosaccount_fuzzer/
Dactivateosaccount_fuzzer.cpp33 result = OsAccountManager::ActivateOsAccount(testId); in GetDistributedVirtualDeviceIdFuzzTest()
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_manager_service_subscribe_module_test.cpp209 result = osAccountManagerService_->ActivateOsAccount(osAccountInfo.GetLocalId());
224 osAccountManagerService_->ActivateOsAccount(Constants::START_USER_ID);
253 result = OsAccount::GetInstance().ActivateOsAccount(id);
Dos_account_manager_service_module_test.cpp233 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
936 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
937 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(Constants::START_USER_ID), ERR_OK);
941 …EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(localId), ERR_OSACCOUNT_SERVICE_MANAGER_ID_E…
1085 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfo.GetLocalId()), ERR_OK);
1892 osAccountManagerService_->ActivateOsAccount(MAIN_ACCOUNT_ID));
2210 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfo.GetLocalId()), ERR_OK);
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_manager.cpp196 ErrCode OsAccountManager::ActivateOsAccount(const int id) in ActivateOsAccount() function in OHOS::AccountSA::OsAccountManager
198 return OsAccount::GetInstance().ActivateOsAccount(id); in ActivateOsAccount()
/base/account/os_account/services/accountmgr/test/unittest/ohos_account/
Dohos_account_manager_test.cpp204 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
243 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_manager_service.cpp513 ErrCode OsAccountManagerService::ActivateOsAccount(const int id) in ActivateOsAccount() function in OHOS::AccountSA::OsAccountManagerService
527 return innerManager_.ActivateOsAccount(id); in ActivateOsAccount()
553 ActivateOsAccount(id); in DeactivateOsAccount()
555 ActivateOsAccount(Constants::START_USER_ID); in DeactivateOsAccount()
Dinner_os_account_manager.cpp190 if (ActivateOsAccount(id) != ERR_OK) { in RetryToGetAccount()
649 if (ActivateOsAccount(Constants::START_USER_ID) != ERR_OK) { in RetryToGetAccount()
1416 ErrCode IInnerOsAccountManager::ActivateOsAccount(const int id) in RetryToGetAccount() function in OHOS::AccountSA::IInnerOsAccountManager
/base/account/os_account/frameworks/osaccount/core/
Dlibos_account_core.map24 "OHOS::AccountSA::OsAccount::ActivateOsAccount(int)";
/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/
Daccount_mgr_inner_sdk_func_test.cpp194 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
244 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
299 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
331 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_manager.h342 static ErrCode ActivateOsAccount(const int id);
/base/account/os_account/services/accountmgr/include/osaccount/
Diinner_os_account.h58 virtual ErrCode ActivateOsAccount(const int id) = 0;
Dos_account_manager_service.h78 ErrCode ActivateOsAccount(const int id) override;
Diinner_os_account_manager.h61 ErrCode ActivateOsAccount(const int id) override;
/base/account/os_account/frameworks/osaccount/core/include/
Dos_account.h58 ErrCode ActivateOsAccount(const int id);
Dios_account.h67 virtual ErrCode ActivateOsAccount(const int id) = 0;
Dos_account_proxy.h61 ErrCode ActivateOsAccount(const int id) override;
/base/account/os_account/frameworks/domain_account/test/moduletest/src/
Ddomain_account_client_module_test.cpp490 errCode = OsAccountManager::ActivateOsAccount(osAccountInfo.GetLocalId());
508 errCode = OsAccountManager::ActivateOsAccount(osAccountInfo.GetLocalId());
1167 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK);
1251 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK);
1517 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK);
1533 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId1), ERR_OK);
1565 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK);
1572 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK);
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_inner_account_mgr_mock.cpp820 ErrCode ret = innerMgrService_->ActivateOsAccount(id);
825 ret = innerMgrService_->ActivateOsAccount(id);
832 ret = innerMgrService_->ActivateOsAccount(id);
840 ret = innerMgrService_->ActivateOsAccount(id);
848 ret = innerMgrService_->ActivateOsAccount(id);
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp1877 EXPECT_NE(OsAccountManager::ActivateOsAccount(INVALID_ID), ERR_OK);
1888 EXPECT_NE(OsAccountManager::ActivateOsAccount(ERROR_LOCAL_ID), ERR_OK);
1902 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
2198 … ASSERT_EQ(OsAccountManager::ActivateOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR);
2289 … ASSERT_NE(OsAccountManager::ActivateOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR);
2421 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfo.GetLocalId()), ERR_OK);
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account.cpp449 ErrCode OsAccount::ActivateOsAccount(const int id) in ActivateOsAccount() function in OHOS::AccountSA::OsAccount
460 return proxy->ActivateOsAccount(id); in ActivateOsAccount()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
Dos_account_mock_test.cpp379 g_osAccount->ActivateOsAccount(MAIN_ACCOUNT_ID));
/base/account/os_account/interfaces/kits/napi/osaccount/include/
Dnapi_os_account.h224 napi_value ActivateOsAccount(napi_env env, napi_callback_info cbInfo);
/base/account/os_account/frameworks/test/unittest/
Daccount_osaccount_proxy_mock_test.cpp401 ErrCode errCode = OsAccountManager::ActivateOsAccount(TEST_USER_ID);
/base/account/os_account/tools/acm/src/
Daccount_command.cpp340 result = OsAccount::GetInstance().ActivateOsAccount(id); in RunAsSwitchCommand()
/base/account/os_account/frameworks/osaccount/native/
Dlibos_account_innerkits.map48 "OHOS::AccountSA::OsAccount::ActivateOsAccount(int)";
134 "OHOS::AccountSA::OsAccountManager::ActivateOsAccount(int)";

12