Home
last modified time | relevance | path

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

/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp262 if ((id == Constants::START_USER_ID) || (id == Constants::ADMIN_LOCAL_ID)) { in RemoveOsAccount()
538 if (id == Constants::ADMIN_LOCAL_ID) { in SetOsAccountName()
567 if (id == Constants::ADMIN_LOCAL_ID) { in SetOsAccountConstraints()
587 if (id == Constants::ADMIN_LOCAL_ID) { in SetOsAccountProfilePhoto()
615 if (id == Constants::ADMIN_LOCAL_ID) { in ActivateOsAccount()
635 if (id == Constants::ADMIN_LOCAL_ID) { in DeactivateOsAccount()
811 if (id == Constants::ADMIN_LOCAL_ID) { in SetCurrentOsAccountIsVerified()
825 if (id == Constants::ADMIN_LOCAL_ID) { in SetOsAccountIsVerified()
1153 if (id < Constants::ADMIN_LOCAL_ID) { in IsOsAccountForeground()
1170 if (id >= Constants::ADMIN_LOCAL_ID && id < Constants::START_USER_ID) { in IsOsAccountForeground()
H A Dinner_os_account_manager.cpp110 osAccountControl_->IsOsAccountExists(Constants::ADMIN_LOCAL_ID, isExistsAccount); in CreateBaseAdminAccount()
113 … Constants::CARRY_NUM * Constants::SERIAL_NUMBER_NUM_START_FOR_ADMIN + Constants::ADMIN_LOCAL_ID; in CreateBaseAdminAccount()
115 … Constants::ADMIN_LOCAL_ID, Constants::ADMIN_LOCAL_NAME, OsAccountType::ADMIN, serialNumber); in CreateBaseAdminAccount()
1035 if (id == Constants::ADMIN_LOCAL_ID) { in RetryToGetAccount()
1335 if (id == Constants::START_USER_ID || id == Constants::ADMIN_LOCAL_ID || id == excludeId) { in RetryToGetAccount()
1866 … Constants::CARRY_NUM * Constants::SERIAL_NUMBER_NUM_START_FOR_ADMIN + Constants::ADMIN_LOCAL_ID) { in RetryToGetAccount()
1867 id = Constants::ADMIN_LOCAL_ID; in RetryToGetAccount()
H A Dos_account_control_file_manager.cpp74 return (accountID >= Constants::ADMIN_LOCAL_ID && accountID <= Constants::MAX_USER_ID); in GetValidAccountID()
962 if (osAccountInfo.GetLocalId() < Constants::ADMIN_LOCAL_ID) { in InsertOsAccount()
/ohos5.0/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_constants.h82 const std::int32_t ADMIN_LOCAL_ID = 0; variable
/ohos5.0/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);
H A Dos_account_control_file_manager_test.cpp304 int id = Constants::ADMIN_LOCAL_ID;
H A Dos_account_inner_account_mgr_mock.cpp822 osAccountControl->IsOsAccountExists(Constants::ADMIN_LOCAL_ID, isExistsAccount);
1504 + Constants::ADMIN_LOCAL_ID;
1774 ErrCode ret = innerMgrService_->DeactivateOsAccountById(Constants::ADMIN_LOCAL_ID);
/ohos5.0/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp920 if (localId < Constants::ADMIN_LOCAL_ID) { in IsOsAccountForeground()
929 if (localId < Constants::ADMIN_LOCAL_ID) { in IsOsAccountForeground()
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp636 …EXPECT_EQ(OsAccountManager::IsOsAccountActived(Constants::ADMIN_LOCAL_ID, isOsAccountActived), ERR…