Home
last modified time | relevance | path

Searched refs:mBackgroundExecutor (Results 1 – 25 of 34) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DFgsManagerControllerTest.java81 FakeExecutor mBackgroundExecutor; field in FgsManagerControllerTest
231 mBackgroundExecutor.advanceClockToLast(); in testNumPackagesListener()
232 mBackgroundExecutor.runAllReady(); in testNumPackagesListener()
237 mBackgroundExecutor.runAllReady(); in testNumPackagesListener()
242 mBackgroundExecutor.runAllReady(); in testNumPackagesListener()
247 mBackgroundExecutor.runAllReady(); in testNumPackagesListener()
319 mBackgroundExecutor, in testShowUserVisibleJobsOnCreation()
345 mBackgroundExecutor, in testShowUserVisibleJobsOnCreation()
400 mBackgroundExecutor.runAllReady(); in setShowStopButtonForUserAllowlistedApps()
413 mBackgroundExecutor.runAllReady(); in setShowUserVisibleJobs()
[all …]
H A DAutoAddTrackerTest.java76 private Executor mBackgroundExecutor = Runnable::run; // Direct executor field in AutoAddTrackerTest
307 mBackgroundExecutor, in createAutoAddTracker()
/aosp14/frameworks/base/services/core/java/com/android/server/app/
H A DGameServiceController.java48 private final Executor mBackgroundExecutor; field in GameServiceController
75 mBackgroundExecutor = backgroundExecutor; in GameServiceController()
85 mBackgroundExecutor.execute(this::evaluateActiveGameServiceProvider); in onBootComplete()
112 mBackgroundExecutor.execute(this::evaluateActiveGameServiceProvider); in notifyUserUnlocking()
133 mBackgroundExecutor.execute(this::evaluateActiveGameServiceProvider); in setGameServiceProvider()
145 mBackgroundExecutor.execute(this::evaluateActiveGameServiceProvider); in setCurrentForegroundUserAndEvaluateProvider()
239 mBackgroundExecutor.execute( in onReceive()
H A DGameServiceProviderInstanceImpl.java97 mBackgroundExecutor.execute(() -> {
127 mBackgroundExecutor.execute(() -> {
134 mBackgroundExecutor.execute(() -> {
141 mBackgroundExecutor.execute(() -> {
167 mBackgroundExecutor.execute(() -> {
174 mBackgroundExecutor.execute(() -> {
191 mBackgroundExecutor.execute(() -> {
224 private final Executor mBackgroundExecutor; field in GameServiceProviderInstanceImpl
264 mBackgroundExecutor = backgroundExecutor; in GameServiceProviderInstanceImpl()
561 }, mBackgroundExecutor); in createGameSessionLocked()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSystemBarsListenerController.java33 private final Executor mBackgroundExecutor; field in TaskSystemBarsListenerController
36 this.mBackgroundExecutor = BackgroundThread.getExecutor(); in TaskSystemBarsListenerController()
54 mBackgroundExecutor.execute(() -> { in dispatchTransientSystemBarVisibilityChanged()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
H A DWifiStateWorkerTest.java69 private FakeExecutor mBackgroundExecutor = new FakeExecutor(new FakeSystemClock()); field in WifiStateWorkerTest
78 mWifiStateWorker = new WifiStateWorker(mBroadcastDispatcher, mBackgroundExecutor, in setup()
80 mBackgroundExecutor.runAllReady(); in setup()
90 mWifiStateWorker = new WifiStateWorker(mBroadcastDispatcher, mBackgroundExecutor, in setWifiEnabled_wifiManagerIsNull_shouldNotSetWifiEnabled()
94 mBackgroundExecutor.runAllReady(); in setWifiEnabled_wifiManagerIsNull_shouldNotSetWifiEnabled()
102 mBackgroundExecutor.runAllReady(); in setWifiEnabled_enabledIsTrue_shouldSetWifiEnabled()
110 mBackgroundExecutor.runAllReady(); in setWifiEnabled_enabledIsFalse_shouldSetWifiDisabled()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DEmergencyButtonController.java69 private Executor mBackgroundExecutor; field in EmergencyButtonController
111 mBackgroundExecutor = backgroundExecutor; in EmergencyButtonController()
142 mBackgroundExecutor.execute(() -> { in updateEmergencyCallButton()
171 mBackgroundExecutor.execute(() -> { in takeEmergencyCallAction()
220 private final Executor mBackgroundExecutor; field in EmergencyButtonController.Factory
242 mBackgroundExecutor = backgroundExecutor; in Factory()
250 mMainExecutor, mBackgroundExecutor); in create()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
H A DWifiStateWorker.java52 private DelayableExecutor mBackgroundExecutor; field in WifiStateWorker
62 mBackgroundExecutor = backgroundExecutor; in WifiStateWorker()
65 mBackgroundExecutor.execute(() -> { in WifiStateWorker()
80 mBackgroundExecutor.execute(() -> { in setWifiEnabled()
H A DInternetDialog.java90 private final Executor mBackgroundExecutor; field in InternetDialog
182 mBackgroundExecutor = executor; in InternetDialog()
410 mBackgroundExecutor.execute(() -> { in setMobileDataLayout()
459 mBackgroundExecutor.execute(() -> { in setMobileDataLayout()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DDeleteScreenshotReceiver.java42 private final Executor mBackgroundExecutor; field in DeleteScreenshotReceiver
48 mBackgroundExecutor = backgroundExecutor; in DeleteScreenshotReceiver()
59 mBackgroundExecutor.execute(() -> { in onReceive()
H A DLongScreenshotActivity.java78 private final Executor mBackgroundExecutor; field in LongScreenshotActivity
118 mBackgroundExecutor = bgExecutor; in LongScreenshotActivity()
250 mCacheSaveFuture = mImageExporter.exportToRawFile(mBackgroundExecutor, in onLongScreenshotReceived()
407 mBackgroundExecutor, UUID.randomUUID(), mOutputBitmap, ZonedDateTime.now(), in startExport()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/hdmi/
H A DHdmiCecSetMenuLanguageHelper.java43 private final Executor mBackgroundExecutor; field in HdmiCecSetMenuLanguageHelper
52 mBackgroundExecutor = executor; in HdmiCecSetMenuLanguageHelper()
87 mBackgroundExecutor.execute(() -> LocalePicker.updateLocale(mLocale)); in acceptLocale()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/
H A DRegionSamplingHelper.java64 private final Executor mBackgroundExecutor; field in RegionSamplingHelper
114 mBackgroundExecutor = backgroundExecutor; in RegionSamplingHelper()
167 mBackgroundExecutor.execute(mSamplingListener::destroy); in stopAndDestroy()
225 mBackgroundExecutor.execute(() -> { in updateSamplingListener()
255 mBackgroundExecutor.execute(() -> { in unregisterSamplingListener()
/aosp14/frameworks/base/services/core/java/com/android/server/apphibernation/
H A DAppHibernationService.java127 private final Executor mBackgroundExecutor; field in AppHibernationService
156 mBackgroundExecutor = injector.getBackgroundExecutor(); in AppHibernationService()
179 mBackgroundExecutor.execute(() -> { in onBootPhase()
198 mBackgroundExecutor, in onBootPhase()
203 mBackgroundExecutor, in onBootPhase()
314 mBackgroundExecutor.execute( in setHibernatingForUser()
317 mBackgroundExecutor.execute( in setHibernatingForUser()
324 mBackgroundExecutor.execute(() -> { in setHibernatingForUser()
362 mBackgroundExecutor.execute(() -> hibernatePackageGlobally(packageName, state)); in setHibernatingGlobally()
657 mBackgroundExecutor.execute(() -> { in onUserUnlocking()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardDisplayManagerTest.java77 private Executor mBackgroundExecutor = Runnable::run; field in KeyguardDisplayManagerTest
94 mBackgroundExecutor, mDeviceStateHelper, mKeyguardStateController, in setUp()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/
H A DWallpaperLocalColorExtractorTest.java77 private Executor mBackgroundExecutor; field in WallpaperLocalColorExtractorTest
91 }).when(mBackgroundExecutor).execute(any(Runnable.class)); in setUp()
111 mBackgroundExecutor, in getSpyWallpaperLocalColorExtractor()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerServiceInjector.java93 private final Executor mBackgroundExecutor; field in PackageManagerServiceInjector
195 mBackgroundExecutor = new HandlerExecutor(backgroundHandler); in PackageManagerServiceInjector()
347 return mBackgroundExecutor; in getBackgroundExecutor()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileServices.java84 private final DelayableExecutor mBackgroundExecutor; field in TileServices
112 mBackgroundExecutor = backgroundExecutor; in TileServices()
140 broadcastDispatcher, mUserTracker, mCustomTileAddedRepository, mBackgroundExecutor); in onCreateTileService()
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DMagnificationController.java104 private final Executor mBackgroundExecutor; field in MagnificationController
153 mBackgroundExecutor = backgroundExecutor; in MagnificationController()
161 mBackgroundExecutor, mAms::updateAlwaysOnMagnification); in MagnificationController()
790 mBackgroundExecutor in getFullScreenMagnificationController()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A DEdgeBackGestureHandler.java208 private final Executor mBackgroundExecutor; field in EdgeBackGestureHandler
416 mBackgroundExecutor = backgroundExecutor; in EdgeBackGestureHandler()
773 mBackgroundExecutor.execute(() -> loadMLModel()); in updateMLModelState()
1300 private final Executor mBackgroundExecutor; field in EdgeBackGestureHandler.Factory
1344 mBackgroundExecutor = backgroundExecutor; in Factory()
1370 mBackgroundExecutor, in create()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DNotificationShadeWindowControllerImplTest.java103 private final Executor mBackgroundExecutor = MoreExecutors.directExecutor(); field in NotificationShadeWindowControllerImplTest
124 mBackgroundExecutor, mColorExtractor, mDumpManager, mKeyguardStateController, in setUp()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DNotificationShadeWindowControllerImpl.java107 private final Executor mBackgroundExecutor; field in NotificationShadeWindowControllerImpl
159 mBackgroundExecutor = backgroundExecutor; in NotificationShadeWindowControllerImpl()
521 mBackgroundExecutor.execute(() -> { in apply()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DMediaControlPanel.java194 protected final Executor mBackgroundExecutor; field in MediaControlPanel
286 mBackgroundExecutor = backgroundExecutor; in MediaControlPanel()
559 mBackgroundExecutor.execute(() -> mSeekBarViewModel.updateController(controller)); in bindPlayer()
809 mBackgroundExecutor.execute(() -> { in bindArtworkAndColors()
912 mBackgroundExecutor.execute(() -> { in bindRecommendationArtwork()
1552 mBackgroundExecutor.execute(() -> {
/aosp14/frameworks/base/services/core/java/com/android/server/power/
H A DNotifier.java142 private final Executor mBackgroundExecutor; field in Notifier
209 mBackgroundExecutor = backgroundExecutor; in Notifier()
956 mBackgroundExecutor.execute(() -> { in playChargingStartedFeedback()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardIndicationController.java166 protected final @Background DelayableExecutor mBackgroundExecutor; field in KeyguardIndicationController
293 mBackgroundExecutor = bgExecutor; in KeyguardIndicationController()
463 mBackgroundExecutor.execute(() -> { in updateLockScreenDisclosureMsg()
523 mBackgroundExecutor.execute(() -> { in updateLockScreenOwnerInfo()

12