Home
last modified time | relevance | path

Searched refs:mRoleObserver (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRoleObserverTest.java81 private NotificationManagerService.RoleObserver mRoleObserver; field in RoleObserverTest
129 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 …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java899 mRoleObserver = new RoleObserver(); in onSystemReady()
900 mRoleObserver.register(); in onSystemReady()
905 RoleObserver mRoleObserver; field in AudioService
1443 if (mRoleObserver != null) { in updateAssistantUId()
1444 packageName = mRoleObserver.getAssistantRoleHolder(); in updateAssistantUId()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java370 private RoleObserver mRoleObserver; field in NotificationManagerService
1903 mRoleObserver = new RoleObserver(getContext().getSystemService(RoleManager.class),
1905 mRoleObserver.init();