/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FrameTracerTest.cpp | 156 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 …]
|
D | TransactionFrameTracerTest.cpp | 83 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/ |
D | FrameTracer.h | 38 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,
|
D | FrameTracer.cpp | 62 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/ |
D | MockFrameTracer.h | 34 void(int32_t, uint64_t, uint64_t, nsecs_t, FrameEvent::BufferEventType, nsecs_t)); 37 FrameEvent::BufferEventType, nsecs_t));
|
/frameworks/native/libs/gui/ |
D | FrameTimestamps.cpp | 431 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()
|
D | Android.bp | 211 srcs: ["aidl/android/gui/FrameEvent.aidl"],
|
D | Surface.cpp | 1216 std::vector<FrameEvent> supportedFrameTimestamps; in querySupportedTimestampsLocked() 1225 if (sft == FrameEvent::DISPLAY_PRESENT) { in querySupportedTimestampsLocked()
|
/frameworks/native/libs/gui/include/gui/ |
D | FrameTimestamps.h | 38 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/ |
D | FrameEvent.aidl | 23 enum FrameEvent { enum
|
D | ISurfaceComposer.aidl | 32 import android.gui.FrameEvent; 131 FrameEvent[] getSupportedFrameTimestamps(); in getSupportedFrameTimestamps()
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 700 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/ |
D | Layer.cpp | 3231 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()
|
D | SurfaceFlinger.cpp | 1081 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 …]
|
D | SurfaceFlinger.h | 568 status_t getSupportedFrameTimestamps(std::vector<FrameEvent>* outSupported) const; 1589 binder::Status getSupportedFrameTimestamps(std::vector<FrameEvent>* outSupported) override;
|