Home
last modified time | relevance | path

Searched refs:lastFrameNumber (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h83 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) = 0;
91 int64_t *lastFrameNumber = NULL) = 0;
99 int64_t *lastFrameNumber = NULL) = 0;
107 int64_t *lastFrameNumber = NULL) = 0;
113 virtual status_t clearStreamingRequest(int64_t *lastFrameNumber = NULL) = 0;
299 virtual status_t flush(int64_t *lastFrameNumber = NULL) = 0;
DCamera2ClientBase.cpp326 void Camera2ClientBase<TClientBase>::notifyRepeatingRequestError(long lastFrameNumber) { in notifyRepeatingRequestError() argument
327 (void)lastFrameNumber; in notifyRepeatingRequestError()
330 __FUNCTION__, lastFrameNumber); in notifyRepeatingRequestError()
DCameraOfflineSessionBase.h53 virtual void notifyRepeatingRequestError(long lastFrameNumber) = 0;
DCamera2ClientBase.h78 virtual void notifyRepeatingRequestError(long lastFrameNumber);
/frameworks/base/core/java/android/hardware/camera2/impl/
DRequestLastFrameNumbersHolder.java104 RequestLastFrameNumbersHolder(int requestId, long lastFrameNumber, in RequestLastFrameNumbersHolder() argument
113 if (lastFrameNumber < repeatingRequestTypes.length - 1) { in RequestLastFrameNumbersHolder()
115 "lastFrameNumber: " + lastFrameNumber + " should be at least " in RequestLastFrameNumbersHolder()
121 long frameNumber = lastFrameNumber; in RequestLastFrameNumbersHolder()
DCameraDeviceImpl.java1076 final int requestId, final long lastFrameNumber, in checkEarlyTriggerSequenceCompleteLocked() argument
1080 if (lastFrameNumber == CameraCaptureSession.CaptureCallback.NO_FRAMES_CAPTURED) { in checkEarlyTriggerSequenceCompleteLocked()
1090 requestId, lastFrameNumber)); in checkEarlyTriggerSequenceCompleteLocked()
1130 lastFrameNumber, repeatingRequestTypes)); in checkEarlyTriggerSequenceCompleteLocked()
1249 long lastFrameNumber; in stopRepeating() local
1251 lastFrameNumber = mRemoteDevice.cancelRequest(requestId); in stopRepeating()
1260 checkEarlyTriggerSequenceCompleteLocked(requestId, lastFrameNumber, requestTypes); in stopRepeating()
1291 long lastFrameNumber = mRemoteDevice.flush(); in flush() local
1293 checkEarlyTriggerSequenceCompleteLocked(mRepeatingRequestId, lastFrameNumber, in flush()
1783 public void onRepeatingRequestError(long lastFrameNumber, int repeatingRequestId) { in onRepeatingRequestError() argument
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java170 public void onRepeatingRequestError(long lastFrameNumber, int repeatingRequestId) { in onRepeatingRequestError() argument
390 long lastFrameNumber = mCameraUser.cancelRequest(-1); in testSubmitStreamingRequest() local
398 long lastFrameNumber = mCameraUser.cancelRequest(requestInfo1.getRequestId()); in testSubmitStreamingRequest() local
405 long lastFrameNumber = mCameraUser.cancelRequest(requestInfoStreaming.getRequestId()); in testSubmitStreamingRequest() local
438 long lastFrameNumber = mCameraUser.cancelRequest(requestInfoStreaming.getRequestId()); in testWaitUntilIdle() local
498 long lastFrameNumber = mCameraUser.cancelRequest(streamingInfo.getRequestId()); in testIdleCallback() local
519 long lastFrameNumber = mCameraUser.flush(); in testFlush() local
525 lastFrameNumber = mCameraUser.flush(); in testFlush()
535 lastFrameNumber = mCameraUser.flush(); in testFlush()
546 lastFrameNumber = mCameraUser.flush(); in testFlush()
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraDeviceUser.cpp186 int64_t lastFrameNumber = 0; in cancelRepeatingRequest() local
187 binder::Status ret = mDeviceRemote->cancelRequest(mRequestId, &lastFrameNumber); in cancelRepeatingRequest()
188 _hidl_cb(B2HStatus(ret), lastFrameNumber); in cancelRepeatingRequest()
246 int64_t lastFrameNumber = 0; in flush() local
247 binder::Status ret = mDeviceRemote->flush(&lastFrameNumber); in flush()
248 _hidl_cb(B2HStatus(ret),lastFrameNumber); in flush()
DAidlCameraDeviceCallbacks.cpp184 int64_t lastFrameNumber, in onRepeatingRequestError() argument
187 mBase->onRepeatingRequestError(lastFrameNumber, repeatingRequestId); in onRepeatingRequestError()
DAidlCameraDeviceCallbacks.h80 virtual binder::Status onRepeatingRequestError(int64_t lastFrameNumber,
/frameworks/base/core/java/android/hardware/camera2/utils/
DSubmitInfo.java41 public SubmitInfo(int requestId, long lastFrameNumber) { in SubmitInfo() argument
43 mLastFrameNumber = lastFrameNumber; in SubmitInfo()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h105 status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) override;
108 int64_t *lastFrameNumber = NULL) override;
110 int64_t *lastFrameNumber = NULL) override;
113 int64_t *lastFrameNumber = NULL) override;
114 status_t clearStreamingRequest(int64_t *lastFrameNumber = NULL) override;
170 status_t flush(int64_t *lastFrameNumber = NULL) override;
539 int64_t *lastFrameNumber = NULL);
764 int64_t *lastFrameNumber = NULL);
766 int64_t *lastFrameNumber = NULL);
770 int64_t *lastFrameNumber = NULL);
[all …]
DCamera3Device.cpp922 status_t Camera3Device::capture(CameraMetadata &request, int64_t* lastFrameNumber) { in capture() argument
929 return captureList(requestsList, surfaceMaps, lastFrameNumber); in capture()
954 int64_t *lastFrameNumber) { in submitRequestsHelper() argument
975 res = mRequestThread->setRepeatingRequests(requestList, lastFrameNumber); in submitRequestsHelper()
977 res = mRequestThread->queueRequestList(requestList, lastFrameNumber); in submitRequestsHelper()
1165 int64_t *lastFrameNumber) { in captureList() argument
1168 return submitRequestsHelper(requestsList, surfaceMaps, /*repeating*/false, lastFrameNumber); in captureList()
1185 const std::list<const SurfaceMap> &surfaceMaps, int64_t *lastFrameNumber) { in setStreamingRequestList() argument
1188 return submitRequestsHelper(requestsList, surfaceMaps, /*repeating*/true, lastFrameNumber); in setStreamingRequestList()
1215 status_t Camera3Device::clearStreamingRequest(int64_t *lastFrameNumber) { in clearStreamingRequest() argument
[all …]
/frameworks/av/camera/tests/
DCameraBinderTests.cpp249 int64_t lastFrameNumber, int32_t stoppedSequenceId) { in onRepeatingRequestError() argument
250 (void) lastFrameNumber; in onRepeatingRequestError()
547 int64_t lastFrameNumber = 0; in TEST_F() local
558 res = device->cancelRequest(info.mRequestId, /*out*/&lastFrameNumber); in TEST_F()
565 lastFrameNumber = 0; in TEST_F()
581 lastFrameNumber = 0; in TEST_F()
584 res = device->cancelRequest(info2.mRequestId, /*out*/&lastFrameNumber); in TEST_F()
587 EXPECT_LE(lastFrameNumberPrev, lastFrameNumber); in TEST_F()
592 lastFrameNumberPrev = lastFrameNumber; in TEST_F()
593 lastFrameNumber = 0; in TEST_F()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceState.java80 void onRepeatingRequestError(long lastFrameNumber, int repeatingRequestId); in onRepeatingRequestError() argument
213 public synchronized void setRepeatingRequestError(final long lastFrameNumber, in setRepeatingRequestError() argument
218 mCurrentListener.onRepeatingRequestError(lastFrameNumber, repeatingRequestId); in setRepeatingRequestError()
DCameraDeviceUserShim.java272 public void onRepeatingRequestError(long lastFrameNumber, int repeatingRequestId) { in onRepeatingRequestError() argument
273 Object[] objArray = new Object[] { lastFrameNumber, repeatingRequestId }; in onRepeatingRequestError()
339 long lastFrameNumber = (Long) objArray[0]; in handleMessage() local
341 mCallbacks.onRepeatingRequestError(lastFrameNumber, repeatingRequestId); in handleMessage()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp514 int64_t lastFrameNumber; in stopRepeatingLocked() local
517 [&status, &lastFrameNumber](Status s, auto frameNumber) { in stopRepeatingLocked()
519 lastFrameNumber = frameNumber; in stopRepeatingLocked()
522 checkRepeatingSequenceCompleteLocked(repeatingSequenceId, lastFrameNumber); in stopRepeatingLocked()
568 int64_t lastFrameNumber; in flushLocked() local
570 auto remoteRet = mRemote->flush([&status, &lastFrameNumber](auto s, auto frameNumber) { in flushLocked()
572 lastFrameNumber = frameNumber; in flushLocked()
576 checkRepeatingSequenceCompleteLocked(mRepeatingSequenceId, lastFrameNumber); in flushLocked()
1306 const int sequenceId, const int64_t lastFrameNumber) { in checkRepeatingSequenceCompleteLocked() argument
1307 ALOGV("Repeating seqId %d lastFrameNumer %" PRId64, sequenceId, lastFrameNumber); in checkRepeatingSequenceCompleteLocked()
[all …]
DACameraDeviceVendor.inc116 int64_t lastFrameNumber = info.lastFrameNumber;
132 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber));
/frameworks/av/camera/ndk/impl/
DACameraDevice.h99 binder::Status onRepeatingRequestError(int64_t lastFrameNumber,
272 int64_t lastFrameNumber; member
284 lastFrameNumber(lastFN) {} in RequestLastFrameNumberHolder()
354 void checkRepeatingSequenceCompleteLocked(const int sequenceId, const int64_t lastFrameNumber);
DACameraDevice.inc93 int64_t lastFrameNumber = info.mLastFrameNumber;
110 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber));
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp226 virtual Return<void> onRepeatingRequestError(uint64_t lastFrameNumber, in onRepeatingRequestError() argument
228 (void)lastFrameNumber; in onRepeatingRequestError()
490 int64_t lastFrameNumber = -1; in TEST_P() local
492 deviceRemote->cancelRepeatingRequest([&status, &lastFrameNumber](auto s, int64_t lf) { in TEST_P()
494 lastFrameNumber = lf; in TEST_P()
497 EXPECT_GE(lastFrameNumber, 0); in TEST_P()
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceCallbacks.aidl50 oneway void onRepeatingRequestError(in long lastFrameNumber, in onRepeatingRequestError() argument
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceCallback.hal68 * @param lastFrameNumber Frame number of the last frame of the streaming
73 oneway onRepeatingRequestError(uint64_t lastFrameNumber,
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h92 int64_t* lastFrameNumber = NULL) override;
142 int64_t* lastFrameNumber = NULL) override;
205 virtual void notifyRepeatingRequestError(long lastFrameNumber);
DCameraOfflineSessionClient.h95 void notifyRepeatingRequestError(long lastFrameNumber) override;

12