Searched refs:mRoleObserver (Results 1 – 3 of 3) sorted by relevance
81 private NotificationManagerService.RoleObserver mRoleObserver; field in RoleObserverTest129 mRoleObserver = mService.new RoleObserver(mRoleManager, mPm, mExecutor); in setUp()177 mRoleObserver.init(); in testInit()180 assertTrue(mRoleObserver.isApprovedPackageForRoleForUser( in testInit()182 assertFalse(mRoleObserver.isApprovedPackageForRoleForUser( in testInit()185 assertTrue(mRoleObserver.isApprovedPackageForRoleForUser( in testInit()187 assertFalse(mRoleObserver.isApprovedPackageForRoleForUser( in testInit()209 mRoleObserver.init(); in testSwapDefault()223 mRoleObserver.onRoleHoldersChanged(ROLE_DIALER, UserHandle.of(0)); in testSwapDefault()240 mRoleObserver.init(); in testSwapDefault_multipleOverlappingApps()[all …]
899 mRoleObserver = new RoleObserver(); in onSystemReady()900 mRoleObserver.register(); in onSystemReady()905 RoleObserver mRoleObserver; field in AudioService1443 if (mRoleObserver != null) { in updateAssistantUId()1444 packageName = mRoleObserver.getAssistantRoleHolder(); in updateAssistantUId()
370 private RoleObserver mRoleObserver; field in NotificationManagerService1903 mRoleObserver = new RoleObserver(getContext().getSystemService(RoleManager.class),1905 mRoleObserver.init();