/frameworks/base/services/core/java/com/android/server/location/listeners/ |
D | PendingIntentListenerRegistration.java | 19 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/ |
D | StatsPullAtomService.java | 51 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/ |
D | LogMteState.java | 19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 36 DIRECT_EXECUTOR, in register()
|
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/ |
D | DeviceStateManagerGlobalTest.java | 78 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/ |
D | PassiveLocationProvider.java | 22 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 51 super(DIRECT_EXECUTOR, CallerIdentity.fromContext(context), PROPERTIES, in PassiveLocationProvider()
|
D | MockLocationProvider.java | 19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 46 super(DIRECT_EXECUTOR, identity, properties, extraAttributionTags); in MockLocationProvider()
|
D | MockableLocationProvider.java | 19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 77 super(DIRECT_EXECUTOR, null, null, Collections.emptySet()); in MockableLocationProvider()
|
D | StationaryThrottlingLocationProvider.java | 21 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 86 super(DIRECT_EXECUTOR, delegate); in StationaryThrottlingLocationProvider()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupScrollCaptureTest.java | 54 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/ |
D | UriMetricsHelper.java | 19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 53 DIRECT_EXECUTOR, in registerPuller()
|
/frameworks/base/core/java/com/android/internal/infra/ |
D | AndroidFuture.java | 75 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/ |
D | GameSessionTest.java | 21 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/ |
D | ImageExporterTest.java | 76 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/ |
D | GnssAntennaInfoProvider.java | 19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 56 super(identity.isMyProcess() ? FgThread.getExecutor() : DIRECT_EXECUTOR, listener); in AntennaInfoListenerRegistration()
|
D | GnssListenerMultiplexer.java | 21 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 85 super(identity.isMyProcess() ? FgThread.getExecutor() : DIRECT_EXECUTOR, listener); in GnssListenerRegistration()
|
D | GnssMetrics.java | 594 ConcurrentUtils.DIRECT_EXECUTOR, pullAtomCallback); in registerGnssStats() 598 ConcurrentUtils.DIRECT_EXECUTOR, pullAtomCallback); in registerGnssStats()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | MetricsHelper.java | 19 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/ |
D | StatsPullAtomCallbackImpl.java | 175 ConcurrentUtils.DIRECT_EXECUTOR, in StatsPullAtomCallbackImpl() 183 ConcurrentUtils.DIRECT_EXECUTOR, in StatsPullAtomCallbackImpl()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/ |
D | AudioSharingRepository.kt | 83 ConcurrentUtils.DIRECT_EXECUTOR, in leBroadcast()
|
D | AudioRepository.kt | 119 audioManager.addOnModeChangedListener(ConcurrentUtils.DIRECT_EXECUTOR, listener) in <lambda>() 143 ConcurrentUtils.DIRECT_EXECUTOR, in <lambda>()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ConcurrentUtils.java | 42 public static final Executor DIRECT_EXECUTOR = new DirectExecutor(); field in ConcurrentUtils
|
/frameworks/base/services/core/java/com/android/server/location/provider/proxy/ |
D | ProxyLocationProvider.java | 19 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/ |
D | GnssOverlayLocationProvider.java | 128 ConcurrentUtils.DIRECT_EXECUTOR, in onSetRequest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImpl.java | 215 ConcurrentUtils.DIRECT_EXECUTOR, in setHotspotEnabled()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/listeners/ |
D | ListenerMultiplexerTest.java | 19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 364 super(DIRECT_EXECUTOR, consumer); in TestListenerRegistration()
|