Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h37 bool(const std::optional<DisplayId>&, HWC2::DisplayCapability));
40 std::optional<DisplayId>(uint32_t, uint32_t, ui::PixelFormat*));
41 MOCK_METHOD1(createLayer, HWC2::Layer*(DisplayId));
42 MOCK_METHOD2(destroyLayer, void(DisplayId, HWC2::Layer*));
43 MOCK_METHOD2(prepare, status_t(DisplayId, const compositionengine::Output&));
45 status_t(DisplayId, uint32_t, const sp<Fence>&, const sp<GraphicBuffer>&,
47 MOCK_METHOD1(presentAndGetReleaseFences, status_t(DisplayId));
48 MOCK_METHOD2(setPowerMode, status_t(DisplayId, int));
49 MOCK_METHOD2(setActiveConfig, status_t(DisplayId, size_t));
50 MOCK_METHOD2(setColorTransform, status_t(DisplayId, const mat4&));
[all …]
DDisplayTest.cpp38 constexpr DisplayId DEFAULT_DISPLAY_ID = DisplayId{42};
57 constexpr DisplayId display1 = DisplayId{123u}; in TEST_F()
67 constexpr DisplayId display2 = DisplayId{546u}; in TEST_F()
79 constexpr DisplayId display3 = DisplayId{789u}; in TEST_F()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h62 virtual bool hasDisplayCapability(const std::optional<DisplayId>& displayId,
66 virtual std::optional<DisplayId> allocateVirtualDisplay(uint32_t width, uint32_t height,
70 virtual HWC2::Layer* createLayer(DisplayId displayId) = 0;
72 virtual void destroyLayer(DisplayId displayId, HWC2::Layer* layer) = 0;
75 virtual status_t prepare(DisplayId displayId, const compositionengine::Output&) = 0;
77 virtual status_t setClientTarget(DisplayId displayId, uint32_t slot,
82 virtual status_t presentAndGetReleaseFences(DisplayId displayId) = 0;
85 virtual status_t setPowerMode(DisplayId displayId, int mode) = 0;
88 virtual status_t setActiveConfig(DisplayId displayId, size_t configId) = 0;
91 virtual status_t setColorTransform(DisplayId displayId, const mat4& transform) = 0;
[all …]
DDisplayIdentification.h30 struct DisplayId { struct
36 static DisplayId fromEdid(uint8_t port, uint16_t manufacturerId, uint32_t displayNameHash); argument
39 inline bool operator==(DisplayId lhs, DisplayId rhs) {
43 inline bool operator!=(DisplayId lhs, DisplayId rhs) {
47 inline std::string to_string(DisplayId displayId) { in to_string()
54 DisplayId id;
70 std::optional<PnpId> getPnpId(DisplayId);
75 DisplayId getFallbackDisplayId(uint8_t port);
76 DisplayId getVirtualDisplayId(uint32_t id);
83 struct hash<android::DisplayId> {
[all …]
DHWComposer.cpp103 bool HWComposer::hasDisplayCapability(const std::optional<DisplayId>& displayId, in hasDisplayCapability()
211 std::optional<DisplayId> HWComposer::allocateVirtualDisplay(uint32_t width, uint32_t height, in allocateVirtualDisplay()
233 DisplayId displayId; in allocateVirtualDisplay()
249 HWC2::Layer* HWComposer::createLayer(DisplayId displayId) { in createLayer()
259 void HWComposer::destroyLayer(DisplayId displayId, HWC2::Layer* layer) { in destroyLayer()
267 nsecs_t HWComposer::getRefreshTimestamp(DisplayId displayId) const { in getRefreshTimestamp()
279 bool HWComposer::isConnected(DisplayId displayId) const { in isConnected()
285 DisplayId displayId) const { in getConfigs()
299 DisplayId displayId) const { in getActiveConfig()
319 int HWComposer::getActiveConfigIndex(DisplayId displayId) const { in getActiveConfigIndex()
[all …]
DDisplayIdentification.cpp69 uint16_t DisplayId::manufacturerId() const { in manufacturerId()
73 DisplayId DisplayId::fromEdid(uint8_t port, uint16_t manufacturerId, uint32_t displayNameHash) { in fromEdid()
175 std::optional<PnpId> getPnpId(DisplayId displayId) { in getPnpId()
194 return DisplayIdentificationInfo{DisplayId::fromEdid(port, edid->manufacturerId, hash), in parseDisplayIdentificationData()
198 DisplayId getFallbackDisplayId(uint8_t port) { in getFallbackDisplayId()
199 return DisplayId::fromEdid(port, kFallbackEdidManufacturerId, 0); in getFallbackDisplayId()
202 DisplayId getVirtualDisplayId(uint32_t id) { in getVirtualDisplayId()
203 return DisplayId::fromEdid(0, kVirtualEdidManufacturerId, id); in getVirtualDisplayId()
DPowerAdvisor.h39 virtual void setExpensiveRenderingExpected(DisplayId displayId, bool expected) = 0;
53 void setExpensiveRenderingExpected(DisplayId displayId, bool expected) override;
58 std::unordered_set<DisplayId> mExpensiveDisplays;
DFramebufferSurface.h41 FramebufferSurface(HWComposer& hwc, DisplayId displayId,
67 const DisplayId mDisplayId;
DVirtualDisplaySurface.h80 VirtualDisplaySurface(HWComposer& hwc, const std::optional<DisplayId>& displayId,
158 const std::optional<DisplayId> mDisplayId;
DPowerAdvisor.cpp41 void PowerAdvisor::setExpensiveRenderingExpected(DisplayId displayId, bool expected) { in setExpensiveRenderingExpected()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplayCreationArgs.h39 std::optional<DisplayId> displayId;
67 DisplayCreationArgsBuilder& setDisplayId(std::optional<DisplayId> displayId) { in setDisplayId()
DDisplay.h38 virtual const std::optional<DisplayId>& getId() const = 0;
DOutput.h123 virtual std::unique_ptr<OutputLayer> getOrCreateOutputLayer(std::optional<DisplayId>,
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDisplay.h45 const std::optional<DisplayId>& getId() const override;
54 std::optional<DisplayId> mId;
DOutputLayer.h37 void initialize(const CompositionEngine&, std::optional<DisplayId>);
66 const CompositionEngine&, std::optional<DisplayId>, const compositionengine::Output&,
DOutput.h70 std::optional<DisplayId>, std::shared_ptr<compositionengine::Layer>,
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h107 const std::optional<DisplayId>& getId() const;
211 std::optional<DisplayId> displayId;
230 const std::optional<DisplayId>& displayId);
234 const std::optional<DisplayId> displayId;
DSurfaceFlinger.h303 const Vector<sp<Layer>>& getLayerSortedByZForHwcDisplay(DisplayId displayId);
787 const wp<IBinder>& displayToken, const std::optional<DisplayId>& displayId,
810 sp<IBinder> getPhysicalDisplayTokenLocked(DisplayId displayId) const { in getPhysicalDisplayTokenLocked()
815 std::optional<DisplayId> getPhysicalDisplayIdLocked(const sp<IBinder>& displayToken) const { in getPhysicalDisplayIdLocked()
830 std::optional<DisplayId> getInternalDisplayIdLocked() const { in getInternalDisplayIdLocked()
994 std::unordered_map<DisplayId, sp<IBinder>> mPhysicalDisplayTokens;
DDisplayDevice.cpp53 const std::optional<DisplayId>& displayId) in DisplayDeviceCreationArgs()
312 const std::optional<DisplayId>& DisplayDevice::getId() const { in getId()
DBufferLayer.h90 bool onPostComposition(const std::optional<DisplayId>& displayId,
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockPowerAdvisor.h32 MOCK_METHOD2(setExpensiveRenderingExpected, void(DisplayId displayId, bool expected));
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DDisplay.h35 MOCK_CONST_METHOD0(getId, const std::optional<DisplayId>&());
DOutput.h66 std::optional<DisplayId>, std::shared_ptr<compositionengine::Layer>,
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h244 const std::optional<DisplayId>& displayId, in setupNewDisplayDeviceInternal()
391 FakeHwcDisplayInjector(DisplayId displayId, HWC2::DisplayType hwcDisplayType, in FakeHwcDisplayInjector()
473 const DisplayId mDisplayId;
491 const std::optional<DisplayId>& displayId, bool isVirtual, in FakeDisplayDeviceInjector()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp45 const std::optional<DisplayId>& Display::getId() const { in getId()

12