Home
last modified time | relevance | path

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

12345678

/frameworks/base/services/companion/java/com/android/server/companion/utils/
DRolesUtils.java79 MANAGE_HOLDERS_FLAG_DONT_KILL_APP, userHandle, context.getMainExecutor(), in addRoleHolderForAssociation()
99 MANAGE_HOLDERS_FLAG_DONT_KILL_APP, userHandle, context.getMainExecutor(), in removeRoleHolderForAssociation()
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java81 AppOpsManager.OPSTR_RECORD_AUDIO}, getContext().getMainExecutor(), listener); in testWatchActiveOps()
138 getContext().getMainExecutor(), listener); in testWatchActiveOps()
181 AppOpsManager.OPSTR_RECORD_AUDIO}, getContext().getMainExecutor(), listener); in testWatchActiveOpsForExternalDevice()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodDeviceConfigs.java51 ActivityThread.currentApplication().getMainExecutor(), in InputMethodDeviceConfigs()
/frameworks/base/core/java/com/android/internal/config/appcloning/
DAppCloningDeviceConfigHelper.java74 context.getMainExecutor(), in init()
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DTestableDeviceConfigTest.java184 ApplicationProvider.getApplicationContext().getMainExecutor(), changeListener); in testListener_setProperty()
211 ApplicationProvider.getApplicationContext().getMainExecutor(), changeListener); in testListener_setProperties()
236 ApplicationProvider.getApplicationContext().getMainExecutor(), changeListener); in testListener_deleteProperty()
/frameworks/base/core/java/android/accessibilityservice/
DBrailleDisplayControllerImpl.java87 connect(bluetoothDevice, mAccessibilityService.getMainExecutor(), callback); in connect()
106 connect(usbDevice, mAccessibilityService.getMainExecutor(), callback); in connect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DGlobalConcurrencyModule.java94 return context.getMainExecutor(); in provideMainExecutor()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DEditUserPhotoController.java161 }, mImageView.getContext().getMainExecutor()); in onDefaultIconSelected()
194 }, mImageView.getContext().getMainExecutor()); in onPhotoCropped()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionDeviceConfig.java82 context.getMainExecutor(), properties -> refresh(properties)); in initialize()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DColorBitmapActivity.java309 ColorBitmapActivity.this.getMainExecutor() in onItemSelected()
326 ColorBitmapActivity.this.getMainExecutor() in onItemSelected()
342 ColorBitmapActivity.this.getMainExecutor() in onItemSelected()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenTransitions.java250 mTransitions.getMainExecutor().execute(() -> { in playDragDismissAnimation()
296 mTransitions.getMainExecutor().execute(() -> { in playResizeAnimation()
350 new OneShotRemoteHandler(mTransitions.getMainExecutor(), handler); in startFullscreenTransition()
563 mTransitions.getMainExecutor().execute(() -> { in startFadeAnimation()
620 mTransitions.getMainExecutor(), remoteTransition); in TransitSession()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/
DBiometricHandler.kt28 import androidx.core.content.ContextCompat.getMainExecutor in <lambda>()
229 val executor = getMainExecutor(context) in runBiometricFlow()
331 getMainExecutor(context) in setupBiometricPrompt()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java167 LocationManager.NETWORK_PROVIDER, null, getContext().getMainExecutor(), in startListening()
171 LocationManager.GPS_PROVIDER, null, getContext().getMainExecutor(), in startListening()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsActivityTest.java101 mImageExporter, getContext().getMainExecutor(),
212 mContext.getMainExecutor().execute(runnable); in runOnMainThread()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneFactoryTest.java69 doReturn(mExecutor).when(mContext).getMainExecutor(); in setUp()
/frameworks/base/services/core/java/com/android/server/display/notifications/
DConnectedDisplayUsbErrorsDetector.java102 usbManager.registerDisplayPortAltModeInfoListener(mContext.getMainExecutor(), this); in registerListener()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractBluetoothAddressPreferenceController.java99 }, mContext.getMainExecutor()); in updateConnectivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DScrollCaptureController.java182 mSessionFuture.addListener(this::onStartComplete, mContext.getMainExecutor()); in run()
354 }, mContext.getMainExecutor()); in finishCapture()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DCameraAccessController.java124 mCameraManager.registerAvailabilityCallback(mContext.getMainExecutor(), this); in startObservingIfNeeded()
256 mContext.getMainExecutor(), in startBlocking()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/
DBlobStoreConfigTest.java89 mContext.getMainExecutor().execute(latch::countDown); in waitForListenerToHandle()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java110 mTelephonyManager.registerTelephonyCallback(mContext.getMainExecutor(), in GpsNetInitiatedHandler()
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
DBrailleDisplayControllerImplTest.java82 doReturn((Executor) Runnable::run).when(mAccessibilityService).getMainExecutor(); in test()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSynchedDeviceConfigTests.java68 mExecutor = Objects.requireNonNull(ActivityThread.currentApplication()).getMainExecutor(); in setUp()
/frameworks/base/services/core/java/com/android/server/security/rkp/
DRemoteProvisioningService.java94 final Executor executor = getContext().getMainExecutor(); in getRegistration()
/frameworks/base/core/java/android/hardware/
DSensorPrivacyManager.java487 addSensorPrivacyListener(sensor, mContext.getMainExecutor(), listener); in addSensorPrivacyListener()
505 addSensorPrivacyListener(sensor, mContext.getMainExecutor(), listener); in addSensorPrivacyListener()
556 addSensorPrivacyListener(mContext.getMainExecutor(), listener); in addSensorPrivacyListener()

12345678