Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRoleObserverTest.java96 private NotificationManagerService.RoleObserver mRoleObserver; field in RoleObserverTest
149 mRoleObserver = mService.new RoleObserver(mContext, mRoleManager, mPm, mMainLooper); in setUp()
214 mRoleObserver.init(); in testInit_forNonBlockableDefaultApps()
217 assertTrue(mRoleObserver.isApprovedPackageForRoleForUser( in testInit_forNonBlockableDefaultApps()
219 assertFalse(mRoleObserver.isApprovedPackageForRoleForUser( in testInit_forNonBlockableDefaultApps()
222 assertTrue(mRoleObserver.isApprovedPackageForRoleForUser( in testInit_forNonBlockableDefaultApps()
224 assertFalse(mRoleObserver.isApprovedPackageForRoleForUser( in testInit_forNonBlockableDefaultApps()
244 mRoleObserver.init(); in testInit_forTrampolines()
246 assertTrue(mRoleObserver.isUidExemptFromTrampolineRestrictions(30)); in testInit_forTrampolines()
263 mRoleObserver.init(); in testSwapDefault_forNonBlockableDefaultApps()
[all …]
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java126 mRoleObserver = new RoleObserver(); in SliceManagerService()
566 private RoleObserver mRoleObserver; field in SliceManagerService
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java349 mServiceStub.mRoleObserver.onRoleHoldersChanged(RoleManager.ROLE_ASSISTANT, in onPreCreatedUserConversion()
419 private final RoleObserver mRoleObserver; field in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub
423 mRoleObserver = new RoleObserver(mContext.getMainExecutor()); in VoiceInteractionManagerServiceStub()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java622 private volatile RoleObserver mRoleObserver; field in NotificationManagerService
2675 if (mRoleObserver != null) { in onDestroy()
2676 mRoleObserver.destroy(); in onDestroy()
2911 mRoleObserver = roleObserver;
12950 if (mRoleObserver != null && mRoleObserver.isUidExemptFromTrampolineRestrictions(uid)) {
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1671 mRoleObserver = new RoleObserver(); in onSystemReady()
1672 mRoleObserver.register(); in onSystemReady()
1747 RoleObserver mRoleObserver; field in AudioService
2820 if (mRoleObserver != null) { in updateAssistantUIdLocked()
2821 packageName = mRoleObserver.getAssistantRoleHolder(); in updateAssistantUIdLocked()