Home
last modified time | relevance | path

Searched refs:DIRECT_EXECUTOR (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/location/listeners/
DPendingIntentListenerRegistration.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
35 super(DIRECT_EXECUTOR, listener); in PendingIntentListenerRegistration()
44 if (!getPendingIntentFromKey(getKey()).addCancelListener(DIRECT_EXECUTOR, this)) { in onRegister()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java51 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
1108 mStatsManager.setPullAtomCallback(tagId, metadata, DIRECT_EXECUTOR, mStatsCallbackImpl); in registerMobileBytesTransferByProcState()
1236 DIRECT_EXECUTOR, in registerWifiBytesTransfer()
1704 DIRECT_EXECUTOR,
1717 DIRECT_EXECUTOR,
1730 DIRECT_EXECUTOR,
1743 DIRECT_EXECUTOR,
1756 DIRECT_EXECUTOR,
1769 DIRECT_EXECUTOR,
1782 DIRECT_EXECUTOR,
[all …]
/frameworks/base/services/core/java/com/android/server/
DLogMteState.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
36 DIRECT_EXECUTOR, in register()
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
DDeviceStateManagerGlobalTest.java78 ConcurrentUtils.DIRECT_EXECUTOR); in registerCallback()
80 ConcurrentUtils.DIRECT_EXECUTOR); in registerCallback()
121 ConcurrentUtils.DIRECT_EXECUTOR); in unregisterCallback()
139 ConcurrentUtils.DIRECT_EXECUTOR); in submitRequest()
160 ConcurrentUtils.DIRECT_EXECUTOR); in submitBaseStateOverrideRequest()
182 ConcurrentUtils.DIRECT_EXECUTOR); in submitBaseAndEmulatedStateOverride()
222 ConcurrentUtils.DIRECT_EXECUTOR /* executor */, in verifyDeviceStateRequestCallbacksCalled()
/frameworks/base/services/core/java/com/android/server/location/provider/
DPassiveLocationProvider.java22 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
51 super(DIRECT_EXECUTOR, CallerIdentity.fromContext(context), PROPERTIES, in PassiveLocationProvider()
DMockLocationProvider.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
46 super(DIRECT_EXECUTOR, identity, properties, extraAttributionTags); in MockLocationProvider()
DMockableLocationProvider.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
77 super(DIRECT_EXECUTOR, null, null, Collections.emptySet()); in MockableLocationProvider()
DStationaryThrottlingLocationProvider.java21 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
86 super(DIRECT_EXECUTOR, delegate); in StationaryThrottlingLocationProvider()
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupScrollCaptureTest.java54 private static final Executor DIRECT_EXECUTOR = Runnable::run; field in ViewGroupScrollCaptureTest
123 ScrollCaptureSearchResults results = new ScrollCaptureSearchResults(DIRECT_EXECUTOR); in testDispatchScrollCaptureSearch_noCallback_hintAuto()
158 ScrollCaptureSearchResults results = new ScrollCaptureSearchResults(DIRECT_EXECUTOR); in testDispatchScrollCaptureSearch_noCallback_hintExclude()
191 ScrollCaptureSearchResults results = new ScrollCaptureSearchResults(DIRECT_EXECUTOR); in testDispatchScrollCaptureSearch_withCallback_hintAuto()
232 ScrollCaptureSearchResults results = new ScrollCaptureSearchResults(DIRECT_EXECUTOR); in testDispatchScrollCaptureSearch_withCallback_hintExclude()
305 final ScrollCaptureSearchResults results = new ScrollCaptureSearchResults(DIRECT_EXECUTOR); in testDispatchScrollCaptureSearch_toChildren()
386 final ScrollCaptureSearchResults results = new ScrollCaptureSearchResults(DIRECT_EXECUTOR); in testOnScrollCaptureSearch_withPadding()
/frameworks/base/services/core/java/com/android/server/uri/
DUriMetricsHelper.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
53 DIRECT_EXECUTOR, in registerPuller()
/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java75 private static final Executor DIRECT_EXECUTOR = Runnable::run; field in AndroidFuture
83 private @Nullable Executor mListenerExecutor = DIRECT_EXECUTOR;
197 return whenCompleteAsync(action, DIRECT_EXECUTOR); in whenComplete()
244 if (mListenerExecutor == DIRECT_EXECUTOR) { in callListenerAsync()
315 return thenComposeAsync(fn, DIRECT_EXECUTOR); in thenCompose()
376 return thenApplyAsync(fn, DIRECT_EXECUTOR); in thenApply()
484 return supplyAsync(supplier, DIRECT_EXECUTOR); in supply()
/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
DGameSessionTest.java21 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
94 gameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_attachNotCalled_throwsIllegalStateException()
122 mGameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_gameManagerException_returnsInternalError()
151 mGameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_gameManagerError_returnsInternalError()
180 mGameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_gameManagerSuccess()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java76 private static final Executor DIRECT_EXECUTOR = Runnable::run; field in ImageExporterTest
134 exporter.export(DIRECT_EXECUTOR, requestId, original, CAPTURE_TIME, in testImageExport()
200 exporter.export(DIRECT_EXECUTOR, requestId, original, CAPTURE_TIME, in testImageExport_customizedFileName()
239 exporter.export(DIRECT_EXECUTOR, UUID.fromString("3c11da99-9284-4863-b1d5-6f3684976814"), in testSetUser()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssAntennaInfoProvider.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
56 super(identity.isMyProcess() ? FgThread.getExecutor() : DIRECT_EXECUTOR, listener); in AntennaInfoListenerRegistration()
DGnssListenerMultiplexer.java21 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
85 super(identity.isMyProcess() ? FgThread.getExecutor() : DIRECT_EXECUTOR, listener); in GnssListenerRegistration()
DGnssMetrics.java594 ConcurrentUtils.DIRECT_EXECUTOR, pullAtomCallback); in registerGnssStats()
598 ConcurrentUtils.DIRECT_EXECUTOR, pullAtomCallback); in registerGnssStats()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DMetricsHelper.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
54 DIRECT_EXECUTOR, (atomTag, data) -> { in registerPuller()
/frameworks/base/services/core/java/com/android/server/powerstats/
DStatsPullAtomCallbackImpl.java175 ConcurrentUtils.DIRECT_EXECUTOR, in StatsPullAtomCallbackImpl()
183 ConcurrentUtils.DIRECT_EXECUTOR, in StatsPullAtomCallbackImpl()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DAudioSharingRepository.kt83 ConcurrentUtils.DIRECT_EXECUTOR, in leBroadcast()
DAudioRepository.kt119 audioManager.addOnModeChangedListener(ConcurrentUtils.DIRECT_EXECUTOR, listener) in <lambda>()
143 ConcurrentUtils.DIRECT_EXECUTOR, in <lambda>()
/frameworks/base/core/java/com/android/internal/util/
DConcurrentUtils.java42 public static final Executor DIRECT_EXECUTOR = new DirectExecutor(); field in ConcurrentUtils
/frameworks/base/services/core/java/com/android/server/location/provider/proxy/
DProxyLocationProvider.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
102 super(DIRECT_EXECUTOR, null, null, Collections.emptySet()); in ProxyLocationProvider()
/frameworks/base/packages/FusedLocation/src/com/android/location/gnss/
DGnssOverlayLocationProvider.java128 ConcurrentUtils.DIRECT_EXECUTOR, in onSetRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java215 ConcurrentUtils.DIRECT_EXECUTOR, in setHotspotEnabled()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/listeners/
DListenerMultiplexerTest.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
364 super(DIRECT_EXECUTOR, consumer); in TestListenerRegistration()

12