Home
last modified time | relevance | path

Searched refs:isOsAccountExists (Results 1 - 16 of 16) sorted by relevance

/base/notification/distributed_notification_service/services/ans/test/unittest/notification_dialog_test/
H A Dmock_os_account_manager_annex.cpp91 ErrCode OsAccountManager::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
93 isOsAccountExists = g_mockOsAccountExists; in IsOsAccountExists()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp214 bool isOsAccountExists = false; in HWTEST_F() local
215 EXPECT_EQ(g_controlManager->IsOsAccountExists(Constants::START_USER_ID, isOsAccountExists), ERR_OK); in HWTEST_F()
216 EXPECT_EQ(isOsAccountExists, true); in HWTEST_F()
227 bool isOsAccountExists = true; in HWTEST_F() local
229 EXPECT_EQ(g_controlManager->IsOsAccountExists(id, isOsAccountExists), ERR_OK); in HWTEST_F()
230 EXPECT_EQ(isOsAccountExists, false); in HWTEST_F()
244 bool isOsAccountExists = true; in HWTEST_F() local
245 EXPECT_EQ(g_controlManager->IsOsAccountExists(id, isOsAccountExists), ERR_OK); in HWTEST_F()
246 EXPECT_EQ(isOsAccountExists, false); in HWTEST_F()
261 bool isOsAccountExists in HWTEST_F() local
[all...]
/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp135 bool isOsAccountExists = false; in HWTEST_F() local
136 ErrCode errCode = OsAccountManager::IsOsAccountExists(TEST_USER_ID, isOsAccountExists); in HWTEST_F()
138 ASSERT_EQ(isOsAccountExists, false); in HWTEST_F()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp274 ErrCode OsAccountManagerService::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
276 return innerManager_.IsOsAccountExists(id, isOsAccountExists); in IsOsAccountExists()
1120 bool isOsAccountExists = false; in IsOsAccountForeground() local
1121 ErrCode result = IsOsAccountExists(id, isOsAccountExists); in IsOsAccountForeground()
1125 if (!isOsAccountExists) { in IsOsAccountForeground()
H A Dos_account_stub.cpp1190 bool isOsAccountExists = false; in ProcIsOsAccountExists() local
1191 ErrCode result = IsOsAccountExists(localId, isOsAccountExists); in ProcIsOsAccountExists()
1196 if (!reply.WriteBool(isOsAccountExists)) { in ProcIsOsAccountExists()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h125 * @param isOsAccountExists - Indicates whether the specified OS account exists.
128 static ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists);
/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account.h37 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists);
H A Dios_account.h45 virtual ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) = 0;
H A Dos_account_proxy.h39 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) override;
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp64 ErrCode OsAccountManager::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
66 return OsAccount::GetInstance().IsOsAccountExists(id, isOsAccountExists); in IsOsAccountExists()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_mock_test.cpp130 bool isOsAccountExists; in HWTEST_F() local
132 g_osAccount->IsOsAccountExists(MAIN_ACCOUNT_ID, isOsAccountExists)); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp191 ErrCode OsAccount::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
193 isOsAccountExists = false; in IsOsAccountExists()
203 return proxy->IsOsAccountExists(id, isOsAccountExists); in IsOsAccountExists()
H A Dos_account_proxy.cpp232 ErrCode OsAccountProxy::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
237 isOsAccountExists = reply.ReadBool(); in IsOsAccountExists()
/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_manager_service.h47 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) override;
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_module_test.cpp336 bool isOsAccountExists = false; in HWTEST_F() local
337 EXPECT_EQ(osAccountManagerService_->IsOsAccountExists(Constants::START_USER_ID, isOsAccountExists), ERR_OK); in HWTEST_F()
338 EXPECT_EQ(isOsAccountExists, true); in HWTEST_F()
349 bool isOsAccountExists = true; in HWTEST_F() local
350 EXPECT_EQ(osAccountManagerService_->IsOsAccountExists(Constants::MAX_USER_ID + 1, isOsAccountExists), ERR_OK); in HWTEST_F()
351 EXPECT_EQ(isOsAccountExists, false); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp506 bool isOsAccountExists = false; in HWTEST_F() local
507 EXPECT_EQ(OsAccountManager::IsOsAccountExists(Constants::START_USER_ID, isOsAccountExists), ERR_OK); in HWTEST_F()
508 EXPECT_EQ(isOsAccountExists, true); in HWTEST_F()
519 bool isOsAccountExists = true; in HWTEST_F() local
520 EXPECT_EQ(OsAccountManager::IsOsAccountExists(Constants::MAX_USER_ID + 1, isOsAccountExists), ERR_OK); in HWTEST_F()
521 EXPECT_EQ(isOsAccountExists, false); in HWTEST_F()

Completed in 23 milliseconds