Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayIdentificationTest.cpp134 TEST(DisplayIdentificationTest, getPnpId) { in TEST() argument
135 EXPECT_FALSE(getPnpId(0)); in TEST()
136 EXPECT_FALSE(getPnpId(static_cast<uint16_t>(-1))); in TEST()
138 EXPECT_STREQ("SEC", getPnpId(0x4ca3u).value_or(PnpId{}).data()); in TEST()
139 EXPECT_STREQ("HWP", getPnpId(0x22f0u).value_or(PnpId{}).data()); in TEST()
140 EXPECT_STREQ("SAM", getPnpId(0x4c2du).value_or(PnpId{}).data()); in TEST()
161 ASSERT_FALSE(getPnpId(getFallbackDisplayId(0))); in TEST()
162 ASSERT_FALSE(getPnpId(getFallbackDisplayId(0xffu))); in TEST()
167 ASSERT_FALSE(getPnpId(getVirtualDisplayId(0))); in TEST()
168 ASSERT_FALSE(getPnpId(getVirtualDisplayId(0xffff'ffffu))); in TEST()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayIdentification.cpp105 const auto pnpId = getPnpId(manufacturerId); in parseEdid()
168 std::optional<PnpId> getPnpId(uint16_t manufacturerId) { in getPnpId() function
175 std::optional<PnpId> getPnpId(DisplayId displayId) { in getPnpId() function
176 return getPnpId(displayId.manufacturerId()); in getPnpId()
DDisplayIdentification.h69 std::optional<PnpId> getPnpId(uint16_t manufacturerId);
70 std::optional<PnpId> getPnpId(DisplayId);