/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appsearch/ |
D | AppSearchConfigTest.java | 19 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 …]
|
D | FrameworkLimitConfigTest.java | 19 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/ |
D | StatsPullAtomService.java | 51 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/ |
D | RemoteListenerRegistration.java | 20 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/ |
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; 45 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; 82 super(DIRECT_EXECUTOR, delegate); in StationaryThrottlingLocationProvider()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/ |
D | FrameworkOptimizeStrategyTest.java | 18 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 28 AppSearchConfig mAppSearchConfig = AppSearchConfig.create(DIRECT_EXECUTOR);
|
/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/core/tests/devicestatetests/src/android/hardware/devicestate/ |
D | DeviceStateManagerGlobalTest.java | 71 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/ |
D | AndroidFuture.java | 76 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/ |
D | StatsPullAtomCallbackImpl.java | 175 ConcurrentUtils.DIRECT_EXECUTOR, in StatsPullAtomCallbackImpl() 183 ConcurrentUtils.DIRECT_EXECUTOR, in StatsPullAtomCallbackImpl()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appsearch/stats/ |
D | PlatformLoggerTest.java | 19 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/ |
D | PlatformLoggerTest.java | 19 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/ |
D | ImageExporterTest.java | 64 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/ |
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/telephony/common/com/android/internal/telephony/util/ |
D | TelephonyUtils.java | 48 public static final Executor DIRECT_EXECUTOR = Runnable::run; field in TelephonyUtils
|
/frameworks/base/services/core/java/com/android/server/location/geofence/ |
D | GeofenceManager.java | 22 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/ |
D | HotspotControllerImpl.java | 200 ConcurrentUtils.DIRECT_EXECUTOR, in setHotspotEnabled()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssMetrics.java | 594 ConcurrentUtils.DIRECT_EXECUTOR, pullAtomCallback); in registerGnssStats() 598 ConcurrentUtils.DIRECT_EXECUTOR, pullAtomCallback); in registerGnssStats()
|
D | GnssLocationProvider.java | 22 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/ |
D | ListenerMultiplexerTest.java | 19 import static com.android.internal.util.ConcurrentUtils.DIRECT_EXECUTOR; 361 super(DIRECT_EXECUTOR, integer, consumer); in TestListenerRegistration()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiControlManager.java | 1480 addHotplugEventListener(ConcurrentUtils.DIRECT_EXECUTOR, listener); in addHotplugEventListener() 1576 addHdmiControlStatusChangeListener(ConcurrentUtils.DIRECT_EXECUTOR, listener); 1948 addHdmiCecEnabledChangeListener(ConcurrentUtils.DIRECT_EXECUTOR, listener);
|