Home
last modified time | relevance | path

Searched refs:getPrimaryUser (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java234 final int primaryUserId = mUserManager.getPrimaryUser().id; in testGetProfileParent()
250 final int primaryUserId = mUserManager.getPrimaryUser().id; in testAddManagedProfile()
265 final int primaryUserId = mUserManager.getPrimaryUser().id; in testAddManagedProfile_withDisallowedPackages()
288 final int primaryUserId = mUserManager.getPrimaryUser().id; in testAddManagedProfile_disallowedPackagesInstalledLater()
308 final int primaryUserId = mUserManager.getPrimaryUser().id; in testCreateUser_disallowAddUser()
323 final int primaryUserId = mUserManager.getPrimaryUser().id; in testCreateProfileForUser_disallowAddManagedProfile()
340 final int primaryUserId = mUserManager.getPrimaryUser().id; in testCreateProfileForUserEvenWhenDisallowed()
357 final int primaryUserId = mUserManager.getPrimaryUser().id; in testCreateProfileForUser_disallowAddUser()
396 final int primaryUserId = mUserManager.getPrimaryUser().id; in testGetUserCreationTime()
DUserManagerServiceCreateProfileTest.java178 addProfile(mUserManagerService.getPrimaryUser()); in testCanAddMoreManagedProfiles_removeProfile()
200 addProfile(mUserManagerService.getPrimaryUser(), true /* disabled */); in testCanAddMoreManagedProfiles_removeDisabledProfile()
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java120 UserInfo userInfo = getPrimaryUser(); in disableLockScreen()
184 UserInfo primaryUser = getPrimaryUser(); in configureUser()
192 private UserInfo getPrimaryUser() { in getPrimaryUser() method in TestHarnessModeService
194 return userManager.getPrimaryUser(); in getPrimaryUser()
306 return keyguardManager.isDeviceSecure(getPrimaryUser().id); in isDeviceSecure()
/frameworks/base/core/java/android/os/
DIUserManager.aidl55 UserInfo getPrimaryUser(); in getPrimaryUser() method
DUserManager.java2424 public @Nullable UserInfo getPrimaryUser() { in getPrimaryUser() method in UserManager
2426 return mService.getPrimaryUser(); in getPrimaryUser()
/frameworks/base/services/core/java/com/android/server/os/
DBugreportManagerServiceImpl.java139 UserInfo primaryUser = UserManager.get(mContext).getPrimaryUser(); in ensureIsPrimaryUser()
/frameworks/base/services/core/java/com/android/server/incident/
DIncidentCompanionService.java432 final UserInfo primaryUser = um.getPrimaryUser(); in getAndValidateUser()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistLoggingHandler.java141 Context.USER_SERVICE)).getPrimaryUser(); in getPrimaryUserId()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java634 public UserInfo getPrimaryUser() { in getPrimaryUser() method in UserManagerService
2739 && !isGuest && !isManagedProfile && getPrimaryUser() == null) { in createUserInternalUnchecked()
/frameworks/base/services/
Dart-profile11781 HSPLcom/android/server/pm/UserManagerService;->getPrimaryUser()Landroid/content/pm/UserInfo;