Home
last modified time | relevance | path

Searched refs:mainExecutor (Results 1 – 25 of 185) sorted by relevance

12345678

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/
DWMShellBaseModule.java145 @ShellMainThread ShellExecutor mainExecutor) { in provideDisplayController() argument
146 return new DisplayController(context, wmService, shellInit, mainExecutor); in provideDisplayController()
154 @ShellMainThread ShellExecutor mainExecutor) { in provideDisplayInsetsController() argument
156 mainExecutor); in provideDisplayInsetsController()
167 @ShellMainThread ShellExecutor mainExecutor in provideDisplayImeController() argument
170 displayInsetsController, transactionPool, mainExecutor); in provideDisplayImeController()
184 @ShellMainThread ShellExecutor mainExecutor in provideDevicePostureController() argument
186 return new DevicePostureController(context, shellInit, mainExecutor); in provideDevicePostureController()
196 @ShellMainThread ShellExecutor mainExecutor) { in provideTabletopModeController() argument
198 context, shellInit, postureController, displayController, mainExecutor); in provideTabletopModeController()
[all …]
DWMShellModule.java138 @ShellMainThread ShellExecutor mainExecutor) { in provideBubbleData() argument
139 return new BubbleData(context, logger, positioner, mainExecutor); in provideBubbleData()
163 @ShellMainThread ShellExecutor mainExecutor, in provideBubbleController() argument
171 new BubbleDataRepository(launcherApps, mainExecutor, in provideBubbleController()
175 oneHandedOptional, dragAndDropController, mainExecutor, mainHandler, bgExecutor, in provideBubbleController()
260 @ShellMainThread ShellExecutor mainExecutor, in provideFreeformTaskTransitionHandler() argument
263 windowDecorViewModel, displayController, mainExecutor, animExecutor); in provideFreeformTaskTransitionHandler()
296 @ShellMainThread ShellExecutor mainExecutor, in provideOneHandedController() argument
300 uiEventLogger, mainExecutor, mainHandler); in provideOneHandedController()
329 @ShellMainThread ShellExecutor mainExecutor) { in provideSplitScreenController() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifLiveDataStoreImpl.kt33 @Main private val mainExecutor: Executor in <lambda>() constant in com.android.systemui.statusbar.notification.collection.NotifLiveDataStoreImpl
38 mainExecutor in <lambda>()
43 mainExecutor in <lambda>()
48 mainExecutor in <lambda>()
80 @Main private val mainExecutor: Executor constant
123 mainExecutor.execute(::dispatchToAsyncObservers) in setValueAndProvideDispatcher()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/
DUnfoldTransitionFactory.kt47 mainExecutor: Executor,
61 mainExecutor,
75 mainExecutor: Executor,
85 mainExecutor,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/pip/
DPip1Module.java104 @ShellMainThread ShellExecutor mainExecutor) { in providePip1()
117 mainExecutor)); in providePip1()
129 @ShellMainThread ShellExecutor mainExecutor, in providesPipPhoneMenuController() argument
132 systemWindows, splitScreenOptional, pipUiEventLogger, mainExecutor, mainHandler); in providesPipPhoneMenuController()
147 @ShellMainThread ShellExecutor mainExecutor) { in providePipTouchHandler() argument
150 floatingContentCoordinator, pipUiEventLogger, mainExecutor); in providePipTouchHandler()
175 @ShellMainThread ShellExecutor mainExecutor) { in providePipTaskOrganizer() argument
181 shellTaskOrganizer, mainExecutor); in providePipTaskOrganizer()
203 @ShellMainThread ShellExecutor mainExecutor) { in providePipAppOpsListener() argument
204 return new PipAppOpsListener(context, pipTouchHandler.getMotionHelper(), mainExecutor); in providePipAppOpsListener()
DTvPipModule.java92 @ShellMainThread ShellExecutor mainExecutor) { in providePip() argument
113 mainExecutor)); in providePip()
216 @ShellMainThread ShellExecutor mainExecutor) { in providePipTaskOrganizer() argument
222 shellTaskOrganizer, mainExecutor); in providePipTaskOrganizer()
235 @ShellMainThread ShellExecutor mainExecutor) { in providePipAppOpsListener() argument
236 return new PipAppOpsListener(context, pipTaskOrganizer::removePip, mainExecutor); in providePipAppOpsListener()
/frameworks/base/tests/AttestationVerificationTest/src/android/security/attestationverification/
DPeerDeviceSystemAttestationVerificationTest.kt53 invalidAttestationByteArray, activity.mainExecutor) { result, _ -> in <lambda>()
65 invalidAttestationByteArray, activity.mainExecutor) { result, _ -> in <lambda>()
79 invalidAttestationByteArray, activity.mainExecutor) { result, _ -> in <lambda>()
89 invalidAttestationByteArray, activity.mainExecutor) { result, _ -> in <lambda>()
103 invalidAttestationByteArray, activity.mainExecutor) { result, _ -> in <lambda>()
117 activity.mainExecutor) { result, _ -> in <lambda>()
131 invalidAttestationByteArray, activity.mainExecutor) { result, _ -> in <lambda>()
DSystemAttestationVerificationTest.kt57 activity.mainExecutor) { result, _ -> in <lambda>()
69 activity.mainExecutor) { result, _ -> in <lambda>()
81 Bundle(), selfTrusted.attestation, activity.mainExecutor) { result, _ -> in <lambda>()
92 selfTrusted.requirements, selfTrusted.attestation, activity.mainExecutor) { result, _ -> in <lambda>()
106 wrongKeyRequirements, selfTrusted.attestation, activity.mainExecutor) { result, _ -> in <lambda>()
119 wrongChallengeRequirements, selfTrusted.attestation, activity.mainExecutor) { in <lambda>()
131 selfTrusted.requirements, selfTrusted.attestation, activity.mainExecutor) { result, _ -> in <lambda>()
142 activity.mainExecutor) { _, token -> in <lambda>()
155 activity.mainExecutor) { _, token -> in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedControllerImplTest.kt68 private lateinit var mainExecutor: FakeExecutor variable in com.android.systemui.statusbar.policy.DeviceProvisionedControllerImplTest
76 mainExecutor = FakeExecutor(FakeSystemClock()) in setUp()
87 mainExecutor in setUp()
193 mainExecutor.runAllReady() in testListenerNotCalledOnAdd()
209 mainExecutor.runAllReady() in testListenerCalledOnUserSwitched()
224 mainExecutor.runAllReady() in testListenerCalledOnUserSetupChanged()
239 mainExecutor.runAllReady() in testListenerCalledOnDeviceProvisionedChanged()
254 mainExecutor.runAllReady() in testListenerCalledOnFrpActiveChanged()
274 mainExecutor.runAllReady() in testRemoveListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/
DUserCreatorTest.kt36 private lateinit var mainExecutor: FakeExecutor variable in com.android.systemui.user.UserCreatorTest
43 mainExecutor = FakeExecutor(FakeSystemClock()) in setUp()
45 userCreator = UserCreator(context, userManager, mainExecutor, bgExecutor) in setUp()
65 mainExecutor.runAllReady() in testCreateUser_threadingOrder()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DScreenRotationAnimation.java250 @NonNull ShellExecutor mainExecutor) { in buildAnimation() argument
313 buildScreenshotAlphaAnimation(animations, finishCallback, mainExecutor); in buildAnimation()
314 startDisplayRotation(animations, finishCallback, mainExecutor); in buildAnimation()
316 startDisplayRotation(animations, finishCallback, mainExecutor); in buildAnimation()
317 startScreenshotRotationAnimation(animations, finishCallback, mainExecutor); in buildAnimation()
325 @NonNull Runnable finishCallback, @NonNull ShellExecutor mainExecutor) { in startDisplayRotation() argument
327 mTransactionPool, mainExecutor, null /* position */, 0 /* cornerRadius */, in startDisplayRotation()
332 @NonNull Runnable finishCallback, @NonNull ShellExecutor mainExecutor) { in startScreenshotRotationAnimation() argument
334 mTransactionPool, mainExecutor, null /* position */, 0 /* cornerRadius */, in startScreenshotRotationAnimation()
339 @NonNull Runnable finishCallback, @NonNull ShellExecutor mainExecutor) { in buildScreenshotAlphaAnimation() argument
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DActivityStarterImplTest.kt83 private val mainExecutor = FakeExecutor(FakeSystemClock()) constant in com.android.systemui.statusbar.phone.ActivityStarterImplTest
111 mainExecutor, in setUp()
157 assertThat(mainExecutor.numPending()).isEqualTo(1) in postStartActivityDismissingKeyguard_pendingIntent_postsOnMain()
167 assertThat(mainExecutor.numPending()).isEqualTo(1) in postStartActivityDismissingKeyguard_intent_postsOnMain()
168 mainExecutor.runAllReady() in postStartActivityDismissingKeyguard_intent_postsOnMain()
180 mainExecutor.runAllReady() in postStartActivityDismissingKeyguard_intent_notDeviceProvisioned_doesNotProceed()
277 assertThat(mainExecutor.numPending()).isEqualTo(1) in postQSRunnableDismissingKeyguard_leaveOpenStatusBarState()
278 mainExecutor.runAllReady() in postQSRunnableDismissingKeyguard_leaveOpenStatusBarState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthDialogPanelInteractionDetector.kt16 @Main private val mainExecutor: Executor, constant in com.android.systemui.biometrics.AuthDialogPanelInteractionDetector
45 mainExecutor.execute { in onPanelExpansionChanged()
57 mainExecutor.execute { in onPanelStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationClickNotifier.kt26 @Main val mainExecutor: Executor, constant in com.android.systemui.statusbar.NotificationClickNotifier
62 mainExecutor.execute { in onNotificationActionClick()
77 mainExecutor.execute { in onNotificationClick()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DTestControlsRequestDialog.kt24 mainExecutor: Executor,
28 ) : ControlsRequestDialog(mainExecutor, controller, userTracker, listingController)
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceConfigWrapper.java33 void addOnPropertiesChangedListener(Executor mainExecutor, in addOnPropertiesChangedListener() argument
36 DeviceConfig.NAMESPACE_HDMI_CONTROL, mainExecutor, onPropertiesChangedListener); in addOnPropertiesChangedListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/contrast/
DContrastDialogTest.kt44 private lateinit var mainExecutor: Executor in <lambda>() variable in com.android.systemui.contrast.ContrastDialogTest
53 mainExecutor = MoreExecutors.directExecutor() in <lambda>()
63 mainExecutor, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldAodAnimationController.kt57 @Main private val mainExecutor: DelayableExecutor, in <lambda>() constant in com.android.systemui.unfold.FoldAodAnimationController
98 deviceStateManager.registerCallback(mainExecutor, FoldListener()) in <lambda>()
152 fun onScreenTurningOn(onReady: Runnable) = mainExecutor.execute { in <lambda>()
196 fun onScreenTurnedOn() = mainExecutor.execute { in <lambda>()
201 cancelAnimation = mainExecutor.executeDelayed( in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DWindowManagerShellWrapper.java41 public WindowManagerShellWrapper(ShellExecutor mainExecutor) { in WindowManagerShellWrapper() argument
42 mPinnedStackListenerForwarder = new PinnedStackListenerForwarder(mainExecutor); in WindowManagerShellWrapper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/muteawait/
DMediaMuteAwaitConnectionManagerFactory.kt32 @Main private val mainExecutor: Executor constant in com.android.systemui.media.muteawait.MediaMuteAwaitConnectionManagerFactory
39 mainExecutor, localMediaManager, context, deviceIconUtil, logger in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsViewModel.java65 ImageExporter imageExporter, @Main Executor mainExecutor, in AppClipsViewModel() argument
69 mMainExecutor = mainExecutor; in AppClipsViewModel()
162 @Main Executor mainExecutor, @Background Executor bgExecutor) { in Factory() argument
165 mMainExecutor = mainExecutor; in Factory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/contrast/
DContrastDialogActivity.kt33 @Main private val mainExecutor: Executor, constant in com.android.systemui.contrast.ContrastDialogActivity
42 ContrastDialog(context, mainExecutor, uiModeManager, userTracker, secureSettings) in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryViaTrackerLib.kt78 @Main private val mainExecutor: Executor, constant
88 mainExecutor.execute { it.currentState = Lifecycle.State.CREATED } in <lambda>()
176 mainExecutor.execute { lifecycle.currentState = Lifecycle.State.STARTED } in <lambda>()
178 mainExecutor.execute { lifecycle.currentState = Lifecycle.State.CREATED } in <lambda>()
301 mainExecutor,
362 @Main private val mainExecutor: Executor, constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.prod.Factory
372 mainExecutor, in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DBroadcastDispatcherTest.kt100 private lateinit var mainExecutor: Executor in <lambda>() variable in com.android.systemui.broadcast.BroadcastDispatcherTest
112 mainExecutor = FakeExecutor(FakeSystemClock()) in <lambda>()
113 `when`(mockContext.mainExecutor).thenReturn(mainExecutor) in <lambda>()
117 mainExecutor, in <lambda>()
153 broadcastDispatcher.registerReceiver(broadcastReceiver, intentFilter, mainExecutor, user0) in <lambda>()
155 broadcastReceiverOther, intentFilterOther, mainExecutor, user1) in <lambda>()
432 mainExecutor: Executor, in <lambda>()
442 mainExecutor, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DEmergencyButtonControllerTest.kt63 val mainExecutor = FakeExecutor(fakeSystemClock) constant
81 mainExecutor, in setup()
103 mainExecutor.runAllReady() in testUpdateEmergencyButton()

12345678