Home
last modified time | relevance | path

Searched refs:mRm (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/
DRestrictionsManagerTest.java32 private RestrictionsManager mRm; field in RestrictionsManagerTest
37 mRm = (RestrictionsManager) mContext.getSystemService(Context.RESTRICTIONS_SERVICE); in setUp()
42 List<RestrictionEntry> manifestRestrictions = mRm.getManifestRestrictions(packageName); in testGetManifestRestrictions()
71 List<RestrictionEntry> manifestRestrictions = mRm.getManifestRestrictions(packageName); in testConvertRestrictionsToBundle()
83 List<RestrictionEntry> manifestRestrictions = mRm.getManifestRestrictions(packageName); in testConvertRestrictionsToBundle_bundleArray()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java569 private RoleManager mRm; field in SliceManagerService.RoleObserver
578 mRm = mContext.getSystemService(RoleManager.class); in register()
579 if (mRm != null) { in register()
580 mRm.addOnRoleHoldersChangedListenerAsUser(mExecutor, this, UserHandle.ALL); in register()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java2393 private RoleManager mRm = mContext.getSystemService(RoleManager.class); field in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub.RoleObserver
2396 mRm.addOnRoleHoldersChangedListenerAsUser(executor, this, UserHandle.ALL); in RoleObserver()
2398 if (mRm.isRoleAvailable(RoleManager.ROLE_ASSISTANT)) { in RoleObserver()
2418 List<String> roleHolders = mRm.getRoleHoldersAsUser(roleName, user); in onRoleHoldersChanged()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1750 private RoleManager mRm; field in AudioService.RoleObserver
1758 mRm = (RoleManager) mContext.getSystemService(Context.ROLE_SERVICE); in register()
1759 if (mRm != null) { in register()
1760 mRm.addOnRoleHoldersChangedListenerAsUser(mExecutor, this, UserHandle.ALL); in register()
1778 if (mRm != null) { in getAssistantRoleHolder()
1779 List<String> assistants = mRm.getRoleHolders(RoleManager.ROLE_ASSISTANT); in getAssistantRoleHolder()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java12553 private final RoleManager mRm;
12560 mRm = roleManager;
12576 ArraySet<String> approvedForUserId = new ArraySet<>(mRm.getRoleHoldersAsUser(
12587 mRm.addOnRoleHoldersChangedListenerAsUser(mExecutor, this, UserHandle.ALL);
12591 mRm.removeOnRoleHoldersChangedListenerAsUser(this, UserHandle.ALL);
12632 ArraySet<String> roleHolders = new ArraySet<>(mRm.getRoleHoldersAsUser(roleName, user));
12689 for (String pkg : mRm.getRoleHoldersAsUser(RoleManager.ROLE_BROWSER, user)) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java22746 private RoleManager mRm;
22753 mRm = mContext.getSystemService(RoleManager.class);
22757 mRm.addOnRoleHoldersChangedListenerAsUser(mExecutor, this, UserHandle.ALL);
22799 mRm.removeRoleHolderAsUser(