/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.h | 105 virtual bool getDisplayIdentificationData(hal::HWDisplayId, uint8_t* outPort, 118 virtual void allocatePhysicalDisplay(hal::HWDisplayId, PhysicalDisplayId) = 0; 195 virtual std::optional<DisplayIdentificationInfo> onHotplug(hal::HWDisplayId, 202 virtual bool onVsync(hal::HWDisplayId, int64_t timestamp) = 0; 255 bool getDisplayIdentificationData(hal::HWDisplayId, uint8_t* outPort, 267 void allocatePhysicalDisplay(hal::HWDisplayId, PhysicalDisplayId) override; 337 bool onVsync(hal::HWDisplayId, int64_t timestamp) override; 370 std::optional<hal::HWDisplayId> getInternalHwcDisplayId() const override { in getInternalHwcDisplayId() 373 std::optional<hal::HWDisplayId> getExternalHwcDisplayId() const override { in getExternalHwcDisplayId() 421 std::optional<hal::HWDisplayId> mInternalHwcDisplayId; [all …]
|
H A D | HWComposer.cpp | 93 Return<void> onRefresh(hal::HWDisplayId display) override { in onRefresh() 107 Return<void> onVsync_2_4(hal::HWDisplayId display, int64_t timestamp, in onVsync_2_4() 123 Return<void> onSeamlessPossible(hal::HWDisplayId display) override { in onSeamlessPossible() 205 bool HWComposer::onVsync(hal::HWDisplayId hwcDisplayId, int64_t timestamp) { in onVsync() 264 hal::HWDisplayId hwcDisplayId; in allocateVirtualDisplay() 278 void HWComposer::allocatePhysicalDisplay(hal::HWDisplayId hwcDisplayId, in allocatePhysicalDisplay() 846 hal::HWDisplayId hwcDisplayId) const { in toPhysicalDisplayId() 854 std::optional<hal::HWDisplayId> HWComposer::fromPhysicalDisplayId( in fromPhysicalDisplayId() 863 bool HWComposer::shouldIgnoreHotplugConnect(hal::HWDisplayId hwcDisplayId, in shouldIgnoreHotplugConnect() 880 hal::HWDisplayId hwcDisplayId) { in onHotplugConnect() [all …]
|
H A D | HWC2.h | 62 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;
|
H A D | Hal.h | 61 using HWDisplayId = V2_1::Display; variable
|
H A D | HWC2.cpp | 74 const std::unordered_set<Capability>& capabilities, HWDisplayId id, in Display()
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
H A D | MockHWComposer.h | 44 bool(hal::HWDisplayId, uint8_t*, DisplayIdentificationData*)); 51 MOCK_METHOD2(allocatePhysicalDisplay, void(hal::HWDisplayId, PhysicalDisplayId)); 87 std::optional<DisplayIdentificationInfo>(hal::HWDisplayId, hal::Connection)); 89 MOCK_METHOD2(onVsync, bool(hal::HWDisplayId, int64_t)); 113 MOCK_CONST_METHOD1(getHwcDisplayId, std::optional<hal::HWDisplayId>(int32_t)); 114 MOCK_CONST_METHOD0(getInternalHwcDisplayId, std::optional<hal::HWDisplayId>()); 115 MOCK_CONST_METHOD0(getExternalHwcDisplayId, std::optional<hal::HWDisplayId>()); 116 MOCK_CONST_METHOD1(toPhysicalDisplayId, std::optional<PhysicalDisplayId>(hal::HWDisplayId)); 117 MOCK_CONST_METHOD1(fromPhysicalDisplayId, std::optional<hal::HWDisplayId>(PhysicalDisplayId));
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | HWComposerTest.cpp | 61 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);
|
H A D | SurfaceFlinger_HotplugTest.cpp | 28 constexpr HWDisplayId hwcDisplayId1 = 456; in TEST_F() 29 constexpr HWDisplayId hwcDisplayId2 = 654; in TEST_F() 68 constexpr HWDisplayId displayId1 = 456; in TEST_F()
|
H A D | DisplayTransactionTestHelpers.h | 76 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 …]
|
H A D | DisplayTransactionTest.cpp | 30 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()
|
H A D | TestableSurfaceFlinger.h | 324 void onComposerHalHotplug(hal::HWDisplayId hwcDisplayId, hal::Connection connection) { in onComposerHalHotplug() 473 const std::unordered_set<hal::Capability>& capabilities, hal::HWDisplayId id, in HWC2Display() 487 static constexpr hal::HWDisplayId DEFAULT_HWC_DISPLAY_ID = 1000; 500 auto& setHwcDisplayId(hal::HWDisplayId displayId) { in setHwcDisplayId() 620 hal::HWDisplayId mHwcDisplayId = DEFAULT_HWC_DISPLAY_ID; 637 std::optional<hal::HWDisplayId> hwcDisplayId, bool isPrimary) in FakeDisplayDeviceInjector() 763 const std::optional<hal::HWDisplayId> mHwcDisplayId;
|
H A D | CompositionTest.cpp | 76 constexpr hal::HWDisplayId HWC_DISPLAY = FakeHwcDisplayInjector::DEFAULT_HWC_DISPLAY_ID;
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.h | 470 hal::HWDisplayId hwcDisplayId; 736 void onComposerHalVsync(hal::HWDisplayId, int64_t timestamp, 738 void onComposerHalHotplug(hal::HWDisplayId, hal::Connection) override; 739 void onComposerHalRefresh(hal::HWDisplayId) override; 740 void onComposerHalVsyncPeriodTimingChanged(hal::HWDisplayId, 742 void onComposerHalSeamlessPossible(hal::HWDisplayId) override;
|
H A D | DisplayDevice.h | 299 hardware::graphics::composer::hal::HWDisplayId hwcDisplayId;
|
H A D | SurfaceFlinger.cpp | 1728 void SurfaceFlinger::onComposerHalVsync(hal::HWDisplayId hwcDisplayId, int64_t timestamp, in onComposerHalVsync() 1781 void SurfaceFlinger::onComposerHalHotplug(hal::HWDisplayId hwcDisplayId, in onComposerHalHotplug() 1803 hal::HWDisplayId, const hal::VsyncPeriodChangeTimeline& timeline) { in onComposerHalVsyncPeriodTimingChanged() argument 1808 void SurfaceFlinger::onComposerHalSeamlessPossible(hal::HWDisplayId) { in onComposerHalSeamlessPossible() argument 1813 void SurfaceFlinger::onComposerHalRefresh(hal::HWDisplayId) { in onComposerHalRefresh() argument 2526 std::optional<hal::HWDisplayId> activeModeHwcId; in loadDisplayModes() 4968 hal::HWDisplayId hwcDisplayId; in dumpRawDisplayIdentificationData() 5805 std::optional<hal::HWDisplayId> hwcId; in onTransact()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
H A D | MockHWC2.h | 30 MOCK_METHOD(hal::HWDisplayId, getId, (), (const, override));
|