Home
last modified time | relevance | path

Searched refs:FrameEvent (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp156 const auto type = FrameTracer::FrameEvent::POST; in TEST_F()
164 mFrameTracer->traceTimestamp(layerId, 0, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
178 mFrameTracer->traceTimestamp(layerId, 0, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
210 FrameTracer::FrameEvent::UNSPECIFIED)); in TEST_F()
219 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F()
230 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
245 FrameTracer::FrameEvent::UNSPECIFIED)); in TEST_F()
257 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
309 FrameTracer::FrameEvent::UNSPECIFIED)); in TEST_F()
319 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F()
[all …]
DTransactionFrameTracerTest.cpp83 FrameTracer::FrameEvent::DEQUEUE, /*duration*/ 0)); in BLASTTransactionSendsFrameTracerEvents()
86 FrameTracer::FrameEvent::QUEUE, /*duration*/ 0)); in BLASTTransactionSendsFrameTracerEvents()
103 FrameTracer::FrameEvent::ACQUIRE_FENCE, /*startTime*/ 0)); in BLASTTransactionSendsFrameTracerEvents()
106 FrameTracer::FrameEvent::LATCH, /*duration*/ 0)); in BLASTTransactionSendsFrameTracerEvents()
114 FrameTracer::FrameEvent::PRESENT_FENCE, /*startTime*/ 0)); in BLASTTransactionSendsFrameTracerEvents()
/frameworks/native/services/surfaceflinger/FrameTracer/
DFrameTracer.h38 using FrameEvent = perfetto::protos::pbzero::GraphicsFrameEvent; variable
53 FrameEvent::BufferEventType type, nsecs_t duration = 0);
60 const std::shared_ptr<FenceTime>& fence, FrameEvent::BufferEventType type,
DFrameTracer.cpp62 nsecs_t timestamp, FrameEvent::BufferEventType type, in traceTimestamp()
81 FrameEvent::BufferEventType type, nsecs_t startTime) { in traceFence()
136 FrameEvent::BufferEventType type, nsecs_t duration) { in traceLocked()
160 FrameEvent::BufferEventType type, nsecs_t startTime, in traceSpanLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockFrameTracer.h34 void(int32_t, uint64_t, uint64_t, nsecs_t, FrameEvent::BufferEventType, nsecs_t));
37 FrameEvent::BufferEventType, nsecs_t));
/frameworks/native/libs/gui/
DFrameTimestamps.cpp431 mFramesDirty[mQueueOffset].setDirty<FrameEvent::POSTED>(); in addQueue()
444 mFramesDirty[mCompositionOffset].setDirty<FrameEvent::LATCH>(); in addLatch()
456 mFramesDirty[mCompositionOffset].setDirty<FrameEvent::LAST_REFRESH_START>(); in addPreComposition()
459 mFramesDirty[mCompositionOffset].setDirty<FrameEvent::FIRST_REFRESH_START>(); in addPreComposition()
479 mFramesDirty[mCompositionOffset].setDirty<FrameEvent::GPU_COMPOSITION_DONE>(); in addPostComposition()
482 mFramesDirty[mCompositionOffset].setDirty<FrameEvent::DISPLAY_PRESENT>(); in addPostComposition()
497 mFramesDirty[mReleaseOffset].setDirty<FrameEvent::RELEASE>(); in addRelease()
582 if (dirtyFields.isDirty<FrameEvent::GPU_COMPOSITION_DONE>()) { in FrameEventsDelta()
586 if (dirtyFields.isDirty<FrameEvent::DISPLAY_PRESENT>()) { in FrameEventsDelta()
590 if (dirtyFields.isDirty<FrameEvent::RELEASE>()) { in FrameEventsDelta()
DAndroid.bp211 srcs: ["aidl/android/gui/FrameEvent.aidl"],
DSurface.cpp1216 std::vector<FrameEvent> supportedFrameTimestamps; in querySupportedTimestampsLocked()
1225 if (sft == FrameEvent::DISPLAY_PRESENT) { in querySupportedTimestampsLocked()
/frameworks/native/libs/gui/include/gui/
DFrameTimestamps.h38 using gui::FrameEvent;
43 static_cast<size_t>(FrameEvent::EVENT_COUNT);
173 template <FrameEvent event>
180 template <FrameEvent event>
/frameworks/native/libs/gui/aidl/android/gui/
DFrameEvent.aidl23 enum FrameEvent { enum
DISurfaceComposer.aidl32 import android.gui.FrameEvent;
131 FrameEvent[] getSupportedFrameTimestamps(); in getSupportedFrameTimestamps()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp700 binder::Status getSupportedFrameTimestamps(std::vector<FrameEvent>* outSupported) override { in getSupportedFrameTimestamps()
701 *outSupported = {FrameEvent::REQUESTED_PRESENT, in getSupportedFrameTimestamps()
702 FrameEvent::ACQUIRE, in getSupportedFrameTimestamps()
703 FrameEvent::LATCH, in getSupportedFrameTimestamps()
704 FrameEvent::FIRST_REFRESH_START, in getSupportedFrameTimestamps()
705 FrameEvent::LAST_REFRESH_START, in getSupportedFrameTimestamps()
706 FrameEvent::GPU_COMPOSITION_DONE, in getSupportedFrameTimestamps()
707 FrameEvent::DEQUEUE_READY, in getSupportedFrameTimestamps()
708 FrameEvent::RELEASE}; in getSupportedFrameTimestamps()
710 outSupported->push_back(FrameEvent::DISPLAY_PRESENT); in getSupportedFrameTimestamps()
/frameworks/native/services/surfaceflinger/
DLayer.cpp3231 FrameTracer::FrameEvent::DEQUEUE); in setBuffer()
3233 FrameTracer::FrameEvent::QUEUE); in setBuffer()
3574 FrameTracer::FrameEvent::ACQUIRE_FENCE); in updateTexImage()
3576 FrameTracer::FrameEvent::LATCH); in updateTexImage()
4076 FrameTracer::FrameEvent::FALLBACK_COMPOSITION); in onCompositionPresented()
4108 FrameTracer::FrameEvent::PRESENT_FENCE); in onCompositionPresented()
4124 FrameTracer::FrameEvent::PRESENT_FENCE); in onCompositionPresented()
DSurfaceFlinger.cpp1081 std::vector<FrameEvent>* outSupported) const { in getSupportedFrameTimestamps()
1083 FrameEvent::REQUESTED_PRESENT, in getSupportedFrameTimestamps()
1084 FrameEvent::ACQUIRE, in getSupportedFrameTimestamps()
1085 FrameEvent::LATCH, in getSupportedFrameTimestamps()
1086 FrameEvent::FIRST_REFRESH_START, in getSupportedFrameTimestamps()
1087 FrameEvent::LAST_REFRESH_START, in getSupportedFrameTimestamps()
1088 FrameEvent::GPU_COMPOSITION_DONE, in getSupportedFrameTimestamps()
1089 FrameEvent::DEQUEUE_READY, in getSupportedFrameTimestamps()
1090 FrameEvent::RELEASE, in getSupportedFrameTimestamps()
1094 outSupported->push_back(FrameEvent::DISPLAY_PRESENT); in getSupportedFrameTimestamps()
[all …]
DSurfaceFlinger.h568 status_t getSupportedFrameTimestamps(std::vector<FrameEvent>* outSupported) const;
1589 binder::Status getSupportedFrameTimestamps(std::vector<FrameEvent>* outSupported) override;