Home
last modified time | relevance | path

Searched refs:umi (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java226 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in AbstractMasterSystemService() local
230 final boolean disabled = umi.getUserRestriction(userId, disallowProperty); in AbstractMasterSystemService()
236 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> { in AbstractMasterSystemService()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java184 private UserManagerInternal umi; in BatteryStatsService()
187 if (umi == null) { in BatteryStatsService()
188 umi = LocalServices.getService(UserManagerInternal.class); in BatteryStatsService()
190 return (umi != null) ? umi.getUserIds() : null; in BatteryStatsService()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java294 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in startStateMachineUpdaters() local
296 if (umi != null) { in startStateMachineUpdaters()
297 umi.addUserRestrictionsListener(new TetheringUserRestrictionListener(this)); in startStateMachineUpdaters()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1121 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in cancelJobsForNonExistentUsers() local
1123 mJobs.removeJobsOfNonUsers(umi.getUserIds()); in cancelJobsForNonExistentUsers()