Home
last modified time | relevance | path

Searched refs:ADMIN_LOCAL_ID (Results 1 - 9 of 9) sorted by relevance

/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_constants.h82 const std::int32_t ADMIN_LOCAL_ID = 0; member
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp261 if ((id == Constants::START_USER_ID) || (id == Constants::ADMIN_LOCAL_ID)) { in RemoveOsAccount()
516 if (id == Constants::ADMIN_LOCAL_ID) { in SetOsAccountName()
545 if (id == Constants::ADMIN_LOCAL_ID) { in SetOsAccountConstraints()
565 if (id == Constants::ADMIN_LOCAL_ID) { in SetOsAccountProfilePhoto()
593 if (id == Constants::ADMIN_LOCAL_ID) { in ActivateOsAccount()
613 if (id == Constants::ADMIN_LOCAL_ID) { in DeactivateOsAccount()
789 if (id == Constants::ADMIN_LOCAL_ID) { in SetCurrentOsAccountIsVerified()
803 if (id == Constants::ADMIN_LOCAL_ID) { in SetOsAccountIsVerified()
1112 if (id < Constants::ADMIN_LOCAL_ID) { in IsOsAccountForeground()
1129 if (id >= Constants::ADMIN_LOCAL_ID in IsOsAccountForeground()
[all...]
H A Dinner_os_account_manager.cpp96 osAccountControl_->IsOsAccountExists(Constants::ADMIN_LOCAL_ID, isExistsAccount); in CreateBaseAdminAccount()
99 Constants::CARRY_NUM * Constants::SERIAL_NUMBER_NUM_START_FOR_ADMIN + Constants::ADMIN_LOCAL_ID; in CreateBaseAdminAccount()
101 Constants::ADMIN_LOCAL_ID, Constants::ADMIN_LOCAL_NAME, OsAccountType::ADMIN, serialNumber); in CreateBaseAdminAccount()
1032 if (id == Constants::ADMIN_LOCAL_ID) { in RetryToGetAccount()
1345 if (id == Constants::START_USER_ID || id == Constants::ADMIN_LOCAL_ID || id == excludeId) { in RetryToGetAccount()
1827 Constants::CARRY_NUM * Constants::SERIAL_NUMBER_NUM_START_FOR_ADMIN + Constants::ADMIN_LOCAL_ID) { in RetryToGetAccount()
1828 id = Constants::ADMIN_LOCAL_ID; in RetryToGetAccount()
H A Dos_account_control_file_manager.cpp77 return (accountID >= Constants::ADMIN_LOCAL_ID && accountID <= Constants::MAX_USER_ID); in GetValidAccountID()
955 if (osAccountInfo.GetLocalId() < Constants::ADMIN_LOCAL_ID) { in InsertOsAccount()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_inner_account_mgr_cov.cpp138 osAccountControl->IsOsAccountExists(Constants::ADMIN_LOCAL_ID, isExistsAccount); in HWTEST_F()
H A Dos_account_inner_account_mgr_mock.cpp830 osAccountControl->IsOsAccountExists(Constants::ADMIN_LOCAL_ID, isExistsAccount); in HWTEST_F()
1512 + Constants::ADMIN_LOCAL_ID; in HWTEST_F()
1782 ErrCode ret = innerMgrService_->DeactivateOsAccountById(Constants::ADMIN_LOCAL_ID); in HWTEST_F()
2204 ErrCode ret = IInnerOsAccountManager::GetInstance().DeactivateOsAccountById(Constants::ADMIN_LOCAL_ID); in HWTEST_F()
H A Dos_account_control_file_manager_test.cpp307 int id = Constants::ADMIN_LOCAL_ID; in HWTEST_F()
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp915 if (localId < Constants::ADMIN_LOCAL_ID) { in IsOsAccountForeground()
924 if (localId < Constants::ADMIN_LOCAL_ID) { in IsOsAccountForeground()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp533 EXPECT_EQ(OsAccountManager::IsOsAccountActived(Constants::ADMIN_LOCAL_ID, isOsAccountActived), ERR_OK); in HWTEST_F()

Completed in 22 milliseconds