Searched refs:mRm (Results 1 – 4 of 4) sorted by relevance
32 private RestrictionsManager mRm; field in RestrictionsManagerTest37 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()
1303 private RoleManager mRm = mContext.getSystemService(RoleManager.class); field in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub.RoleObserver1306 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()
912 private RoleManager mRm; field in AudioService.RoleObserver920 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()
8518 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));