Home
last modified time | relevance | path

Searched refs:MAX_USER_ID (Results 1 - 10 of 10) sorted by relevance

/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_create_os_account_test.cpp97 for (auto i = Constants::START_USER_ID + 1; i < Constants::MAX_USER_ID; i++) { in HWTEST_F()
110 for (auto i = Constants::START_USER_ID + 1; i < Constants::MAX_USER_ID; i++) { in HWTEST_F()
H A Dos_account_manager_service_module_test.cpp324 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(Constants::MAX_USER_ID + 1), in HWTEST_F()
350 EXPECT_EQ(osAccountManagerService_->IsOsAccountExists(Constants::MAX_USER_ID + 1, isOsAccountExists), ERR_OK); in HWTEST_F()
384 int localId = Constants::MAX_USER_ID + 1; in HWTEST_F()
524 EXPECT_EQ(osAccountManagerService_->IsOsAccountVerified(Constants::MAX_USER_ID + 1, isVerified), in HWTEST_F()
537 EXPECT_EQ(osAccountManagerService_->IsOsAccountVerified(Constants::MAX_USER_ID + 1, isVerified), in HWTEST_F()
602 EXPECT_EQ(osAccountManagerService_->GetOsAccountAllConstraints(Constants::MAX_USER_ID + 1, constraints), in HWTEST_F()
659 EXPECT_EQ(osAccountManagerService_->QueryOsAccountById(Constants::MAX_USER_ID + 1, osAccountInfo), in HWTEST_F()
781 Constants::MAX_USER_ID + 1, serialNumber), ERR_OK); in HWTEST_F()
876 EXPECT_EQ(osAccountManagerService_->GetOsAccountProfilePhoto(Constants::MAX_USER_ID + 1, photo), in HWTEST_F()
905 EXPECT_EQ(osAccountManagerService_->StartOsAccount(Constants::MAX_USER_ID in HWTEST_F()
[all...]
/base/notification/common_event_service/services/src/
H A Dos_account_manager_helper.cpp65 return userId >= AccountSA::Constants::START_USER_ID && userId <= AccountSA::Constants::MAX_USER_ID; in IsSystemAccount()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_constants.h88 const std::int32_t MAX_USER_ID = 10736; // Int32 maximum value divided by 200000 member
/base/notification/distributed_notification_service/services/ans/src/
H A Dos_account_manager_helper.cpp121 return userId >= AccountSA::Constants::START_USER_ID && userId <= AccountSA::Constants::MAX_USER_ID; in IsSystemAccount()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp161 int id = Constants::MAX_USER_ID + 1; in HWTEST_F()
228 int id = Constants::MAX_USER_ID + 1; in HWTEST_F()
400 EXPECT_EQ(id, Constants::MAX_USER_ID); in HWTEST_F()
449 EXPECT_EQ(id, Constants::MAX_USER_ID); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp495 EXPECT_NE(OsAccountManager::RemoveOsAccount(Constants::MAX_USER_ID + 1), ERR_OK); in HWTEST_F()
520 EXPECT_EQ(OsAccountManager::IsOsAccountExists(Constants::MAX_USER_ID + 1, isOsAccountExists), ERR_OK); in HWTEST_F()
677 EXPECT_NE(OsAccountManager::IsOsAccountVerified(Constants::MAX_USER_ID + 1, isVerified), ERR_OK); in HWTEST_F()
689 EXPECT_NE(OsAccountManager::IsOsAccountVerified(Constants::MAX_USER_ID + 1, isVerified), ERR_OK); in HWTEST_F()
780 EXPECT_NE(OsAccountManager::GetOsAccountAllConstraints(Constants::MAX_USER_ID + 1, constraints), ERR_OK); in HWTEST_F()
849 EXPECT_NE(OsAccountManager::QueryOsAccountById(Constants::MAX_USER_ID + 1, osAccountInfo), ERR_OK); in HWTEST_F()
993 EXPECT_NE(OsAccountManager::GetSerialNumberByOsAccountLocalId(Constants::MAX_USER_ID + 1, serialNumber), ERR_OK); in HWTEST_F()
1096 EXPECT_NE(OsAccountManager::GetOsAccountProfilePhoto(Constants::MAX_USER_ID + 1, photo), ERR_OK); in HWTEST_F()
1124 EXPECT_EQ(OsAccountManager::StartOsAccount(Constants::MAX_USER_ID + 1), ERR_OK); in HWTEST_F()
2169 EXPECT_EQ(OsAccountManager::IsOsAccountActived(Constants::MAX_USER_ID in HWTEST_F()
[all...]
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_database_operator.cpp49 {Constants::MAX_ALLOW_CREATE_ACCOUNT_ID, Constants::MAX_USER_ID}, in InnerInit()
H A Dos_account_control_file_manager.cpp77 return (accountID >= Constants::ADMIN_LOCAL_ID && accountID <= Constants::MAX_USER_ID); in GetValidAccountID()
343 {Constants::MAX_ALLOW_CREATE_ACCOUNT_ID, Constants::MAX_USER_ID}, in BuildAndSaveAccountListJsonFile()
1000 if (id <= Constants::START_USER_ID || id > Constants::MAX_USER_ID) { in DelOsAccount()
1115 if (nextLocalId_ > Constants::MAX_USER_ID) { in GetNextLocalId()
/base/print/print_fwk/services/print_service/src/
H A Dprint_service_ability.cpp62 const std::int32_t MAX_USER_ID = 1099; member
2638 if (userId > MAX_USER_ID) { in GetCurrentUserId()

Completed in 18 milliseconds