Home
last modified time | relevance | path

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

12

/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java67 private final Executor mExecutor;
77 public interface Executor { interface in TestSensorOperation
85 public TestSensorOperation(TestSensorEnvironment environment, Executor executor) { in TestSensorOperation()
94 Executor executor, in TestSensorOperation()
237 Executor executor = new Executor() { in createOperation()
265 Executor executor = new Executor() { in createOperation()
353 Executor executor = new Executor() { in createOperation()
400 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 {
DAudioTrackOffloadTest.java32 import java.util.concurrent.Executor;
148 private Executor mExec = new Executor() {
DMediaSessionManagerTest.java44 import java.util.concurrent.Executor;
279 Executor handlerExecutor = (runnable) -> { in testGetSession2Tokens()
306 Executor handlerExecutor = (runnable) -> { in testGetSession2TokensWithTwoSessions()
353 Executor handlerExecutor = (runnable) -> { in testAddAndRemoveSession2TokensListener()
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java29 import java.util.concurrent.Executor;
44 private final Executor mExecutor = new Executor() {
/cts/tests/tests/telephony/current/LocationAccessingApp/src/android/telephony/cts/locationaccessingapp/
DCtsLocationAccessService.java33 import java.util.concurrent.Executor;
90 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellInfo()
114 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellLocation()
138 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForServiceState()
/cts/tests/tests/net/src/android/net/cts/
DDnsResolverTest.java54 import java.util.concurrent.Executor;
89 private Executor mExecutor;
90 private Executor mExecutorInline;
312 public void doTestRawQuery(Executor executor) throws InterruptedException { in doTestRawQuery()
325 public void doTestRawQueryBlob(Executor executor) throws InterruptedException { in doTestRawQueryBlob()
351 public void doTestRawQueryRoot(Executor executor) throws InterruptedException { in doTestRawQueryRoot()
366 public void doTestRawQueryNXDomain(Executor executor) throws InterruptedException { in doTestRawQueryNXDomain()
546 public void doTestQueryForInetAddress(Executor executor) throws InterruptedException { in doTestQueryForInetAddress()
588 public void doTestQueryForInetAddressIpv4(Executor executor) throws InterruptedException { in doTestQueryForInetAddressIpv4()
603 public void doTestQueryForInetAddressIpv6(Executor executor) throws InterruptedException { in doTestQueryForInetAddressIpv6()
[all …]
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DDefaultSmsAppHelper.java31 import java.util.concurrent.Executor;
39 Executor executor = context.getMainExecutor(); in ensureDefaultSmsApp()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewRenderProcessClientTest.java30 import java.util.concurrent.Executor;
118 private void testWebViewRenderProcessClientOnExecutor(Executor executor) throws Throwable { in testWebViewRenderProcessClientOnExecutor()
155 testWebViewRenderProcessClientOnExecutor(new Executor() { in disabled_testWebViewRenderProcessClientWithExecutor()
DTracingControllerTest.java36 import java.util.concurrent.Executor;
292 private void runTracingTestWithCallbacks(TracingReceiver tracingReceiver, Executor executor) {
/cts/tests/tests/os/src/android/os/cts/
DFileUtilsTest.java35 import java.util.concurrent.Executor;
81 final Executor executor = AsyncTask.THREAD_POOL_EXECUTOR; in testCopyFileStreamListener()
102 final Executor executor = AsyncTask.THREAD_POOL_EXECUTOR; in testCopyFileDescriptorListener()
DPowerManager_ThermalTest.java41 import java.util.concurrent.Executor;
49 private Executor mExec = Executors.newSingleThreadExecutor();
DAsyncTaskTest.java26 import java.util.concurrent.Executor;
198 mAsyncTask.executeOnExecutor(new Executor() { in testException()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DBiometricPromptBoundKeysTest.java29 import java.util.concurrent.Executor;
48 private final Executor mExecutor = (runnable) -> {
/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsRoleManagerAdapter.java38 import java.util.concurrent.Executor;
162 Executor executor = mContext.getMainExecutor(); in addRoleHolder()
181 Executor executor = mContext.getMainExecutor(); in removeRoleHolder()
DCallRedirectionServiceTest.java46 import java.util.concurrent.Executor;
210 Executor executor = mContext.getMainExecutor(); in addRoleHolder()
229 Executor executor = mContext.getMainExecutor(); in removeRoleHolder()
DThirdPartyCallScreeningServiceTest.java47 import java.util.concurrent.Executor;
317 Executor executor = mContext.getMainExecutor(); in addRoleHolder()
336 Executor executor = mContext.getMainExecutor(); in removeRoleHolder()
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiPermissionTests.java33 import java.util.concurrent.Executor;
50 private static final Executor EXECUTOR = InstrumentationRegistry.getContext().getMainExecutor();
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraManagerTest.java58 import java.util.concurrent.Executor;
235 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCamerasSerially()
285 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenAllCameras()
461 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCameraTwice()
534 Executor executor = new HandlerExecutor(mHandler); in testCameraManagerListener()
554 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerListenerCallbacks()
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayApp/src/com/android/cts/overlay/app/
DOverlayableTest.java28 import java.util.concurrent.Executor;
59 private Executor mExecutor;
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsStreamingTestBase.java46 import java.util.concurrent.Executor;
115 Executor mCallbackExecutor;
DMbmsDownloadTestBase.java51 import java.util.concurrent.Executor;
127 Executor mCallbackExecutor;
DMbmsGroupCallTestBase.java43 import java.util.concurrent.Executor;
136 Executor mCallbackExecutor;
/cts/tests/tests/net/src/android/net/wifi/rtt/cts/
DTestBase.java39 import java.util.concurrent.Executor;
61 protected final Executor mExecutor;
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java50 import java.util.concurrent.Executor;
121 final Executor executor, final WebViewRenderProcessClient webViewRenderProcessClient) { in setWebViewRenderProcessClient()
131 final Executor executor, in setWebViewRenderProcessClient()

12