Searched refs:edid (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayIdentificationTest.cpp | 95 auto edid = parseEdid(getInternalEdid()); in TEST() local 96 ASSERT_TRUE(edid); in TEST() 97 EXPECT_EQ(0x4ca3u, edid->manufacturerId); in TEST() 98 EXPECT_STREQ("SEC", edid->pnpId.data()); in TEST() 100 EXPECT_EQ("121AT11-801", edid->displayName); in TEST() 102 edid = parseEdid(getExternalEdid()); in TEST() 103 ASSERT_TRUE(edid); in TEST() 104 EXPECT_EQ(0x22f0u, edid->manufacturerId); in TEST() 105 EXPECT_STREQ("HWP", edid->pnpId.data()); in TEST() 106 EXPECT_EQ("HP ZR30w", edid->displayName); in TEST() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayIdentification.cpp | 84 std::optional<Edid> parseEdid(const DisplayIdentificationData& edid) { in parseEdid() argument 86 if (edid.size() < kMinLength) { in parseEdid() 90 ALOGW_IF(edid[126] != 0, "EDID extensions are currently unsupported."); in parseEdid() 91 ALOGW_IF(std::accumulate(edid.begin(), edid.begin() + kMinLength, static_cast<uint8_t>(0)), in parseEdid() 96 if (edid.size() < kManufacturerOffset + sizeof(uint16_t)) { in parseEdid() 103 (edid[kManufacturerOffset] << 8) | edid[kManufacturerOffset + 1]; in parseEdid() 112 if (edid.size() < kDescriptorOffset) { in parseEdid() 117 byte_view view(edid.data(), edid.size()); in parseEdid() 186 const auto edid = parseEdid(data); in parseDisplayIdentificationData() local 187 if (!edid) { in parseDisplayIdentificationData() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 4756 const auto edid = parseEdid(data); in dumpDisplayIdentificationData() local 4757 if (!edid) { in dumpDisplayIdentificationData() 4766 StringAppendF(&result, "port=%u pnpId=%s displayName=\"", port, edid->pnpId.data()); in dumpDisplayIdentificationData() 4767 result.append(edid->displayName.data(), edid->displayName.length()); in dumpDisplayIdentificationData()
|