Searched refs:umi (Results 1 – 4 of 4) sorted by relevance
226 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in AbstractMasterSystemService() local230 final boolean disabled = umi.getUserRestriction(userId, disallowProperty); in AbstractMasterSystemService()236 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> { in AbstractMasterSystemService()
184 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()
294 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in startStateMachineUpdaters() local296 if (umi != null) { in startStateMachineUpdaters()297 umi.addUserRestrictionsListener(new TetheringUserRestrictionListener(this)); in startStateMachineUpdaters()
1121 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in cancelJobsForNonExistentUsers() local1123 mJobs.removeJobsOfNonUsers(umi.getUserIds()); in cancelJobsForNonExistentUsers()