Home
last modified time | relevance | path

Searched refs:HWDisplayId (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h105 virtual bool getDisplayIdentificationData(hal::HWDisplayId, uint8_t* outPort,
122 virtual void allocatePhysicalDisplay(hal::HWDisplayId, PhysicalDisplayId) = 0;
199 virtual std::optional<DisplayIdentificationInfo> onHotplug(hal::HWDisplayId,
206 virtual bool onVsync(hal::HWDisplayId, int64_t timestamp) = 0;
241 virtual std::optional<hal::HWDisplayId> getInternalHwcDisplayId() const = 0;
242 virtual std::optional<hal::HWDisplayId> getExternalHwcDisplayId() const = 0;
244 virtual std::optional<PhysicalDisplayId> toPhysicalDisplayId(hal::HWDisplayId) const = 0;
245 virtual std::optional<hal::HWDisplayId> fromPhysicalDisplayId(PhysicalDisplayId) const = 0;
259 bool getDisplayIdentificationData(hal::HWDisplayId, uint8_t* outPort,
272 void allocatePhysicalDisplay(hal::HWDisplayId, PhysicalDisplayId) override;
[all …]
DHWComposer.cpp88 Return<void> onHotplug(hal::HWDisplayId display, hal::Connection connection) override { in onHotplug()
93 Return<void> onRefresh(hal::HWDisplayId display) override { in onRefresh()
98 Return<void> onVsync(hal::HWDisplayId display, int64_t timestamp) override { in onVsync()
107 Return<void> onVsync_2_4(hal::HWDisplayId display, int64_t timestamp, in onVsync_2_4()
118 hal::HWDisplayId display, const hal::VsyncPeriodChangeTimeline& timeline) override { in onVsyncPeriodTimingChanged()
123 Return<void> onSeamlessPossible(hal::HWDisplayId display) override { in onSeamlessPossible()
166 bool HWComposer::getDisplayIdentificationData(hal::HWDisplayId hwcDisplayId, uint8_t* outPort, in getDisplayIdentificationData()
189 std::optional<DisplayIdentificationInfo> HWComposer::onHotplug(hal::HWDisplayId hwcDisplayId, in onHotplug()
205 bool HWComposer::onVsync(hal::HWDisplayId hwcDisplayId, int64_t timestamp) { in onVsync()
265 std::optional<hal::HWDisplayId> hwcMirrorId; in allocateVirtualDisplay()
[all …]
DHWC2.h62 virtual void onComposerHalHotplug(hal::HWDisplayId, hal::Connection) = 0;
63 virtual void onComposerHalRefresh(hal::HWDisplayId) = 0;
64 virtual void onComposerHalVsync(hal::HWDisplayId, int64_t timestamp,
66 virtual void onComposerHalVsyncPeriodTimingChanged(hal::HWDisplayId,
68 virtual void onComposerHalSeamlessPossible(hal::HWDisplayId) = 0;
79 virtual hal::HWDisplayId getId() const = 0;
157 Display(android::Hwc2::Composer&, const std::unordered_set<hal::Capability>&, hal::HWDisplayId,
214 hal::HWDisplayId getId() const override { return mId; } in getId()
239 const hal::HWDisplayId mId;
DHal.h61 using HWDisplayId = V2_1::Display; variable
DHWC2.cpp74 const std::unordered_set<Capability>& capabilities, HWDisplayId id, in Display()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h44 bool(hal::HWDisplayId, uint8_t*, DisplayIdentificationData*));
53 MOCK_METHOD2(allocatePhysicalDisplay, void(hal::HWDisplayId, PhysicalDisplayId));
89 std::optional<DisplayIdentificationInfo>(hal::HWDisplayId, hal::Connection));
91 MOCK_METHOD2(onVsync, bool(hal::HWDisplayId, int64_t));
115 MOCK_CONST_METHOD1(getHwcDisplayId, std::optional<hal::HWDisplayId>(int32_t));
116 MOCK_CONST_METHOD0(getInternalHwcDisplayId, std::optional<hal::HWDisplayId>());
117 MOCK_CONST_METHOD0(getExternalHwcDisplayId, std::optional<hal::HWDisplayId>());
118 MOCK_CONST_METHOD1(toPhysicalDisplayId, std::optional<PhysicalDisplayId>(hal::HWDisplayId));
119 MOCK_CONST_METHOD1(fromPhysicalDisplayId, std::optional<hal::HWDisplayId>(PhysicalDisplayId));
/frameworks/native/services/surfaceflinger/tests/unittests/
DHWComposerTest.cpp61 MOCK_METHOD2(onComposerHalHotplug, void(hal::HWDisplayId, hal::Connection));
62 MOCK_METHOD1(onComposerHalRefresh, void(hal::HWDisplayId));
64 void(hal::HWDisplayId, int64_t timestamp, std::optional<hal::VsyncPeriodNanos>));
66 void(hal::HWDisplayId, const hal::VsyncPeriodChangeTimeline&));
67 MOCK_METHOD1(onComposerHalSeamlessPossible, void(hal::HWDisplayId));
117 static constexpr hal::HWDisplayId kDisplayId = static_cast<hal::HWDisplayId>(1001);
DSurfaceFlinger_HotplugTest.cpp28 constexpr HWDisplayId hwcDisplayId1 = 456; in TEST_F()
29 constexpr HWDisplayId hwcDisplayId2 = 654; in TEST_F()
68 constexpr HWDisplayId displayId1 = 456; in TEST_F()
DDisplayTransactionTestHelpers.h76 using hal::HWDisplayId;
99 bool hasPhysicalHwcDisplay(hal::HWDisplayId hwcDisplayId);
216 static constexpr std::optional<HWDisplayId> value;
219 constexpr HWDisplayId HWC_VIRTUAL_DISPLAY_HWC_DISPLAY_ID = 1010;
223 static constexpr std::optional<HWDisplayId> value = HWC_VIRTUAL_DISPLAY_HWC_DISPLAY_ID;
228 static constexpr std::optional<HWDisplayId> value = PhysicalDisplay::HWC_DISPLAY_ID;
342 template <HWDisplayId hwcDisplayId, DisplayType hwcDisplayType, typename DisplayVariant,
346 static constexpr HWDisplayId HWC_DISPLAY_ID = hwcDisplayId;
494 static constexpr HWDisplayId HWC_DISPLAY_ID = 1001;
504 static constexpr HWDisplayId HWC_DISPLAY_ID = 1002;
[all …]
DDisplayTransactionTest.cpp30 using android::hardware::graphics::composer::hal::HWDisplayId;
128 constexpr HWDisplayId DEFAULT_DISPLAY_HWC_DISPLAY_ID = 0; in injectDefaultInternalDisplay()
170 bool DisplayTransactionTest::hasPhysicalHwcDisplay(HWDisplayId hwcDisplayId) { in hasPhysicalHwcDisplay()
DTestableSurfaceFlinger.h324 void onComposerHalHotplug(hal::HWDisplayId hwcDisplayId, hal::Connection connection) { in onComposerHalHotplug()
471 const std::unordered_set<hal::Capability>& capabilities, hal::HWDisplayId id, in HWC2Display()
485 static constexpr hal::HWDisplayId DEFAULT_HWC_DISPLAY_ID = 1000;
498 auto& setHwcDisplayId(hal::HWDisplayId displayId) { in setHwcDisplayId()
618 hal::HWDisplayId mHwcDisplayId = DEFAULT_HWC_DISPLAY_ID;
635 std::optional<hal::HWDisplayId> hwcDisplayId, bool isPrimary) in FakeDisplayDeviceInjector()
759 const std::optional<hal::HWDisplayId> mHwcDisplayId;
DCompositionTest.cpp76 constexpr hal::HWDisplayId HWC_DISPLAY = FakeHwcDisplayInjector::DEFAULT_HWC_DISPLAY_ID;
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h475 hal::HWDisplayId hwcDisplayId;
731 void onComposerHalVsync(hal::HWDisplayId, int64_t timestamp,
733 void onComposerHalHotplug(hal::HWDisplayId, hal::Connection) override;
734 void onComposerHalRefresh(hal::HWDisplayId) override;
735 void onComposerHalVsyncPeriodTimingChanged(hal::HWDisplayId,
737 void onComposerHalSeamlessPossible(hal::HWDisplayId) override;
DDisplayDevice.h239 hardware::graphics::composer::hal::HWDisplayId hwcDisplayId;
DSurfaceFlinger.cpp1718 void SurfaceFlinger::onComposerHalVsync(hal::HWDisplayId hwcDisplayId, int64_t timestamp, in onComposerHalVsync()
1773 void SurfaceFlinger::onComposerHalHotplug(hal::HWDisplayId hwcDisplayId, in onComposerHalHotplug()
1795 hal::HWDisplayId, const hal::VsyncPeriodChangeTimeline& timeline) { in onComposerHalVsyncPeriodTimingChanged() argument
1800 void SurfaceFlinger::onComposerHalSeamlessPossible(hal::HWDisplayId) { in onComposerHalSeamlessPossible() argument
1805 void SurfaceFlinger::onComposerHalRefresh(hal::HWDisplayId) { in onComposerHalRefresh() argument
2504 std::optional<hal::HWDisplayId> activeModeHwcId; in loadDisplayModes()
4912 hal::HWDisplayId hwcDisplayId; in dumpRawDisplayIdentificationData()
5722 std::optional<hal::HWDisplayId> hwcId; in onTransact()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockHWC2.h30 MOCK_METHOD(hal::HWDisplayId, getId, (), (const, override));