Home
last modified time | relevance | path

Searched refs:modelHash (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayIdentificationTest.cpp183 EXPECT_EQ(hash("121AT11-801"), edid->modelHash); in TEST()
194 EXPECT_EQ(hash("HP ZR30w"), edid->modelHash); in TEST()
205 EXPECT_EQ(hash("SAMSUNG"), edid->modelHash); in TEST()
222 EXPECT_EQ(hash("Panasonic-TV"), edid->modelHash); in TEST()
239 EXPECT_EQ(hash("Hisense"), edid->modelHash); in TEST()
256 EXPECT_EQ(hash("LP2361"), edid->modelHash); in TEST()
275 const auto modelHash = hash("CN4202137Q"); in TEST() local
276 EXPECT_EQ(modelHash, edid->modelHash); in TEST()
283 EXPECT_EQ(modelHash, edid->modelHash); in TEST()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayIdentification.cpp165 DisplayId DisplayId::fromEdid(uint8_t port, uint16_t manufacturerId, uint32_t modelHash) { in fromEdid() argument
166 return {(static_cast<Type>(manufacturerId) << 40) | (static_cast<Type>(modelHash) << 8) | port}; in fromEdid()
285 const auto modelHash = static_cast<uint32_t>(std::hash<std::string_view>()(modelString)); in parseEdid() local
319 .modelHash = modelHash, in parseEdid()
349 const auto displayId = DisplayId::fromEdid(port, edid->manufacturerId, edid->modelHash); in parseDisplayIdentificationData()
DDisplayIdentification.h40 static DisplayId fromEdid(uint8_t port, uint16_t manufacturerId, uint32_t modelHash);
87 uint32_t modelHash; member