/base/account/os_account/test/fuzztest/osaccount/isosaccountactived_fuzzer/ |
H A D | isosaccountactived_fuzzer.cpp | 37 result = OsAccountManager::IsOsAccountActived(testId, testIsOsAccountActived); in IsOsAccountActivedFuzzTest()
|
/base/account/os_account/services/accountmgr/test/moduletest/os_account/ |
H A D | os_account_manager_service_create_os_account_test.cpp | 55 ErrCode ret = g_osAccountManagerService->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase() 61 ret = g_osAccountManagerService->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
|
H A D | os_account_manager_service_module_test.cpp | 356 * @tc.desc: Test IsOsAccountActived with valid data. 363 EXPECT_EQ(osAccountManagerService_->IsOsAccountActived(Constants::START_USER_ID, isOsAccountActive), ERR_OK); in HWTEST_F() 368 * @tc.desc: Test IsOsAccountActived with not active account id. 379 EXPECT_EQ(osAccountManagerService_->IsOsAccountActived(osAccountInfoOne.GetLocalId(), isOsAccountActived), in HWTEST_F() 385 EXPECT_EQ(osAccountManagerService_->IsOsAccountActived(localId, isOsAccountActived), in HWTEST_F() 1684 * @tc.desc: Test IsOsAccountActived PermissionCheck failed. 1693 osAccountManagerService_->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived)); in HWTEST_F()
|
/base/account/os_account/frameworks/osaccount/core/test/unittest/ |
H A D | os_account_test.cpp | 70 ErrCode ret = g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase() 76 ret = g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
|
H A D | os_account_mock_test.cpp | 137 * @tc.desc: Test IsOsAccountActived getosaccountproxy faild 145 g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived)); in HWTEST_F()
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
H A D | os_account_manager.h | 137 static ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived);
|
/base/account/os_account/frameworks/osaccount/core/include/ |
H A D | os_account.h | 38 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived);
|
H A D | ios_account.h | 46 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0;
|
H A D | os_account_proxy.h | 40 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
|
/base/account/os_account/services/accountmgr/include/osaccount/ |
H A D | iinner_os_account.h | 42 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0;
|
H A D | os_account_manager_service.h | 48 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
|
H A D | iinner_os_account_manager.h | 47 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
|
/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_manager.cpp | 69 ErrCode OsAccountManager::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() function in OHOS::AccountSA::OsAccountManager 71 return OsAccount::GetInstance().IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
|
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/ |
H A D | os_account_manager_benchmark_test.cpp | 97 * @tc.desc: IsOsAccountActived 108 EXPECT_EQ(OsAccountManager::IsOsAccountActived(LOCAL_ID, isOsAccountActived), ERR_OK); in BENCHMARK_F()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_manager_service.cpp | 279 ErrCode OsAccountManagerService::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() function in OHOS::AccountSA::OsAccountManagerService 284 return innerManager_.IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived() 293 return innerManager_.IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
|
H A D | os_account_stub.cpp | 1089 ErrCode result = IsOsAccountActived(localId, isOsAccountActived); in ProcIsOsAccountActived()
|
/base/account/os_account/frameworks/osaccount/core/src/ |
H A D | os_account.cpp | 206 ErrCode OsAccount::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() function in OHOS::AccountSA::OsAccount 214 return proxy->IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
|
H A D | os_account_proxy.cpp | 242 ErrCode OsAccountProxy::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() function in OHOS::AccountSA::OsAccountProxy
|
/base/account/os_account/frameworks/test/unittest/ |
H A D | account_osaccount_proxy_mock_test.cpp | 150 ErrCode errCode = OsAccountManager::IsOsAccountActived(TEST_USER_ID, isOsAccountActived); in HWTEST_F()
|
/base/account/os_account/interfaces/kits/napi/osaccount/include/ |
H A D | napi_os_account.h | 321 napi_value IsOsAccountActived(napi_env env, napi_callback_info cbInfo);
|
/base/account/os_account/services/accountmgr/src/domain_account/ |
H A D | inner_domain_account_manager.cpp | 134 (void)IInnerOsAccountManager::GetInstance().IsOsAccountActived(userId_, isActivated);
in OnResult() 995 (void)IInnerOsAccountManager::GetInstance().IsOsAccountActived(userId, isActivated);
in NotifyDomainAccountEvent() 1315 res = IInnerOsAccountManager::GetInstance().IsOsAccountActived(userId, isActivated);
in GetAccountStatus()
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 187 ErrCode ret = OsAccountManager::IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase() 193 ret = OsAccountManager::IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase() 526 * @tc.desc: Test IsOsAccountActived with valid data. 533 EXPECT_EQ(OsAccountManager::IsOsAccountActived(Constants::ADMIN_LOCAL_ID, isOsAccountActived), ERR_OK); in HWTEST_F() 539 * @tc.desc: Test IsOsAccountActived with not active account id. 549 EXPECT_EQ(OsAccountManager::IsOsAccountActived(osAccountInfoOne.GetLocalId(), isOsAccountActived), ERR_OK); in HWTEST_F() 2162 * @tc.desc: test IsOsAccountActived with invalid data. 2169 EXPECT_EQ(OsAccountManager::IsOsAccountActived(Constants::MAX_USER_ID + 1, isOsAccountActived), in HWTEST_F()
|
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
H A D | napi_os_account.cpp | 79 DECLARE_NAPI_FUNCTION("isOsAccountActived", IsOsAccountActived), 1105 napi_create_string_utf8(env, "IsOsAccountActived", NAPI_AUTO_LENGTH, &resource); in InnerIsOsAccountActived() 1120 napi_value IsOsAccountActived(napi_env env, napi_callback_info cbInfo) in IsOsAccountActived() function
|
H A D | napi_os_account_common.cpp | 1365 asyncContext->errCode = OsAccountManager::IsOsAccountActived(asyncContext->id, asyncContext->isOsAccountActived); in IsActivedExecuteCB()
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
H A D | os_account_inner_account_mgr_mock.cpp | 556 EXPECT_EQ(ERR_OK, innerMgrService_->IsOsAccountActived(id, status)); in HWTEST_F()
|