Searched refs:getPnpId (Results 1 – 3 of 3) sorted by relevance
300 TEST(DisplayIdentificationTest, getPnpId) { in TEST() argument301 EXPECT_FALSE(getPnpId(0)); in TEST()302 EXPECT_FALSE(getPnpId(static_cast<uint16_t>(-1))); in TEST()304 EXPECT_STREQ("SEC", getPnpId(0x4ca3u).value_or(PnpId{}).data()); in TEST()305 EXPECT_STREQ("HWP", getPnpId(0x22f0u).value_or(PnpId{}).data()); in TEST()306 EXPECT_STREQ("SAM", getPnpId(0x4c2du).value_or(PnpId{}).data()); in TEST()413 ASSERT_FALSE(getPnpId(PhysicalDisplayId::fromPort(0))); in TEST()414 ASSERT_FALSE(getPnpId(PhysicalDisplayId::fromPort(0xffu))); in TEST()419 ASSERT_FALSE(getPnpId(getVirtualDisplayId(0))); in TEST()420 ASSERT_FALSE(getPnpId(getVirtualDisplayId(0xffff'ffffu))); in TEST()
75 std::optional<PnpId> getPnpId(uint16_t manufacturerId);76 std::optional<PnpId> getPnpId(PhysicalDisplayId);
178 const auto pnpId = getPnpId(manufacturerId); in parseEdid()310 std::optional<PnpId> getPnpId(uint16_t manufacturerId) { in getPnpId() function317 std::optional<PnpId> getPnpId(PhysicalDisplayId displayId) { in getPnpId() function318 return getPnpId(displayId.getManufacturerId()); in getPnpId()