Searched refs:mRoleObserver (Results 1 – 3 of 3) sorted by relevance
82 private NotificationManagerService.RoleObserver mRoleObserver; field in RoleObserverTest130 mRoleObserver = mService.new RoleObserver(mRoleManager, mPm, mExecutor); in setUp()178 mRoleObserver.init(); in testInit()181 assertTrue(mRoleObserver.isApprovedPackageForRoleForUser( in testInit()183 assertFalse(mRoleObserver.isApprovedPackageForRoleForUser( in testInit()186 assertTrue(mRoleObserver.isApprovedPackageForRoleForUser( in testInit()188 assertFalse(mRoleObserver.isApprovedPackageForRoleForUser( in testInit()210 mRoleObserver.init(); in testSwapDefault()224 mRoleObserver.onRoleHoldersChanged(ROLE_DIALER, UserHandle.of(0)); in testSwapDefault()241 mRoleObserver.init(); in testSwapDefault_multipleOverlappingApps()[all …]
901 mRoleObserver = new RoleObserver(); in onSystemReady()902 mRoleObserver.register(); in onSystemReady()909 RoleObserver mRoleObserver; field in AudioService1481 if (mRoleObserver != null) { in updateAssistantUId()1482 packageName = mRoleObserver.getAssistantRoleHolder(); in updateAssistantUId()
375 private RoleObserver mRoleObserver; field in NotificationManagerService1962 mRoleObserver = new RoleObserver(getContext().getSystemService(RoleManager.class),1964 mRoleObserver.init();