/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 | 82 import com.android.server.pm.UserManagerService; 540 public final UserManagerService mUserManagerMock; 558 mUserManagerMock = mock(UserManagerService.class); in TestInjector() 575 protected UserManagerService getUserManager() { in getUserManager()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTestsBase.java | 77 import com.android.server.pm.UserManagerService; 494 final UserManagerService ums = mock(UserManagerService.class); in TestActivityTaskManagerService()
|
/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/ |
D | UserManagerService.java | 145 public class UserManagerService extends IUserManager.Stub { class 457 private static UserManagerService sInstance; 459 public static UserManagerService getInstance() { in getInstance() 460 synchronized (UserManagerService.class) { in getInstance() 467 private UserManagerService mUms; 478 mUms = UserManagerService.getInstance(); in onStart() 527 UserManagerService(Context context) { in UserManagerService() method in UserManagerService 536 UserManagerService(Context context, PackageManagerService pm, UserDataPreparer userDataPreparer, in UserManagerService() method in UserManagerService 541 private UserManagerService(Context context, PackageManagerService pm, in UserManagerService() method in UserManagerService 4123 UserManagerService.this.setDevicePolicyUserRestrictionsInner(userId, restrictions, in setDevicePolicyUserRestrictions() [all …]
|
D | OWNERS | 33 per-file UserManagerService.java = bookatz@google.com, omakoto@google.com, yamasani@google.com
|
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() 4332 private static List<UserInfo> getAllUsers(UserManagerService userManager) { in getAllUsers() 4343 private static List<UserInfo> getUsers(UserManagerService userManager, boolean excludeDying) { in getUsers() 4827 List<UserInfo> users = getAllUsers(UserManagerService.getInstance()); in dumpPackagesLPr() [all …]
|
D | UserRestrictionsUtils.java | 509 if (UserManagerService.DBG) { in applyUserRestriction()
|
D | ComponentResolver.java | 118 private static UserManagerService sUserManager; 187 ComponentResolver(UserManagerService userManager, in ComponentResolver()
|
D | InstantAppRegistry.java | 773 for (int userId : UserManagerService.getInstance().getUserIds()) { in pruneInstantApps()
|
D | PackageManagerService.java | 1391 static UserManagerService sUserManager; 2559 sUserManager = new UserManagerService(context, this, in PackageManagerService() 3234 final int[] userIds = UserManagerService.getInstance().getUserIds(); in PackageManagerService() 5691 for (int userId : UserManagerService.getInstance().getUserIds()) { 11278 UserManagerService.getInstance(), usesStaticLibraries, 11294 pkg.getChildPackageNames(), UserManagerService.getInstance(), 18409 for (int userId : UserManagerService.getInstance().getUserIds()) { 20320 UserManagerService ums = UserManagerService.getInstance(); 21053 for (int userId : UserManagerService.getInstance().getUserIds()) { 21117 for (int userId : UserManagerService.getInstance().getUserIds()) { [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 98 import com.android.server.pm.UserManagerService; 896 final int[] currentUserIds = UserManagerService.getInstance().getUserIds(); in restorePermissionState() 916 ps.getSharedUser(), UserManagerService.getInstance().getUserIds()); in restorePermissionState() 1066 for (int userId : UserManagerService.getInstance().getUserIds()) { in restorePermissionState() 1410 int[] users = UserManagerService.getInstance().getUserIds(); in revokePermissionsNoLongerImplicitLocked() 1519 return UserManagerService.getInstance().getUserIds(); in checkIfLegacyStorageOpsNeedToBeUpdated() 1573 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; 1948 UserManagerService ums = mInjector.getUserManager(); 2249 private UserManagerService mUserManager; 2301 protected UserManagerService getUserManager() { 2304 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 | 135 import com.android.server.pm.UserManagerService; 803 mSystemServiceManager.startService(UserManagerService.LifeCycle.class); in startBootstrapServices()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 142 import com.android.server.pm.UserManagerService; 5809 UserInfo userInfo = UserManagerService.getInstance().getUserInfo(userId); in onReceive() 5812 UserManagerService.getInstance().setUserRestriction( in onReceive() 5817 UserManagerService.getInstance().setUserRestriction( in onReceive()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 269 import com.android.server.pm.UserManagerService; 378 private UserManagerService mUserManager; 870 UserManagerService getUserManager() { in getUserManager() 873 mUserManager = (UserManagerService) IUserManager.Stub.asInterface(b); in getUserManager()
|