Searched refs:mRoleObserver (Results 1 – 5 of 5) sorted by relevance
96 private NotificationManagerService.RoleObserver mRoleObserver; field in RoleObserverTest149 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 …]
126 mRoleObserver = new RoleObserver(); in SliceManagerService()566 private RoleObserver mRoleObserver; field in SliceManagerService
349 mServiceStub.mRoleObserver.onRoleHoldersChanged(RoleManager.ROLE_ASSISTANT, in onPreCreatedUserConversion()419 private final RoleObserver mRoleObserver; field in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub423 mRoleObserver = new RoleObserver(mContext.getMainExecutor()); in VoiceInteractionManagerServiceStub()
622 private volatile RoleObserver mRoleObserver; field in NotificationManagerService2675 if (mRoleObserver != null) { in onDestroy()2676 mRoleObserver.destroy(); in onDestroy()2911 mRoleObserver = roleObserver;12950 if (mRoleObserver != null && mRoleObserver.isUidExemptFromTrampolineRestrictions(uid)) {
1671 mRoleObserver = new RoleObserver(); in onSystemReady()1672 mRoleObserver.register(); in onSystemReady()1747 RoleObserver mRoleObserver; field in AudioService2820 if (mRoleObserver != null) { in updateAssistantUIdLocked()2821 packageName = mRoleObserver.getAssistantRoleHolder(); in updateAssistantUIdLocked()