/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceIdRecyclingTest.java | 52 private UserManagerService mUserManagerService; 65 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup() 71 for (int i = UserManagerService.MIN_USER_ID; i < UserManagerService.MAX_USER_ID; i++) { in testUserCreateRecycleIdsAddAllThenRemove() 79 int startFrom = UserManagerService.MIN_USER_ID + 10000 /* arbitrary number */; in testUserCreateRecycleIdsAddAllThenRemove() 80 int lastId = startFrom + UserManagerService.MAX_RECENTLY_REMOVED_IDS_SIZE; in testUserCreateRecycleIdsAddAllThenRemove() 88 removeUser(UserManagerService.MIN_USER_ID); in testUserCreateRecycleIdsAddAllThenRemove() 99 for (int i = 0; i < UserManagerService.MAX_USER_ID * 2; i++) { in testUserCreateRecycleIdsOverflow() 103 if (queue.size() > UserManagerService.MAX_RECENTLY_REMOVED_IDS_SIZE) { in testUserCreateRecycleIdsOverflow()
|
D | UserManagerServiceUserTypeTest.java | 177 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST)); in testCheckUserTypeConsistency() 178 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST | FLAG_EPHEMERAL)); in testCheckUserTypeConsistency() 179 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE)); in testCheckUserTypeConsistency() 181 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_DEMO | FLAG_RESTRICTED)); in testCheckUserTypeConsistency() 182 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE | FLAG_SYSTEM)); in testCheckUserTypeConsistency() 183 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE | FLAG_FULL)); in testCheckUserTypeConsistency()
|
D | UserManagerServiceTest.java | 62 UserManagerService.writeApplicationRestrictionsLAr(bundle, atomicFile); in testWriteReadApplicationRestrictions() 66 bundle = UserManagerService.readApplicationRestrictionsLAr(atomicFile); in testWriteReadApplicationRestrictions()
|
D | UserManagerServiceUserInfoTest.java | 54 import com.android.server.pm.UserManagerService.UserData; 73 private UserManagerService mUserManagerService; 86 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
|
D | UserManagerServiceCreateProfileTest.java | 55 private UserManagerService mUserManagerService; 68 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup() 295 UserManagerService userManagerServiceSpy = Mockito.spy(mUserManagerService); in testCreateManagedProfileForUser_maxManagedUsersException()
|
D | PackageManagerSettingsTests.java | 505 UserManagerService.getInstance(), in testUpdatePackageSetting01() 539 UserManagerService.getInstance(), in testUpdatePackageSetting02() 579 UserManagerService.getInstance(), in testUpdatePackageSetting03() 612 UserManagerService.getInstance(), in testCreateNewSetting01() 652 UserManagerService.getInstance(), in testCreateNewSetting02() 698 UserManagerService.getInstance(), in testCreateNewSetting03() 741 UserManagerService.getInstance(), in testCreateNewSetting04() 1071 new UserManagerService(InstrumentationRegistry.getContext()); in createUserManagerServiceRef()
|
D | UserSystemPackageInstallerTest.java | 106 UserManagerService ums = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
|
/frameworks/base/services/core/java/com/android/server/telecom/ |
D | TelecomLoaderService.java | 41 import com.android.server.pm.UserManagerService; 226 for (int userId : UserManagerService.getInstance().getUserIds()) { in registerCarrierConfigChangedReceiver()
|
/frameworks/base/services/ |
D | art-profile-boot | 99 Lcom/android/server/pm/UserManagerService;->getUsers(Z)Ljava/util/List; 115 Lcom/android/server/pm/UserManagerService;->getInstance()Lcom/android/server/pm/UserManagerService; 143 …/PackageManagerService$Injector;->getUserManagerService()Lcom/android/server/pm/UserManagerService; 151 Lcom/android/server/pm/UserManagerService;->getInternalForInjectorOnly()Landroid/os/UserManagerInte… 152 …/String;Ljava/lang/String;IILjava/util/List;Lcom/android/server/pm/UserManagerService;[Ljava/lang/… 194 Lcom/android/server/pm/UserManagerService;->getUserIds()[I 244 Lcom/android/server/pm/UserManagerService$LocalService;->exists(I)Z 245 Lcom/android/server/pm/UserManagerService;->access$2900(Lcom/android/server/pm/UserManagerService;I… 246 Lcom/android/server/pm/UserManagerService;->getUserInfoNoChecks(I)Landroid/content/pm/UserInfo; 247 Lcom/android/server/pm/UserManagerService;->exists(I)Z [all …]
|
D | art-profile | 7790 …roid/server/am/UserController$Injector;->getUserManager()Lcom/android/server/pm/UserManagerService; 23511 …ndroid/server/pm/-$$Lambda$UserManagerService$1$DQ_02g7kZ7QrJXO6aCATwE6DYCE;-><init>(Lcom/android/… 23512 PLcom/android/server/pm/-$$Lambda$UserManagerService$1$DQ_02g7kZ7QrJXO6aCATwE6DYCE;->run()V 23513 …$$Lambda$UserManagerService$DisableQuietModeUserUnlockedCallback$Xj5Vf2ikWbZ5QWza6wyZQhLIFdE;-><in… 23514 PLcom/android/server/pm/-$$Lambda$UserManagerService$DisableQuietModeUserUnlockedCallback$Xj5Vf2ikW… 23515 HSPLcom/android/server/pm/-$$Lambda$UserManagerService$s1AxethOTPU7NQ5LXxyP4etLk7E;-><init>(Landroi… 23516 HSPLcom/android/server/pm/-$$Lambda$UserManagerService$s1AxethOTPU7NQ5LXxyP4etLk7E;->onUserRestrict… 23781 HSPLcom/android/server/pm/ComponentResolver;-><init>(Lcom/android/server/pm/UserManagerService;Land… 23782 …PLcom/android/server/pm/ComponentResolver;->access$1100()Lcom/android/server/pm/UserManagerService; 24588 …/PackageManagerService$Injector;->getUserManagerService()Lcom/android/server/pm/UserManagerService; [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserSystemPackageInstaller.java | 155 private final UserManagerService mUm; 165 UserSystemPackageInstaller(UserManagerService um, ArrayMap<String, UserTypeDetails> userTypes) { in UserSystemPackageInstaller() 181 UserSystemPackageInstaller(UserManagerService ums, ArrayMap<String, Long> whitelist, in UserSystemPackageInstaller()
|
D | UserManagerService.java | 155 public class UserManagerService extends IUserManager.Stub { class 521 private static UserManagerService sInstance; 523 public static UserManagerService getInstance() { in getInstance() 524 synchronized (UserManagerService.class) { in getInstance() 531 private UserManagerService mUms; 542 mUms = UserManagerService.getInstance(); in onStart() 591 UserManagerService(Context context) { in UserManagerService() method in UserManagerService 600 UserManagerService(Context context, PackageManagerService pm, UserDataPreparer userDataPreparer, in UserManagerService() method in UserManagerService 605 private UserManagerService(Context context, PackageManagerService pm, in UserManagerService() method in UserManagerService 4863 UserManagerService.this.setDevicePolicyUserRestrictionsInner(originatingUserId, in setDevicePolicyUserRestrictions() [all …]
|
D | OWNERS | 33 per-file UserManagerService.java = omakoto@google.com, yamasani@google.com
|
D | Settings.java | 640 boolean virtualPreload, UserManagerService userManager, in createNewSetting() 761 @NonNull UserManagerService userManager, in updatePackageSetting() 889 final List<UserInfo> allUsers = getAllUsers(UserManagerService.getInstance()); in writeUserRestrictionsLPw() 903 static boolean isAdbInstallDisallowed(UserManagerService userManager, int userId) { in isAdbInstallDisallowed() 1333 List<UserInfo> users = getAllUsers(UserManagerService.getInstance()); in writeAllUsersPackageRestrictionsLPr() 1342 for (int userId : UserManagerService.getInstance().getUserIds()) { in writeAllRuntimePermissionsLPr() 2712 final List<UserInfo> users = getUsers(UserManagerService.getInstance(), true); in writePackageListLPrInternal() 4456 private static List<UserInfo> getAllUsers(UserManagerService userManager) { in getAllUsers() 4467 private static List<UserInfo> getUsers(UserManagerService userManager, boolean excludeDying) { in getUsers() 4993 List<UserInfo> users = getAllUsers(UserManagerService.getInstance()); in dumpPackagesLPr() [all …]
|
D | UserRestrictionsUtils.java | 512 if (UserManagerService.DBG) { in applyUserRestriction()
|
D | ComponentResolver.java | 129 private static UserManagerService sUserManager; 201 ComponentResolver(UserManagerService userManager, in ComponentResolver()
|
D | InstantAppRegistry.java | 782 for (int userId : UserManagerService.getInstance().getUserIds()) { in pruneInstantApps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 83 import com.android.server.pm.UserManagerService; 628 public final UserManagerService mUserManagerMock; 646 mUserManagerMock = mock(UserManagerService.class); in TestInjector() 663 protected UserManagerService getUserManager() { in getUserManager()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 77 import com.android.server.pm.UserManagerService; 479 final UserManagerService ums = mock(UserManagerService.class);
|
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/ |
D | PackageManagerComponentLabelIconOverrideTest.kt | 30 import com.android.server.pm.UserManagerService in <lambda>() 319 val mockUserManagerService: UserManagerService = mockThrowOnUnmocked { in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemService.java | 35 import com.android.server.pm.UserManagerService;
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerService.java | 71 import com.android.server.pm.UserManagerService; 231 private final UserManagerService mUserManager; 248 mUserManager = UserManagerService.getInstance(); in OverlayManagerService()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 144 import com.android.server.pm.UserManagerService; 1689 for (final int userId : UserManagerService.getInstance().getUserIds()) { in resetRuntimePermissions() 2519 final int[] currentUserIds = UserManagerService.getInstance().getUserIds(); in restorePermissionState() 2590 ps.getSharedUser(), UserManagerService.getInstance().getUserIds()); in restorePermissionState() 2743 for (int userId : UserManagerService.getInstance().getUserIds()) { in restorePermissionState() 3091 int[] users = UserManagerService.getInstance().getUserIds(); in revokePermissionsNoLongerImplicitLocked() 3200 return UserManagerService.getInstance().getUserIds(); in checkIfLegacyStorageOpsNeedToBeUpdated() 3254 int[] users = UserManagerService.getInstance().getUserIds(); in setInitialGrantForNewImplicitPermissionsLocked() 4482 return UserManagerService.getInstance().isSameProfileGroup(callerUserId, userId); in isSameProfileGroup() 4562 for (int userId : UserManagerService.getInstance().getUserIds()) { in systemReady()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 105 import com.android.server.pm.UserManagerService; 2216 UserManagerService ums = mInjector.getUserManager(); 2711 private UserManagerService mUserManager; 2770 protected UserManagerService getUserManager() { 2773 mUserManager = (UserManagerService) IUserManager.Stub.asInterface(b);
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 146 import com.android.server.pm.UserManagerService; 892 mSystemServiceManager.startService(UserManagerService.LifeCycle.class); in startBootstrapServices()
|