Home
last modified time | relevance | path

Searched defs:executor (Results 1 – 23 of 23) 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.java321 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()
651 public void doTestQueryForInetAddressIpv6(Executor executor) throws InterruptedException { in doTestQueryForInetAddressIpv6()
734 public void doTestContinuousQueries(Executor executor) throws InterruptedException { in doTestContinuousQueries()
DConnectivityManagerTest.java1031 final Executor executor = mContext.getMainExecutor(); in testCreateTcpKeepalive() local
1035 try (SocketKeepalive sk = mCm.createSocketKeepalive(network, s, executor, callback)) { in testCreateTcpKeepalive() argument
1087 try (SocketKeepalive sk = mCm.createSocketKeepalive(network, s, executor, callback)) { in testCreateTcpKeepalive() argument
1139 final Executor executor = mContext.getMainExecutor(); in createConcurrentNattSocketKeepalives() local
1160 final Executor executor = mContext.getMainExecutor(); in createConcurrentTcpSocketKeepalives() local
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DDefaultSmsAppHelper.java46 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.java253 Executor executor = mContext.getMainExecutor(); in addRoleHolder() local
272 Executor executor = mContext.getMainExecutor(); in removeRoleHolder() local
DCtsRoleManagerAdapter.java129 Executor executor = mContext.getMainExecutor(); in addRoleHolder() local
148 Executor executor = mContext.getMainExecutor(); in removeRoleHolder() local
DIncomingCallTest.java261 Executor executor = (Runnable command)->count.countDown(); in testPhoneStateChangeAsExpected() local
DOutgoingCallTest.java156 Executor executor = (Runnable command)->count.countDown(); in testPhoneStateChangeAsExpected() local
DThirdPartyCallScreeningServiceTest.java557 Executor executor = mContext.getMainExecutor(); in addRoleHolder() local
576 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/src/com/android/compatibility/common/util/
DBusinessLogicTestCase.java74 BusinessLogicExecutor executor = new BusinessLogicDeviceExecutor(getContext(), this); in executeBusinessLogic() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBusinessLogicTestCase.java75 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/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.java719 Executor executor = (command)-> command.run(); in setPreferredDataSubId() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1774 ExecutorService executor = Executors.newSingleThreadExecutor(); in assertSSLConnectionWithClientAuth() local