Home
last modified time | relevance | path

Searched defs:executor (Results 1 – 22 of 22) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java85 public TestSensorOperation(TestSensorEnvironment environment, Executor executor) { in TestSensorOperation()
94 Executor executor, in TestSensorOperation()
237 Executor executor = new Executor() { in createOperation() local
265 Executor executor = new Executor() { in createOperation() local
353 Executor executor = new Executor() { in createOperation() local
400 Executor executor = new Executor() { in createFlushOperation() local
DParallelSensorOperation.java86 ThreadPoolExecutor executor = new ThreadPoolExecutor( in execute() local
/cts/tests/tests/telephony/current/LocationAccessingApp/src/android/telephony/cts/locationaccessingapp/
DCtsLocationAccessService.java90 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellInfo() local
114 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellLocation() local
138 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForServiceState() local
/cts/tests/tests/os/src/android/os/cts/
DFileUtilsTest.java81 final Executor executor = AsyncTask.THREAD_POOL_EXECUTOR; in testCopyFileStreamListener() local
102 final Executor executor = AsyncTask.THREAD_POOL_EXECUTOR; in testCopyFileDescriptorListener() local
106 FileUtils.copy(in.getFD(), out.getFD(), null, executor, (progress) -> { in testCopyFileDescriptorListener() local
/cts/tests/tests/net/src/android/net/cts/
DDnsResolverTest.java312 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()
703 public void doTestContinuousQueries(Executor executor) throws InterruptedException { in doTestContinuousQueries()
DConnectivityManagerTest.java974 final Executor executor = mContext.getMainExecutor(); in testCreateTcpKeepalive() local
976 try (SocketKeepalive sk = mCm.createSocketKeepalive(network, s, executor, callback)) { in testCreateTcpKeepalive() argument
1025 try (SocketKeepalive sk = mCm.createSocketKeepalive(network, s, executor, callback)) { in testCreateTcpKeepalive() argument
1075 final Executor executor = mContext.getMainExecutor(); in createConcurrentNattSocketKeepalives() local
1097 final Executor executor = mContext.getMainExecutor(); in createConcurrentTcpSocketKeepalives() local
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DDefaultSmsAppHelper.java39 Executor executor = context.getMainExecutor(); in ensureDefaultSmsApp() local
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraManagerTest.java235 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCamerasSerially() local
285 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenAllCameras() local
461 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCameraTwice() local
534 Executor executor = new HandlerExecutor(mHandler); in testCameraManagerListener() local
554 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerListenerCallbacks() local
DCameraDeviceTest.java816 HandlerExecutor executor = new HandlerExecutor(mHandler); in testSessionConfiguration() local
1675 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureSingleShot() local
1688 startCapture(requestBuilder.build(), repeating, mockCaptureCallback, executor); in captureSingleShot() local
1741 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureBurstShot() local
2581 CameraCaptureSession.CaptureCallback listener, Executor executor) in startCapture()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallRedirectionServiceTest.java210 Executor executor = mContext.getMainExecutor(); in addRoleHolder() local
229 Executor executor = mContext.getMainExecutor(); in removeRoleHolder() local
DCtsRoleManagerAdapter.java162 Executor executor = mContext.getMainExecutor(); in addRoleHolder() local
181 Executor executor = mContext.getMainExecutor(); in removeRoleHolder() local
DThirdPartyCallScreeningServiceTest.java317 Executor executor = mContext.getMainExecutor(); in addRoleHolder() local
336 Executor executor = mContext.getMainExecutor(); in removeRoleHolder() local
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java121 final Executor executor, final WebViewRenderProcessClient webViewRenderProcessClient) { in setWebViewRenderProcessClient()
131 final Executor executor, in setWebViewRenderProcessClient()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBusinessLogicTestCase.java75 BusinessLogicExecutor executor = new BusinessLogicDeviceExecutor(getContext(), this); in executeBusinessLogic() local
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBusinessLogicTestCase.java74 BusinessLogicExecutor executor = new BusinessLogicDeviceExecutor(getContext(), this); in executeBusinessLogic() local
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewRenderProcessClientTest.java118 private void testWebViewRenderProcessClientOnExecutor(Executor executor) throws Throwable { in testWebViewRenderProcessClientOnExecutor()
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java524 FlushExecutor executor = new FlushExecutor(environment, 500 /* eventCount */, in testBatchAndFlushWithMultipleSensors() local
653 FlushExecutor executor = new FlushExecutor(environment, 500 /* eventCount */, in verifyRegisterListenerCallFlush() local
/cts/libs/vogar-expect/src/vogar/commands/
DCommand.java188 ExecutorService executor = Threads.fixedThreadsExecutor("command", 1); in executeLater() local
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java860 ExecutorService executor = Executors.newCachedThreadPool(); in testReadingSysFilesDoesntFail() local
865 private static void tryToReadFromAllIn(File dir, ExecutorService executor) throws IOException { in tryToReadFromAllIn()
886 private static void tryFileOpenRead(final File f, ExecutorService executor) throws IOException { in tryFileOpenRead()
DPermissionControllerTest.java112 boolean doDryRun, int reason, @NonNull Executor executor) in revoke()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java535 Executor executor = new Executor() { in testSetPreferredDataSubscriptionId() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1714 ExecutorService executor = Executors.newSingleThreadExecutor(); in assertSSLConnectionWithClientAuth() local