Home
last modified time | relevance | path

Searched refs:sequenceId (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/core/java/android/util/
DTimedRemoteCaller.java101 int sequenceId; in onBeforeRemoteCall() local
103 sequenceId = mSequenceCounter++; in onBeforeRemoteCall()
104 } while (mAwaitedCalls.get(sequenceId) != 0); in onBeforeRemoteCall()
106 mAwaitedCalls.put(sequenceId, 1); in onBeforeRemoteCall()
108 return sequenceId; in onBeforeRemoteCall()
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2CaptureCallbackForwarder.java72 public void onCaptureSequenceAborted(final CameraCaptureSession session, final int sequenceId) { in onCaptureSequenceAborted() argument
76 mListener.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted()
81 public void onCaptureSequenceCompleted(final CameraCaptureSession session, final int sequenceId, in onCaptureSequenceCompleted() argument
86 mListener.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted()
DCamera2CaptureCallbackSplitter.java74 public void onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId) { in onCaptureSequenceAborted() argument
76 target.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted()
81 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted() argument
84 target.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted()
/frameworks/av/camera/ndk/impl/
DACameraDevice.inc92 int sequenceId = info.mRequestId;
94 if (sequenceId < 0) {
95 ALOGE("Camera %s submit request remote failure: ret %d", getId(), sequenceId);
100 mSequenceCallbackMap.insert(std::make_pair(sequenceId, cbHolder));
108 mRepeatingSequenceId = sequenceId;
110 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber));
124 *captureSequenceId = sequenceId;
DACameraDevice.cpp851 int sequenceId = resultExtras.requestId; in onCaptureErrorLocked() local
854 auto it = mSequenceCallbackMap.find(sequenceId); in onCaptureErrorLocked()
857 __FUNCTION__, sequenceId); in onCaptureErrorLocked()
910 failure->sequenceId = sequenceId; in onCaptureErrorLocked()
1453 const int sequenceId, const int64_t lastFrameNumber) { in checkRepeatingSequenceCompleteLocked() argument
1454 ALOGV("Repeating seqId %d lastFrameNumer %" PRId64, sequenceId, lastFrameNumber); in checkRepeatingSequenceCompleteLocked()
1456 if (mSequenceCallbackMap.count(sequenceId) == 0) { in checkRepeatingSequenceCompleteLocked()
1457 ALOGW("No callback found for sequenceId %d", sequenceId); in checkRepeatingSequenceCompleteLocked()
1461 auto cbIt = mSequenceCallbackMap.find(sequenceId); in checkRepeatingSequenceCompleteLocked()
1469 msg->setInt32(kSequenceIdKey, sequenceId); in checkRepeatingSequenceCompleteLocked()
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCaptureCallback.java153 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted() argument
155 if (mProxy != null) mProxy.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted()
160 public void onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId) { in onCaptureSequenceAborted() argument
161 if (mProxy != null) mProxy.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDeviceVendor.inc114 int32_t sequenceId = info.requestId;
116 if (sequenceId < 0) {
117 ALOGE("Camera %s submit request remote failure: ret %d", getId(), sequenceId);
122 mSequenceCallbackMap.insert(std::make_pair(sequenceId, cbHolder));
129 mRepeatingSequenceId = sequenceId;
131 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber));
145 *captureSequenceId = sequenceId;
DACameraDevice.cpp838 int sequenceId = resultExtras.requestId; in onCaptureErrorLocked() local
841 auto it = mSequenceCallbackMap.find(sequenceId); in onCaptureErrorLocked()
844 __FUNCTION__, sequenceId); in onCaptureErrorLocked()
917 failure->sequenceId = sequenceId; in onCaptureErrorLocked()
1443 const int sequenceId, const int64_t lastFrameNumber) { in checkRepeatingSequenceCompleteLocked() argument
1444 ALOGV("Repeating seqId %d lastFrameNumer %" PRId64, sequenceId, lastFrameNumber); in checkRepeatingSequenceCompleteLocked()
1446 if (mSequenceCallbackMap.count(sequenceId) == 0) { in checkRepeatingSequenceCompleteLocked()
1447 ALOGW("No callback found for sequenceId %d", sequenceId); in checkRepeatingSequenceCompleteLocked()
1451 auto cbIt = mSequenceCallbackMap.find(sequenceId); in checkRepeatingSequenceCompleteLocked()
1459 msg->setInt32(kSequenceIdKey, sequenceId); in checkRepeatingSequenceCompleteLocked()
[all …]
/frameworks/base/core/java/android/hardware/camera2/extension/
DRequestProcessor.java207 void onCaptureSequenceCompleted(int sequenceId, long frameNumber); in onCaptureSequenceCompleted() argument
225 void onCaptureSequenceAborted(int sequenceId); in onCaptureSequenceAborted() argument
468 partialResult.results, partialResult.parent, partialResult.sequenceId, in onCaptureProgressed()
498 parcelResult.parent, parcelResult.sequenceId, in onCaptureCompleted()
503 totalCaptureResult.parent, totalCaptureResult.sequenceId, in onCaptureCompleted()
526 captureFailure.sequenceId, captureFailure.frameNumber, in onCaptureFailed()
557 public void onCaptureSequenceCompleted(int sequenceId, long frameNumber) { in onCaptureSequenceCompleted() argument
560 mExecutor.execute(() -> mCallback.onCaptureSequenceCompleted(sequenceId, in onCaptureSequenceCompleted()
568 public void onCaptureSequenceAborted(int sequenceId) { in onCaptureSequenceAborted() argument
571 mExecutor.execute(() -> mCallback.onCaptureSequenceAborted(sequenceId)); in onCaptureSequenceAborted()
DIRequestCallback.aidl30 void onCaptureSequenceCompleted(int sequenceId, long frameNumber); in onCaptureSequenceCompleted() argument
31 void onCaptureSequenceAborted(int sequenceId); in onCaptureSequenceAborted() argument
DCaptureFailure.aidl26 int sequenceId;
DCaptureBundle.aidl25 int sequenceId;
DParcelCaptureResult.aidl27 int sequenceId;
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DIRequestCallback.aidl31 void onCaptureSequenceCompleted(int sequenceId, long frameNumber); in onCaptureSequenceCompleted() argument
32 void onCaptureSequenceAborted(int sequenceId); in onCaptureSequenceAborted() argument
/frameworks/base/core/java/android/hardware/camera2/
DCaptureFailure.java71 boolean wasImageCaptured, int sequenceId, long frameNumber, in CaptureFailure() argument
76 mSequenceId = sequenceId; in CaptureFailure()
DTotalCaptureResult.java132 public TotalCaptureResult(CameraMetadataNative results, int sequenceId) { in TotalCaptureResult() argument
133 super(results, sequenceId); in TotalCaptureResult()
DCameraExtensionSession.java184 int sequenceId) { in onCaptureSequenceCompleted() argument
206 int sequenceId) { in onCaptureSequenceAborted() argument
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/advanced/
DRequestProcessorImpl.java118 void onCaptureSequenceCompleted(int sequenceId, long frameNumber); in onCaptureSequenceCompleted() argument
120 void onCaptureSequenceAborted(int sequenceId); in onCaptureSequenceAborted() argument
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/
DRequestProcessorImpl.java118 void onCaptureSequenceCompleted(int sequenceId, long frameNumber); in onCaptureSequenceCompleted() argument
120 void onCaptureSequenceAborted(int sequenceId); in onCaptureSequenceAborted() argument
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/advanced/
DRequestProcessorImpl.java118 void onCaptureSequenceCompleted(int sequenceId, long frameNumber); in onCaptureSequenceCompleted() argument
120 void onCaptureSequenceAborted(int sequenceId); in onCaptureSequenceAborted() argument
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraCaptureSessionImpl.java732 int sequenceId, long frameNumber) { in createCaptureCallbackProxyWithExecutor() argument
737 CameraCaptureSessionImpl.this, sequenceId, frameNumber)); in createCaptureCallbackProxyWithExecutor()
742 finishPendingSequence(sequenceId); in createCaptureCallbackProxyWithExecutor()
747 int sequenceId) { in createCaptureCallbackProxyWithExecutor() argument
752 CameraCaptureSessionImpl.this, sequenceId)); in createCaptureCallbackProxyWithExecutor()
757 finishPendingSequence(sequenceId); in createCaptureCallbackProxyWithExecutor()
915 private int addPendingSequence(int sequenceId) {
916 mSequenceDrainer.taskStarted(sequenceId);
917 return sequenceId;
926 private void finishPendingSequence(int sequenceId) {
[all …]
DCaptureCallback.java113 int sequenceId, long frameNumber); in onCaptureSequenceCompleted() argument
121 int sequenceId); in onCaptureSequenceAborted() argument
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/
DSimpleSessionProcessorStub.java229 public void onCaptureSequenceCompleted(int sequenceId, long frameNumber) in startTrigger() argument
235 public void onCaptureSequenceAborted(int sequenceId) throws RemoteException { in startTrigger() argument
298 public void onCaptureSequenceCompleted(int sequenceId, long frameNumber) in startRepeating() argument
304 public void onCaptureSequenceAborted(int sequenceId) throws RemoteException { in startRepeating() argument
364 public void onCaptureSequenceCompleted(int sequenceId, long frameNumber) in startCapture() argument
370 public void onCaptureSequenceAborted(int sequenceId) throws RemoteException { in startCapture() argument
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/
DRequestProcessorAdapter.java211 public void onCaptureSequenceCompleted(int sequenceId, long frameNumber) { in onCaptureSequenceCompleted() argument
213 mRequestCallback.onCaptureSequenceCompleted(sequenceId, frameNumber); in onCaptureSequenceCompleted()
220 public void onCaptureSequenceAborted(int sequenceId) { in onCaptureSequenceAborted() argument
222 mRequestCallback.onCaptureSequenceAborted(sequenceId); in onCaptureSequenceAborted()
/frameworks/av/camera/ndk/include/camera/
DNdkCameraCaptureSession.h174 int sequenceId; member
250 int sequenceId, int64_t frameNumber);
262 int sequenceId);

12