Home
last modified time | relevance | path

Searched refs:sfOffset (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVsyncConfigurationTest.cpp64 EXPECT_EQ(offsets.late.sfOffset, 6'166'667); in TEST_F()
70 EXPECT_EQ(offsets.early.sfOffset, 666'667); in TEST_F()
76 EXPECT_EQ(offsets.earlyGpu.sfOffset, 3'166'667); in TEST_F()
89 EXPECT_EQ(offsets.late.sfOffset, 611'111); in TEST_F()
95 EXPECT_EQ(offsets.early.sfOffset, -4'888'889); in TEST_F()
101 EXPECT_EQ(offsets.earlyGpu.sfOffset, -2'388'889); in TEST_F()
112 EXPECT_EQ(offsets.late.sfOffset, 1'000'000); in TEST_F()
118 EXPECT_EQ(offsets.early.sfOffset, 1'000'000); in TEST_F()
124 EXPECT_EQ(offsets.earlyGpu.sfOffset, 1'000'000); in TEST_F()
148 EXPECT_EQ(offsets.late.sfOffset, 57'527'208); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncConfiguration.cpp73 late.appOffset, late.sfOffset, in dump()
77 early.appOffset, early.sfOffset, in dump()
81 earlyGpu.appOffset, earlyGpu.sfOffset, in dump()
146 std::chrono::nanoseconds sfOffsetToDuration(nsecs_t sfOffset, nsecs_t vsyncDuration) { in sfOffsetToDuration() argument
147 return std::chrono::nanoseconds(vsyncDuration - sfOffset); in sfOffsetToDuration()
150 std::chrono::nanoseconds appOffsetToDuration(nsecs_t appOffset, nsecs_t sfOffset, in appOffsetToDuration() argument
152 auto duration = vsyncDuration + (sfOffset - appOffset); in appOffsetToDuration()
180 .early = {.sfOffset = earlySfOffset, in getDefaultOffsets()
185 .earlyGpu = {.sfOffset = earlyGpuSfOffset, in getDefaultOffsets()
190 .late = {.sfOffset = lateSfOffset, in getDefaultOffsets()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DVsyncConfig.h29 nsecs_t sfOffset; member
35 return sfOffset == other.sfOffset && appOffset == other.appOffset &&
/frameworks/base/libs/hostgraphics/
DADisplay.cpp45 int64_t sfOffset{0}; member
152 return reinterpret_cast<DisplayConfigImpl*>(config)->sfOffset; in ADisplayConfig_getCompositorOffsetNanos()
/frameworks/native/libs/nativedisplay/
DADisplay.cpp60 int64_t sfOffset{0}; member
294 return reinterpret_cast<DisplayConfigImpl*>(config)->sfOffset; in ADisplayConfig_getCompositorOffsetNanos()
/frameworks/base/libs/hwui/
DJankTracker.cpp86 nsecs_t sfOffset = DeviceInfo::getCompositorOffset(); in JankTracker() local
87 nsecs_t offsetDelta = sfOffset - DeviceInfo::getAppOffset(); in JankTracker()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1187 outMode.sfVsyncOffset = vsyncConfigSet.late.sfOffset; in getDynamicDisplayInfoInternal()
3162 mScheduler->getVsyncConfiguration().getCurrentConfigs().late.sfOffset; in onCompositionPresented()