/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceIdRecyclingTest.java | 51 private UserManagerService mUserManagerService; 61 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup() 67 for (int i = UserManagerService.MIN_USER_ID; i < UserManagerService.MAX_USER_ID; i++) { in testUserCreateRecycleIdsAddAllThenRemove() 75 int startFrom = UserManagerService.MIN_USER_ID + 10000 /* arbitrary number */; in testUserCreateRecycleIdsAddAllThenRemove() 76 int lastId = startFrom + UserManagerService.MAX_RECENTLY_REMOVED_IDS_SIZE; in testUserCreateRecycleIdsAddAllThenRemove() 84 removeUser(UserManagerService.MIN_USER_ID); in testUserCreateRecycleIdsAddAllThenRemove() 95 for (int i = 0; i < UserManagerService.MAX_USER_ID * 2; i++) { in testUserCreateRecycleIdsOverflow() 99 if (queue.size() > UserManagerService.MAX_RECENTLY_REMOVED_IDS_SIZE) { in testUserCreateRecycleIdsOverflow()
|
D | UserManagerServiceCreateProfileTest.java | 50 private UserManagerService mUserManagerService; 60 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup() 126 for (int i = 0; i < UserManagerService.getMaxManagedProfiles(); ++i) { in testProfileBadgeUnique() 147 if (UserManagerService.getMaxManagedProfiles() > 2) { in testProfileBadgeReuse() 159 UserManagerService.MAX_MANAGED_PROFILES in testNumberOfBadges()
|
D | UserManagerServiceUserInfoTest.java | 35 import com.android.server.pm.UserManagerService.UserData; 54 private UserManagerService mUserManagerService; 64 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
|
D | UserManagerServiceTest.java | 58 UserManagerService.writeApplicationRestrictionsLAr(bundle, atomicFile); in testWriteReadApplicationRestrictions() 62 bundle = UserManagerService.readApplicationRestrictionsLAr(atomicFile); in testWriteReadApplicationRestrictions()
|
D | PackageManagerSettingsTests.java | 455 UserManagerService.getInstance(), in testUpdatePackageSetting01() 489 UserManagerService.getInstance(), in testUpdatePackageSetting02() 530 UserManagerService.getInstance(), in testUpdatePackageSetting03() 564 UserManagerService.getInstance(), in testCreateNewSetting01() 605 UserManagerService.getInstance(), in testCreateNewSetting02() 653 UserManagerService.getInstance(), in testCreateNewSetting03() 697 UserManagerService.getInstance(), in testCreateNewSetting04() 1010 new UserManagerService(InstrumentationRegistry.getContext()); in createUserManagerServiceRef()
|
/frameworks/base/services/core/java/com/android/server/telecom/ |
D | TelecomLoaderService.java | 41 import com.android.server.pm.UserManagerService; 232 for (int userId : UserManagerService.getInstance().getUserIds()) { in registerCarrierConfigChangedReceiver()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 80 import com.android.server.pm.UserManagerService; 502 public final UserManagerService mUserManagerMock; 520 mUserManagerMock = mock(UserManagerService.class); in TestInjector() 537 protected UserManagerService getUserManager() { in getUserManager()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | OWNERS | 33 per-file UserManagerService.java = omakoto@google.com, yamasani@google.com
|
D | UserManagerService.java | 139 public class UserManagerService extends IUserManager.Stub { class 449 private static UserManagerService sInstance; 451 public static UserManagerService getInstance() { in getInstance() 452 synchronized (UserManagerService.class) { in getInstance() 459 private UserManagerService mUms; 470 mUms = UserManagerService.getInstance(); in onStart() 515 UserManagerService(Context context) { in UserManagerService() method in UserManagerService 524 UserManagerService(Context context, PackageManagerService pm, UserDataPreparer userDataPreparer, in UserManagerService() method in UserManagerService 529 private UserManagerService(Context context, PackageManagerService pm, in UserManagerService() method in UserManagerService 3831 UserManagerService.this.setDevicePolicyUserRestrictionsInner(userId, restrictions, in setDevicePolicyUserRestrictions() [all …]
|
D | Settings.java | 600 UserManagerService userManager, in createNewSetting() 716 @Nullable List<String> childPkgNames, @NonNull UserManagerService userManager, in updatePackageSetting() 844 final List<UserInfo> allUsers = getAllUsers(UserManagerService.getInstance()); in writeUserRestrictionsLPw() 858 static boolean isAdbInstallDisallowed(UserManagerService userManager, int userId) { in isAdbInstallDisallowed() 1290 List<UserInfo> users = getAllUsers(UserManagerService.getInstance()); in writeAllUsersPackageRestrictionsLPr() 1299 for (int userId : UserManagerService.getInstance().getUserIds()) { in writeAllRuntimePermissionsLPr() 2652 final List<UserInfo> users = getUsers(UserManagerService.getInstance(), true); in writePackageListLPrInternal() 4327 private static List<UserInfo> getAllUsers(UserManagerService userManager) { in getAllUsers() 4338 private static List<UserInfo> getUsers(UserManagerService userManager, boolean excludeDying) { in getUsers() 4822 List<UserInfo> users = getAllUsers(UserManagerService.getInstance()); in dumpPackagesLPr() [all …]
|
D | UserRestrictionsUtils.java | 509 if (UserManagerService.DBG) { in applyUserRestriction()
|
D | ComponentResolver.java | 117 private static UserManagerService sUserManager; 186 ComponentResolver(UserManagerService userManager, in ComponentResolver()
|
D | InstantAppRegistry.java | 774 for (int userId : UserManagerService.getInstance().getUserIds()) { in pruneInstantApps()
|
D | PackageManagerService.java | 1346 static UserManagerService sUserManager; 2411 sUserManager = new UserManagerService(context, this, in PackageManagerService() 3309 final int[] userIds = UserManagerService.getInstance().getUserIds(); in PackageManagerService() 5766 for (int userId : UserManagerService.getInstance().getUserIds()) { 11287 UserManagerService.getInstance(), usesStaticLibraries, 11303 pkg.getChildPackageNames(), UserManagerService.getInstance(), 18898 for (int userId : UserManagerService.getInstance().getUserIds()) { 20855 UserManagerService ums = UserManagerService.getInstance(); 21549 for (int userId : UserManagerService.getInstance().getUserIds()) { 21613 for (int userId : UserManagerService.getInstance().getUserIds()) { [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerService.java | 66 import com.android.server.pm.UserManagerService; 225 private final UserManagerService mUserManager; 241 mUserManager = UserManagerService.getInstance(); in OverlayManagerService()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 97 import com.android.server.pm.UserManagerService; 895 final int[] currentUserIds = UserManagerService.getInstance().getUserIds(); in restorePermissionState() 915 ps.getSharedUser(), UserManagerService.getInstance().getUserIds()); in restorePermissionState() 1063 for (int userId : UserManagerService.getInstance().getUserIds()) { in restorePermissionState() 1407 int[] users = UserManagerService.getInstance().getUserIds(); in revokePermissionsNoLongerImplicitLocked() 1516 return UserManagerService.getInstance().getUserIds(); in checkIfLegacyStorageOpsNeedToBeUpdated() 1570 int[] users = UserManagerService.getInstance().getUserIds(); in setInitialGrantForNewImplicitPermissionsLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 102 import com.android.server.pm.UserManagerService; 1903 UserManagerService ums = mInjector.getUserManager(); 2204 private UserManagerService mUserManager; 2256 protected UserManagerService getUserManager() { 2259 mUserManager = (UserManagerService) IUserManager.Stub.asInterface(b);
|
/frameworks/base/services/ |
D | art-profile | 3679 …roid/server/am/UserController$Injector;->getUserManager()Lcom/android/server/pm/UserManagerService; 10256 HSPLcom/android/server/pm/ComponentResolver;-><init>(Lcom/android/server/pm/UserManagerService;Land… 11339 …Handle;ZZZLjava/lang/String;Ljava/util/List;Lcom/android/server/pm/UserManagerService;[Ljava/lang/… 11354 HSPLcom/android/server/pm/Settings;->getAllUsers(Lcom/android/server/pm/UserManagerService;)Ljava/u… 11398 …/String;Ljava/lang/String;IILjava/util/List;Lcom/android/server/pm/UserManagerService;[Ljava/lang/… 11735 HSPLcom/android/server/pm/UserManagerService$2;->run()V 11736 HSPLcom/android/server/pm/UserManagerService$3;->run()V 11737 HSPLcom/android/server/pm/UserManagerService$LifeCycle;-><init>(Landroid/content/Context;)V 11738 HSPLcom/android/server/pm/UserManagerService$LifeCycle;->onBootPhase(I)V 11739 HSPLcom/android/server/pm/UserManagerService$LifeCycle;->onStart()V [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 127 import com.android.server.pm.UserManagerService; 769 mSystemServiceManager.startService(UserManagerService.LifeCycle.class); in startBootstrapServices()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 145 import com.android.server.pm.UserManagerService; 5689 UserInfo userInfo = UserManagerService.getInstance().getUserInfo(userId); in onReceive() 5692 UserManagerService.getInstance().setUserRestriction( in onReceive() 5697 UserManagerService.getInstance().setUserRestriction( in onReceive()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 266 import com.android.server.pm.UserManagerService; 375 private UserManagerService mUserManager; 867 UserManagerService getUserManager() { in getUserManager() 870 mUserManager = (UserManagerService) IUserManager.Stub.asInterface(b); in getUserManager()
|