Searched refs:isMainUserPermanentAdmin (Results 1 – 6 of 6) sorted by relevance
156 return isMainUserPermanentAdmin(); in onCommand()547 private int isMainUserPermanentAdmin() { in isMainUserPermanentAdmin() method in UserManagerServiceShellCommand549 boolean isMainUserPermanentAdmin = mService.isMainUserPermanentAdmin(); in isMainUserPermanentAdmin()550 pw.println(isMainUserPermanentAdmin); in isMainUserPermanentAdmin()
4195 if (!mainIsAlreadyNonSystem && isMainUserPermanentAdmin()) { in emulateSystemUserModeIfNeeded()4527 if (isMainUserPermanentAdmin()) { in upgradeIfNecessaryLP()8115 return userInfo.isMain() && isMainUserPermanentAdmin();8123 public boolean isMainUserPermanentAdmin() {
140 doReturn(false).when(mUserManagerService).isMainUserPermanentAdmin(); in testIsMainUserPermanentAdmin()
608 assumeTrue("Main user is not permanent admin", isMainUserPermanentAdmin()); in testRemoveUserWhenPossible_permanentAdminMainUserReturnsError()1964 private boolean isMainUserPermanentAdmin() { in isMainUserPermanentAdmin() method in UserManagerTest
151 public boolean isMainUserPermanentAdmin() { in isMainUserPermanentAdmin() method in LockSettingsServiceTestable.MockInjector
651 public boolean isMainUserPermanentAdmin() { in isMainUserPermanentAdmin() method in LockSettingsService.Injector2905 } else if (!mInjector.isMainUserPermanentAdmin() || !userInfo.isFull()) { in callToAuthSecretIfNeeded()