Home
last modified time | relevance | path

Searched refs:Executor (Results 1 – 25 of 94) sorted by relevance

1234

/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java67 private final Executor mExecutor;
77 public interface Executor { interface in TestSensorOperation
93 public TestSensorOperation(TestSensorEnvironment environment, Executor executor) { in TestSensorOperation()
102 Executor executor, in TestSensorOperation()
245 Executor executor = new Executor() { in createOperation()
273 Executor executor = new Executor() { in createOperation()
361 Executor executor = new Executor() { in createOperation()
385 Executor executor = new Executor() { in createOperation()
432 Executor executor = new Executor() { in createFlushOperation()
/cts/tests/tests/media/src/android/media/cts/
DHandlerExecutor.java23 import java.util.concurrent.Executor;
26 public class HandlerExecutor extends Handler implements Executor {
DUtilsTest.java27 import java.util.concurrent.Executor;
51 final Executor executor = new Executor() { in testListenerList()
DMediaCommunicationManagerTest.java43 import java.util.concurrent.Executor;
74 Executor executor = Executors.newSingleThreadExecutor(); in testGetSession2Tokens()
95 Executor executor = Executors.newSingleThreadExecutor(); in testManagerSessionCallback()
/cts/tests/framework/base/biometrics/apps/biometrics/src/android/server/biometrics/
DClass2BiometricOrCredentialActivity.java29 import java.util.concurrent.Executor;
39 final Executor executor = handler::post; in onCreate()
DClass3BiometricActivity.java29 import java.util.concurrent.Executor;
38 final Executor executor = handler::post; in onCreate()
/cts/tests/tests/telephony/current/LocationAccessingApp/src/android/telephony/cts/locationaccessingapp/
DCtsLocationAccessService.java36 import java.util.concurrent.Executor;
106 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellInfo()
130 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellLocation()
154 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForServiceState()
182 Executor executor = new Handler(handlerThread.getLooper())::post; in requestCellInfoUpdate()
/cts/tests/uwb/src/android/uwb/cts/
DUwbTestUtils.java31 import java.util.concurrent.Executor;
105 public static Executor getExecutor() { in getExecutor()
106 return new Executor() { in getExecutor()
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DDefaultSmsAppHelper.java35 import java.util.concurrent.Executor;
47 Executor executor = context.getMainExecutor(); in ensureDefaultSmsApp()
82 Executor executor = context.getMainExecutor(); in stopBeingDefaultSmsApp()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsRoleManagerAdapter.java37 import java.util.concurrent.Executor;
91 Executor executor = mContext.getMainExecutor(); in addRoleHolder()
111 Executor executor = mContext.getMainExecutor(); in removeRoleHolder()
/cts/tests/tests/permission/src/android/permission/cts/
DNfcPermissionTest.java34 import java.util.concurrent.Executor;
155 private class SynchronousExecutor implements Executor {
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DDataSharingActivity.java32 import java.util.concurrent.Executor;
37 private static final Executor sExecutor = Executors.newCachedThreadPool();
DOutOfProcessDataSharingService.java36 import java.util.concurrent.Executor;
40 private static final Executor sExecutor = Executors.newCachedThreadPool();
DDataSharingService.java36 import java.util.concurrent.Executor;
40 private static final Executor sExecutor = Executors.newCachedThreadPool();
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewRenderProcessClientTest.java32 import java.util.concurrent.Executor;
125 private void testWebViewRenderProcessClientOnExecutor(Executor executor) throws Throwable { in testWebViewRenderProcessClientOnExecutor()
167 testWebViewRenderProcessClientOnExecutor(new Executor() { in testWebViewRenderProcessClientWithExecutor()
/cts/tests/tests/libthermalndk/src/android/thermal/cts/
DNativeThermalTest.java33 import java.util.concurrent.Executor;
45 private Executor mExec = Executors.newSingleThreadExecutor();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DAbstractBaseTest.java32 import java.util.concurrent.Executor;
45 protected final Executor mExecutor = mHandler::post;
DCredentialCryptoTests.java37 import java.util.concurrent.Executor;
49 private final Executor mExecutor = mHandler::post;
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DCallStateListenerPermissionTest.java42 import java.util.concurrent.Executor;
51 private Executor mSimpleExecutor = r -> r.run();
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestSipTransport.java32 import java.util.concurrent.Executor;
57 public TestSipTransport(Executor executor) { in TestSipTransport()
DTestRcsFeature.java28 import java.util.concurrent.Executor;
84 public RcsCapabilityExchangeImplBase createCapabilityExchangeImpl(Executor executor, in createCapabilityExchangeImpl()
/cts/tests/tests/appop2/src/android/app/appops2/cts/
DAppOpsLoggingTest.kt44 import java.util.concurrent.Executor in <lambda>()
71 appOpsManager.setOnOpNotedCallback(Executor { it.run() }, in <lambda>()
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java30 import java.util.concurrent.Executor;
45 private final Executor mExecutor = runnable -> mHandler.post(runnable);
/cts/tests/tests/os/src/android/os/cts/
DPowerManager_ThermalTest.java44 import java.util.concurrent.Executor;
52 private Executor mExec = Executors.newSingleThreadExecutor();
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DWifiNl80211ManagerTest.java45 import java.util.concurrent.Executor;
56 private static class TestExecutor implements Executor {

1234