Home
last modified time | relevance | path

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

12

/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/
DAppLaunchEvent.java56 long sequenceId; field in AppLaunchEvent
58 protected AppLaunchEvent(@SequenceId long sequenceId) { in AppLaunchEvent() argument
59 this.sequenceId = sequenceId; in AppLaunchEvent()
71 return sequenceId == other.sequenceId; in equals()
78 "{" + "sequenceId=" + Long.toString(sequenceId) + in toString()
90 public IntentStarted(@SequenceId long sequenceId, Intent intent) { in IntentStarted() argument
91 super(sequenceId); in IntentStarted()
125 public IntentFailed(@SequenceId long sequenceId) { in IntentFailed() argument
126 super(sequenceId); in IntentFailed()
146 protected BaseWithActivityRecordData(@SequenceId long sequenceId, in BaseWithActivityRecordData() argument
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.cpp129 addDisplaySurfaceLocked(transaction, display.sequenceId, display.surface); in addInitialDisplayStateLocked()
130 addDisplayLayerStackLocked(transaction, display.sequenceId, display.layerStack); in addInitialDisplayStateLocked()
131 addDisplaySizeLocked(transaction, display.sequenceId, display.width, display.height); in addInitialDisplayStateLocked()
132 addDisplayProjectionLocked(transaction, display.sequenceId, display.orientation, in addInitialDisplayStateLocked()
184 int32_t sequenceId) in createDisplayChangeLocked() argument
187 dispChange->set_id(sequenceId); in createDisplayChangeLocked()
386 const DisplayState& state, int32_t sequenceId) in addDisplayChangesLocked() argument
389 addDisplaySurfaceLocked(transaction, sequenceId, state.surface); in addDisplayChangesLocked()
392 addDisplayLayerStackLocked(transaction, sequenceId, state.layerStack); in addDisplayChangesLocked()
395 addDisplaySizeLocked(transaction, sequenceId, state.width, state.height); in addDisplayChangesLocked()
[all …]
DSurfaceInterceptor.h69 virtual void saveDisplayDeletion(int32_t sequenceId) = 0;
70 virtual void savePowerModeUpdate(int32_t sequenceId, int32_t mode) = 0;
104 void saveDisplayDeletion(int32_t sequenceId) override;
105 void savePowerModeUpdate(int32_t sequenceId, int32_t mode) override;
130 void addDisplayDeletionLocked(Increment* increment, int32_t sequenceId);
131 void addPowerModeUpdateLocked(Increment* increment, int32_t sequenceId, int32_t mode);
158 DisplayChange* createDisplayChangeLocked(Transaction* transaction, int32_t sequenceId);
159 void addDisplaySurfaceLocked(Transaction* transaction, int32_t sequenceId,
161 void addDisplayLayerStackLocked(Transaction* transaction, int32_t sequenceId,
163 void addDisplaySizeLocked(Transaction* transaction, int32_t sequenceId, uint32_t w,
[all …]
DDisplayDevice.h210 int32_t sequenceId = sNextSequenceId++; member
236 int32_t sequenceId{0};
DDisplayDevice.cpp59 mSequenceId(args.sequenceId), in DisplayDevice()
DSurfaceFlinger.h493 void onVsyncReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId,
495 void onHotplugReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId,
497 void onRefreshReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId) override;
/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/
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()
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()
/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.cpp796 int sequenceId = resultExtras.requestId; in onCaptureErrorLocked() local
799 auto it = mSequenceCallbackMap.find(sequenceId); in onCaptureErrorLocked()
802 __FUNCTION__, sequenceId); in onCaptureErrorLocked()
855 failure->sequenceId = sequenceId; in onCaptureErrorLocked()
1308 const int sequenceId, const int64_t lastFrameNumber) { in checkRepeatingSequenceCompleteLocked() argument
1309 ALOGV("Repeating seqId %d lastFrameNumer %" PRId64, sequenceId, lastFrameNumber); in checkRepeatingSequenceCompleteLocked()
1311 if (mSequenceCallbackMap.count(sequenceId) == 0) { in checkRepeatingSequenceCompleteLocked()
1312 ALOGW("No callback found for sequenceId %d", sequenceId); in checkRepeatingSequenceCompleteLocked()
1316 auto cbIt = mSequenceCallbackMap.find(sequenceId); in checkRepeatingSequenceCompleteLocked()
1324 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.inc115 int32_t sequenceId = info.requestId;
117 if (sequenceId < 0) {
118 ALOGE("Camera %s submit request remote failure: ret %d", getId(), sequenceId);
123 mSequenceCallbackMap.insert(std::make_pair(sequenceId, cbHolder));
130 mRepeatingSequenceId = sequenceId;
132 mSequenceLastFrameNumberMap.insert(std::make_pair(sequenceId, lastFrameNumber));
146 *captureSequenceId = sequenceId;
DACameraDevice.cpp811 int sequenceId = resultExtras.requestId; in onCaptureErrorLocked() local
814 auto it = mSequenceCallbackMap.find(sequenceId); in onCaptureErrorLocked()
817 __FUNCTION__, sequenceId); in onCaptureErrorLocked()
872 failure->sequenceId = sequenceId; in onCaptureErrorLocked()
1306 const int sequenceId, const int64_t lastFrameNumber) { in checkRepeatingSequenceCompleteLocked() argument
1307 ALOGV("Repeating seqId %d lastFrameNumer %" PRId64, sequenceId, lastFrameNumber); in checkRepeatingSequenceCompleteLocked()
1309 if (mSequenceCallbackMap.count(sequenceId) == 0) { in checkRepeatingSequenceCompleteLocked()
1310 ALOGW("No callback found for sequenceId %d", sequenceId); in checkRepeatingSequenceCompleteLocked()
1314 auto cbIt = mSequenceCallbackMap.find(sequenceId); in checkRepeatingSequenceCompleteLocked()
1322 msg->setInt32(kSequenceIdKey, sequenceId); in checkRepeatingSequenceCompleteLocked()
[all …]
/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 …]
/frameworks/av/camera/ndk/include/camera/
DNdkCameraCaptureSession.h144 int sequenceId; member
220 int sequenceId, int64_t frameNumber);
232 int sequenceId);
/frameworks/base/core/java/android/hardware/camera2/
DCaptureFailure.java71 boolean dropped, int sequenceId, long frameNumber, String errorPhysicalCameraId) { in CaptureFailure() argument
75 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.java243 public CaptureResult(CameraMetadataNative results, int sequenceId) { in CaptureResult() argument
255 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);
DHWComposer.h56 virtual void registerCallback(HWC2::ComposerCallback* callback, int32_t sequenceId) = 0;
195 void registerCallback(HWC2::ComposerCallback* callback, int32_t sequenceId) override;
DHWC2.cpp65 ComposerCallbackBridge(ComposerCallback* callback, int32_t sequenceId) in ComposerCallbackBridge() argument
66 : mCallback(callback), mSequenceId(sequenceId) {} in ComposerCallbackBridge()
102 void Device::registerCallback(ComposerCallback* callback, int32_t sequenceId) { in registerCallback() argument
110 new ComposerCallbackBridge(callback, sequenceId)); in registerCallback()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java484 KeyEvent ke, int sequenceId, ResultReceiver cb) { in sendMediaButton() argument
485 return mSessionCb.sendMediaButton(packageName, pid, uid, asSystemService, ke, sequenceId, in sendMediaButton()
995 boolean asSystemService, KeyEvent keyEvent, int sequenceId, ResultReceiver cb) { in sendMediaButton() argument
999 Process.SYSTEM_UID, createMediaButtonIntent(keyEvent), sequenceId, cb); in sendMediaButton() local
1002 createMediaButtonIntent(keyEvent), sequenceId, cb); in sendMediaButton()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h257 auto onHotplugReceived(int32_t sequenceId, hwc2_display_t display, in onHotplugReceived() argument
259 return mFlinger->onHotplugReceived(sequenceId, display, connection); in onHotplugReceived()

12