Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h88 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) = 0;
96 int64_t *lastFrameNumber = NULL) = 0;
104 int64_t *lastFrameNumber = NULL) = 0;
112 int64_t *lastFrameNumber = NULL) = 0;
118 virtual status_t clearStreamingRequest(int64_t *lastFrameNumber = NULL) = 0;
283 virtual void notifyRepeatingRequestError(long lastFrameNumber) = 0;
342 virtual status_t flush(int64_t *lastFrameNumber = NULL) = 0;
DCamera2ClientBase.cpp325 void Camera2ClientBase<TClientBase>::notifyRepeatingRequestError(long lastFrameNumber) { in notifyRepeatingRequestError() argument
326 (void)lastFrameNumber; in notifyRepeatingRequestError()
329 __FUNCTION__, lastFrameNumber); in notifyRepeatingRequestError()
DCamera2ClientBase.h77 virtual void notifyRepeatingRequestError(long lastFrameNumber);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java170 public void onRepeatingRequestError(long lastFrameNumber, int repeatingRequestId) { in onRepeatingRequestError() argument
389 long lastFrameNumber = mCameraUser.cancelRequest(-1); in testSubmitStreamingRequest() local
397 long lastFrameNumber = mCameraUser.cancelRequest(requestInfo1.getRequestId()); in testSubmitStreamingRequest() local
404 long lastFrameNumber = mCameraUser.cancelRequest(requestInfoStreaming.getRequestId()); in testSubmitStreamingRequest() local
437 long lastFrameNumber = mCameraUser.cancelRequest(requestInfoStreaming.getRequestId()); in testWaitUntilIdle() local
497 long lastFrameNumber = mCameraUser.cancelRequest(streamingInfo.getRequestId()); in testIdleCallback() local
518 long lastFrameNumber = mCameraUser.flush(); in testFlush() local
524 lastFrameNumber = mCameraUser.flush(); in testFlush()
534 lastFrameNumber = mCameraUser.flush(); in testFlush()
545 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()
245 int64_t lastFrameNumber = 0; in flush() local
246 binder::Status ret = mDeviceRemote->flush(&lastFrameNumber); in flush()
247 _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.h94 status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) override;
97 int64_t *lastFrameNumber = NULL) override;
99 int64_t *lastFrameNumber = NULL) override;
102 int64_t *lastFrameNumber = NULL) override;
103 status_t clearStreamingRequest(int64_t *lastFrameNumber = NULL) override;
157 status_t flush(int64_t *lastFrameNumber = NULL) override;
538 int64_t *lastFrameNumber = NULL);
770 int64_t *lastFrameNumber = NULL);
772 int64_t *lastFrameNumber = NULL);
776 int64_t *lastFrameNumber = NULL);
[all …]
DCamera3Device.cpp909 status_t Camera3Device::capture(CameraMetadata &request, int64_t* lastFrameNumber) { in capture() argument
916 return captureList(requestsList, surfaceMaps, lastFrameNumber); in capture()
941 int64_t *lastFrameNumber) { in submitRequestsHelper() argument
962 res = mRequestThread->setRepeatingRequests(requestList, lastFrameNumber); in submitRequestsHelper()
964 res = mRequestThread->queueRequestList(requestList, lastFrameNumber); in submitRequestsHelper()
1517 int64_t *lastFrameNumber) { in captureList() argument
1520 return submitRequestsHelper(requestsList, surfaceMaps, /*repeating*/false, lastFrameNumber); in captureList()
1537 const std::list<const SurfaceMap> &surfaceMaps, int64_t *lastFrameNumber) { in setStreamingRequestList() argument
1540 return submitRequestsHelper(requestsList, surfaceMaps, /*repeating*/true, lastFrameNumber); in setStreamingRequestList()
1567 status_t Camera3Device::clearStreamingRequest(int64_t *lastFrameNumber) { in clearStreamingRequest() argument
[all …]
/frameworks/av/camera/tests/
DCameraBinderTests.cpp243 int64_t lastFrameNumber, int32_t stoppedSequenceId) { in onRepeatingRequestError() argument
244 (void) lastFrameNumber; in onRepeatingRequestError()
537 int64_t lastFrameNumber = 0; in TEST_F() local
548 res = device->cancelRequest(info.mRequestId, /*out*/&lastFrameNumber); in TEST_F()
555 lastFrameNumber = 0; in TEST_F()
571 lastFrameNumber = 0; in TEST_F()
574 res = device->cancelRequest(info2.mRequestId, /*out*/&lastFrameNumber); in TEST_F()
577 EXPECT_LE(lastFrameNumberPrev, lastFrameNumber); in TEST_F()
582 lastFrameNumberPrev = lastFrameNumber; in TEST_F()
583 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.java271 public void onRepeatingRequestError(long lastFrameNumber, int repeatingRequestId) { in onRepeatingRequestError() argument
272 Object[] objArray = new Object[] { lastFrameNumber, repeatingRequestId }; in onRepeatingRequestError()
338 long lastFrameNumber = (Long) objArray[0]; in handleMessage() local
340 mCallbacks.onRepeatingRequestError(lastFrameNumber, repeatingRequestId); in handleMessage()
DRequestThreadManager.java946 long lastFrameNumber = cancelRepeating(burstHolder.getRequestId());
949 lastFrameNumber);
951 if (lastFrameNumber != RequestQueue.INVALID_FRAME) {
952 mDeviceState.setRepeatingRequestError(lastFrameNumber,
/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));
DACameraDevice.h120 android::hardware::Return<void> onRepeatingRequestError(uint64_t lastFrameNumber,
369 void checkRepeatingSequenceCompleteLocked(const int sequenceId, const int64_t lastFrameNumber);
/frameworks/av/camera/ndk/impl/
DACameraDevice.cpp488 int64_t lastFrameNumber; in stopRepeatingLocked() local
489 binder::Status remoteRet = mRemote->cancelRequest(repeatingSequenceId, &lastFrameNumber); in stopRepeatingLocked()
498 checkRepeatingSequenceCompleteLocked(repeatingSequenceId, lastFrameNumber); in stopRepeatingLocked()
544 int64_t lastFrameNumber; in flushLocked() local
545 binder::Status remoteRet = mRemote->flush(&lastFrameNumber); in flushLocked()
551 checkRepeatingSequenceCompleteLocked(mRepeatingSequenceId, lastFrameNumber); in flushLocked()
1308 const int sequenceId, const int64_t lastFrameNumber) { in checkRepeatingSequenceCompleteLocked() argument
1309 ALOGV("Repeating seqId %d lastFrameNumer %" PRId64, sequenceId, lastFrameNumber); in checkRepeatingSequenceCompleteLocked()
1310 if (lastFrameNumber == NO_FRAMES_CAPTURED) { in checkRepeatingSequenceCompleteLocked()
1328 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber)); in checkRepeatingSequenceCompleteLocked()
[all …]
DACameraDevice.inc93 int64_t lastFrameNumber = info.mLastFrameNumber;
110 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber));
DACameraDevice.h99 binder::Status onRepeatingRequestError(int64_t lastFrameNumber,
339 void checkRepeatingSequenceCompleteLocked(const int sequenceId, const int64_t lastFrameNumber);
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp172 virtual Return<void> onRepeatingRequestError(uint64_t lastFrameNumber, in onRepeatingRequestError() argument
174 (void)lastFrameNumber; in onRepeatingRequestError()
430 int64_t lastFrameNumber = -1; in TEST_P() local
432 deviceRemote->cancelRepeatingRequest([&status, &lastFrameNumber](auto s, int64_t lf) { in TEST_P()
434 lastFrameNumber = lf; in TEST_P()
437 EXPECT_GE(lastFrameNumber, 0); in TEST_P()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java952 final int requestId, final long lastFrameNumber, in checkEarlyTriggerSequenceComplete() argument
956 if (lastFrameNumber == CaptureCallback.NO_FRAMES_CAPTURED) { in checkEarlyTriggerSequenceComplete()
966 requestId, lastFrameNumber)); in checkEarlyTriggerSequenceComplete()
1006 lastFrameNumber, repeatingRequestTypes)); in checkEarlyTriggerSequenceComplete()
1137 long lastFrameNumber; in stopRepeating() local
1139 lastFrameNumber = mRemoteDevice.cancelRequest(requestId); in stopRepeating()
1148 checkEarlyTriggerSequenceComplete(requestId, lastFrameNumber, requestTypes); in stopRepeating()
1179 long lastFrameNumber = mRemoteDevice.flush(); in flush() local
1181 checkEarlyTriggerSequenceComplete(mRepeatingRequestId, lastFrameNumber, in flush()
1558 RequestLastFrameNumbersHolder(int requestId, long lastFrameNumber, in RequestLastFrameNumbersHolder() argument
[all …]
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h88 int64_t* lastFrameNumber = NULL) override;
136 int64_t* lastFrameNumber = NULL) override;
186 virtual void notifyRepeatingRequestError(long lastFrameNumber);
/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/camera/aidl/android/hardware/camera2/
DICameraDeviceCallbacks.aidl50 oneway void onRepeatingRequestError(in long lastFrameNumber, in onRepeatingRequestError() argument

12