replicant-frameworks_native/services
Haixia Shi 179bd77ab6 SF: more DispSync improvements.
Pass the reference time to DispSyncThread. Since the phase offset is calculated
using timestamps relative to the reference time, we must also adjust the phase
offset by the same reference time when computing the next refresh time.

Always reset phase offset to zero when updating the reference time because the
reference time equals the first timestamp.

After beginResync() we need to keep HW vsync enabled until the model is updated.

Bug: 25113115
Change-Id: I8eae227bee91c24a99bf8e57fbebceb98d29c77d
Test: check in systrace that app/sf vsync events have correct phase
2016-07-20 04:16:16 -07:00
..
batteryservice Android 6.0.0 release 26 2015-11-05 01:41:42 +00:00
inputflinger Android 6.0.1 release 46 2016-06-07 10:10:09 -07:00
powermanager Frameworks/native: Wall Werror in batteryservice & powermanager 2014-11-13 14:31:11 -08:00
sensorservice sensorservice: fix an invalid format string 2016-04-20 15:50:27 -07:00
surfaceflinger SF: more DispSync improvements. 2016-07-20 04:16:16 -07:00