Home
last modified time | relevance | path

Searched refs:mRm (Results 1 – 4 of 4) 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/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java1303 private RoleManager mRm = mContext.getSystemService(RoleManager.class); field in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub.RoleObserver
1306 mRm.addOnRoleHoldersChangedListenerAsUser(executor, this, UserHandle.ALL); in RoleObserver()
1308 if (mRm.isRoleAvailable(RoleManager.ROLE_ASSISTANT)) { in RoleObserver()
1342 List<String> roleHolders = mRm.getRoleHoldersAsUser(roleName, user); in onRoleHoldersChanged()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java912 private RoleManager mRm; field in AudioService.RoleObserver
920 mRm = (RoleManager) mContext.getSystemService(Context.ROLE_SERVICE); in register()
921 if (mRm != null) { in register()
922 mRm.addOnRoleHoldersChangedListenerAsUser(mExecutor, this, UserHandle.ALL); in register()
936 if (mRm != null) { in getAssistantRoleHolder()
937 List<String> assistants = mRm.getRoleHolders(RoleManager.ROLE_ASSISTANT); in getAssistantRoleHolder()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java8518 private final RoleManager mRm;
8525 mRm = roleManager;
8538 ArraySet<String> approvedForUserId = new ArraySet<>(mRm.getRoleHoldersAsUser(
8549 mRm.addOnRoleHoldersChangedListenerAsUser(mExecutor, this, UserHandle.ALL);
8579 ArraySet<String> roleHolders = new ArraySet<>(mRm.getRoleHoldersAsUser(roleName, user));