Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/
DObservableServiceConnection.java122 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()
DPersistentConnectionManager.java51 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/
DAppClipsViewModel.java59 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()
DAppClipsTrampolineActivity.java95 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/
DTileQueryHelperTest.java114 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/
DAppOpsControllerTest.java112 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/
DCarrierTextManagerTest.java123 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/
DSecurityControllerTest.java84 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/
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/shared/src/com/android/systemui/shared/plugins/
DPluginActionManager.java78 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/
DScrollCaptureClient.java70 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);
DScrollCaptureController.java66 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/
DQuickAccessWalletController.java72 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/
DDozeUi.java57 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/
DLaunchConversationActivity.java64 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/
DTileQueryHelper.java62 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/
DRotationButtonController.java126 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/
DCarrierTextManager.java77 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/
DTakeScreenshotService.java70 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/
DThemeOverlayApplier.java146 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/
DViewCapture.java89 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);
DSettingsAwareViewCapture.kt66 mBgExecutor.execute { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DLaunchConversationActivityTest.java112 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/
DAppClipsTrampolineActivityTest.java97 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/
DBroadcastDialogDelegate.java78 private final Executor mBgExecutor; field in BroadcastDialogDelegate
175 mBgExecutor = bgExecutor; in BroadcastDialogDelegate()
191 registerBroadcastCallBack(mBgExecutor, mBroadcastCallback); in onStart()

12