/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | RolesUtils.java | 79 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/ |
D | AppOpsActiveWatcherTest.java | 81 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/ |
D | InputMethodDeviceConfigs.java | 51 ActivityThread.currentApplication().getMainExecutor(), in InputMethodDeviceConfigs()
|
/frameworks/base/core/java/com/android/internal/config/appcloning/ |
D | AppCloningDeviceConfigHelper.java | 74 context.getMainExecutor(), in init()
|
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/ |
D | TestableDeviceConfigTest.java | 184 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/ |
D | BrailleDisplayControllerImpl.java | 87 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/ |
D | GlobalConcurrencyModule.java | 94 return context.getMainExecutor(); in provideMainExecutor()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | EditUserPhotoController.java | 161 }, mImageView.getContext().getMainExecutor()); in onDefaultIconSelected() 194 }, mImageView.getContext().getMainExecutor()); in onPhotoCropped()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionDeviceConfig.java | 82 context.getMainExecutor(), properties -> refresh(properties)); in initialize()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | ColorBitmapActivity.java | 309 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/ |
D | SplitScreenTransitions.java | 250 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/ |
D | BiometricHandler.kt | 28 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/ |
D | TwilightService.java | 167 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/ |
D | AppClipsActivityTest.java | 101 mImageExporter, getContext().getMainExecutor(), 212 mContext.getMainExecutor().execute(runnable); in runOnMainThread()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneFactoryTest.java | 69 doReturn(mExecutor).when(mContext).getMainExecutor(); in setUp()
|
/frameworks/base/services/core/java/com/android/server/display/notifications/ |
D | ConnectedDisplayUsbErrorsDetector.java | 102 usbManager.registerDisplayPortAltModeInfoListener(mContext.getMainExecutor(), this); in registerListener()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractBluetoothAddressPreferenceController.java | 99 }, mContext.getMainExecutor()); in updateConnectivity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | ScrollCaptureController.java | 182 mSessionFuture.addListener(this::onStartComplete, mContext.getMainExecutor()); in run() 354 }, mContext.getMainExecutor()); in finishCapture()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | CameraAccessController.java | 124 mCameraManager.registerAvailabilityCallback(mContext.getMainExecutor(), this); in startObservingIfNeeded() 256 mContext.getMainExecutor(), in startBlocking()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/ |
D | BlobStoreConfigTest.java | 89 mContext.getMainExecutor().execute(latch::countDown); in waitForListenerToHandle()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 110 mTelephonyManager.registerTelephonyCallback(mContext.getMainExecutor(), in GpsNetInitiatedHandler()
|
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/ |
D | BrailleDisplayControllerImplTest.java | 82 doReturn((Executor) Runnable::run).when(mAccessibilityService).getMainExecutor(); in test()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SynchedDeviceConfigTests.java | 68 mExecutor = Objects.requireNonNull(ActivityThread.currentApplication()).getMainExecutor(); in setUp()
|
/frameworks/base/services/core/java/com/android/server/security/rkp/ |
D | RemoteProvisioningService.java | 94 final Executor executor = getContext().getMainExecutor(); in getRegistration()
|
/frameworks/base/core/java/android/hardware/ |
D | SensorPrivacyManager.java | 487 addSensorPrivacyListener(sensor, mContext.getMainExecutor(), listener); in addSensorPrivacyListener() 505 addSensorPrivacyListener(sensor, mContext.getMainExecutor(), listener); in addSensorPrivacyListener() 556 addSensorPrivacyListener(mContext.getMainExecutor(), listener); in addSensorPrivacyListener()
|