Home
last modified time | relevance | path

Searched refs:isMainUserPermanentAdmin (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerServiceShellCommand.java156 return isMainUserPermanentAdmin(); in onCommand()
547 private int isMainUserPermanentAdmin() { in isMainUserPermanentAdmin() method in UserManagerServiceShellCommand
549 boolean isMainUserPermanentAdmin = mService.isMainUserPermanentAdmin(); in isMainUserPermanentAdmin()
550 pw.println(isMainUserPermanentAdmin); in isMainUserPermanentAdmin()
DUserManagerService.java4195 if (!mainIsAlreadyNonSystem && isMainUserPermanentAdmin()) { in emulateSystemUserModeIfNeeded()
4527 if (isMainUserPermanentAdmin()) { in upgradeIfNecessaryLP()
8115 return userInfo.isMain() && isMainUserPermanentAdmin();
8123 public boolean isMainUserPermanentAdmin() {
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceShellCommandTest.java140 doReturn(false).when(mUserManagerService).isMainUserPermanentAdmin(); in testIsMainUserPermanentAdmin()
DUserManagerTest.java608 assumeTrue("Main user is not permanent admin", isMainUserPermanentAdmin()); in testRemoveUserWhenPossible_permanentAdminMainUserReturnsError()
1964 private boolean isMainUserPermanentAdmin() { in isMainUserPermanentAdmin() method in UserManagerTest
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java151 public boolean isMainUserPermanentAdmin() { in isMainUserPermanentAdmin() method in LockSettingsServiceTestable.MockInjector
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java651 public boolean isMainUserPermanentAdmin() { in isMainUserPermanentAdmin() method in LockSettingsService.Injector
2905 } else if (!mInjector.isMainUserPermanentAdmin() || !userInfo.isFull()) { in callToAuthSecretIfNeeded()