Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayIdentification.h59 using PnpId = std::array<char, 4>; variable
63 PnpId pnpId;
69 std::optional<PnpId> getPnpId(uint16_t manufacturerId);
70 std::optional<PnpId> getPnpId(DisplayId);
DDisplayIdentification.cpp168 std::optional<PnpId> getPnpId(uint16_t manufacturerId) { in getPnpId()
172 return a && b && c ? std::make_optional(PnpId{a, b, c}) : std::nullopt; in getPnpId()
175 std::optional<PnpId> getPnpId(DisplayId displayId) { in getPnpId()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayIdentificationTest.cpp138 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()