Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/tests/
DDisplayIdentification_test.cpp300 TEST(DisplayIdentificationTest, getPnpId) { in TEST() argument
301 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()
/frameworks/native/libs/ui/include/ui/
DDisplayIdentification.h75 std::optional<PnpId> getPnpId(uint16_t manufacturerId);
76 std::optional<PnpId> getPnpId(PhysicalDisplayId);
/frameworks/native/libs/ui/
DDisplayIdentification.cpp178 const auto pnpId = getPnpId(manufacturerId); in parseEdid()
310 std::optional<PnpId> getPnpId(uint16_t manufacturerId) { in getPnpId() function
317 std::optional<PnpId> getPnpId(PhysicalDisplayId displayId) { in getPnpId() function
318 return getPnpId(displayId.getManufacturerId()); in getPnpId()