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.java82 private NotificationManagerService.RoleObserver mRoleObserver; field in RoleObserverTest
130 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 …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java901 mRoleObserver = new RoleObserver(); in onSystemReady()
902 mRoleObserver.register(); in onSystemReady()
909 RoleObserver mRoleObserver; field in AudioService
1481 if (mRoleObserver != null) { in updateAssistantUId()
1482 packageName = mRoleObserver.getAssistantRoleHolder(); in updateAssistantUId()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java375 private RoleObserver mRoleObserver; field in NotificationManagerService
1962 mRoleObserver = new RoleObserver(getContext().getSystemService(RoleManager.class),
1964 mRoleObserver.init();