Home
last modified time | relevance | path

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

/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_file_operator.h34 ErrCode IsAllowedCreateAdmin(bool &isAllowedCreateAdmin);
H A Dios_account_control.h47 virtual ErrCode IsAllowedCreateAdmin(bool &isAllowedCreateAdmin) = 0;
H A Diinner_os_account.h78 virtual ErrCode IsAllowedCreateAdmin(bool &isAllowedCreateAdmin) = 0;
H A Dos_account_control_file_manager.h59 ErrCode IsAllowedCreateAdmin(bool &isAllowedCreateAdmin) override;
H A Diinner_os_account_manager.h83 ErrCode IsAllowedCreateAdmin(bool &isAllowedCreateAdmin) override;
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp142 bool isAllowedCreateAdmin = false; in ValidateAccountCreateParamAndPermission() local
143 ErrCode errCode = innerManager_.IsAllowedCreateAdmin(isAllowedCreateAdmin); in ValidateAccountCreateParamAndPermission()
148 if (!isAllowedCreateAdmin && type == OsAccountType::ADMIN) { in ValidateAccountCreateParamAndPermission()
171 bool isAllowedCreateAdmin = false; in CreateOsAccountWithFullInfo() local
172 ErrCode errCode = innerManager_.IsAllowedCreateAdmin(isAllowedCreateAdmin); in CreateOsAccountWithFullInfo()
177 if (!isAllowedCreateAdmin && (osAccountInfo.GetType() == OsAccountType::ADMIN)) { in CreateOsAccountWithFullInfo()
192 bool isAllowedCreateAdmin = false; in UpdateOsAccountWithFullInfo() local
193 ErrCode errCode = innerManager_.IsAllowedCreateAdmin(isAllowedCreateAdmin); in UpdateOsAccountWithFullInfo()
198 if (!isAllowedCreateAdmin && osAccountInfo.GetType() == OsAccountType::ADMIN) { in UpdateOsAccountWithFullInfo()
241 bool isAllowedCreateAdmin in CreateOsAccountForDomain() local
[all...]
H A Dos_account_file_operator.cpp179 ErrCode OsAccountFileOperator::IsAllowedCreateAdmin(bool &isAllowedCreateAdmin) in IsAllowedCreateAdmin() argument
188 isAllowedCreateAdmin, in IsAllowedCreateAdmin()
H A Dos_account_control_file_manager.cpp1610 ErrCode OsAccountControlFileManager::IsAllowedCreateAdmin(bool &isAllowedCreateAdmin) in IsAllowedCreateAdmin() argument
1612 return osAccountFileOperator_->IsAllowedCreateAdmin(isAllowedCreateAdmin); in IsAllowedCreateAdmin()
H A Dinner_os_account_manager.cpp2108 ErrCode IInnerOsAccountManager::IsAllowedCreateAdmin(bool &isAllowedCreateAdmin) in RetryToGetAccount() argument
2110 return osAccountControl_->IsAllowedCreateAdmin(isAllowedCreateAdmin); in RetryToGetAccount()
/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/
H A Dmock_os_account_control_file_manager.h66 ErrCode IsAllowedCreateAdmin(bool &isAllowedCreateAdmin) { return ERR_OK; } in IsAllowedCreateAdmin() argument

Completed in 11 milliseconds