Searched refs:sfOffset (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VsyncConfigurationTest.cpp | 64 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/ |
D | VsyncConfiguration.cpp | 75 late.appOffset, late.sfOffset, in dump() 79 early.appOffset, early.sfOffset, in dump() 83 earlyGpu.appOffset, earlyGpu.sfOffset, in dump() 148 std::chrono::nanoseconds sfOffsetToDuration(nsecs_t sfOffset, nsecs_t vsyncDuration) { in sfOffsetToDuration() argument 149 return std::chrono::nanoseconds(vsyncDuration - sfOffset); in sfOffsetToDuration() 152 std::chrono::nanoseconds appOffsetToDuration(nsecs_t appOffset, nsecs_t sfOffset, in appOffsetToDuration() argument 154 auto duration = vsyncDuration + (sfOffset - appOffset); in appOffsetToDuration() 182 .early = {.sfOffset = earlySfOffset, in getDefaultOffsets() 187 .earlyGpu = {.sfOffset = earlyGpuSfOffset, in getDefaultOffsets() 192 .late = {.sfOffset = lateSfOffset, in getDefaultOffsets() [all …]
|
D | VsyncModulator.h | 54 nsecs_t sfOffset; member 60 return sfOffset == other.sfOffset && appOffset == other.appOffset &&
|
/frameworks/native/libs/nativedisplay/ |
D | ADisplay.cpp | 65 int64_t sfOffset{0}; member 313 return reinterpret_cast<DisplayConfigImpl*>(config)->sfOffset; in ADisplayConfig_getCompositorOffsetNanos()
|
/frameworks/base/libs/hwui/ |
D | JankTracker.cpp | 86 nsecs_t sfOffset = DeviceInfo::getCompositorOffset(); in JankTracker() local 87 nsecs_t offsetDelta = sfOffset - DeviceInfo::getAppOffset(); in JankTracker()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1031 outMode.sfVsyncOffset = vsyncConfigSet.late.sfOffset; in getDynamicDisplayInfo() 1858 return mVsyncModulator->getVsyncConfig().sfOffset > 0 ? stats.vsyncTime in calculateExpectedPresentTime() 2208 nsecs_t idealLatency = (mVsyncConfiguration->getCurrentConfigs().late.sfOffset > 0) in setCompositorTimingSnapped() 2210 (mVsyncConfiguration->getCurrentConfigs().late.sfOffset % stats.vsyncPeriod)) in setCompositorTimingSnapped() 2211 : ((-mVsyncConfiguration->getCurrentConfigs().late.sfOffset) % stats.vsyncPeriod); in setCompositorTimingSnapped()
|