Home
last modified time | relevance | path

Searched refs:resultExtras (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraOfflineSessionImpl.java141 public void onDeviceError(final int errorCode, CaptureResultExtras resultExtras) { in onDeviceError() argument
148 onCaptureErrorLocked(errorCode, resultExtras); in onDeviceError()
210 public void onCaptureStarted(final CaptureResultExtras resultExtras, final long timestamp) { in onCaptureStarted() argument
211 int requestId = resultExtras.getRequestId(); in onCaptureStarted()
212 final long frameNumber = resultExtras.getFrameNumber(); in onCaptureStarted()
214 resultExtras.getLastCompletedRegularFrameNumber(); in onCaptureStarted()
216 resultExtras.getLastCompletedReprocessFrameNumber(); in onCaptureStarted()
218 resultExtras.getLastCompletedZslFrameNumber(); in onCaptureStarted()
250 final int subsequenceId = resultExtras.getSubsequenceId(); in onCaptureStarted()
272 resultExtras.getSubsequenceId()), in onCaptureStarted()
[all …]
DCameraDeviceImpl.java1569 public void onDeviceError(final int errorCode, CaptureResultExtras resultExtras) { in onDeviceError() argument
1573 errorCode, resultExtras.getFrameNumber(), resultExtras.getRequestId(), in onDeviceError()
1574 resultExtras.getSubsequenceId())); in onDeviceError()
1585 mOfflineSessionImpl.getCallbacks().onDeviceError(errorCode, resultExtras); in onDeviceError()
1601 onCaptureErrorLocked(errorCode, resultExtras); in onDeviceError()
1636 private void onCaptureErrorLocked(int errorCode, CaptureResultExtras resultExtras) { in onCaptureErrorLocked() argument
1638 final int requestId = resultExtras.getRequestId(); in onCaptureErrorLocked()
1639 final int subsequenceId = resultExtras.getSubsequenceId(); in onCaptureErrorLocked()
1640 final long frameNumber = resultExtras.getFrameNumber(); in onCaptureErrorLocked()
1641 final String errorPhysicalCameraId = resultExtras.getErrorPhysicalCameraId(); in onCaptureErrorLocked()
[all …]
/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraDeviceCallbacks.cpp63 int32_t errorCode, const CaptureResultExtras& resultExtras) { in onDeviceError() argument
65 HCaptureResultExtras hCaptureResultExtras = convertToHidl(resultExtras); in onDeviceError()
84 const CaptureResultExtras& resultExtras, int64_t timestamp) { in onCaptureStarted() argument
86 HCaptureResultExtras hCaptureResultExtras = convertToHidl(resultExtras); in onCaptureStarted()
141 auto resultExtras = resultWrapper->mResultExtras; in processResultMessage() local
143 hardware::cameraservice::utils::conversion::convertToHidl(resultExtras); in processResultMessage()
164 const CaptureResultExtras& resultExtras, in onResultReceived() argument
169 resultExtras, physicalCaptureResultInfos); in onResultReceived()
DAidlCameraDeviceCallbacks.h67 const CaptureResultExtras& resultExtras) override;
71 virtual binder::Status onCaptureStarted(const CaptureResultExtras& resultExtras,
75 const CameraMetadataNative& result, const CaptureResultExtras& resultExtras,
97 const CaptureResultExtras resultExtras, in ResultWrapper()
100 …mResult(result), mResultExtras(resultExtras), mPhysicalCaptureResultInfos(physicalCaptureResultInf… in ResultWrapper()
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceCallbacks.aidl36 oneway void onDeviceError(int errorCode, in CaptureResultExtras resultExtras); in onDeviceError() argument
38 oneway void onCaptureStarted(in CaptureResultExtras resultExtras, long timestamp); in onCaptureStarted() argument
40 in CaptureResultExtras resultExtras, in onResultReceived() argument
/frameworks/base/core/tests/coretests/BinderDeathRecipientHelperApp/src/com/android/frameworks/coretests/bdr_helper_app/
DTestCommsReceiver.java42 final Bundle resultExtras = new Bundle(); in onReceive() local
43 resultExtras.putBinder(EXTRA_KEY_BINDER, new Binder()); in onReceive()
44 setResult(Activity.RESULT_OK, null, resultExtras); in onReceive()
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceCallback.hal25 * @param resultExtras data structure containing information about the
30 CaptureResultExtras resultExtras);
40 * @param resultExtras data structure containing information about the
44 oneway onCaptureStarted(CaptureResultExtras resultExtras,
54 * @param resultExtras data structure containing information about the
62 CaptureResultExtras resultExtras,
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp162 const CaptureResultExtras& resultExtras) { in notifyError() argument
168 skipClientNotification |= mCompositeStreamMap.valueAt(i)->onError(errorCode, resultExtras); in notifyError()
172 mRemoteCallback->onDeviceError(errorCode, resultExtras); in notifyError()
256 void CameraOfflineSessionClient::notifyShutter(const CaptureResultExtras& resultExtras, in notifyShutter() argument
260 mRemoteCallback->onCaptureStarted(resultExtras, timestamp); in notifyShutter()
264 mCompositeStreamMap.valueAt(i)->onShutter(resultExtras, timestamp); in notifyShutter()
DCompositeStream.cpp167 bool CompositeStream::onError(int32_t errorCode, const CaptureResultExtras& resultExtras) { in onError() argument
171 onResultError(resultExtras); in onError()
174 ret = onStreamBufferError(resultExtras); in onError()
177 onRequestError(resultExtras); in onError()
DCompositeStream.h81 bool onError(int32_t errorCode, const CaptureResultExtras& resultExtras);
102 virtual bool onStreamBufferError(const CaptureResultExtras& resultExtras) = 0;
106 virtual void onResultError(const CaptureResultExtras& resultExtras) = 0;
DHeicCompositeStream.h60 void onShutter(const CaptureResultExtras& resultExtras, nsecs_t timestamp) override;
82 bool onStreamBufferError(const CaptureResultExtras& resultExtras) override;
83 void onResultError(const CaptureResultExtras& resultExtras) override;
84 void onRequestError(const CaptureResultExtras& resultExtras) override;
DCameraOfflineSessionClient.h87 void notifyError(int32_t errorCode, const CaptureResultExtras& resultExtras) override;
88 void notifyShutter(const CaptureResultExtras& resultExtras, nsecs_t timestamp) override;
DHeicCompositeStream.cpp554 void HeicCompositeStream::onShutter(const CaptureResultExtras& resultExtras, nsecs_t timestamp) { in onShutter() argument
560 if (mSettingsByFrameNumber.find(resultExtras.frameNumber) != mSettingsByFrameNumber.end()) { in onShutter()
562 resultExtras.frameNumber, timestamp, resultExtras.requestId); in onShutter()
563 mSettingsByFrameNumber[resultExtras.frameNumber].shutterNotified = true; in onShutter()
564 mSettingsByFrameNumber[resultExtras.frameNumber].timestamp = timestamp; in onShutter()
565 mSettingsByFrameNumber[resultExtras.frameNumber].requestId = resultExtras.requestId; in onShutter()
1723 bool HeicCompositeStream::onStreamBufferError(const CaptureResultExtras& resultExtras) { in onStreamBufferError() argument
1725 int64_t frameNumber = resultExtras.frameNumber; in onStreamBufferError()
1730 if (resultExtras.errorStreamId == mAppSegmentStreamId) { in onStreamBufferError()
1734 } else if (resultExtras.errorStreamId == mMainImageStreamId) { in onStreamBufferError()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputUtils.cpp170 const CaptureResultExtras &resultExtras, uint32_t frameNumber) { in sendPartialCaptureResult() argument
175 captureResult.mResultExtras = resultExtras; in sendPartialCaptureResult()
191 CaptureResultExtras &resultExtras, in sendCaptureResult() argument
231 captureResult.mResultExtras = resultExtras; in sendCaptureResult()
437 request.outputSurfaces, request.resultExtras, in removeInFlightRequestIfReadyLocked()
502 __FUNCTION__, request.resultExtras.requestId, in processCaptureResult()
503 request.resultExtras.frameNumber, request.resultExtras.burstId, in processCaptureResult()
511 request.resultExtras.partialResultCount = result->partial_result; in processCaptureResult()
533 sendPartialCaptureResult(states, result->result, request.resultExtras, in processCaptureResult()
621 sendCaptureResult(states, metadata, request.resultExtras, in processCaptureResult()
[all …]
DInFlightRequest.h60 CaptureResultExtras resultExtras; member
151 resultExtras(extras),
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceUserShim.java232 public void onDeviceError(final int errorCode, final CaptureResultExtras resultExtras) { in onDeviceError() argument
235 /*obj*/ resultExtras); in onDeviceError()
246 public void onCaptureStarted(final CaptureResultExtras resultExtras, final long timestamp) { in onCaptureStarted() argument
250 /*obj*/ resultExtras); in onCaptureStarted()
256 final CaptureResultExtras resultExtras, in onResultReceived() argument
258 Object[] resultArray = new Object[] { result, resultExtras }; in onResultReceived()
310 CaptureResultExtras resultExtras = (CaptureResultExtras) msg.obj; in handleMessage() local
311 mCallbacks.onDeviceError(errorCode, resultExtras); in handleMessage()
320 CaptureResultExtras resultExtras = (CaptureResultExtras) msg.obj; in handleMessage() local
321 mCallbacks.onCaptureStarted(resultExtras, timestamp); in handleMessage()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraOfflineSessionBase.h39 const CaptureResultExtras &resultExtras) = 0;
43 virtual void notifyShutter(const CaptureResultExtras &resultExtras,
DCamera2ClientBase.cpp242 const CaptureResultExtras& resultExtras) { in notifyError() argument
244 resultExtras.requestId); in notifyError()
262 void Camera2ClientBase<TClientBase>::notifyShutter(const CaptureResultExtras& resultExtras, in notifyShutter() argument
264 (void)resultExtras; in notifyShutter()
277 __FUNCTION__, resultExtras.requestId, timestamp); in notifyShutter()
DCamera2ClientBase.h68 const CaptureResultExtras& resultExtras);
70 virtual void notifyShutter(const CaptureResultExtras& resultExtras,
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp810 const CaptureResultExtras& resultExtras) { in onCaptureErrorLocked() argument
811 int sequenceId = resultExtras.requestId; in onCaptureErrorLocked()
812 int64_t frameNumber = resultExtras.frameNumber; in onCaptureErrorLocked()
813 int32_t burstId = resultExtras.burstId; in onCaptureErrorLocked()
834 int32_t streamId = resultExtras.errorStreamId; in onCaptureErrorLocked()
880 if (resultExtras.errorPhysicalCameraId.size() > 0) { in onCaptureErrorLocked()
881 msg->setString(kFailingPhysicalCameraId, resultExtras.errorPhysicalCameraId.c_str(), in onCaptureErrorLocked()
882 resultExtras.errorPhysicalCameraId.size()); in onCaptureErrorLocked()
1413 const CaptureResultExtras& resultExtras) { in onDeviceError() argument
1415 " physical camera ID %s", errorCode, resultExtras.frameNumber, resultExtras.requestId, in onDeviceError()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DBinderDeathRecipientTest.java77 final AtomicReference<Bundle> resultExtras = new AtomicReference<>(); in getNewRemoteBinder() local
85 resultExtras.set(getResultExtras(true)); in getNewRemoteBinder()
92 return resultExtras.get().getBinder(TestCommsReceiver.EXTRA_KEY_BINDER); in getNewRemoteBinder()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastRecord.java82 Bundle resultExtras; // current result extra data values. field in BroadcastRecord
171 if (resultExtras != null) { in dump()
172 pw.print(prefix); pw.print("resultExtras="); pw.println(resultExtras); in dump()
266 resultExtras = _resultExtras; in BroadcastRecord()
310 resultExtras = from.resultExtras; in BroadcastRecord()
354 resultData, resultExtras, ordered, sticky, initialSticky, userId, in splitRecipientsLocked()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DIntentSenderTest.java50 int resultCode, String resultData, Bundle resultExtras) { in testRegisteredReceivePermissionDenied()
77 int resultCode, String resultData, Bundle resultExtras) { in testLocalReceivePermissionDenied()
/frameworks/av/camera/ndk/impl/
DACameraDevice.h90 const CaptureResultExtras& resultExtras) override;
92 binder::Status onCaptureStarted(const CaptureResultExtras& resultExtras,
95 const CaptureResultExtras& resultExtras,
199 const CaptureResultExtras& resultExtras);
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.h65 void notifyShutter(const CaptureResultExtras& resultExtras,
69 void notifyError(int32_t errorCode, const CaptureResultExtras& resultExtras);

123