SF: Rename HwcConfigIndexType to DisplayModeId
Bug: 159590486
Bug: 176148651
Test: atest libsurfaceflinger_unittest
Change-Id: Ie177b213bb7a8ab9f67a51d2b5cf27d8fd97b780
diff --git a/services/surfaceflinger/tests/unittests/SchedulerTest.cpp b/services/surfaceflinger/tests/unittests/SchedulerTest.cpp
index 757c702..e688e10 100644
--- a/services/surfaceflinger/tests/unittests/SchedulerTest.cpp
+++ b/services/surfaceflinger/tests/unittests/SchedulerTest.cpp
@@ -53,7 +53,7 @@
const scheduler::RefreshRateConfigs
mConfigs{{DisplayMode::Builder(0).setVsyncPeriod(16'666'667).setConfigGroup(0).build()},
- HwcConfigIndexType(0)};
+ DisplayModeId(0)};
mock::SchedulerCallback mSchedulerCallback;
@@ -175,7 +175,7 @@
}
TEST_F(SchedulerTest, onNonPrimaryDisplayConfigChanged_invalidParameters) {
- HwcConfigIndexType configId = HwcConfigIndexType(111);
+ DisplayModeId configId = DisplayModeId(111);
nsecs_t vsyncPeriod = 111111;
// If the handle is incorrect, the function should return before