Home
last modified time | relevance | path

Searched refs:isOsAccountActived (Results 1 - 22 of 22) sorted by relevance

/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_create_os_account_test.cpp54 bool isOsAccountActived = false; in SetUpTestCase() local
55 ErrCode ret = g_osAccountManagerService->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
57 while (ret != ERR_OK || !isOsAccountActived) { in SetUpTestCase()
61 ret = g_osAccountManagerService->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
H A Dos_account_manager_service_module_test.cpp378 bool isOsAccountActived = false; in HWTEST_F() local
379 EXPECT_EQ(osAccountManagerService_->IsOsAccountActived(osAccountInfoOne.GetLocalId(), isOsAccountActived), in HWTEST_F()
381 EXPECT_EQ(isOsAccountActived, false); in HWTEST_F()
385 EXPECT_EQ(osAccountManagerService_->IsOsAccountActived(localId, isOsAccountActived), in HWTEST_F()
1691 bool isOsAccountActived; in HWTEST_F() local
1693 osAccountManagerService_->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived)); in HWTEST_F()
1705 bool isOsAccountActived; in HWTEST_F() local
1707 osAccountManagerService_->IsOsAccountConstraintEnable(MAIN_ACCOUNT_ID, CONSTANT_PRINT, isOsAccountActived)); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_test.cpp69 bool isOsAccountActived = false; in SetUpTestCase() local
70 ErrCode ret = g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
72 while (ret != ERR_OK || !isOsAccountActived) { in SetUpTestCase()
76 ret = g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
H A Dos_account_mock_test.cpp143 bool isOsAccountActived; in HWTEST_F() local
145 g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived)); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
H A Dos_account_manager_benchmark_test.cpp106 bool isOsAccountActived = false; in BENCHMARK_F() local
108 EXPECT_EQ(OsAccountManager::IsOsAccountActived(LOCAL_ID, isOsAccountActived), ERR_OK); in BENCHMARK_F()
109 EXPECT_EQ(isOsAccountActived, true); in BENCHMARK_F()
/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp149 bool isOsAccountActived = false; in HWTEST_F() local
150 ErrCode errCode = OsAccountManager::IsOsAccountActived(TEST_USER_ID, isOsAccountActived); in HWTEST_F()
152 ASSERT_EQ(isOsAccountActived, false); in HWTEST_F()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h134 * @param isOsAccountActived - Indicates whether the OS account is activated.
137 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() argument
71 return OsAccount::GetInstance().IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp186 bool isOsAccountActived = false; in SetUpTestCase() local
187 ErrCode ret = OsAccountManager::IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
189 while (ret != ERR_OK || !isOsAccountActived) { in SetUpTestCase()
193 ret = OsAccountManager::IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
532 bool isOsAccountActived = false; in HWTEST_F() local
533 EXPECT_EQ(OsAccountManager::IsOsAccountActived(Constants::ADMIN_LOCAL_ID, isOsAccountActived), ERR_OK); in HWTEST_F()
534 EXPECT_EQ(isOsAccountActived, true); in HWTEST_F()
548 bool isOsAccountActived = false; in HWTEST_F() local
549 EXPECT_EQ(OsAccountManager::IsOsAccountActived(osAccountInfoOne.GetLocalId(), isOsAccountActived), ERR_OK); in HWTEST_F()
550 EXPECT_EQ(isOsAccountActived, fals in HWTEST_F()
2168 bool isOsAccountActived = true; HWTEST_F() local
[all...]
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp206 ErrCode OsAccount::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
208 isOsAccountActived = false; in IsOsAccountActived()
214 return proxy->IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
H A Dos_account_proxy.cpp242 ErrCode OsAccountProxy::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
247 isOsAccountActived = reply.ReadBool(); in IsOsAccountActived()
/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() argument
284 return innerManager_.IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
293 return innerManager_.IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
H A Dinner_os_account_manager.cpp1021 ErrCode IInnerOsAccountManager::IsOsAccountActived(const int id, bool &isOsAccountActived) in RetryToGetAccount() argument
1023 isOsAccountActived = false; in RetryToGetAccount()
1033 isOsAccountActived = true; in RetryToGetAccount()
1036 isOsAccountActived = osAccountInfo.GetIsActived(); in RetryToGetAccount()
H A Dos_account_stub.cpp1088 bool isOsAccountActived = false; in ProcIsOsAccountActived() local
1089 ErrCode result = IsOsAccountActived(localId, isOsAccountActived); in ProcIsOsAccountActived()
1094 if (!reply.WriteBool(isOsAccountActived)) { in ProcIsOsAccountActived()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
H A Dnapi_os_account.h163 bool isOsAccountActived = false; member
/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account_common.cpp1365 asyncContext->errCode = OsAccountManager::IsOsAccountActived(asyncContext->id, asyncContext->isOsAccountActived); in IsActivedExecuteCB()
1381 napi_get_boolean(env, asyncContext->isOsAccountActived, &dataJs); in IsActivedCompletedCB()
1387 napi_get_boolean(env, asyncContext->isOsAccountActived, &dataJs); in IsActivedCompletedCB()

Completed in 31 milliseconds