Home
last modified time | relevance | path

Searched refs:getMainExecutor (Results 1 – 25 of 140) sorted by relevance

123456

/aosp14/frameworks/base/services/companion/java/com/android/server/companion/
H A DRolesUtils.java67 MANAGE_HOLDERS_FLAG_DONT_KILL_APP, userHandle, context.getMainExecutor(), in addRoleHolderForAssociation()
91 MANAGE_HOLDERS_FLAG_DONT_KILL_APP, userHandle, context.getMainExecutor(), in removeRoleHolderForAssociation()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
H A DEnterDesktopTaskTransitionHandler.java243 mTransitions.getMainExecutor().execute( in animateMoveToDesktop()
274 mTransitions.getMainExecutor().execute( in animateStartDragToDesktopMode()
326 mTransitions.getMainExecutor().execute( in animateFinalizeDragToDesktopMode()
380 mTransitions.getMainExecutor().execute( in animateCancelDragToDesktopMode()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
H A DAppOpsActiveWatcherTest.java63 AppOpsManager.OPSTR_RECORD_AUDIO}, getContext().getMainExecutor(), listener); in testWatchActiveOps()
120 getContext().getMainExecutor(), listener); in testWatchActiveOps()
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DInputMethodDeviceConfigs.java51 ActivityThread.currentApplication().getMainExecutor(), in InputMethodDeviceConfigs()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/os/
H A DBugreportManagerServiceImplTest.java86 mContext.getMainExecutor(), in tearDown()
164 mContext.getMainExecutor(), in testCancelBugreportWithRole()
/aosp14/frameworks/base/core/java/com/android/internal/config/appcloning/
H A DAppCloningDeviceConfigHelper.java74 context.getMainExecutor(), in init()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
H A DSplitScreenTransitions.java239 mTransitions.getMainExecutor().execute(() -> { in playDragDismissAnimation()
284 mTransitions.getMainExecutor().execute(() -> { in playResizeAnimation()
328 new OneShotRemoteHandler(mTransitions.getMainExecutor(), handler); in startFullscreenTransition()
497 mTransitions.getMainExecutor().execute(() -> { in startFadeAnimation()
548 mTransitions.getMainExecutor(), remoteTransition); in TransitSession()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
H A DGlobalConcurrencyModule.java94 return context.getMainExecutor(); in provideMainExecutor()
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionDeviceConfig.java82 context.getMainExecutor(), properties -> refresh(properties)); in initialize()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
H A DAppClipsActivityTest.java99 mImageExporter, getContext().getMainExecutor(),
209 mContext.getMainExecutor().execute(runnable); in runOnMainThread()
H A DAppClipsViewModelTest.java72 getContext().getMainExecutor(), directExecutor()).create(AppClipsViewModel.class); in setUp()
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/virtual/
H A DCameraAccessController.java123 mCameraManager.registerAvailabilityCallback(mContext.getMainExecutor(), this); in startObservingIfNeeded()
252 mContext.getMainExecutor(), in startBlocking()
/aosp14/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightService.java167 LocationManager.NETWORK_PROVIDER, null, getContext().getMainExecutor(), in startListening()
171 LocationManager.GPS_PROVIDER, null, getContext().getMainExecutor(), in startListening()
/aosp14/frameworks/base/core/java/android/hardware/
H A DSensorPrivacyManager.java426 addSensorPrivacyListener(sensor, mContext.getMainExecutor(), listener); in addSensorPrivacyListener()
444 addSensorPrivacyListener(sensor, mContext.getMainExecutor(), listener); in addSensorPrivacyListener()
495 addSensorPrivacyListener(mContext.getMainExecutor(), listener); in addSensorPrivacyListener()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScrollCaptureController.java180 mSessionFuture.addListener(this::onStartComplete, mContext.getMainExecutor()); in run()
352 }, mContext.getMainExecutor()); in finishCapture()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/
H A DBlobStoreConfigTest.java89 mContext.getMainExecutor().execute(latch::countDown); in waitForListenerToHandle()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DColorBitmapActivity.java289 ColorBitmapActivity.this.getMainExecutor() in onItemSelected()
306 ColorBitmapActivity.this.getMainExecutor() in onItemSelected()
/aosp14/frameworks/base/core/java/android/service/dreams/
H A DDreamOverlayService.java163 mExecutor = getMainExecutor(); in onCreate()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSynchedDeviceConfigTests.java68 mExecutor = Objects.requireNonNull(ActivityThread.currentApplication()).getMainExecutor(); in setUp()
/aosp14/frameworks/base/services/core/java/com/android/server/security/rkp/
H A DRemoteProvisioningService.java94 final Executor executor = getContext().getMainExecutor(); in getRegistration()
/aosp14/frameworks/base/core/java/android/hardware/input/
H A DInputDeviceVibrator.java109 addVibratorStateListener(context.getMainExecutor(), listener); in addVibratorStateListener()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/
H A DDeviceStateManagerFoldingFeatureProducer.java137 .registerCallback(context.getMainExecutor(), mDeviceStateCallback); in DeviceStateManagerFoldingFeatureProducer()
/aosp14/frameworks/base/core/java/android/service/quickaccesswallet/
H A DQuickAccessWalletClientImpl.java114 getWalletCards(mContext.getMainExecutor(), request, callback); in getWalletCards()
181 addWalletServiceEventListener(mContext.getMainExecutor(), listener); in addWalletServiceEventListener()
/aosp14/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DUsbCommand.java92 Executor executor = context.getMainExecutor(); in run()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
H A DExitDesktopTaskTransitionHandlerTest.java86 doReturn(mExecutor).when(mTransitions).getMainExecutor(); in setUp()

123456