Home
last modified time | relevance | path

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

/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.cpp256 int sequenceId = info.mRequestId; in submitRequestsLocked() local
258 if (sequenceId < 0) { in submitRequestsLocked()
259 ALOGE("Camera %s submit request remote failure: ret %d", getId(), sequenceId); in submitRequestsLocked()
264 mSequenceCallbackMap.insert(std::make_pair(sequenceId, cbHolder)); in submitRequestsLocked()
272 mRepeatingSequenceId = sequenceId; in submitRequestsLocked()
274 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber)); in submitRequestsLocked()
288 *captureSequenceId = sequenceId; in submitRequestsLocked()
807 int sequenceId = resultExtras.requestId; in onCaptureErrorLocked() local
810 auto it = mSequenceCallbackMap.find(sequenceId); in onCaptureErrorLocked()
813 __FUNCTION__, sequenceId); in onCaptureErrorLocked()
[all …]
DACameraDevice.h280 void checkRepeatingSequenceCompleteLocked(const int sequenceId, const int64_t lastFrameNumber);
/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/include/camera/
DNdkCameraCaptureSession.h143 int sequenceId; member
219 int sequenceId, int64_t frameNumber);
231 int sequenceId);
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraCaptureSessionImpl.java664 int sequenceId, long frameNumber) { in createCaptureCallbackProxyWithExecutor() argument
669 CameraCaptureSessionImpl.this, sequenceId, frameNumber)); in createCaptureCallbackProxyWithExecutor()
674 finishPendingSequence(sequenceId); in createCaptureCallbackProxyWithExecutor()
679 int sequenceId) { in createCaptureCallbackProxyWithExecutor() argument
684 CameraCaptureSessionImpl.this, sequenceId)); in createCaptureCallbackProxyWithExecutor()
689 finishPendingSequence(sequenceId); in createCaptureCallbackProxyWithExecutor()
847 private int addPendingSequence(int sequenceId) {
848 mSequenceDrainer.taskStarted(sequenceId);
849 return sequenceId;
858 private void finishPendingSequence(int sequenceId) {
[all …]
DCameraDeviceImpl.java1292 int sequenceId, long frameNumber); in onCaptureSequenceCompleted() argument
1300 int sequenceId); in onCaptureSequenceAborted() argument
/frameworks/base/core/java/android/hardware/camera2/
DCaptureFailure.java69 boolean dropped, int sequenceId, long frameNumber) { in CaptureFailure() argument
73 mSequenceId = sequenceId; in CaptureFailure()
DTotalCaptureResult.java101 public TotalCaptureResult(CameraMetadataNative results, int sequenceId) { in TotalCaptureResult() argument
102 super(results, sequenceId); in TotalCaptureResult()
DCameraCaptureSession.java1247 int sequenceId, long frameNumber) { in onCaptureSequenceCompleted() argument
1276 int sequenceId) { in onCaptureSequenceAborted() argument
DCaptureResult.java236 public CaptureResult(CameraMetadataNative results, int sequenceId) { in CaptureResult() argument
248 mSequenceId = sequenceId; in CaptureResult()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.h69 virtual void onHotplugReceived(int32_t sequenceId, hwc2_display_t display,
71 virtual void onRefreshReceived(int32_t sequenceId,
73 virtual void onVsyncReceived(int32_t sequenceId, hwc2_display_t display,
85 void registerCallback(ComposerCallback* callback, int32_t sequenceId);
DHWC2.cpp66 ComposerCallbackBridge(ComposerCallback* callback, int32_t sequenceId) in ComposerCallbackBridge() argument
67 : mCallback(callback), mSequenceId(sequenceId) {} in ComposerCallbackBridge()
103 void Device::registerCallback(ComposerCallback* callback, int32_t sequenceId) { in registerCallback() argument
111 new ComposerCallbackBridge(callback, sequenceId)); in registerCallback()
DHWComposer.h75 int32_t sequenceId);
DHWComposer.cpp95 int32_t sequenceId) { in registerCallback() argument
96 mHwcDevice->registerCallback(callback, sequenceId); in registerCallback()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h83 auto onHotplugReceived(int32_t sequenceId, hwc2_display_t display, in onHotplugReceived() argument
85 return mFlinger->onHotplugReceived(sequenceId, display, connection); in onHotplugReceived()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h459 void onVsyncReceived(int32_t sequenceId, hwc2_display_t display,
461 void onHotplugReceived(int32_t sequenceId, hwc2_display_t display,
463 void onRefreshReceived(int32_t sequenceId, hwc2_display_t display) override;
DSurfaceFlinger.cpp1325 void SurfaceFlinger::onVsyncReceived(int32_t sequenceId, in onVsyncReceived() argument
1329 if (sequenceId != getBE().mComposerSequenceId) { in onVsyncReceived()
1359 void SurfaceFlinger::onHotplugReceived(int32_t sequenceId, hwc2_display_t display, in onHotplugReceived() argument
1361 ALOGV("onHotplugReceived(%d, %" PRIu64 ", %s)", sequenceId, display, in onHotplugReceived()
1365 if (sequenceId != getBE().mComposerSequenceId) { in onHotplugReceived()
1385 void SurfaceFlinger::onRefreshReceived(int sequenceId, in onRefreshReceived() argument
1388 if (sequenceId != getBE().mComposerSequenceId) { in onRefreshReceived()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java433 KeyEvent ke, int sequenceId, ResultReceiver cb) { in sendMediaButton() argument
434 mSessionCb.sendMediaButton(packageName, pid, uid, asSystemService, ke, sequenceId, cb); in sendMediaButton()
911 boolean asSystemService, KeyEvent keyEvent, int sequenceId, ResultReceiver cb) { in sendMediaButton() argument
915 Process.SYSTEM_UID, createMediaButtonIntent(keyEvent), sequenceId, cb); in sendMediaButton() local
918 createMediaButtonIntent(keyEvent), sequenceId, cb); in sendMediaButton()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java425 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted() argument