Home
last modified time | relevance | path

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

123

/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/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.java57 import java.util.concurrent.Executor;
94 private Executor mExecutor;
95 private Executor mExecutorInline;
321 public void doTestRawQuery(Executor executor) throws InterruptedException { in doTestRawQuery()
334 public void doTestRawQueryBlob(Executor executor) throws InterruptedException { in doTestRawQueryBlob()
360 public void doTestRawQueryRoot(Executor executor) throws InterruptedException { in doTestRawQueryRoot()
375 public void doTestRawQueryNXDomain(Executor executor) throws InterruptedException { in doTestRawQueryNXDomain()
397 public void doTestRawQueryNXDomainWithPrivateDns(Executor executor) in doTestRawQueryNXDomainWithPrivateDns()
592 public void doTestQueryForInetAddress(Executor executor) throws InterruptedException { in doTestQueryForInetAddress()
635 public void doTestQueryForInetAddressIpv4(Executor executor) throws InterruptedException { in doTestQueryForInetAddressIpv4()
[all …]
/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/media/src/android/media/cts/
DHandlerExecutor.java23 import java.util.concurrent.Executor;
26 public class HandlerExecutor extends Handler implements Executor {
DAudioTrackOffloadTest.java33 import java.util.concurrent.Executor;
167 private Executor mExec = new Executor() {
DMediaSessionManagerTest.java45 import java.util.concurrent.Executor;
294 Executor handlerExecutor = (runnable) -> { in testGetSession2Tokens()
321 Executor handlerExecutor = (runnable) -> { in testGetSession2TokensWithTwoSessions()
368 Executor handlerExecutor = (runnable) -> { in testAddAndRemoveSession2TokensListener()
/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()
/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/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DDefaultSmsAppHelper.java34 import java.util.concurrent.Executor;
46 Executor executor = context.getMainExecutor(); in ensureDefaultSmsApp()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsRoleManagerAdapter.java38 import java.util.concurrent.Executor;
129 Executor executor = mContext.getMainExecutor(); in addRoleHolder()
148 Executor executor = mContext.getMainExecutor(); in removeRoleHolder()
DCallRedirectionServiceTest.java48 import java.util.concurrent.Executor;
253 Executor executor = mContext.getMainExecutor(); in addRoleHolder()
272 Executor executor = mContext.getMainExecutor(); in removeRoleHolder()
DOutgoingCallTest.java36 import java.util.concurrent.Executor;
156 Executor executor = (Runnable command)->count.countDown(); in testPhoneStateChangeAsExpected()
DIncomingCallTest.java47 import java.util.concurrent.Executor;
261 Executor executor = (Runnable command)->count.countDown(); in testPhoneStateChangeAsExpected()
/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/apps/CtsVerifier/src/com/android/cts/verifier/security/
DBiometricPromptBoundKeysTest.java31 import java.util.concurrent.Executor;
54 private final Executor mExecutor = (runnable) -> {
/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/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsStreamingTestBase.java46 import java.util.concurrent.Executor;
115 Executor mCallbackExecutor;
DMbmsGroupCallTestBase.java43 import java.util.concurrent.Executor;
136 Executor mCallbackExecutor;
DMbmsDownloadTestBase.java51 import java.util.concurrent.Executor;
127 Executor mCallbackExecutor;
/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/wifi/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()

123