Home
last modified time | relevance | path

Searched refs:isOsAccountActived (Results 1 – 25 of 25) sorted by relevance

/base/account/os_account/services/accountmgr/test/moduletest/os_account/
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()
Dos_account_manager_service_module_test.cpp413 bool isOsAccountActived = false; variable
414 …EQ(osAccountManagerService_->IsOsAccountActived(osAccountInfoOne.GetLocalId(), isOsAccountActived),
416 EXPECT_EQ(isOsAccountActived, false);
420 EXPECT_EQ(osAccountManagerService_->IsOsAccountActived(localId, isOsAccountActived),
1737 bool isOsAccountActived; variable
1739 osAccountManagerService_->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived));
1751 bool isOsAccountActived; variable
1753 …ManagerService_->IsOsAccountConstraintEnable(MAIN_ACCOUNT_ID, CONSTANT_PRINT, isOsAccountActived));
/base/account/os_account/frameworks/osaccount/core/test/unittest/
Dos_account_test.cpp146 bool isOsAccountActived = false; in SetUpTestCase() local
147 ErrCode ret = g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
149 while (ret != ERR_OK || !isOsAccountActived) { in SetUpTestCase()
153 ret = g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
Dos_account_mock_test.cpp136 bool isOsAccountActived; variable
138 g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived));
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
Dos_account_manager_benchmark_test.cpp107 bool isOsAccountActived = false; in BENCHMARK_F() local
109 EXPECT_EQ(OsAccountManager::IsOsAccountActived(LOCAL_ID, isOsAccountActived), ERR_OK); in BENCHMARK_F()
110 EXPECT_EQ(isOsAccountActived, true); in BENCHMARK_F()
/base/account/os_account/frameworks/test/unittest/
Daccount_osaccount_proxy_mock_test.cpp142 bool isOsAccountActived = false; variable
143 ErrCode errCode = OsAccountManager::IsOsAccountActived(TEST_USER_ID, isOsAccountActived);
145 ASSERT_EQ(isOsAccountActived, false);
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp259 bool isOsAccountActived = false; in SetUpTestCase() local
260 ErrCode ret = OsAccountManager::IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
262 while (ret != ERR_OK || !isOsAccountActived) { in SetUpTestCase()
266 ret = OsAccountManager::IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
469 bool isOsAccountActived = false; variable
470 …EXPECT_EQ(OsAccountManager::IsOsAccountActived(Constants::ADMIN_LOCAL_ID, isOsAccountActived), ERR…
471 EXPECT_EQ(isOsAccountActived, true);
484 bool isOsAccountActived = false; variable
485 …Q(OsAccountManager::IsOsAccountActived(osAccountInfoOne.GetLocalId(), isOsAccountActived), ERR_OK);
486 EXPECT_EQ(isOsAccountActived, false);
[all …]
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_manager.cpp46 ErrCode OsAccountManager::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
48 return OsAccount::GetInstance().IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/
Dfuzz_test_manager.cpp113 bool isOsAccountActived = GetBoolParam(); in RegisterOsAccountManager() local
114 OsAccountManager::IsOsAccountActived(GetIntParam(), isOsAccountActived); in RegisterOsAccountManager()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_manager.h94 static ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived);
/base/account/os_account/services/accountmgr/include/osaccount/
Diinner_os_account.h37 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0;
Dos_account_manager_service.h39 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
Diinner_os_account_manager.h40 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
/base/account/os_account/frameworks/osaccount/core/include/
Dos_account.h34 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived);
Dios_account.h41 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0;
Dos_account_proxy.h35 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_manager_service.cpp192 ErrCode OsAccountManagerService::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
202 return innerManager_.IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
211 return innerManager_.IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
Dinner_os_account_manager.cpp510 ErrCode IInnerOsAccountManager::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
512 isOsAccountActived = false; in IsOsAccountActived()
522 isOsAccountActived = true; in IsOsAccountActived()
525 isOsAccountActived = IsOsAccountIDInActiveList(id); in IsOsAccountActived()
Dos_account_stub.cpp789 bool isOsAccountActived = false; in ProcIsOsAccountActived() local
790 ErrCode result = IsOsAccountActived(localId, isOsAccountActived); in ProcIsOsAccountActived()
795 if (!reply.WriteBool(isOsAccountActived)) { in ProcIsOsAccountActived()
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account.cpp132 ErrCode OsAccount::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
134 isOsAccountActived = false; in IsOsAccountActived()
145 return osAccountProxy_->IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
Dos_account_proxy.cpp122 ErrCode OsAccountProxy::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
127 isOsAccountActived = reply.ReadBool(); in IsOsAccountActived()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
Dnapi_os_account.h148 bool isOsAccountActived = false; member
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account_common.cpp1228 …errCode = OsAccountManager::IsOsAccountActived(asyncContext->id, asyncContext->isOsAccountActived); in IsActivedExecuteCB()
1244 napi_get_boolean(env, asyncContext->isOsAccountActived, &dataJs); in IsActivedCompletedCB()
1250 napi_get_boolean(env, asyncContext->isOsAccountActived, &dataJs); in IsActivedCompletedCB()
/base/account/os_account/
DREADME.md507 …182593814"><a name="p186182593814"></a><a name="p186182593814"></a>isOsAccountActived(localId: num…
512 …182593814"><a name="p186182593814"></a><a name="p186182593814"></a>isOsAccountActived(localId: num…
DREADME_zh.md801 …ame="p186182593814"></a>isOsAccountActived(localId: number, callback: AsyncCallback&lt;boolean&gt;…