/base/account/os_account/services/accountmgr/test/moduletest/os_account/ |
H A D | os_account_manager_service_create_os_account_test.cpp | 54 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 D | os_account_manager_service_module_test.cpp | 378 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 D | os_account_test.cpp | 69 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 D | os_account_mock_test.cpp | 143 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 D | os_account_manager_benchmark_test.cpp | 106 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 D | account_osaccount_proxy_mock_test.cpp | 149 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 D | os_account_manager.h | 134 * @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 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() argument 71 return OsAccount::GetInstance().IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 186 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 D | os_account.cpp | 206 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 D | os_account_proxy.cpp | 242 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 D | os_account_manager_service.cpp | 279 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 D | inner_os_account_manager.cpp | 1021 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 D | os_account_stub.cpp | 1088 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 D | napi_os_account.h | 163 bool isOsAccountActived = false; member
|
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
H A D | napi_os_account_common.cpp | 1365 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()
|