Home
last modified time | relevance | path

Searched refs:IsOsAccountActived (Results 1 - 25 of 26) sorted by relevance

12

/base/account/os_account/test/fuzztest/osaccount/isosaccountactived_fuzzer/
H A Disosaccountactived_fuzzer.cpp37 result = OsAccountManager::IsOsAccountActived(testId, testIsOsAccountActived); in IsOsAccountActivedFuzzTest()
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_create_os_account_test.cpp55 ErrCode ret = g_osAccountManagerService->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
61 ret = g_osAccountManagerService->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
H A Dos_account_manager_service_module_test.cpp356 * @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 Dos_account_test.cpp70 ErrCode ret = g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
76 ret = g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
H A Dos_account_mock_test.cpp137 * @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 Dos_account_manager.h137 static ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived);
/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account.h38 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived);
H A Dios_account.h46 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0;
H A Dos_account_proxy.h40 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
/base/account/os_account/services/accountmgr/include/osaccount/
H A Diinner_os_account.h42 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0;
H A Dos_account_manager_service.h48 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
H A Diinner_os_account_manager.h47 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp69 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 Dos_account_manager_benchmark_test.cpp97 * @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 Dos_account_manager_service.cpp279 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 Dos_account_stub.cpp1089 ErrCode result = IsOsAccountActived(localId, isOsAccountActived); in ProcIsOsAccountActived()
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp206 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 Dos_account_proxy.cpp242 ErrCode OsAccountProxy::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() function in OHOS::AccountSA::OsAccountProxy
/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp150 ErrCode errCode = OsAccountManager::IsOsAccountActived(TEST_USER_ID, isOsAccountActived); in HWTEST_F()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
H A Dnapi_os_account.h321 napi_value IsOsAccountActived(napi_env env, napi_callback_info cbInfo);
/base/account/os_account/services/accountmgr/src/domain_account/
H A Dinner_domain_account_manager.cpp134 (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 Dos_account_manager_module_test.cpp187 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 Dnapi_os_account.cpp79 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 Dnapi_os_account_common.cpp1365 asyncContext->errCode = OsAccountManager::IsOsAccountActived(asyncContext->id, asyncContext->isOsAccountActived); in IsActivedExecuteCB()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_inner_account_mgr_mock.cpp556 EXPECT_EQ(ERR_OK, innerMgrService_->IsOsAccountActived(id, status)); in HWTEST_F()

Completed in 37 milliseconds

12