/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2Test.cpp | 42 hwc2_display_t display, int32_t connected); 44 hwc2_display_t display, int64_t timestamp); 70 hwc2_display_t display = itr->first; in TearDown() 78 hwc2_display_t display = *itr; in TearDown() 86 hwc2_display_t display = *itr; in TearDown() 113 void getDisplayType(hwc2_display_t display, hwc2_display_type_t* outType, in getDisplayType() 131 void hotplugCallback(hwc2_display_t display, int32_t connected) in hotplugCallback() 144 void createLayer(hwc2_display_t display, hwc2_layer_t* outLayer, in createLayer() 164 void destroyLayer(hwc2_display_t display, hwc2_layer_t layer, in destroyLayer() 184 void getDisplayAttribute(hwc2_display_t display, hwc2_config_t config, in getDisplayAttribute() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 58 virtual bool getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort, 150 virtual std::optional<DisplayIdentificationInfo> onHotplug(hwc2_display_t hwcDisplayId, 153 virtual bool onVsync(hwc2_display_t hwcDisplayId, int64_t timestamp) = 0; 180 virtual std::optional<hwc2_display_t> getInternalHwcDisplayId() const = 0; 181 virtual std::optional<hwc2_display_t> getExternalHwcDisplayId() const = 0; 183 virtual std::optional<DisplayId> toPhysicalDisplayId(hwc2_display_t hwcDisplayId) const = 0; 184 virtual std::optional<hwc2_display_t> fromPhysicalDisplayId(DisplayId displayId) const = 0; 197 bool getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort, 283 std::optional<DisplayIdentificationInfo> onHotplug(hwc2_display_t hwcDisplayId, 286 bool onVsync(hwc2_display_t hwcDisplayId, int64_t timestamp) override; [all …]
|
D | HWC2.h | 69 virtual void onHotplugReceived(int32_t sequenceId, hwc2_display_t display, 72 hwc2_display_t display) = 0; 73 virtual void onVsyncReceived(int32_t sequenceId, hwc2_display_t display, 96 Error getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort, 101 void destroyDisplay(hwc2_display_t displayId); 103 void onHotplug(hwc2_display_t displayId, Connection connection); 107 Display* getDisplayById(hwc2_display_t id); 124 std::unordered_map<hwc2_display_t, std::unique_ptr<Display>> mDisplays; 179 hwc2_display_t getDisplayId() const { return mDisplay.getId(); } in getDisplayId() 201 virtual hwc2_display_t getId() const = 0; [all …]
|
D | HWComposer.cpp | 86 bool HWComposer::getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort, in getDisplayIdentificationData() 141 std::optional<DisplayIdentificationInfo> HWComposer::onHotplug(hwc2_display_t hwcDisplayId, in onHotplug() 173 bool HWComposer::onVsync(hwc2_display_t hwcDisplayId, int64_t timestamp) { in onVsync() 811 std::optional<DisplayId> HWComposer::toPhysicalDisplayId(hwc2_display_t hwcDisplayId) const { in toPhysicalDisplayId() 819 std::optional<hwc2_display_t> HWComposer::fromPhysicalDisplayId(DisplayId displayId) const { in fromPhysicalDisplayId() 827 std::optional<DisplayIdentificationInfo> HWComposer::onHotplugConnect(hwc2_display_t hwcDisplayId) { in onHotplugConnect()
|
D | HWC2.cpp | 126 Error Device::getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort, in getDisplayIdentificationData() 137 hwc2_display_t displayId = 0; in createVirtualDisplay() 154 void Device::destroyDisplay(hwc2_display_t displayId) in destroyDisplay() 160 void Device::onHotplug(hwc2_display_t displayId, Connection connection) { in onHotplug() 203 Display* Device::getDisplayById(hwc2_display_t id) { in getDisplayById() 257 const std::unordered_set<Capability>& capabilities, hwc2_display_t id, in Display() 802 hwc2_display_t displayId, hwc2_layer_t layerId) in Layer()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | MockHWComposer.h | 34 bool(hwc2_display_t, uint8_t*, DisplayIdentificationData*)); 72 std::optional<DisplayIdentificationInfo>(hwc2_display_t, HWC2::Connection)); 73 MOCK_METHOD2(onVsync, bool(hwc2_display_t, int64_t)); 87 MOCK_CONST_METHOD1(getHwcDisplayId, std::optional<hwc2_display_t>(int32_t)); 88 MOCK_CONST_METHOD0(getInternalHwcDisplayId, std::optional<hwc2_display_t>()); 89 MOCK_CONST_METHOD0(getExternalHwcDisplayId, std::optional<hwc2_display_t>()); 90 MOCK_CONST_METHOD1(toPhysicalDisplayId, std::optional<DisplayId>(hwc2_display_t)); 91 MOCK_CONST_METHOD1(fromPhysicalDisplayId, std::optional<hwc2_display_t>(DisplayId));
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.h | 41 hwc2_display_t id; 309 hwc2_display_t primary_display_id, 339 hwc2_display_t display, bool is_primary); 374 hwc2_display_t primary_display = 0; 375 std::optional<hwc2_display_t> external_display; 380 pdx::Status<int64_t> GetVsyncTime(hwc2_display_t display); 384 hwc2_display_t id = 0; 389 DisplayInfo* GetDisplayInfo(hwc2_display_t display); 400 HWC::Error Validate(hwc2_display_t display); 401 HWC::Error Present(hwc2_display_t display); [all …]
|
D | vr_flinger.cpp | 31 Hwc2::Composer* hidl, hwc2_display_t primary_display_id, in Create() 59 hwc2_display_t primary_display_id, in Init()
|
D | hardware_composer.cpp | 143 Hwc2::Composer* composer, hwc2_display_t primary_display_id, in Initialize() 291 HWC::Error HardwareComposer::Validate(hwc2_display_t display) { in Validate() 349 HWC::Error HardwareComposer::Present(hwc2_display_t display) { in Present() 365 Hwc2::Composer* composer, hwc2_display_t display, bool is_primary) { in GetDisplayParams() 485 void HardwareComposer::PostLayers(hwc2_display_t display) { in PostLayers() 1217 hwc2_display_t display) { in GetVsyncTime() 1279 HardwareComposer::ComposerCallback::GetDisplayInfo(hwc2_display_t display) { in GetDisplayInfo()
|
D | display_service.h | 75 hwc2_display_t primary_display_id,
|
D | hwc_types.h | 30 using DisplayId = hwc2_display_t;
|
D | display_service.cpp | 41 hwc2_display_t primary_display_id, in DisplayService()
|
/frameworks/native/libs/vr/libvrflinger/include/dvr/ |
D | vr_flinger.h | 31 hwc2_display_t primary_display_id, 46 hwc2_display_t primary_display_id,
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 257 auto onHotplugReceived(int32_t sequenceId, hwc2_display_t display, in onHotplugReceived() 368 const std::unordered_set<HWC2::Capability>& capabilities, hwc2_display_t id, in HWC2Display() 383 static constexpr hwc2_display_t DEFAULT_HWC_DISPLAY_ID = 1000; 395 auto& setHwcDisplayId(hwc2_display_t displayId) { in setHwcDisplayId() 477 hwc2_display_t mHwcDisplayId = DEFAULT_HWC_DISPLAY_ID;
|
D | DisplayTransactionTest.cpp | 110 bool hasPhysicalHwcDisplay(hwc2_display_t hwcDisplayId); 231 bool DisplayTransactionTest::hasPhysicalHwcDisplay(hwc2_display_t hwcDisplayId) { in hasPhysicalHwcDisplay() 402 template <hwc2_display_t hwcDisplayId, HWC2::DisplayType hwcDisplayType, typename DisplayVariant, 406 static constexpr hwc2_display_t HWC_DISPLAY_ID = hwcDisplayId; 499 template <hwc2_display_t hwcDisplayId, typename PhysicalDisplay, int width, int height, 876 constexpr hwc2_display_t hwcDisplayId1 = 456; in TEST_F() 877 constexpr hwc2_display_t hwcDisplayId2 = 654; in TEST_F() 921 constexpr hwc2_display_t displayId = 456; in TEST_F() 957 constexpr hwc2_display_t displayId1 = 456; in TEST_F()
|
D | CompositionTest.cpp | 72 constexpr hwc2_display_t HWC_DISPLAY = FakeHwcDisplayInjector::DEFAULT_HWC_DISPLAY_ID;
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.h | 478 void onVsyncReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId, 480 void onHotplugReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId, 482 void onRefreshReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId) override; 985 hwc2_display_t hwcDisplayId;
|
D | SurfaceFlinger.cpp | 1430 void SurfaceFlinger::onVsyncReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId, in onVsyncReceived() 1489 void SurfaceFlinger::onHotplugReceived(int32_t sequenceId, hwc2_display_t hwcDisplayId, in onHotplugReceived() 1515 void SurfaceFlinger::onRefreshReceived(int sequenceId, hwc2_display_t /*hwcDisplayId*/) { in onRefreshReceived() argument
|