Home
last modified time | relevance | path

Searched refs:useExecutor (Results 1 – 3 of 3) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraManagerTest.java234 private void testCameraManagerOpenCamerasSerially(boolean useExecutor) throws Exception { in testCameraManagerOpenCamerasSerially() argument
235 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCamerasSerially()
244 if (useExecutor) { in testCameraManagerOpenCamerasSerially()
276 private void testCameraManagerOpenAllCameras(boolean useExecutor) throws Exception { in testCameraManagerOpenAllCameras() argument
285 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenAllCameras()
305 if (useExecutor) { in testCameraManagerOpenAllCameras()
459 private void testCameraManagerOpenCameraTwice(boolean useExecutor) throws Exception { in testCameraManagerOpenCameraTwice() argument
461 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCameraTwice()
477 if (useExecutor) { in testCameraManagerOpenCameraTwice()
549 private void testCameraManagerListenerCallbacks(boolean useExecutor) throws Exception { in testCameraManagerListenerCallbacks() argument
[all …]
DFlashlightTest.java132 private void testTorchCallback(boolean useExecutor) throws Exception { in testTorchCallback() argument
136 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testTorchCallback()
146 if (useExecutor) { in testTorchCallback()
DCameraDeviceTest.java1598 boolean useExecutor) throws Exception { in runCaptureTest() argument
1621 useExecutor); in runCaptureTest()
1626 captureBurstShot(mCameraIds[i], sTemplates, 1, repeating, abort, useExecutor); in runCaptureTest()
1641 useExecutor); in runCaptureTest()
1646 abort, useExecutor); in runCaptureTest()
1670 boolean repeating, boolean abort, boolean useExecutor) throws Exception { in captureSingleShot() argument
1675 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureSingleShot()
1733 boolean abort, boolean useExecutor) throws Exception { in captureBurstShot() argument
1741 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureBurstShot()