Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java175 final int primaryUserId = mUserManager.getPrimaryUser().id; in testGetProfileParent()
191 final int primaryUserId = mUserManager.getPrimaryUser().id; in testAddManagedProfile()
206 final int primaryUserId = mUserManager.getPrimaryUser().id; in testAddManagedProfile_withDisallowedPackages()
229 final int primaryUserId = mUserManager.getPrimaryUser().id; in testAddManagedProfile_disallowedPackagesInstalledLater()
249 final int primaryUserId = mUserManager.getPrimaryUser().id; in testCreateUser_disallowAddUser()
264 final int primaryUserId = mUserManager.getPrimaryUser().id; in testCreateProfileForUser_disallowAddManagedProfile()
281 final int primaryUserId = mUserManager.getPrimaryUser().id; in testCreateProfileForUserEvenWhenDisallowed()
298 final int primaryUserId = mUserManager.getPrimaryUser().id; in testCreateProfileForUser_disallowAddUser()
332 final int primaryUserId = mUserManager.getPrimaryUser().id; in testGetUserCreationTime()
DUserManagerServiceCreateProfileTest.java177 addProfile(mUserManagerService.getPrimaryUser()); in testCanAddMoreManagedProfiles_removeProfile()
199 addProfile(mUserManagerService.getPrimaryUser(), true /* disabled */); in testCanAddMoreManagedProfiles_removeDisabledProfile()
/frameworks/base/core/java/android/os/
DIUserManager.aidl50 UserInfo getPrimaryUser(); in getPrimaryUser() method
DUserManager.java1839 public @Nullable UserInfo getPrimaryUser() { in getPrimaryUser() method in UserManager
1841 return mService.getPrimaryUser(); in getPrimaryUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java555 public UserInfo getPrimaryUser() { in getPrimaryUser() method in UserManagerService
2450 && !isGuest && !isManagedProfile && getPrimaryUser() == null) { in createUserInternalUnchecked()