/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/services/ |
D | BaseVoiceInteractionService.java | 560 AlwaysOnHotwordDetector.Callback callback, boolean useExecutor) { in callCreateAlwaysOnHotwordDetectorNoHotwordDetectionService() argument 563 + useExecutor); in callCreateAlwaysOnHotwordDetectorNoHotwordDetectionService() 567 if (useExecutor) { in callCreateAlwaysOnHotwordDetectorNoHotwordDetectionService() 596 AlwaysOnHotwordDetector.Callback callback, boolean useExecutor) { in callCreateAlwaysOnHotwordDetector() argument 597 return callCreateAlwaysOnHotwordDetector(callback, useExecutor, /* options= */ null); in callCreateAlwaysOnHotwordDetector() 601 AlwaysOnHotwordDetector.Callback callback, boolean useExecutor, in callCreateAlwaysOnHotwordDetector() argument 604 "callCreateAlwaysOnHotwordDetector() useExecutor = " + useExecutor + ", options = " in callCreateAlwaysOnHotwordDetector() 609 if (useExecutor) { in callCreateAlwaysOnHotwordDetector() 639 boolean useExecutor) { in callCreateSoftwareHotwordDetector() argument 640 return callCreateSoftwareHotwordDetector(callback, useExecutor, /* options= */ null); in callCreateSoftwareHotwordDetector() [all …]
|
D | CtsBasicVoiceInteractionService.java | 151 public void createAlwaysOnHotwordDetectorNoHotwordDetectionService(boolean useExecutor, in createAlwaysOnHotwordDetectorNoHotwordDetectionService() argument 161 callback, useExecutor); in createAlwaysOnHotwordDetectorNoHotwordDetectionService() 182 public void createAlwaysOnHotwordDetector(boolean useExecutor, boolean runOnMainThread) { in createAlwaysOnHotwordDetector() argument 183 createAlwaysOnHotwordDetector(useExecutor, runOnMainThread, /* options= */ null); in createAlwaysOnHotwordDetector() 191 public void createAlwaysOnHotwordDetector(boolean useExecutor, boolean runOnMainThread, in createAlwaysOnHotwordDetector() argument 271 useExecutor, options, MANAGE_HOTWORD_DETECTION, RECORD_AUDIO, in createAlwaysOnHotwordDetector() 326 public void createAlwaysOnHotwordDetectorWithOnFailureCallback(boolean useExecutor, in createAlwaysOnHotwordDetectorWithOnFailureCallback() argument 328 createAlwaysOnHotwordDetectorWithOnFailureCallback(useExecutor, runOnMainThread, in createAlwaysOnHotwordDetectorWithOnFailureCallback() 336 public void createAlwaysOnHotwordDetectorWithOnFailureCallback(boolean useExecutor, in createAlwaysOnHotwordDetectorWithOnFailureCallback() argument 345 createAlwaysOnHotwordDetectorCallbackWithListeners(), useExecutor, in createAlwaysOnHotwordDetectorWithOnFailureCallback() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 349 private void testCameraManagerOpenCamerasSerially(boolean useExecutor) throws Exception { in testCameraManagerOpenCamerasSerially() argument 350 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCamerasSerially() 359 if (useExecutor) { in testCameraManagerOpenCamerasSerially() 392 private void testCameraManagerOpenAllCameras(boolean useExecutor) throws Exception { in testCameraManagerOpenAllCameras() argument 401 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenAllCameras() 421 if (useExecutor) { in testCameraManagerOpenAllCameras() 538 private void testCameraManagerOpenCameraTwice(boolean useExecutor) throws Exception { in testCameraManagerOpenCameraTwice() argument 540 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCameraTwice() 556 if (useExecutor) { in testCameraManagerOpenCameraTwice() 635 private void testCameraManagerListenerCallbacks(boolean useExecutor) throws Exception { in testCameraManagerListenerCallbacks() argument [all …]
|
D | FlashlightTest.java | 246 private void testTorchCallback(boolean useExecutor) throws Exception { in testTorchCallback() argument 250 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testTorchCallback() 260 if (useExecutor) { in testTorchCallback()
|
D | CameraDeviceTest.java | 1630 boolean useExecutor) throws Exception { in runCaptureTest() argument 1654 useExecutor); in runCaptureTest() 1659 … captureBurstShot(cameraIdsUnderTest[i], sTemplates, 1, repeating, abort, useExecutor); in runCaptureTest() 1674 useExecutor); in runCaptureTest() 1679 abort, useExecutor); in runCaptureTest() 1703 boolean repeating, boolean abort, boolean useExecutor) throws Exception { in captureSingleShot() argument 1708 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureSingleShot() 1766 boolean abort, boolean useExecutor) throws Exception { in captureBurstShot() argument 1774 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureBurstShot()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionServiceTest.java | 399 private void testCreateAlwaysOnHotwordDetectorNoHotwordDetectionService(boolean useExecutor, in testCreateAlwaysOnHotwordDetectorNoHotwordDetectionService() argument 406 mService.createAlwaysOnHotwordDetectorNoHotwordDetectionService(useExecutor, in testCreateAlwaysOnHotwordDetectorNoHotwordDetectionService() 447 private void testCreateAlwaysOnHotwordDetector(boolean useExecutor, boolean runOnMainThread, in testCreateAlwaysOnHotwordDetector() argument 453 mService.createAlwaysOnHotwordDetector(useExecutor, runOnMainThread); in testCreateAlwaysOnHotwordDetector() 527 private void testCreateHotwordDetector(boolean useExecutor, boolean runOnMainThread, in testCreateHotwordDetector() argument 533 mService.createSoftwareHotwordDetector(useExecutor, runOnMainThread); in testCreateHotwordDetector()
|