Home
last modified time | relevance | path

Searched refs:SurfaceFlinger (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/native/services/surfaceflinger/tests/unittests/
DActiveDisplayRotationFlagsTest.cpp50 ASSERT_EQ(ui::Transform::ROT_0, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
60 ASSERT_EQ(ui::Transform::ROT_90, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
70 ASSERT_EQ(ui::Transform::ROT_0, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
85 ASSERT_EQ(ui::Transform::ROT_180, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
101 ASSERT_EQ(ui::Transform::ROT_270, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
116 ASSERT_EQ(ui::Transform::ROT_180, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
119 ASSERT_EQ(ui::Transform::ROT_270, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
DTestableSurfaceFlinger.h172 using HotplugEvent = SurfaceFlinger::HotplugEvent;
174 TestableSurfaceFlinger(sp<SurfaceFlinger> flinger = nullptr) : mFlinger(flinger) { in mFlinger()
176 mFlinger = sp<SurfaceFlinger>::make(mFactory, SurfaceFlinger::SkipInitialization); in mFlinger()
180 SurfaceFlinger* flinger() { return mFlinger.get(); } in flinger()
492 SurfaceFlinger::GetLayerSnapshotsFunction getLayerSnapshotsFn, in renderScreenImpl()
516 return mFlinger->SurfaceFlinger::getDisplayNativePrimaries(displayToken, primaries); in getDisplayNativePrimaries()
561 return SurfaceFlinger::calculateMaxAcquiredBufferCount(refreshRate, presentLatency); in calculateMaxAcquiredBufferCount()
698 return SurfaceFlinger::sActiveDisplayRotationFlags; in mutableActiveDisplayRotationFlags()
701 auto& mutableMinAcquiredBuffers() { return SurfaceFlinger::minAcquiredBuffers; } in mutableMinAcquiredBuffers()
730 SurfaceFlinger::NotifyExpectedPresentHintStatus::ScheduleOnPresent; in verifyHintIsScheduledOnPresent()
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp379 int64_t SurfaceFlinger::dispSyncPresentTimeOffset;
380 bool SurfaceFlinger::useHwcForRgbToYuv;
381 bool SurfaceFlinger::hasSyncFramework;
382 int64_t SurfaceFlinger::maxFrameBufferAcquiredBuffers;
383 int64_t SurfaceFlinger::minAcquiredBuffers = 1;
384 uint32_t SurfaceFlinger::maxGraphicsWidth;
385 uint32_t SurfaceFlinger::maxGraphicsHeight;
386 bool SurfaceFlinger::useContextPriority;
387 Dataspace SurfaceFlinger::defaultCompositionDataspace = Dataspace::V0_SRGB;
388 ui::PixelFormat SurfaceFlinger::defaultCompositionPixelFormat = ui::PixelFormat::RGBA_8888;
[all …]
DRegionSamplingThread.h40 class SurfaceFlinger; variable
69 explicit RegionSamplingThread(SurfaceFlinger& flinger, const TimingTunables& tunables);
70 explicit RegionSamplingThread(SurfaceFlinger& flinger);
105 SurfaceFlinger& mFlinger;
DClient.h32 class SurfaceFlinger; variable
36 explicit Client(const sp<SurfaceFlinger>& flinger);
61 sp<SurfaceFlinger> mFlinger;
Dmain_surfaceflinger.cpp94 if (SurfaceFlinger::setSchedAttr(true) != NO_ERROR) { in main()
130 sp<SurfaceFlinger> flinger = surfaceflinger::createSurfaceFlinger(); in main()
148 sm->addService(String16(SurfaceFlinger::getServiceName()), flinger, false, in main()
161 if (SurfaceFlinger::setSchedFifo(true) != NO_ERROR) { in main()
DSurfaceFlingerFactory.cpp26 sp<SurfaceFlinger> createSurfaceFlinger() { in createSurfaceFlinger()
29 return sp<SurfaceFlinger>::make(factory); in createSurfaceFlinger()
Dsurfaceflinger_flags.aconfig9 description: "This flag controls minor miscellaneous SurfaceFlinger changes"
17 description: "Controls SurfaceFlinger support for Connected Displays in 24Q1"
25 description: "Controls SurfaceFlinger support for VRR Configurations"
77 description: "Add SurfaceFlinger dropped Frames to frame timeline"
206 …description: "This flag is guarding the behaviour where SurfaceFlinger is trying to opportunistica…
DDisplayDevice.h60 class SurfaceFlinger; variable
220 const sp<SurfaceFlinger> mFlinger;
298 DisplayDeviceCreationArgs(const sp<SurfaceFlinger>&, HWComposer& hwComposer,
301 const sp<SurfaceFlinger> flinger;
DSurfaceFlingerFactory.h42 class SurfaceFlinger; variable
97 ANDROID_API sp<SurfaceFlinger> createSurfaceFlinger();
DTunnelModeEnabledReporter.h30 class SurfaceFlinger; variable
DDisplayDevice.cpp54 const sp<SurfaceFlinger>& flinger, HWComposer& hwComposer, const wp<IBinder>& displayToken, in DisplayDeviceCreationArgs()
81 static_cast<size_t>(SurfaceFlinger::maxFrameBufferAcquiredBuffers))
85 SurfaceFlinger::maxFrameBufferAcquiredBuffers > 0) {
87 static_cast<uint32_t>(SurfaceFlinger::maxFrameBufferAcquiredBuffers));
DLayerRenderArea.h31 class SurfaceFlinger; variable
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerHandle.h23 class SurfaceFlinger; variable
39 LayerHandle(const sp<android::SurfaceFlinger>& flinger, const sp<android::Layer>& layer);
53 sp<android::SurfaceFlinger> mFlinger;
DLayerCreationArgs.h31 class SurfaceFlinger; variable
43 LayerCreationArgs(android::SurfaceFlinger*, sp<android::Client>, std::string name,
50 android::SurfaceFlinger* flinger;
Dreadme.md1 # SurfaceFlinger FrontEnd
3 SurfaceFlinger FrontEnd implements the client APIs that describe how buffers should be
50 Transactions are queued in SurfaceFlinger per ApplyToken so order is only guaranteed for
58 SurfaceFlinger FrontEnd intends to optimize for predictability and performance because state
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockLayer.h26 MockLayer(SurfaceFlinger* flinger, std::string name) in MockLayer()
32 MockLayer(SurfaceFlinger* flinger, std::string name, std::optional<uint32_t> uid) in MockLayer()
38 explicit MockLayer(SurfaceFlinger* flinger) : MockLayer(flinger, "TestLayer") {} in MockLayer()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_service_fuzzer.cpp26 sp<SurfaceFlinger> flinger = sp<SurfaceFlinger>::make(factory); in LLVMFuzzerTestOneInput()
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop22 # - The phase offset between hardware vsync and when SurfaceFlinger wakes up
61 # Controls the number of buffers SurfaceFlinger will allocate for use in FramebufferSurface.
199 # useColorManagement indicates whether SurfaceFlinger should manage color
202 # DEPRECATED: SurfaceFlinger is always color managed.
212 # Returns the default data space and pixel format that SurfaceFlinger
227 # dataspace is the default data space that SurfaceFlinger expects.
238 # pixelFormat is the default pixel format that SurfaceFlinger
249 # wcgDataspace is the data space that SurfaceFlinger expects for
264 # wcgPixelFormat is the pixel format that SurfaceFlinger expects for
276 # SurfaceFlinger expects for surfaces which are color space agnostic.
[all …]
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/
Dtimestats_atoms.proto36 * Global display pipeline metrics reported by SurfaceFlinger.
43 // are defined in SurfaceFlinger and are tracked per device.
49 // Buckets are defined in SurfaceFlinger and are tracked per device.
75 // Total number of event connections tracked by SurfaceFlinger at the time
81 // Set of timings measured from when SurfaceFlinger began compositing a
83 // measures SurfaceFlinger's total CPU walltime on the critical path per
88 // Set of timings measured from when SurfaceFlinger first began using the
90 // frame. This measures the total additional time SurfaceFlinger needed to
132 // Buckets of timings in ms by which SurfaceFlinger's deadline was missed
145 * Per-layer display pipeline metrics reported by SurfaceFlinger.
[all …]
/frameworks/proto_logging/stats/atoms/adpf/
Dadpf_atoms.proto13 // This tag is used to mark the SurfaceFlinger hint session.
48 // True if SurfaceFlinger CPU hint is enabled on the device.
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
Dtimestats.proto36 // Total missed frames of SurfaceFlinger.
66 // Total number of frames dropped by SurfaceFlinger.
68 // There are multiple timestamps tracked in SurfaceFlinger, and these are the
/frameworks/native/services/surfaceflinger/Tracing/tools/
Drun.sh12 adb shell service call SurfaceFlinger 1041 i32 0
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
Ddebugging.md51 WindowManager and SurfaceFlinger. Follow [go/winscope](http://go/winscope-help) to learn how to
55 ## WindowManager/SurfaceFlinger hierarchy dump
62 Likewise, the SurfaceFlinger hierarchy can be dumped for inspection by running:
64 adb shell dumpsys SurfaceFlinger
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionTracing.h41 class SurfaceFlinger; variable
157 friend class SurfaceFlinger; variable

123