Home
last modified time | relevance | path

Searched refs:captureCallback (Results 1 – 17 of 17) sorted by relevance

/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/
DSimpleSessionProcessorStub.java149 @NonNull ICaptureCallback captureCallback) { in notifyOnCaptureCompleted() argument
162 captureCallback.onCaptureCompleted(shutterTimestamp, seqId, in notifyOnCaptureCompleted()
171 public int startTrigger(CaptureRequest captureRequest, ICaptureCallback captureCallback) in startTrigger() argument
198 captureCallback.onCaptureStarted(captureSequenceId, timestamp); in startTrigger()
211 captureCallback.onCaptureProcessStarted(captureSequenceId); in startTrigger()
212 notifyOnCaptureCompleted(captureSequenceId, captureResult, captureCallback); in startTrigger()
219 captureCallback.onCaptureFailed(captureSequenceId); in startTrigger()
225 captureCallback.onCaptureFailed(captureSequenceId); in startTrigger()
231 captureCallback.onCaptureSequenceCompleted(captureSequenceId); in startTrigger()
236 captureCallback.onCaptureSequenceAborted(captureSequenceId); in startTrigger()
[all …]
/frameworks/ex/camera2/extensions/eyesFreeVidSample/src/android/camera/extensions/impl/service/
DEyesFreeVidSessionProcessor.java213 @NonNull CaptureCallback captureCallback) { in startRepeating() argument
228 captureCallback.onCaptureStarted(seqId, timestamp); in startRepeating()
241 addCaptureResultKeys(seqId, totalCaptureResult, captureCallback, request); in startRepeating()
242 captureCallback.onCaptureProcessStarted(seqId); in startRepeating()
250 captureCallback.onCaptureFailed(seqId, captureFailure.getReason()); in startRepeating()
258 captureCallback.onCaptureFailed(seqId, CaptureFailure.REASON_ERROR); in startRepeating()
265 captureCallback.onCaptureSequenceCompleted(seqId); in startRepeating()
272 captureCallback.onCaptureSequenceAborted(seqId); in startRepeating()
289 @NonNull CaptureCallback captureCallback, in addCaptureResultKeys() argument
366 captureCallback.onCaptureCompleted(shutterTimestamp, seqId, captureResults); in addCaptureResultKeys()
[all …]
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/
DHdrAdvancedExtenderImpl.java130 public int startCapture(@NonNull CaptureCallback captureCallback) { in startCapture() argument
147 captureCallback.onCaptureStarted(seqId, timestamp); in startCapture()
164 captureCallback.onCaptureProcessStarted(seqId); in startCapture()
165 addCaptureResultKeys(seqId, totalCaptureResult, captureCallback); in startCapture()
176 captureCallback.onCaptureFailed(seqId); in startCapture()
182 captureCallback.onCaptureFailed(seqId); in startCapture()
187 captureCallback.onCaptureSequenceCompleted(seqId); in startCapture()
188 captureCallback.onCaptureProcessProgressed(100); in startCapture()
193 captureCallback.onCaptureSequenceAborted(seqId); in startCapture()
215 captureCallback.onCaptureProcessStarted(seqId); in startCapture()
[all …]
DBaseAdvancedExtenderImpl.java376 CaptureCallback captureCallback) { in startTrigger() argument
387 captureCallback.onCaptureStarted(seqId, timestamp); in startTrigger()
399 addCaptureResultKeys(seqId, totalCaptureResult, captureCallback); in startTrigger()
401 captureCallback.onCaptureProcessStarted(seqId); in startTrigger()
407 captureCallback.onCaptureFailed(seqId, captureFailure.getReason()); in startTrigger()
413 captureCallback.onCaptureFailed(seqId, CaptureFailure.REASON_ERROR); in startTrigger()
418 captureCallback.onCaptureSequenceCompleted(seqId); in startTrigger()
423 captureCallback.onCaptureSequenceAborted(seqId); in startTrigger()
485 public int startRepeating(@NonNull CaptureCallback captureCallback) { in startRepeating() argument
495 captureCallback.onCaptureStarted(seqId, timestamp); in startRepeating()
[all …]
DNightAdvancedExtenderImpl.java258 public int startRepeating(@NonNull CaptureCallback captureCallback) { in startRepeating() argument
268 captureCallback.onCaptureStarted(seqId, timestamp); in startRepeating()
281 addCaptureResultKeys(seqId, totalCaptureResult, captureCallback); in startRepeating()
288 captureCallback.onCaptureProcessStarted(seqId); in startRepeating()
294 captureCallback.onCaptureFailed(seqId); in startRepeating()
300 captureCallback.onCaptureFailed(seqId); in startRepeating()
305 captureCallback.onCaptureSequenceCompleted(seqId); in startRepeating()
310 captureCallback.onCaptureSequenceAborted(seqId); in startRepeating()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2ReprocessCaptureTest.java534 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testReprocessAbort() local
538 mSession.captureBurst(reprocessRequests, captureCallback, mHandler); in testReprocessAbort()
541 mSession.capture(request, captureCallback, mHandler); in testReprocessAbort()
547 captureCallback.getTotalCaptureResultForRequest(reprocessRequests.get(0), in testReprocessAbort()
557 captureCallback.getCaptureFailures(NUM_REPROCESS_CAPTURES - 1); in testReprocessAbort()
567 captureCallback.getTotalCaptureResultForRequest(request, in testReprocessAbort()
624 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testReprocessTimestamps() local
625 mSession.captureBurst(reprocessRequests, captureCallback, mHandler); in testReprocessTimestamps()
629 captureCallback.waitForCaptureStart(reprocessRequests.get(i), in testReprocessTimestamps()
634 captureCallback.getTotalCaptureResultsForRequests(reprocessRequests, in testReprocessTimestamps()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DDisplayStateInteractorImplTest.kt89 val callback = screenSizeFoldProvider.captureCallback() in isFoldedChanges()
111 private fun FoldProvider.captureCallback() = in FoldProvider() method
113 verify(this@captureCallback).registerCallback(capture(), any()) in FoldProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDeviceManagerTest.kt291 val deviceCallback = captureCallback() in deviceListUpdate()
308 val deviceCallback = captureCallback() in selectedDeviceStateChanged()
338 val deviceCallback = captureCallback() in onAboutToConnectDeviceAdded_findsDeviceInfoFromAddress()
366 val deviceCallback = captureCallback() in onAboutToConnectDeviceAdded_cantFindDeviceInfoFromAddress()
383 val deviceCallback = captureCallback() in onAboutToConnectDeviceAddedThenRemoved_usesNormalDevice()
474 val deviceCallback = captureCallback() in onSelectedDeviceStateChanged_withRemotePlaybackInfo_noMatchingRoutingSession_setsDisabledDevice()
495 val deviceCallback = captureCallback() in onSelectedDeviceStateChanged_withRemotePlaybackInfo_noMatchingRoutingSession_returnOtherDevice()
518 val deviceCallback = captureCallback() in onDeviceListUpdate_withRemotePlaybackInfo_noMatchingRoutingSession_setsDisabledDevice()
540 val deviceCallback = captureCallback() in onDeviceListUpdate_withRemotePlaybackInfo_noMatchingRoutingSession_returnsOtherDevice()
673 val deviceCallback = captureCallback() in deviceIdChanged_informListener()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsEditingActivityTest.kt57 @Captor private lateinit var captureCallback: ArgumentCaptor<OnBackInvokedCallback> variable in com.android.systemui.controls.management.ControlsEditingActivityTest
89 captureCallback.capture() in testBackCallbackRegistrationAndUnregistration()
94 verify(mockDispatcher).unregisterOnBackInvokedCallback(captureCallback.value) in testBackCallbackRegistrationAndUnregistration()
DControlsFavoritingActivityTest.kt78 @Captor private lateinit var captureCallback: ArgumentCaptor<OnBackInvokedCallback> variable in com.android.systemui.controls.management.ControlsFavoritingActivityTest
113 captureCallback.capture() in testBackCallbackRegistrationAndUnregistration()
118 verify(mockDispatcher).unregisterOnBackInvokedCallback(captureCallback.value) in testBackCallbackRegistrationAndUnregistration()
DControlsProviderSelectorActivityTest.kt88 @Captor private lateinit var captureCallback: ArgumentCaptor<OnBackInvokedCallback> variable in com.android.systemui.controls.management.ControlsProviderSelectorActivityTest
125 captureCallback.capture() in testBackCallbackRegistrationAndUnregistration()
130 verify(mockDispatcher).unregisterOnBackInvokedCallback(captureCallback.value) in testBackCallbackRegistrationAndUnregistration()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionJpegProcessor.java197 public void process(List<CaptureBundle> captureBundle, IProcessResultImpl captureCallback, in process() argument
203 mProcessor.process(captureBundle, captureCallback, isPostviewRequested); in process()
DCameraAdvancedExtensionSessionImpl.java1190 CaptureCallbackHandler captureCallback = new CaptureCallbackHandler(callback); in submitBurst() local
1197 new CameraExtensionUtils.HandlerExecutor(mHandler), captureCallback); in submitBurst()
1219 CaptureCallbackHandler captureCallback = new CaptureCallbackHandler(callback); in setRepeating() local
1221 new CameraExtensionUtils.HandlerExecutor(mHandler), captureCallback); in setRepeating()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java500 CameraCaptureSession.CaptureCallback captureCallback
512 setRequest(captureBuilder.build(), captureCallback, null);
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java536 CameraCaptureSession.CaptureCallback captureCallback in captureStillPicture() local
548 setRequest(captureBuilder.build(), captureCallback, null); in captureStillPicture() local
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp165 static void captureCallback(void* user, in captureCallback() function
732 Visualizer::capture_cbk_t cbk = captureCallback; in android_media_setPeriodicCapture()
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java1239 private CaptureCallbackStub(ICaptureCallback captureCallback, String cameraId) {
1240 mCaptureCallback = captureCallback;