Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appsearch/
DAppSearchConfigTest.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
43 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testDefaultValues_allCachedValue()
81 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testCustomizedValue_minTimeIntervalBetweenSamplesMillis()
94 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testCustomizedValueOverride_minTimeIntervalBetweenSamplesMillis()
145 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testCustomizedValue_allSamplingIntervals()
200 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testCustomizedValueOverride_allSamplingIntervals()
268 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testFallbackToDefaultSamplingValue_useHardCodedDefault()
291 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testFallbackDefaultSamplingValue_useConfiguredDefault()
313 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testFallbackDefaultSamplingValue_defaultValueChanged()
347 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testShouldNotFallBack_ifValueConfigured()
[all …]
DFrameworkLimitConfigTest.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
42 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testDefaultValues()
52 AppSearchConfig appSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in testCustomizedValues()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java51 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
1113 DIRECT_EXECUTOR, in registerWifiBytesTransfer()
1478 DIRECT_EXECUTOR,
1491 DIRECT_EXECUTOR,
1504 DIRECT_EXECUTOR,
1556 DIRECT_EXECUTOR,
1619 DIRECT_EXECUTOR,
1645 DIRECT_EXECUTOR,
1675 DIRECT_EXECUTOR,
1700 DIRECT_EXECUTOR,
[all …]
/frameworks/base/services/core/java/com/android/server/location/listeners/
DRemoteListenerRegistration.java20 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
56 return DIRECT_EXECUTOR; in chooseExecutor()
/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;
45 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;
82 super(DIRECT_EXECUTOR, delegate); in StationaryThrottlingLocationProvider()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/
DFrameworkOptimizeStrategyTest.java18 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
28 AppSearchConfig mAppSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR);
/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/core/tests/devicestatetests/src/android/hardware/devicestate/
DDeviceStateManagerGlobalTest.java71 ConcurrentUtils.DIRECT_EXECUTOR); in registerCallback()
73 ConcurrentUtils.DIRECT_EXECUTOR); in registerCallback()
118 ConcurrentUtils.DIRECT_EXECUTOR); in unregisterCallback()
147 ConcurrentUtils.DIRECT_EXECUTOR); in submitRequest()
/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java76 private static final Executor DIRECT_EXECUTOR = Runnable::run; field in AndroidFuture
84 private @Nullable Executor mListenerExecutor = DIRECT_EXECUTOR;
198 return whenCompleteAsync(action, DIRECT_EXECUTOR); in whenComplete()
245 if (mListenerExecutor == DIRECT_EXECUTOR) { in callListenerAsync()
316 return thenComposeAsync(fn, DIRECT_EXECUTOR); in thenCompose()
377 return thenApplyAsync(fn, DIRECT_EXECUTOR); in thenApply()
478 return supplyAsync(supplier, DIRECT_EXECUTOR); in supply()
/frameworks/base/services/core/java/com/android/server/powerstats/
DStatsPullAtomCallbackImpl.java175 ConcurrentUtils.DIRECT_EXECUTOR, in StatsPullAtomCallbackImpl()
183 ConcurrentUtils.DIRECT_EXECUTOR, in StatsPullAtomCallbackImpl()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appsearch/stats/
DPlatformLoggerTest.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
58 mAppSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/stats/
DPlatformLoggerTest.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
151 AppSearchConfig.create(DIRECT_EXECUTOR)); in testGetPackageUidAsUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java64 private static final Executor DIRECT_EXECUTOR = Runnable::run; field in ImageExporterTest
100 exporter.export(DIRECT_EXECUTOR, requestId, original, CAPTURE_TIME); in testImageExport()
/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/telephony/common/com/android/internal/telephony/util/
DTelephonyUtils.java48 public static final Executor DIRECT_EXECUTOR = Runnable::run; field in TelephonyUtils
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java22 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
399 DIRECT_EXECUTOR, this); in registerWithService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java200 ConcurrentUtils.DIRECT_EXECUTOR, in setHotspotEnabled()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssMetrics.java594 ConcurrentUtils.DIRECT_EXECUTOR, pullAtomCallback); in registerGnssStats()
598 ConcurrentUtils.DIRECT_EXECUTOR, pullAtomCallback); in registerGnssStats()
DGnssLocationProvider.java22 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
509 DIRECT_EXECUTOR, in handleInitialize()
597 DIRECT_EXECUTOR, locationListener); in handleRequestLocation()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/listeners/
DListenerMultiplexerTest.java19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR;
361 super(DIRECT_EXECUTOR, integer, consumer); in TestListenerRegistration()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiControlManager.java1480 addHotplugEventListener(ConcurrentUtils.DIRECT_EXECUTOR, listener); in addHotplugEventListener()
1576 addHdmiControlStatusChangeListener(ConcurrentUtils.DIRECT_EXECUTOR, listener);
1948 addHdmiCecEnabledChangeListener(ConcurrentUtils.DIRECT_EXECUTOR, listener);

12