/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2StillCaptureTest.java | 207 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera() local 214 maxStillSz, resultListener, imageListener); in takePictureTestByCamera() 260 resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera() 267 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() local 269 waitForResultValue(resultListener, CaptureResult.CONTROL_AWB_STATE, in takePictureTestByCamera() 273 waitForSettingsApplied(resultListener, NUM_FRAMES_WAITED_FOR_UNKNOWN_LATENCY); in takePictureTestByCamera() 279 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() local 281 result = resultListener.getCaptureResult(WAIT_FOR_RESULT_TIMEOUT_MS); in takePictureTestByCamera() 295 resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera() 302 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() local [all …]
|
D | Camera2RecordingTest.java | 247 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in constrainedHighSpeedRecording() local 249 captureRate, fpsRange, resultListener, in constrainedHighSpeedRecording() 258 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in constrainedHighSpeedRecording() 429 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in basicRecordingTestByCamera() local 430 startRecording(/* useMediaRecorder */true, resultListener, useVideoStab); in basicRecordingTestByCamera() 438 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in basicRecordingTestByCamera() 443 ", num of frames produced: " + resultListener.getTotalNumFrames()); in basicRecordingTestByCamera() 655 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in videoSnapshotTestByCamera() local 673 startRecording(/* useMediaRecorder */true, resultListener, /*useVideoStab*/false); in videoSnapshotTestByCamera() 686 mSession.captureBurst(requests, resultListener, mHandler); in videoSnapshotTestByCamera() [all …]
|
D | Camera2SwitchPreviewTest.java | 298 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in stillCapturePreviewPreparer() local 305 prepareCapturePreview(previewRequest, stillRequest, resultListener, imageListener); in stillCapturePreviewPreparer() 391 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in basicRecordingPreviewTestByCamera() local 394 prepareVideoPreview(previewRequest, recordingRequest, resultListener, imageListener); in basicRecordingPreviewTestByCamera() 525 CaptureCallback resultListener, in prepareVideoPreview() argument 546 CaptureCallback resultListener, in prepareCapturePreview() argument 576 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in prepareCapturePreview() local
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewTestCase.java | 284 CaptureCallback resultListener, in prepareStillCaptureAndStartPreview() argument 287 ImageFormat.JPEG, resultListener, MAX_READER_IMAGES, imageListener); in prepareStillCaptureAndStartPreview() 303 CaptureCallback resultListener, int maxNumImages, in prepareStillCaptureAndStartPreview() argument 306 ImageFormat.JPEG, resultListener, maxNumImages, imageListener); in prepareStillCaptureAndStartPreview() 325 CaptureCallback resultListener, in prepareRawCaptureAndStartPreview() argument 328 ImageFormat.RAW_SENSOR, resultListener, MAX_READER_IMAGES, imageListener); in prepareRawCaptureAndStartPreview() 479 protected static CaptureResult waitForNumResults(SimpleCaptureCallback resultListener, in waitForNumResults() argument 481 if (numResultsWait < 0 || resultListener == null) { in waitForNumResults() 488 result = resultListener.getCaptureResult(WAIT_FOR_RESULT_TIMEOUT_MS); in waitForNumResults() 501 protected void waitForSettingsApplied(SimpleCaptureCallback resultListener, in waitForSettingsApplied() argument [all …]
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 1440 @NonNull Consumer<Bundle> resultListener) { in performDirectAction() argument 1445 Preconditions.checkNotNull(resultListener); in performDirectAction() 1466 resultExecutor.execute(() -> resultListener.accept(b)); in performDirectAction() 1468 resultExecutor.execute(() -> resultListener.accept(Bundle.EMPTY)); in performDirectAction()
|
/frameworks/base/core/java/android/app/ |
D | Activity.java | 2379 @NonNull Consumer<Bundle> resultListener) { } in onPerformDirectAction() argument
|