Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayIdentificationTest.cpp286 TEST(DisplayIdentificationTest, getPnpId) { in TEST() argument
287 EXPECT_FALSE(getPnpId(0)); in TEST()
288 EXPECT_FALSE(getPnpId(static_cast<uint16_t>(-1))); in TEST()
290 EXPECT_STREQ("SEC", getPnpId(0x4ca3u).value_or(PnpId{}).data()); in TEST()
291 EXPECT_STREQ("HWP", getPnpId(0x22f0u).value_or(PnpId{}).data()); in TEST()
292 EXPECT_STREQ("SAM", getPnpId(0x4c2du).value_or(PnpId{}).data()); in TEST()
400 ASSERT_FALSE(getPnpId(getFallbackDisplayId(0))); in TEST()
401 ASSERT_FALSE(getPnpId(getFallbackDisplayId(0xffu))); in TEST()
406 ASSERT_FALSE(getPnpId(getVirtualDisplayId(0))); in TEST()
407 ASSERT_FALSE(getPnpId(getVirtualDisplayId(0xffff'ffffu))); in TEST()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayIdentification.h96 std::optional<PnpId> getPnpId(uint16_t manufacturerId);
97 std::optional<PnpId> getPnpId(DisplayId);
DDisplayIdentification.cpp195 const auto pnpId = getPnpId(manufacturerId); in parseEdid()
326 std::optional<PnpId> getPnpId(uint16_t manufacturerId) { in getPnpId() function
333 std::optional<PnpId> getPnpId(DisplayId displayId) { in getPnpId() function
334 return getPnpId(displayId.manufacturerId()); in getPnpId()