/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
D | TileQueryHelperTest.java | 117 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/ |
D | CarrierTextManagerTest.java | 108 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/ |
D | SecurityControllerTest.java | 77 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/ |
D | VisibleActivityProcessTracker.java | 35 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/ |
D | ScrollCaptureClient.java | 69 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);
|
D | ScrollCaptureController.java | 62 private final Executor mBgExecutor; field in ScrollCaptureController 140 mBgExecutor = bgExecutor; in ScrollCaptureController() 160 mBgExecutor.execute(() -> { in run()
|
D | ScreenshotController.java | 247 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/ |
D | CarrierTextManager.java | 60 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/ |
D | TileQueryHelper.java | 62 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/ |
D | NotificationContentInflater.java | 76 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/ |
D | NotificationEntryManagerInflationTest.java | 155 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/ |
D | SecurityControllerImpl.java | 92 private final Executor mBgExecutor; field in SecurityControllerImpl 123 mBgExecutor = bgExecutor; in SecurityControllerImpl() 374 mBgExecutor.execute(() -> { in refreshCACerts()
|
D | UserSwitcherController.java | 144 private final Executor mBgExecutor; field in UserSwitcherController 177 mBgExecutor = bgExecutor; in UserSwitcherController() 727 mBgExecutor.execute(() -> { in scheduleGuestCreation() 1088 mBgExecutor.execute(
|
D | NetworkControllerImpl.java | 182 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/ |
D | PeopleSpaceWidgetManager.java | 142 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/ |
D | ThemeOverlayController.java | 101 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/ |
D | ThemeOverlayControllerTest.java | 81 private Executor mBgExecutor; field in ThemeOverlayControllerTest 121 mBroadcastDispatcher, mBgHandler, mMainExecutor, mBgExecutor, mThemeOverlayApplier, in setup() 148 verify(mBgExecutor).execute(registrationRunnable.capture()); in start_checksWallpaper()
|