Searched refs:PnpId (Results 1 – 3 of 3) sorted by relevance
59 using PnpId = std::array<char, 4>; variable63 PnpId pnpId;69 std::optional<PnpId> getPnpId(uint16_t manufacturerId);70 std::optional<PnpId> getPnpId(DisplayId);
168 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()
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()