/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/ |
D | CarActivityInterceptor.java | 77 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in getBuiltinInterface() 78 int userId = umi.getUserAssignedToDisplay(displayId); in getBuiltinInterface() 84 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in getBuiltinInterface() local 85 int displayId = umi.getMainDisplayAssignedToUser(userId); in getBuiltinInterface()
|
D | CarServiceHelperService.java | 272 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in CarServiceHelperService() local 273 if (umi != null) { in CarServiceHelperService() 274 umi.addUserLifecycleListener(new UserLifecycleListener() { in CarServiceHelperService() 289 umi.addUserVisibilityListener(new UserVisibilityListener() { in CarServiceHelperService() 745 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in createUserEvenWhenDisallowed() local 747 UserInfo user = umi.createUserEvenWhenDisallowed(name, userType, flags, in createUserEvenWhenDisallowed() 762 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in getMainDisplayAssignedToUser() local 763 int displayId = umi.getMainDisplayAssignedToUser(userId); in getMainDisplayAssignedToUser() 772 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in getUserAssignedToDisplay() local 773 int userId = umi.getUserAssignedToDisplay(displayId); in getUserAssignedToDisplay() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | CommunalProfileInitializer.java | 74 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in removeCommunalProfileIfPresent() local 75 final int communalProfile = umi.getCommunalProfileId(); in removeCommunalProfileIfPresent() 80 final boolean removeSucceeded = umi.removeUserEvenWhenDisallowed(communalProfile); in removeCommunalProfileIfPresent()
|
D | HsumBootUserInitializer.java | 81 private HsumBootUserInitializer(UserManagerInternal umi, ActivityManagerService am, in HsumBootUserInitializer() argument 84 mUmi = umi; in HsumBootUserInitializer()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarLaunchParamsModifier.java | 239 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); 240 int userId = umi.getUserAssignedToDisplay(displayId); 246 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); 247 int displayId = umi.getMainDisplayAssignedToUser(userId);
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsCheckingServiceImpl.java | 600 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in upgradeScheduleExactAlarmLocked() local 605 final int[] userIds = umi.getUserIds(); in upgradeScheduleExactAlarmLocked() 637 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in resetUseFullScreenIntentLocked() local 645 final int[] userIds = umi.getUserIds(); in resetUseFullScreenIntentLocked()
|
D | AppOpsService.java | 1177 UserManagerInternal umi = getUserManagerInternal(); in initializeUidStates() local 1188 int[] userIds = umi.getUserIds(); in initializeUidStates()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/ |
D | SensorPrivacyServiceMockingTest.java | 217 UserManagerInternal umi = mock(UserManagerInternal.class); in migrateFromFile() local 218 doReturn(umi).when(() -> LocalServices.getService(UserManagerInternal.class)); in migrateFromFile() 219 doReturn(new int[] {0}).when(umi).getUserIds(); in migrateFromFile()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 339 final UserManagerInternal umi = mock(UserManagerInternal.class); 340 doReturn(umi).when(() -> LocalServices.getService(UserManagerInternal.class)); 345 when(umi.isUserVisible(anyInt())).thenAnswer(isUserVisibleAnswer); 346 when(umi.isUserVisible(anyInt(), anyInt())).thenAnswer(isUserVisibleAnswer);
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | FocusRequester.java | 175 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in isAlwaysVisibleUser() local 176 final UserProperties properties = umi.getUserProperties(UserHandle.getUserId(mCallingUid)); in isAlwaysVisibleUser()
|
D | AudioService.java | 11980 var umi = LocalServices.getService(UserManagerInternal.class); in initializeAudioServerPermissionProvider() local 11985 () -> umi.getUserIds() in initializeAudioServerPermissionProvider()
|
/frameworks/base/services/core/java/com/android/server/testharness/ |
D | TestHarnessModeService.java | 206 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in getMainUserId() local 207 int mainUserId = umi.getMainUserId(); in getMainUserId()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 1046 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in runListPackages() local 1047 userIds = umi.getUserIds(); in runListPackages() 1569 UserManagerInternal umi = in doRunInstall() local 1571 UserInfo userInfo = umi.getUserInfo(requestUserId); in doRunInstall() 2190 UserManagerInternal umi = in runUninstall() local 2192 UserInfo userInfo = umi.getUserInfo(userId); in runUninstall() 3209 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in removeUserAndWait() local 3210 umi.addUserLifecycleListener(listener); in removeUserAndWait() 3230 umi.removeUserLifecycleListener(listener); in removeUserAndWait() 4514 UserManagerInternal umi = in runArchive() local [all …]
|
/frameworks/base/services/core/java/com/android/server/infra/ |
D | AbstractMasterSystemService.java | 263 final UserManagerInternal umi = getUserManagerInternal(); in AbstractMasterSystemService() local 267 final boolean disabled = umi.getUserRestriction(userId, disallowProperty); in AbstractMasterSystemService() 273 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> { in AbstractMasterSystemService()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerService.java | 293 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in OverlayManagerService() local 294 umi.addUserLifecycleListener(new UserLifecycleListener()); in OverlayManagerService() 558 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in onReceive() local 559 UserInfo userInfo = umi.getUserInfo(userId); in onReceive()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 401 private UserManagerInternal umi; in BatteryStatsService() 404 if (umi == null) { in BatteryStatsService() 405 umi = LocalServices.getService(UserManagerInternal.class); in BatteryStatsService() 407 return (umi != null) ? umi.getUserIds() : null; in BatteryStatsService()
|
D | ActivityManagerShellCommand.java | 2484 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); 2486 final int parentUserId = umi.getProfileParentId(userId);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 1962 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in isAlwaysVisibleUser() local 1963 final UserProperties properties = umi.getUserProperties(userId); in isAlwaysVisibleUser()
|
D | ActivityRecord.java | 2165 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in ActivityRecord() local 2166 final UserProperties properties = umi.getUserProperties(mUserId); in ActivityRecord()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 3625 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in isSetWallpaperAllowed() local 3626 return !umi.hasUserRestriction(UserManager.DISALLOW_SET_WALLPAPER, callingUserId); in isSetWallpaperAllowed()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 2213 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); 2215 mJobs.removeJobsOfUnlistedUsers(umi.getUserIds());
|