/base/account/os_account/test/fuzztest/osaccount/activateosaccount_fuzzer/ |
H A D | activateosaccount_fuzzer.cpp | 35 result = OsAccountManager::ActivateOsAccount(testId); in GetDistributedVirtualDeviceIdFuzzTest()
|
/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/ |
H A D | subscribe_distributed_account_event_test.cpp | 91 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 D | account_mgr_inner_sdk_func_test.cpp | 196 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 D | os_account_manager_service_subscribe_module_test.cpp | 210 result = OsAccount::GetInstance().ActivateOsAccount(osAccountInfo.GetLocalId()); in HWTEST_F() 255 result = OsAccount::GetInstance().ActivateOsAccount(id); in HWTEST_F()
|
H A D | os_account_manager_service_module_test.cpp | 253 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 D | os_account_manager_module_test.cpp | 1938 * @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 D | os_account_manager.h | 359 static ErrCode ActivateOsAccount(const int id);
|
/base/account/os_account/frameworks/osaccount/core/include/ |
H A D | os_account.h | 60 ErrCode ActivateOsAccount(const int id);
|
H A D | ios_account.h | 70 virtual ErrCode ActivateOsAccount(const int id) = 0;
|
H A D | os_account_proxy.h | 64 ErrCode ActivateOsAccount(const int id) override;
|
/base/account/os_account/services/accountmgr/include/osaccount/ |
H A D | iinner_os_account.h | 61 virtual ErrCode ActivateOsAccount(const int id, const bool startStorage = true,
|
H A D | os_account_manager_service.h | 81 ErrCode ActivateOsAccount(const int id) override;
|
H A D | iinner_os_account_manager.h | 66 ErrCode ActivateOsAccount(const int id, const bool startStorage = true,
|
/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_manager.cpp | 207 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 D | ohos_account_manager_test.cpp | 211 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 D | os_account_manager_service.cpp | 586 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 D | inner_os_account_manager.cpp | 233 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 D | domain_account_client_module_test.cpp | 518 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 D | os_account.cpp | 489 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 D | account_osaccount_proxy_mock_test.cpp | 401 ErrCode errCode = OsAccountManager::ActivateOsAccount(TEST_USER_ID); in HWTEST_F()
|
/base/account/os_account/frameworks/osaccount/core/test/unittest/ |
H A D | os_account_mock_test.cpp | 372 * @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 D | account_command.cpp | 377 result = OsAccount::GetInstance().ActivateOsAccount(id); in RunAsSwitchCommand()
|
/base/account/os_account/interfaces/kits/napi/osaccount/include/ |
H A D | napi_os_account.h | 243 napi_value ActivateOsAccount(napi_env env, napi_callback_info cbInfo);
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
H A D | os_account_inner_account_mgr_mock.cpp | 505 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 D | napi_os_account.cpp | 43 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()
|