Home
last modified time | relevance | path

Searched refs:getPrimaryUser (Results 1 – 12 of 12) 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.aidl56 UserInfo getPrimaryUser(); in getPrimaryUser() method
DUserManager.java2487 public @Nullable UserInfo getPrimaryUser() { in getPrimaryUser() method in UserManager
2489 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.java674 public UserInfo getPrimaryUser() { in getPrimaryUser() method in UserManagerService
2884 && !isGuest && !isManagedProfile && getPrimaryUser() == null) { in createUserInternalUncheckedNoTracing()
/frameworks/base/services/
Dart-profile11781 HSPLcom/android/server/pm/UserManagerService;->getPrimaryUser()Landroid/content/pm/UserInfo;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt51093 Landroid/os/IUserManager$Stub$Proxy;->getPrimaryUser()Landroid/content/pm/UserInfo;
51216 Landroid/os/IUserManager;->getPrimaryUser()Landroid/content/pm/UserInfo;
53939 Landroid/os/UserManager;->getPrimaryUser()Landroid/content/pm/UserInfo;
Dboot-image-profile.txt12352 HSPLandroid/os/UserManager;->getPrimaryUser()Landroid/content/pm/UserInfo;