commit | 4d5db7ab45ca1afeed30fbccd51d568e861ff2eb | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Mon Feb 13 15:24:20 2023 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Wed Feb 22 13:28:37 2023 -0500 |
tree | f991439e90c5ccb3ee34c8c915c6882aa1a6dbb0 | |
parent | 42b349a2ea5e9540a9e2e81587c3ab9ccd783cbb [diff] [blame] |
Add tests for VsyncSchedule Follow-on to I54a1304a3428968134cc707b24d5b325927c31df. This is somewhat covered by existing unit tests, but add more thorough tests just for VsyncSchedule. Include thread_annotations.h to fix build. Update MockSchedulerCallback to include the new interface header. Bug: 241286146 Test: this Change-Id: I79e14d67fea896752f0afaba00adc6d47efc3c71 Merged-In: I79e14d67fea896752f0afaba00adc6d47efc3c71
diff --git a/services/surfaceflinger/tests/unittests/Android.bp b/services/surfaceflinger/tests/unittests/Android.bp index a5b508a..eac9edc 100644 --- a/services/surfaceflinger/tests/unittests/Android.bp +++ b/services/surfaceflinger/tests/unittests/Android.bp
@@ -134,6 +134,7 @@ "VSyncPredictorTest.cpp", "VSyncReactorTest.cpp", "VsyncConfigurationTest.cpp", + "VsyncScheduleTest.cpp", ], }