/base/notification/distributed_notification_service/services/ans/test/unittest/notification_dialog_test/ |
H A D | mock_os_account_manager_annex.cpp | 91 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 D | os_account_control_file_manager_test.cpp | 214 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 D | account_osaccount_proxy_mock_test.cpp | 135 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 D | os_account_manager_service.cpp | 274 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 D | os_account_stub.cpp | 1190 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 D | os_account_manager.h | 125 * @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 D | os_account.h | 37 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists);
|
H A D | ios_account.h | 45 virtual ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) = 0;
|
H A D | os_account_proxy.h | 39 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) override;
|
/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_manager.cpp | 64 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 D | os_account_mock_test.cpp | 130 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 D | os_account.cpp | 191 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 D | os_account_proxy.cpp | 232 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 D | os_account_manager_service.h | 47 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) override;
|
/base/account/os_account/services/accountmgr/test/moduletest/os_account/ |
H A D | os_account_manager_service_module_test.cpp | 336 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 D | os_account_manager_module_test.cpp | 506 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()
|