/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | MockHWComposer.h | 37 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 …]
|
D | DisplayTest.cpp | 38 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/ |
D | HWComposer.h | 62 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 …]
|
D | DisplayIdentification.h | 30 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 …]
|
D | HWComposer.cpp | 103 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 …]
|
D | DisplayIdentification.cpp | 69 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()
|
D | PowerAdvisor.h | 39 virtual void setExpensiveRenderingExpected(DisplayId displayId, bool expected) = 0; 53 void setExpensiveRenderingExpected(DisplayId displayId, bool expected) override; 58 std::unordered_set<DisplayId> mExpensiveDisplays;
|
D | FramebufferSurface.h | 41 FramebufferSurface(HWComposer& hwc, DisplayId displayId, 67 const DisplayId mDisplayId;
|
D | VirtualDisplaySurface.h | 80 VirtualDisplaySurface(HWComposer& hwc, const std::optional<DisplayId>& displayId, 158 const std::optional<DisplayId> mDisplayId;
|
D | PowerAdvisor.cpp | 41 void PowerAdvisor::setExpensiveRenderingExpected(DisplayId displayId, bool expected) { in setExpensiveRenderingExpected()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | DisplayCreationArgs.h | 39 std::optional<DisplayId> displayId; 67 DisplayCreationArgsBuilder& setDisplayId(std::optional<DisplayId> displayId) { in setDisplayId()
|
D | Display.h | 38 virtual const std::optional<DisplayId>& getId() const = 0;
|
D | Output.h | 123 virtual std::unique_ptr<OutputLayer> getOrCreateOutputLayer(std::optional<DisplayId>,
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | Display.h | 45 const std::optional<DisplayId>& getId() const override; 54 std::optional<DisplayId> mId;
|
D | OutputLayer.h | 37 void initialize(const CompositionEngine&, std::optional<DisplayId>); 66 const CompositionEngine&, std::optional<DisplayId>, const compositionengine::Output&,
|
D | Output.h | 70 std::optional<DisplayId>, std::shared_ptr<compositionengine::Layer>,
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 107 const std::optional<DisplayId>& getId() const; 211 std::optional<DisplayId> displayId; 230 const std::optional<DisplayId>& displayId); 234 const std::optional<DisplayId> displayId;
|
D | SurfaceFlinger.h | 303 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;
|
D | DisplayDevice.cpp | 53 const std::optional<DisplayId>& displayId) in DisplayDeviceCreationArgs() 312 const std::optional<DisplayId>& DisplayDevice::getId() const { in getId()
|
D | BufferLayer.h | 90 bool onPostComposition(const std::optional<DisplayId>& displayId,
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockPowerAdvisor.h | 32 MOCK_METHOD2(setExpensiveRenderingExpected, void(DisplayId displayId, bool expected));
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | Display.h | 35 MOCK_CONST_METHOD0(getId, const std::optional<DisplayId>&());
|
D | Output.h | 66 std::optional<DisplayId>, std::shared_ptr<compositionengine::Layer>,
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 244 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/ |
D | Display.cpp | 45 const std::optional<DisplayId>& Display::getId() const { in getId()
|