Home
last modified time | relevance | path

Searched refs:mBgExecutor (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java117 private FakeExecutor mBgExecutor; field in TileQueryHelperTest
128 FakeQSTile tile = new FakeQSTile(mBgExecutor, mMainExecutor); in setup()
139 mBgExecutor = new FakeExecutor(clock); in setup()
141 mContext, mUserTracker, mMainExecutor, mBgExecutor); in setup()
154 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testIsFinished_trueAfterQuerying()
163 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_callsListenerTwice()
177 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion()
191 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_correctTilesAndOrderOnlyStockTiles()
211 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles()
231 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_otherTileNotIncluded()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextManagerTest.java108 private FakeExecutor mBgExecutor = new FakeExecutor(mFakeSystemClock); field in CarrierTextManagerTest
117 assertThat(mBgExecutor.isExecuting()).isFalse(); in checkMainThread()
150 mBgExecutor, mKeyguardUpdateMonitor) in setUp()
158 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in setUp()
165 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testKeyguardUpdateMonitorCalledInMainThread()
184 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testAirplaneMode()
207 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCardIOError()
219 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCardIOError()
255 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testMoreSlotsThanSubs()
264 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCallback()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java77 private FakeExecutor mBgExecutor; field in SecurityControllerTest
103 mBgExecutor = new FakeExecutor(new FakeSystemClock()); in setUp()
108 mBgExecutor); in setUp()
168 mBgExecutor.runAllReady(); in testWorkAccount()
182 mBgExecutor.runAllReady(); in testCaCertLoader()
192 mBgExecutor.runAllReady(); in testCaCertLoader()
197 mBgExecutor.runAllReady(); in testCaCertLoader()
/frameworks/base/services/core/java/com/android/server/wm/
DVisibleActivityProcessTracker.java35 final Executor mBgExecutor = BackgroundThread.getExecutor(); field in VisibleActivityProcessTracker
50 mBgExecutor.execute(r); in onAnyActivityVisible()
58 mBgExecutor.execute(r); in onAllActivitiesInvisible()
70 mBgExecutor.execute(r); in onActivityResumedWhileVisible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScrollCaptureClient.java69 private final Executor mBgExecutor; field in ScrollCaptureClient
166 mBgExecutor = bgExecutor; in ScrollCaptureClient()
230 response.getBoundsInWindow(), maxPages, mBgExecutor);
240 private final Executor mBgExecutor;
274 mBgExecutor = bgExecutor;
304 mReader.setOnImageAvailableListenerWithExecutor(this, mBgExecutor);
DScrollCaptureController.java62 private final Executor mBgExecutor; field in ScrollCaptureController
140 mBgExecutor = bgExecutor; in ScrollCaptureController()
160 mBgExecutor.execute(() -> { in run()
DScreenshotController.java247 private final ExecutorService mBgExecutor; field in ScreenshotController
315 mBgExecutor = Executors.newSingleThreadExecutor(); in ScreenshotController()
440 mBgExecutor.shutdownNow(); in releaseContext()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextManager.java60 private final Executor mBgExecutor; field in CarrierTextManager
189 mBgExecutor = bgExecutor; in CarrierTextManager()
191 mBgExecutor.execute(() -> { in CarrierTextManager()
288 mBgExecutor.execute(() -> handleSetListening(callback)); in setListening()
637 private final Executor mBgExecutor; field in CarrierTextManager.Builder
661 mBgExecutor = bgExecutor; in Builder()
682 mMainExecutor, mBgExecutor, mKeyguardUpdateMonitor); in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java62 private final Executor mBgExecutor; field in TileQueryHelper
78 mBgExecutor = bgExecutor; in TileQueryHelper()
158 mBgExecutor.execute(this::finished); in TileCollector()
216 mBgExecutor.execute(() -> { in addPackageTiles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java76 private final Executor mBgExecutor; field in NotificationContentInflater
91 mBgExecutor = bgExecutor; in NotificationContentInflater()
123 mBgExecutor, in bindContent()
140 task.executeOnExecutor(mBgExecutor); in bindContent()
167 mBgExecutor, in inflateNotificationViews()
723 private final Executor mBgExecutor; field in NotificationContentInflater.AsyncInflationTask
749 mBgExecutor = bgExecutor; in AsyncInflationTask()
825 mBgExecutor, in onPostExecute()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationEntryManagerInflationTest.java155 private FakeExecutor mBgExecutor; field in NotificationEntryManagerInflationTest
208 mBgExecutor = new FakeExecutor(new FakeSystemClock()); in setUp()
214 mBgExecutor, in setUp()
443 mBgExecutor.runAllReady(); in waitForInflation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java92 private final Executor mBgExecutor; field in SecurityControllerImpl
123 mBgExecutor = bgExecutor; in SecurityControllerImpl()
374 mBgExecutor.execute(() -> { in refreshCACerts()
DUserSwitcherController.java144 private final Executor mBgExecutor; field in UserSwitcherController
177 mBgExecutor = bgExecutor; in UserSwitcherController()
727 mBgExecutor.execute(() -> { in scheduleGuestCreation()
1088 mBgExecutor.execute(
DNetworkControllerImpl.java182 private final Executor mBgExecutor; field in NetworkControllerImpl
271 mBgExecutor = bgExecutor; in NetworkControllerImpl()
414 mBgExecutor.execute(() -> { in NetworkControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java142 private Executor mBgExecutor; field in PeopleSpaceWidgetManager
181 mBgExecutor = bgExecutor; in PeopleSpaceWidgetManager()
226 mBgExecutor.execute(() -> in onConversationUpdate()
256 mBgExecutor = executor; in PeopleSpaceWidgetManager()
263 mBgExecutor.execute(() -> updateWidgetsInBackground(widgetIds)); in updateWidgets()
443 mBgExecutor.execute( in updateWidgetsWithNotificationChanged()
857 mBgExecutor.execute( in addNewWidget()
1066 mBgExecutor.execute(() -> updateWidgetsFromBroadcastInBackground(intent.getAction()));
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java101 private final Executor mBgExecutor; field in ThemeOverlayController
281 mBgExecutor = bgExecutor; in ThemeOverlayController()
354 mBgExecutor.execute(updateColors); in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayControllerTest.java81 private Executor mBgExecutor; field in ThemeOverlayControllerTest
121 mBroadcastDispatcher, mBgHandler, mMainExecutor, mBgExecutor, mThemeOverlayApplier, in setup()
148 verify(mBgExecutor).execute(registrationRunnable.capture()); in start_checksWallpaper()