Home
last modified time | relevance | path

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

12

/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.java1232 final int requestId, final long lastFrameNumber, in checkEarlyTriggerSequenceCompleteLocked() argument
1236 if (lastFrameNumber == CameraCaptureSession.CaptureCallback.NO_FRAMES_CAPTURED) { in checkEarlyTriggerSequenceCompleteLocked()
1246 requestId, lastFrameNumber)); in checkEarlyTriggerSequenceCompleteLocked()
1282 lastFrameNumber, repeatingRequestTypes)); in checkEarlyTriggerSequenceCompleteLocked()
1446 long lastFrameNumber; in stopRepeating() local
1448 lastFrameNumber = mRemoteDevice.cancelRequest(requestId); in stopRepeating()
1464 checkEarlyTriggerSequenceCompleteLocked(requestId, lastFrameNumber, requestTypes); in stopRepeating()
1495 long lastFrameNumber = mRemoteDevice.flush(); in flush() local
1497 checkEarlyTriggerSequenceCompleteLocked(mRepeatingRequestId, lastFrameNumber, in flush()
2102 public void onRepeatingRequestError(long lastFrameNumber, int repeatingRequestId) { in onRepeatingRequestError() argument
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java173 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
440 long lastFrameNumber = mCameraUser.cancelRequest(requestInfoStreaming.getRequestId()); in testWaitUntilIdle() local
500 long lastFrameNumber = mCameraUser.cancelRequest(streamingInfo.getRequestId()); in testIdleCallback() local
520 long lastFrameNumber = mCameraUser.flush(); in testFlush() local
526 lastFrameNumber = mCameraUser.flush(); in testFlush()
536 lastFrameNumber = mCameraUser.flush(); in testFlush()
547 lastFrameNumber = mCameraUser.flush(); in testFlush()
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraDeviceUser.cpp191 int64_t lastFrameNumber = 0; in cancelRepeatingRequest() local
192 binder::Status ret = mDeviceRemote->cancelRequest(mRequestId, &lastFrameNumber); in cancelRepeatingRequest()
193 _hidl_cb(B2HStatus(ret), lastFrameNumber); in cancelRepeatingRequest()
266 int64_t lastFrameNumber = 0; in flush() local
267 binder::Status ret = mDeviceRemote->flush(&lastFrameNumber); in flush()
268 _hidl_cb(B2HStatus(ret),lastFrameNumber); in flush()
DAidlCameraDeviceCallbacks.cpp191 int64_t lastFrameNumber, in onRepeatingRequestError() argument
194 mBase->onRepeatingRequestError(lastFrameNumber, repeatingRequestId); in onRepeatingRequestError()
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h132 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) = 0;
140 int64_t *lastFrameNumber = NULL) = 0;
148 int64_t *lastFrameNumber = NULL) = 0;
156 int64_t *lastFrameNumber = NULL) = 0;
162 virtual status_t clearStreamingRequest(int64_t *lastFrameNumber = NULL) = 0;
372 virtual status_t flush(int64_t *lastFrameNumber = NULL) = 0;
DCameraOfflineSessionBase.h63 virtual void notifyRepeatingRequestError(long lastFrameNumber) = 0;
/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/camera/ndk/impl/
DACameraDevice.cpp542 int64_t lastFrameNumber; in stopRepeatingLocked() local
543 binder::Status remoteRet = mRemote->cancelRequest(repeatingSequenceId, &lastFrameNumber); in stopRepeatingLocked()
552 checkRepeatingSequenceCompleteLocked(repeatingSequenceId, lastFrameNumber); in stopRepeatingLocked()
598 int64_t lastFrameNumber; in flushLocked() local
599 binder::Status remoteRet = mRemote->flush(&lastFrameNumber); in flushLocked()
605 checkRepeatingSequenceCompleteLocked(mRepeatingSequenceId, lastFrameNumber); in flushLocked()
1453 const int sequenceId, const int64_t lastFrameNumber) { in checkRepeatingSequenceCompleteLocked() argument
1454 ALOGV("Repeating seqId %d lastFrameNumer %" PRId64, sequenceId, lastFrameNumber); in checkRepeatingSequenceCompleteLocked()
1455 if (lastFrameNumber == NO_FRAMES_CAPTURED) { in checkRepeatingSequenceCompleteLocked()
1473 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber)); in checkRepeatingSequenceCompleteLocked()
[all …]
DACameraDevice.h99 binder::Status onRepeatingRequestError(int64_t lastFrameNumber,
276 int64_t lastFrameNumber; member
288 lastFrameNumber(lastFN) {} in RequestLastFrameNumberHolder()
385 void checkRepeatingSequenceCompleteLocked(const int sequenceId, const int64_t lastFrameNumber);
388 void sendCaptureSequenceCompletedLocked(int sequenceId, int64_t lastFrameNumber);
/frameworks/av/camera/tests/
DCameraBinderTests.cpp264 int64_t lastFrameNumber, int32_t stoppedSequenceId) { in onRepeatingRequestError() argument
265 (void) lastFrameNumber; in onRepeatingRequestError()
564 int64_t lastFrameNumber = 0; in TEST_F() local
575 res = device->cancelRequest(info.mRequestId, /*out*/&lastFrameNumber); in TEST_F()
582 lastFrameNumber = 0; in TEST_F()
598 lastFrameNumber = 0; in TEST_F()
601 res = device->cancelRequest(info2.mRequestId, /*out*/&lastFrameNumber); in TEST_F()
604 EXPECT_LE(lastFrameNumberPrev, lastFrameNumber); in TEST_F()
609 lastFrameNumberPrev = lastFrameNumber; in TEST_F()
610 lastFrameNumber = 0; in TEST_F()
/frameworks/hardware/interfaces/cameraservice/device/aidl/android/frameworks/cameraservice/device/
DSubmitInfo.aidl29 long lastFrameNumber;
DICameraDeviceCallback.aidl68 void onRepeatingRequestError(in long lastFrameNumber, in int repeatingRequestId); in onRepeatingRequestError() argument
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/current/android/frameworks/cameraservice/device/
DSubmitInfo.aidl38 long lastFrameNumber;
DICameraDeviceCallback.aidl41 oneway void onRepeatingRequestError(in long lastFrameNumber, in int repeatingRequestId); in onRepeatingRequestError() argument
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/1/android/frameworks/cameraservice/device/
DSubmitInfo.aidl38 long lastFrameNumber;
DICameraDeviceCallback.aidl41 oneway void onRepeatingRequestError(in long lastFrameNumber, in int repeatingRequestId); in onRepeatingRequestError() argument
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/2/android/frameworks/cameraservice/device/
DSubmitInfo.aidl38 long lastFrameNumber;
DICameraDeviceCallback.aidl41 oneway void onRepeatingRequestError(in long lastFrameNumber, in int repeatingRequestId); in onRepeatingRequestError() argument
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h133 status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) override;
136 int64_t *lastFrameNumber = NULL) override;
138 int64_t *lastFrameNumber = NULL) override;
141 int64_t *lastFrameNumber = NULL) override;
142 status_t clearStreamingRequest(int64_t *lastFrameNumber = NULL) override;
219 status_t flush(int64_t *lastFrameNumber = NULL) override;
718 int64_t *lastFrameNumber = NULL);
937 int64_t *lastFrameNumber = NULL);
939 int64_t *lastFrameNumber = NULL);
943 int64_t *lastFrameNumber = NULL);
[all …]
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp556 int64_t lastFrameNumber; in stopRepeatingLocked() local
557 ScopedAStatus remoteRet = mRemote->cancelRepeatingRequest(&lastFrameNumber); in stopRepeatingLocked()
559 checkRepeatingSequenceCompleteLocked(repeatingSequenceId, lastFrameNumber); in stopRepeatingLocked()
604 int64_t lastFrameNumber; in flushLocked() local
605 ScopedAStatus remoteRet = mRemote->flush(&lastFrameNumber); in flushLocked()
608 checkRepeatingSequenceCompleteLocked(mRepeatingSequenceId, lastFrameNumber); in flushLocked()
1443 const int sequenceId, const int64_t lastFrameNumber) { in checkRepeatingSequenceCompleteLocked() argument
1444 ALOGV("Repeating seqId %d lastFrameNumer %" PRId64, sequenceId, lastFrameNumber); in checkRepeatingSequenceCompleteLocked()
1445 if (lastFrameNumber == NO_FRAMES_CAPTURED) { in checkRepeatingSequenceCompleteLocked()
1463 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber)); in checkRepeatingSequenceCompleteLocked()
[all …]
DACameraDeviceVendor.inc115 int64_t lastFrameNumber = info.lastFrameNumber;
131 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber));
/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/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp229 virtual Return<void> onRepeatingRequestError(uint64_t lastFrameNumber, in onRepeatingRequestError() argument
231 (void)lastFrameNumber; in onRepeatingRequestError()
532 int64_t lastFrameNumber = -1; in TEST_P() local
534 deviceRemote->cancelRepeatingRequest([&status, &lastFrameNumber](auto s, int64_t lf) { in TEST_P()
536 lastFrameNumber = lf; in TEST_P()
539 EXPECT_GE(lastFrameNumber, 0); in TEST_P()

12