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.cpp903 status_t Camera3Device::capture(CameraMetadata &request, int64_t* lastFrameNumber) { in capture() argument
910 return captureList(requestsList, surfaceMaps, lastFrameNumber); in capture()
935 int64_t *lastFrameNumber) { in submitRequestsHelper() argument
956 res = mRequestThread->setRepeatingRequests(requestList, lastFrameNumber); in submitRequestsHelper()
958 res = mRequestThread->queueRequestList(requestList, lastFrameNumber); in submitRequestsHelper()
1511 int64_t *lastFrameNumber) { in captureList() argument
1514 return submitRequestsHelper(requestsList, surfaceMaps, /*repeating*/false, lastFrameNumber); in captureList()
1531 const std::list<const SurfaceMap> &surfaceMaps, int64_t *lastFrameNumber) { in setStreamingRequestList() argument
1534 return submitRequestsHelper(requestsList, surfaceMaps, /*repeating*/true, lastFrameNumber); in setStreamingRequestList()
1561 status_t Camera3Device::clearStreamingRequest(int64_t *lastFrameNumber) { in clearStreamingRequest() argument
[all …]
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp167 virtual Return<void> onRepeatingRequestError(uint64_t lastFrameNumber, in onRepeatingRequestError() argument
169 (void)lastFrameNumber; in onRepeatingRequestError()
362 int64_t lastFrameNumber = -1; in TEST_F() local
364 deviceRemote->cancelRepeatingRequest([&status, &lastFrameNumber](auto s, int64_t lf) { in TEST_F()
366 lastFrameNumber = lf; in TEST_F()
369 EXPECT_GE(lastFrameNumber, 0); in TEST_F()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp232 int64_t lastFrameNumber, int32_t stoppedSequenceId) { in onRepeatingRequestError() argument
233 (void) lastFrameNumber; in onRepeatingRequestError()
526 int64_t lastFrameNumber = 0; in TEST_F() local
537 res = device->cancelRequest(info.mRequestId, /*out*/&lastFrameNumber); in TEST_F()
544 lastFrameNumber = 0; in TEST_F()
560 lastFrameNumber = 0; in TEST_F()
563 res = device->cancelRequest(info2.mRequestId, /*out*/&lastFrameNumber); in TEST_F()
566 EXPECT_LE(lastFrameNumberPrev, lastFrameNumber); in TEST_F()
571 lastFrameNumberPrev = lastFrameNumber; in TEST_F()
572 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()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp526 int64_t lastFrameNumber; in stopRepeatingLocked() local
529 [&status, &lastFrameNumber](Status s, auto frameNumber) { in stopRepeatingLocked()
531 lastFrameNumber = frameNumber; in stopRepeatingLocked()
534 checkRepeatingSequenceCompleteLocked(repeatingSequenceId, lastFrameNumber); in stopRepeatingLocked()
580 int64_t lastFrameNumber; in flushLocked() local
582 auto remoteRet = mRemote->flush([&status, &lastFrameNumber](auto s, auto frameNumber) { in flushLocked()
584 lastFrameNumber = frameNumber; in flushLocked()
588 checkRepeatingSequenceCompleteLocked(mRepeatingSequenceId, lastFrameNumber); in flushLocked()
1318 const int sequenceId, const int64_t lastFrameNumber) { in checkRepeatingSequenceCompleteLocked() argument
1319 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.h119 android::hardware::Return<void> onRepeatingRequestError(uint64_t lastFrameNumber,
367 void checkRepeatingSequenceCompleteLocked(const int sequenceId, const int64_t lastFrameNumber);
/frameworks/av/camera/ndk/impl/
DACameraDevice.cpp500 int64_t lastFrameNumber; in stopRepeatingLocked() local
501 binder::Status remoteRet = mRemote->cancelRequest(repeatingSequenceId, &lastFrameNumber); in stopRepeatingLocked()
510 checkRepeatingSequenceCompleteLocked(repeatingSequenceId, lastFrameNumber); in stopRepeatingLocked()
556 int64_t lastFrameNumber; in flushLocked() local
557 binder::Status remoteRet = mRemote->flush(&lastFrameNumber); in flushLocked()
563 checkRepeatingSequenceCompleteLocked(mRepeatingSequenceId, lastFrameNumber); in flushLocked()
1314 const int sequenceId, const int64_t lastFrameNumber) { in checkRepeatingSequenceCompleteLocked() argument
1315 ALOGV("Repeating seqId %d lastFrameNumer %" PRId64, sequenceId, lastFrameNumber); in checkRepeatingSequenceCompleteLocked()
1316 if (lastFrameNumber == NO_FRAMES_CAPTURED) { in checkRepeatingSequenceCompleteLocked()
1334 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.h98 binder::Status onRepeatingRequestError(int64_t lastFrameNumber,
338 void checkRepeatingSequenceCompleteLocked(const int sequenceId, const int64_t lastFrameNumber);
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceCallbacks.aidl50 oneway void onRepeatingRequestError(in long lastFrameNumber, in onRepeatingRequestError() argument
/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()
1136 long lastFrameNumber; in stopRepeating() local
1138 lastFrameNumber = mRemoteDevice.cancelRequest(requestId); in stopRepeating()
1147 checkEarlyTriggerSequenceComplete(requestId, lastFrameNumber, requestTypes); in stopRepeating()
1178 long lastFrameNumber = mRemoteDevice.flush(); in flush() local
1180 checkEarlyTriggerSequenceComplete(mRepeatingRequestId, lastFrameNumber, in flush()
1557 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);
DCameraDeviceClient.cpp424 int64_t* lastFrameNumber) { in cancelRequest() argument
447 err = mDevice->clearStreamingRequest(lastFrameNumber); in cancelRequest()
1611 int64_t* lastFrameNumber) { in flush() argument
1626 status_t err = mDevice->flush(lastFrameNumber); in flush()
1929 void CameraDeviceClient::notifyRepeatingRequestError(long lastFrameNumber) { in notifyRepeatingRequestError() argument
1933 remoteCb->onRepeatingRequestError(lastFrameNumber, mStreamingRequestId); in notifyRepeatingRequestError()
1995 int64_t lastFrameNumber; in detachDevice() local
1997 if ((code = mDevice->flush(&lastFrameNumber)) != OK) { in detachDevice()
/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,

12