Home
last modified time | relevance | path

Searched refs:isMainOsAccount (Results 1 – 18 of 18) sorted by relevance

/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
Dos_account_manager_benchmark_test.cpp482 bool isMainOsAccount = false; in BENCHMARK_F() local
483 EXPECT_EQ(OsAccountManager::IsMainOsAccount(isMainOsAccount), ERR_OK); in BENCHMARK_F()
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_manager.cpp78 ErrCode OsAccountManager::IsMainOsAccount(bool &isMainOsAccount) in IsMainOsAccount() argument
80 return OsAccount::GetInstance().IsMainOsAccount(isMainOsAccount); in IsMainOsAccount()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
Dos_account_mock_test.cpp204 bool isMainOsAccount; variable
206 g_osAccount->IsMainOsAccount(isMainOsAccount));
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_manager.h144 static ErrCode IsMainOsAccount(bool &isMainOsAccount);
/base/account/os_account/frameworks/osaccount/core/include/
Dos_account.h40 ErrCode IsMainOsAccount(bool &isMainOsAccount);
Dios_account.h49 virtual ErrCode IsMainOsAccount(bool &isMainOsAccount) = 0;
Dos_account_proxy.h43 ErrCode IsMainOsAccount(bool &isMainOsAccount) override;
/base/account/os_account/frameworks/test/unittest/
Daccount_osaccount_proxy_mock_test.cpp211 bool isMainOsAccount = false; variable
212 ErrCode errCode = OsAccountManager::IsMainOsAccount(isMainOsAccount);
/base/account/os_account/services/accountmgr/include/osaccount/
Dos_account_manager_service.h49 ErrCode IsMainOsAccount(bool &isMainOsAccount) override;
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account.cpp217 ErrCode OsAccount::IsMainOsAccount(bool &isMainOsAccount) in IsMainOsAccount() argument
219 isMainOsAccount = false; in IsMainOsAccount()
226 return osAccountProxy_->IsMainOsAccount(isMainOsAccount); in IsMainOsAccount()
Dos_account_proxy.cpp244 ErrCode OsAccountProxy::IsMainOsAccount(bool &isMainOsAccount) in IsMainOsAccount() argument
264 isMainOsAccount = reply.ReadBool(); in IsMainOsAccount()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp1426 bool isMainOsAccount = false; variable
1427 EXPECT_EQ(OsAccountManager::IsMainOsAccount(isMainOsAccount), ERR_OK);
1431 EXPECT_EQ(isMainOsAccount, true);
1433 EXPECT_EQ(isMainOsAccount, false);
2213 bool isMainOsAccount = false; variable
2214 …ASSERT_EQ(OsAccountManager::IsMainOsAccount(isMainOsAccount), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ER…
2308 bool isMainOsAccount = false; variable
2309 …ASSERT_NE(OsAccountManager::IsMainOsAccount(isMainOsAccount), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ER…
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_manager_service_module_test.cpp1331 bool isMainOsAccount = false; variable
1332 EXPECT_EQ(osAccountManagerService_->IsMainOsAccount(isMainOsAccount), ERR_OK);
1336 EXPECT_EQ(isMainOsAccount, true);
1338 EXPECT_EQ(isMainOsAccount, false);
1793 bool isMainOsAccount; variable
1795 osAccountManagerService_->IsMainOsAccount(isMainOsAccount));
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_manager_service.cpp285 ErrCode OsAccountManagerService::IsMainOsAccount(bool &isMainOsAccount) in IsMainOsAccount() argument
294 isMainOsAccount = ((uid / UID_TRANSFORM_DIVISOR) == MAIN_OS_ACCOUNT_LOCAL_ID); in IsMainOsAccount()
Dos_account_stub.cpp662 bool isMainOsAccount = false; in ProcIsMainOsAccount() local
663 ErrCode result = IsMainOsAccount(isMainOsAccount); in ProcIsMainOsAccount()
668 if (!reply.WriteBool(isMainOsAccount)) { in ProcIsMainOsAccount()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
Dnapi_os_account.h185 bool isMainOsAccount = false; member
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp1311 isMain->errCode = OsAccountManager::IsMainOsAccount(isMain->isMainOsAccount); in IsMainOsAccount()
1320 napi_get_boolean(env, isMain->isMainOsAccount, &result[PARAMONE]); in IsMainOsAccount()
/base/account/os_account/
DREADME_zh.md947 …0"></a><a name="p686934433810"></a>isMainOsAccount(callback: AsyncCallback&lt;boolean&gt;): void;<…