Home
last modified time | relevance | path

Searched refs:fromPort (Results 1 – 25 of 25) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplayMode.h26 PhysicalDisplayId displayId = PhysicalDisplayId::fromPort(0)) {
38 PhysicalDisplayId displayId = PhysicalDisplayId::fromPort(0)) {
50 PhysicalDisplayId displayId = PhysicalDisplayId::fromPort(0)) {
/frameworks/native/libs/ui/tests/
DDisplayIdentification_test.cpp411 TEST(DisplayIdentificationTest, fromPort) { in TEST() argument
413 ASSERT_FALSE(getPnpId(PhysicalDisplayId::fromPort(0))); in TEST()
414 ASSERT_FALSE(getPnpId(PhysicalDisplayId::fromPort(0xffu))); in TEST()
DDisplayId_test.cpp42 const PhysicalDisplayId id = PhysicalDisplayId::fromPort(port); in TEST()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCommitAndCompositeTest.h71 static constexpr PhysicalDisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(42u);
DFakeDisplayInjector.h32 PhysicalDisplayId displayId = PhysicalDisplayId::fromPort(255u);
DPowerAdvisorTest.cpp195 std::vector<DisplayId> displayIds{PhysicalDisplayId::fromPort(42u), GpuVirtualDisplayId(0), in testGpuScenario()
323 std::vector<DisplayId> displayIds{PhysicalDisplayId::fromPort(42u)}; in TEST_F()
361 std::vector<DisplayId> displayIds{PhysicalDisplayId::fromPort(42u)}; in TEST_F()
404 std::vector<DisplayId> displayIds{PhysicalDisplayId::fromPort(42u), GpuVirtualDisplayId(0), in TEST_F()
448 std::vector<DisplayId> displayIds{PhysicalDisplayId::fromPort(42u)}; in TEST_F()
493 std::vector<DisplayId> displayIds{PhysicalDisplayId::fromPort(42u)}; in TEST_F()
DDisplayTransactionTest.cpp50 injectMockScheduler(PhysicalDisplayId::fromPort(0)); in DisplayTransactionTest()
DVsyncScheduleTest.cpp38 constexpr PhysicalDisplayId kDisplayId = PhysicalDisplayId::fromPort(42u);
DHWComposerTest.cpp107 EXPECT_EQ(mHwc.getDisplayConnectionType(PhysicalDisplayId::fromPort(0)), in TEST_F()
130 EXPECT_EQ(mHwc.getActiveMode(PhysicalDisplayId::fromPort(0)), ftl::Unexpected(BAD_INDEX)); in TEST_F()
DSchedulerTest.cpp80 static constexpr PhysicalDisplayId kDisplayId1 = PhysicalDisplayId::fromPort(255u);
87 static constexpr PhysicalDisplayId kDisplayId2 = PhysicalDisplayId::fromPort(254u);
94 static constexpr PhysicalDisplayId kDisplayId3 = PhysicalDisplayId::fromPort(253u);
DEventThreadTest.cpp51 constexpr PhysicalDisplayId INTERNAL_DISPLAY_ID = PhysicalDisplayId::fromPort(111u);
52 constexpr PhysicalDisplayId EXTERNAL_DISPLAY_ID = PhysicalDisplayId::fromPort(222u);
DDisplayTransactionTestHelpers.h184 return PhysicalDisplayId::fromPort(static_cast<bool>(PhysicalDisplay::PRIMARY)
192 return info ? info->id : PhysicalDisplayId::fromPort(PhysicalDisplay::PORT);
DVSyncReactorTest.cpp84 constexpr PhysicalDisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(42u);
DSurfaceFlinger_DisplayModeSwitching.cpp91 constexpr PhysicalDisplayId kOuterDisplayId = PhysicalDisplayId::fromPort(254u); in injectOuterDisplay()
DVSyncPredictorTest.cpp69 constexpr PhysicalDisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(42u);
DTestableSurfaceFlinger.h164 PhysicalDisplayId displayId = PhysicalDisplayId::fromPort(0);
DCompositionTest.cpp79 constexpr PhysicalDisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(42u);
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayId.h96 static constexpr PhysicalDisplayId fromPort(uint8_t port) { in fromPort() function
/frameworks/native/libs/ui/include/ui/
DDisplayId.h96 static constexpr PhysicalDisplayId fromPort(uint8_t port) { in fromPort() function
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCompositionEngineTest.cpp290 static constexpr PhysicalDisplayId kDisplayId1 = PhysicalDisplayId::fromPort(123u);
291 static constexpr PhysicalDisplayId kDisplayId2 = PhysicalDisplayId::fromPort(234u);
DRenderSurfaceTest.cpp39 constexpr DisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(123u);
DDisplayTest.cpp69 constexpr PhysicalDisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(123u);
/frameworks/native/libs/gui/
DChoreographer.cpp242 PhysicalDisplayId::fromPort(0), systemTime()}; in scheduleLatestConfigRequest()
/frameworks/native/services/surfaceflinger/Scheduler/tests/
DFrameTargeterTest.cpp52 FrameTargeterTestBase(FeatureFlags flags) : mTargeter(PhysicalDisplayId::fromPort(13), flags) {} in FrameTargeterTestBase()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp1092 return DisplayIdentificationInfo{.id = PhysicalDisplayId::fromPort(port), in onHotplugConnect()