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/
H A Dactivateosaccount_fuzzer.cpp35 result = OsAccountManager::ActivateOsAccount(testId); in GetDistributedVirtualDeviceIdFuzzTest()
/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); in HWTEST_F()
136 EXPECT_EQ(OsAccountManager::ActivateOsAccount(SubDistributedAccount.GetLocalId()), ERR_OK); in HWTEST_F()
188 EXPECT_EQ(OsAccountManager::ActivateOsAccount(SubDistributedAccount.GetLocalId()), ERR_OK); in HWTEST_F()
250 EXPECT_EQ(OsAccountManager::ActivateOsAccount(SubDistributedAccount.GetLocalId()), ERR_OK); in HWTEST_F()
293 EXPECT_EQ(OsAccountManager::ActivateOsAccount(SubDistributedAccount.GetLocalId()), ERR_OK); in HWTEST_F()
H A Daccount_mgr_inner_sdk_func_test.cpp196 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK); in HWTEST_F()
246 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK); in HWTEST_F()
301 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK); in HWTEST_F()
333 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK); in HWTEST_F()
598 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK); in HWTEST_F()
657 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK); in HWTEST_F()
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_subscribe_module_test.cpp210 result = OsAccount::GetInstance().ActivateOsAccount(osAccountInfo.GetLocalId()); in HWTEST_F()
255 result = OsAccount::GetInstance().ActivateOsAccount(id); in HWTEST_F()
H A Dos_account_manager_service_module_test.cpp253 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK); in HWTEST_F()
923 * @tc.desc: Test ActivateOsAccount with valid data.
932 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK); in HWTEST_F()
933 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(Constants::START_USER_ID), ERR_OK); in HWTEST_F()
937 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(localId), ERR_ACCOUNT_COMMON_ACCOUNT_NOT_EXIST_ERROR); in HWTEST_F()
1082 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfo.GetLocalId()), ERR_OK); in HWTEST_F()
1878 * @tc.desc: Test ActivateOsAccount PermissionCheck failed.
1886 osAccountManagerService_->ActivateOsAccount(MAIN_ACCOUNT_ID)); in HWTEST_F()
2229 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInfo.GetLocalId()), ERR_OK); in HWTEST_F()
2246 EXPECT_EQ(osAccountManagerService_->ActivateOsAccount(osAccountInf in HWTEST_F()
[all...]
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp1938 * @tc.desc: Test ActivateOsAccount.
1944 EXPECT_NE(OsAccountManager::ActivateOsAccount(INVALID_ID), ERR_OK); in HWTEST_F()
1949 * @tc.desc: Test ActivateOsAccount.
1955 EXPECT_NE(OsAccountManager::ActivateOsAccount(ERROR_LOCAL_ID), ERR_OK); in HWTEST_F()
1969 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK); in HWTEST_F()
2265 ASSERT_EQ(OsAccountManager::ActivateOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F()
2353 ASSERT_NE(OsAccountManager::ActivateOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F()
2468 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfo.GetLocalId()), ERR_OK); in HWTEST_F()
2539 * @tc.desc: Test ActivateOsAccount.
2547 OsAccountManager::ActivateOsAccount(MAIN_ACCOUNT_I in HWTEST_F()
[all...]
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h359 static ErrCode ActivateOsAccount(const int id);
/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account.h60 ErrCode ActivateOsAccount(const int id);
H A Dios_account.h70 virtual ErrCode ActivateOsAccount(const int id) = 0;
H A Dos_account_proxy.h64 ErrCode ActivateOsAccount(const int id) override;
/base/account/os_account/services/accountmgr/include/osaccount/
H A Diinner_os_account.h61 virtual ErrCode ActivateOsAccount(const int id, const bool startStorage = true,
H A Dos_account_manager_service.h81 ErrCode ActivateOsAccount(const int id) override;
H A Diinner_os_account_manager.h66 ErrCode ActivateOsAccount(const int id, const bool startStorage = true,
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp207 ErrCode OsAccountManager::ActivateOsAccount(const int id) in ActivateOsAccount() function in OHOS::AccountSA::OsAccountManager
209 return OsAccount::GetInstance().ActivateOsAccount(id); in ActivateOsAccount()
/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); in HWTEST_F()
253 EXPECT_EQ(OsAccountManager::ActivateOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK); in HWTEST_F()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp586 ErrCode OsAccountManagerService::ActivateOsAccount(const int id) in ActivateOsAccount() function in OHOS::AccountSA::OsAccountManagerService
603 return innerManager_.ActivateOsAccount(id); in ActivateOsAccount()
639 innerManager_.ActivateOsAccount(id, false, Constants::DEFAULT_DISPALY_ID, true); in DeactivateOsAccount()
641 innerManager_.ActivateOsAccount(Constants::START_USER_ID, false, Constants::DEFAULT_DISPALY_ID); in DeactivateOsAccount()
H A Dinner_os_account_manager.cpp233 if (ActivateOsAccount(id) != ERR_OK) { in RetryToGetAccount()
758 if (ActivateOsAccount(Constants::START_USER_ID) != ERR_OK) { in RetryToGetAccount()
1659 ErrCode IInnerOsAccountManager::ActivateOsAccount in RetryToGetAccount() function in OHOS::AccountSA::IInnerOsAccountManager
1714 ACCOUNT_LOGI("IInnerOsAccountManager ActivateOsAccount end"); in RetryToGetAccount()
/base/account/os_account/frameworks/domain_account/test/moduletest/src/
H A Ddomain_account_client_module_test.cpp518 errCode = OsAccountManager::ActivateOsAccount(osAccountInfo.GetLocalId()); in HWTEST_F()
536 errCode = OsAccountManager::ActivateOsAccount(osAccountInfo.GetLocalId()); in HWTEST_F()
1247 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK); in HWTEST_F()
1338 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK); in HWTEST_F()
1604 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK); in HWTEST_F()
1620 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId1), ERR_OK); in HWTEST_F()
1652 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK); in HWTEST_F()
1659 EXPECT_EQ(OsAccountManager::ActivateOsAccount(userId), ERR_OK); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp489 ErrCode OsAccount::ActivateOsAccount(const int id) in ActivateOsAccount() function in OHOS::AccountSA::OsAccount
500 return proxy->ActivateOsAccount(id); in ActivateOsAccount()
/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp401 ErrCode errCode = OsAccountManager::ActivateOsAccount(TEST_USER_ID); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_mock_test.cpp372 * @tc.desc: Test ActivateOsAccount getosaccountproxy faild
379 g_osAccount->ActivateOsAccount(MAIN_ACCOUNT_ID)); in HWTEST_F()
/base/account/os_account/tools/acm/src/
H A Daccount_command.cpp377 result = OsAccount::GetInstance().ActivateOsAccount(id); in RunAsSwitchCommand()
/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);
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_inner_account_mgr_mock.cpp505 EXPECT_EQ(ERR_OK, innerMgrService_->ActivateOsAccount(accountInfo.GetLocalId())); in HWTEST_F()
1475 ErrCode ret = innerMgrService_->ActivateOsAccount(id); in HWTEST_F()
1484 ret = innerMgrService_->ActivateOsAccount(id); in HWTEST_F()
1491 ret = innerMgrService_->ActivateOsAccount(id); in HWTEST_F()
/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account.cpp43 DECLARE_NAPI_FUNCTION("activateOsAccount", ActivateOsAccount),
329 napi_value ActivateOsAccount(napi_env env, napi_callback_info cbInfo) in ActivateOsAccount() function
347 napi_create_string_utf8(env, "ActivateOsAccount", NAPI_AUTO_LENGTH, &resource); in ActivateOsAccount()

Completed in 46 milliseconds

12