/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/ |
D | ObservableServiceConnection.java | 122 private final Executor mBgExecutor; field in ObservableServiceConnection 147 mBgExecutor = bgExecutor; in ObservableServiceConnection() 157 mBgExecutor.execute(this::bindInternal); in bind() 180 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_UNBIND)); in unbind() 192 mBgExecutor.execute(() -> { in addCallback() 222 mBgExecutor.execute(() -> mCallbacks.removeIf(el-> el.get() == callback)); in removeCallback() 248 mBgExecutor.execute(() -> { in onServiceConnected() 287 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_DISCONNECTED)); in onServiceDisconnected() 292 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_BINDING_DIED)); in onBindingDied() 297 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_NULL_BINDING)); in onNullBinding()
|
D | PersistentConnectionManager.java | 51 private final DelayableExecutor mBgExecutor; field in PersistentConnectionManager 110 mBgExecutor = bgExecutor; in PersistentConnectionManager() 196 mCurrentReconnectCancelable = mBgExecutor.executeDelayed(mConnectRunnable, in scheduleConnectionAttempt()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsViewModel.java | 59 private final Executor mBgExecutor; field in AppClipsViewModel 71 mBgExecutor = bgExecutor; in AppClipsViewModel() 80 mBgExecutor.execute(() -> { in performScreenshot() 115 mBgExecutor.execute(() -> { in saveScreenshotThenFinish() 120 ListenableFuture<ImageExporter.Result> exportFuture = mImageExporter.export(mBgExecutor, in saveScreenshotThenFinish() 159 private final Executor mBgExecutor; field in AppClipsViewModel.Factory 167 mBgExecutor = bgExecutor; in Factory() 179 mMainExecutor, mBgExecutor); in create()
|
D | AppClipsTrampolineActivity.java | 95 private final Executor mBgExecutor; field in AppClipsTrampolineActivity 115 mBgExecutor = bgExecutor; in AppClipsTrampolineActivity() 134 mBgExecutor = bgExecutor; in AppClipsTrampolineActivity() 150 mBgExecutor.execute(() -> { in onCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
D | TileQueryHelperTest.java | 114 private FakeExecutor mBgExecutor; field in TileQueryHelperTest 125 FakeQSTile tile = new FakeQSTile(mBgExecutor, mMainExecutor); in setup() 136 mBgExecutor = new FakeExecutor(clock); in setup() 138 mContext, mUserTracker, mMainExecutor, mBgExecutor); in setup() 151 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testIsFinished_trueAfterQuerying() 160 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_callsListenerTwice() 174 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion() 188 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_correctTilesAndOrderOnlyStockTiles() 208 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles() 228 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_otherTileNotIncluded() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 112 private final FakeExecutor mBgExecutor = new FakeExecutor(new FakeSystemClock()); field in AppOpsControllerTest 144 mBgExecutor, in setUp() 156 mBgExecutor.runAllReady(); in testOnlyListenForFewOps() 166 mBgExecutor.runAllReady(); in testStopListening() 178 mBgExecutor.runAllReady(); in startListening_fetchesCurrentActive_none() 189 mBgExecutor.runAllReady(); in startListening_fetchCurrentActive_nullPackageOps() 207 mBgExecutor.runAllReady(); in startListening_fetchesCurrentActive_oneActive() 240 mBgExecutor.runAllReady(); in startListening_fetchesCurrentActive_multiplePackages() 288 mBgExecutor.runAllReady(); in startListening_fetchesCurrentActive_multipleEntries() 328 mBgExecutor.runAllReady(); in startListening_fetchesCurrentActive_multipleAttributes() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | CarrierTextManagerTest.java | 123 private FakeExecutor mBgExecutor = new FakeExecutor(mFakeSystemClock); field in CarrierTextManagerTest 140 assertThat(mBgExecutor.isExecuting()).isFalse(); in checkMainThread() 182 mBgExecutor, in setUp() 192 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in setUp() 199 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testKeyguardUpdateMonitorCalledInMainThread() 218 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testAirplaneMode() 243 mBgExecutor, in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash() 284 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCardIOError() 296 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCardIOError() 332 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testMoreSlotsThanSubs() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 84 private FakeExecutor mBgExecutor; field in SecurityControllerTest 111 mBgExecutor = new FakeExecutor(new FakeSystemClock()); in setUp() 118 mBgExecutor, in setUp() 180 mBgExecutor.runAllReady(); in testWorkAccount() 194 mBgExecutor.runAllReady(); in testCaCertLoader() 204 mBgExecutor.runAllReady(); in testCaCertLoader() 209 mBgExecutor.runAllReady(); in testCaCertLoader() 238 mBgExecutor.runAllReady(); in testRemoveCallbackWhileDispatch_doesntCrash() 242 mBgExecutor.runAllReady(); in testRemoveCallbackWhileDispatch_doesntCrash()
|
/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/shared/src/com/android/systemui/shared/plugins/ |
D | PluginActionManager.java | 78 private final Executor mBgExecutor; field in PluginActionManager 96 mBgExecutor = bgExecutor; in PluginActionManager() 112 mBgExecutor.execute(() -> queryAll()); in loadAll() 126 mBgExecutor.execute(() -> removePkg(pkg)); in onPackageRemoved() 131 mBgExecutor.execute(() -> { in reloadPackage() 376 private final Executor mBgExecutor; field in PluginActionManager.Factory 389 mBgExecutor = bgExecutor; in Factory() 400 pluginClass, allowMultiple, mMainExecutor, mBgExecutor, in create()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | ScrollCaptureClient.java | 70 private final Executor mBgExecutor; field in ScrollCaptureClient 167 mBgExecutor = bgExecutor; in ScrollCaptureClient() 231 response.getBoundsInWindow(), maxPages, mBgExecutor); 241 private final Executor mBgExecutor; 275 mBgExecutor = bgExecutor; 305 mReader.setOnImageAvailableListenerWithExecutor(this, mBgExecutor);
|
D | ScrollCaptureController.java | 66 private final Executor mBgExecutor; field in ScrollCaptureController 154 mBgExecutor = bgExecutor; in ScrollCaptureController() 177 mCaptureCompleter.addCancellationListener(this::onCancelled, mBgExecutor); in run() 178 mBgExecutor.execute(() -> { in run() 240 }, mBgExecutor); in requestNextTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/ |
D | QuickAccessWalletController.java | 72 private final Executor mBgExecutor; field in QuickAccessWalletController 98 mBgExecutor = bgExecutor; in QuickAccessWalletController() 206 mQuickAccessWalletClient.getWalletCards(mBgExecutor, request, cardsRetriever); in queryWalletCards() 226 mQuickAccessWalletClient = QuickAccessWalletClient.create(mContext, mBgExecutor); in reCreateWalletClient()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeUi.java | 57 private final DelayableExecutor mBgExecutor; field in DozeUi 82 mBgExecutor = bgExecutor; in DozeUi() 199 mBgExecutor.execute(mCancelTimeTickerRunnable); in unscheduleTimeTick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | LaunchConversationActivity.java | 64 private Executor mBgExecutor; field in LaunchConversationActivity 99 mBgExecutor = bgExecutor; in LaunchConversationActivity() 201 mBgExecutor.execute(() -> { in clearNotificationIfPresent()
|
/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() 204 mBgExecutor.execute(() -> { in addPackageTiles()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | RotationButtonController.java | 126 private Executor mBgExecutor; field in RotationButtonController 187 mBgExecutor = context.getMainExecutor(); in RotationButtonController() 208 mBgExecutor = bgExecutor; in setBgExecutor() 237 mBgExecutor.execute(() -> { in registerListeners() 264 mBgExecutor.execute(() -> { in unregisterListeners() 704 mBgExecutor.execute(() -> { in onActivityRequestedOrientationChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextManager.java | 77 private final Executor mBgExecutor; field in CarrierTextManager 219 mBgExecutor = bgExecutor; in CarrierTextManager() 222 mBgExecutor.execute(() -> { in CarrierTextManager() 337 mBgExecutor.execute(() -> handleSetListening(callback)); in setListening() 683 private final Executor mBgExecutor; field in CarrierTextManager.Builder 714 mBgExecutor = bgExecutor; in Builder() 755 mBgExecutor, in build()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | TakeScreenshotService.java | 70 private final @Background Executor mBgExecutor; field in TakeScreenshotService 117 mBgExecutor = bgExecutor; in TakeScreenshotService() 205 mBgExecutor.execute(() -> { in handleRequest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayApplier.java | 146 private final Executor mBgExecutor; field in ThemeOverlayApplier 159 mBgExecutor = bgExecutor; in ThemeOverlayApplier() 207 mBgExecutor.execute(() -> { in applyCurrentUserOverlays()
|
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | ViewCapture.java | 89 protected final Executor mBgExecutor; field in ViewCapture 97 mBgExecutor = bgExecutor; in ViewCapture() 98 mBgExecutor.execute(() -> initPool(initPoolSize)); in ViewCapture() 229 mBgExecutor); 315 mBgExecutor.execute(captured);
|
D | SettingsAwareViewCapture.kt | 66 mBgExecutor.execute { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | LaunchConversationActivityTest.java | 112 private FakeExecutor mBgExecutor = new FakeExecutor(mFakeSystemClock); field in LaunchConversationActivityTest 123 mBgExecutor in setUp() 202 FakeExecutor.exhaustExecutors(mBgExecutor); in testEntryClearsNotificationAndDoesNotOpenBubble()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsTrampolineActivityTest.java | 97 private Executor mBgExecutor; field in AppClipsTrampolineActivityTest 111 mBgExecutor, mMainExecutor, mMainHandler); 130 mBgExecutor = MoreExecutors.directExecutor(); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/ |
D | BroadcastDialogDelegate.java | 78 private final Executor mBgExecutor; field in BroadcastDialogDelegate 175 mBgExecutor = bgExecutor; in BroadcastDialogDelegate() 191 registerBroadcastCallBack(mBgExecutor, mBroadcastCallback); in onStart()
|