/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | MockHWComposer.h | 45 MOCK_CONST_METHOD2(hasDisplayCapability, bool(DisplayId, hal::DisplayCapability)); 48 std::optional<DisplayId>(uint32_t, uint32_t, ui::PixelFormat*)); 49 MOCK_METHOD2(allocatePhysicalDisplay, void(hal::HWDisplayId, DisplayId)); 50 MOCK_METHOD1(createLayer, HWC2::Layer*(DisplayId)); 51 MOCK_METHOD2(destroyLayer, void(DisplayId, HWC2::Layer*)); 53 status_t(DisplayId, bool, 56 status_t(DisplayId, uint32_t, const sp<Fence>&, const sp<GraphicBuffer>&, 58 MOCK_METHOD1(presentAndGetReleaseFences, status_t(DisplayId)); 59 MOCK_METHOD2(setPowerMode, status_t(DisplayId, hal::PowerMode)); 60 MOCK_METHOD2(setActiveConfig, status_t(DisplayId, size_t)); [all …]
|
D | MockPowerAdvisor.h | 33 MOCK_METHOD2(setExpensiveRenderingExpected, void(DisplayId displayId, bool expected));
|
D | RenderSurfaceTest.cpp | 36 constexpr std::optional<DisplayId> DEFAULT_DISPLAY_ID = std::make_optional(DisplayId{123u});
|
D | DisplayTest.cpp | 59 constexpr DisplayId DEFAULT_DISPLAY_ID = DisplayId{42}; 60 constexpr DisplayId VIRTUAL_DISPLAY_ID = DisplayId{43};
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 89 virtual bool hasDisplayCapability(DisplayId displayId, 93 virtual std::optional<DisplayId> allocateVirtualDisplay(uint32_t width, uint32_t height, 96 virtual void allocatePhysicalDisplay(hal::HWDisplayId hwcDisplayId, DisplayId displayId) = 0; 99 virtual HWC2::Layer* createLayer(DisplayId displayId) = 0; 101 virtual void destroyLayer(DisplayId displayId, HWC2::Layer* layer) = 0; 111 DisplayId, bool frameUsesClientComposition, 114 virtual status_t setClientTarget(DisplayId displayId, uint32_t slot, 119 virtual status_t presentAndGetReleaseFences(DisplayId displayId) = 0; 122 virtual status_t setPowerMode(DisplayId displayId, hal::PowerMode mode) = 0; 125 virtual status_t setColorTransform(DisplayId displayId, const mat4& transform) = 0; [all …]
|
D | DisplayIdentification.h | 34 struct DisplayId { struct 40 static DisplayId fromEdid(uint8_t port, uint16_t manufacturerId, uint32_t modelHash); argument 43 inline bool operator==(DisplayId lhs, DisplayId rhs) { 47 inline bool operator!=(DisplayId lhs, DisplayId rhs) { 51 inline std::string to_string(DisplayId displayId) { in to_string() 58 DisplayId id; 97 std::optional<PnpId> getPnpId(DisplayId); 102 DisplayId getFallbackDisplayId(uint8_t port); 103 DisplayId getVirtualDisplayId(uint32_t id); 110 struct hash<android::DisplayId> { [all …]
|
D | HWComposer.cpp | 189 bool HWComposer::hasDisplayCapability(DisplayId displayId, in hasDisplayCapability() 245 std::optional<DisplayId> HWComposer::allocateVirtualDisplay(uint32_t width, uint32_t height, in allocateVirtualDisplay() 271 DisplayId displayId; in allocateVirtualDisplay() 287 void HWComposer::allocatePhysicalDisplay(hal::HWDisplayId hwcDisplayId, DisplayId displayId) { in allocatePhysicalDisplay() 303 HWC2::Layer* HWComposer::createLayer(DisplayId displayId) { in createLayer() 312 void HWComposer::destroyLayer(DisplayId displayId, HWC2::Layer* layer) { in destroyLayer() 319 nsecs_t HWComposer::getRefreshTimestamp(DisplayId displayId) const { in getRefreshTimestamp() 331 bool HWComposer::isConnected(DisplayId displayId) const { in isConnected() 337 DisplayId displayId) const { in getConfigs() 351 DisplayId displayId) const { in getActiveConfig() [all …]
|
D | PowerAdvisor.h | 35 virtual void setExpensiveRenderingExpected(DisplayId displayId, bool expected) = 0; 57 void setExpensiveRenderingExpected(DisplayId displayId, bool expected) override; 67 std::unordered_set<DisplayId> mExpensiveDisplays;
|
D | DisplayIdentification.cpp | 161 uint16_t DisplayId::manufacturerId() const { in manufacturerId() 165 DisplayId DisplayId::fromEdid(uint8_t port, uint16_t manufacturerId, uint32_t modelHash) { in fromEdid() 333 std::optional<PnpId> getPnpId(DisplayId displayId) { in getPnpId() 349 const auto displayId = DisplayId::fromEdid(port, edid->manufacturerId, edid->modelHash); in parseDisplayIdentificationData() 355 DisplayId getFallbackDisplayId(uint8_t port) { in getFallbackDisplayId() 356 return DisplayId::fromEdid(port, kFallbackEdidManufacturerId, 0); in getFallbackDisplayId() 359 DisplayId getVirtualDisplayId(uint32_t id) { in getVirtualDisplayId() 360 return DisplayId::fromEdid(0, kVirtualEdidManufacturerId, id); in getVirtualDisplayId()
|
D | FramebufferSurface.h | 42 FramebufferSurface(HWComposer& hwc, DisplayId displayId, 72 const DisplayId mDisplayId;
|
D | VirtualDisplaySurface.h | 80 VirtualDisplaySurface(HWComposer& hwc, const std::optional<DisplayId>& displayId, 158 const std::optional<DisplayId> mDisplayId;
|
D | PowerAdvisor.cpp | 79 void PowerAdvisor::setExpensiveRenderingExpected(DisplayId displayId, bool expected) { in setExpensiveRenderingExpected()
|
D | FramebufferSurface.cpp | 59 FramebufferSurface::FramebufferSurface(HWComposer& hwc, DisplayId displayId, in FramebufferSurface()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | Display.h | 46 std::optional<DisplayId> getDisplayId() const override; 60 const std::optional<DisplayId>& getId() const override; 83 virtual std::optional<DisplayId> maybeAllocateDisplayIdForVirtualDisplay(ui::Size, 88 void setDisplayIdForTesting(std::optional<DisplayId> displayId); 92 std::optional<DisplayId> mId;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | Display.cpp | 69 std::optional<DisplayId> Display::maybeAllocateDisplayIdForVirtualDisplay( in maybeAllocateDisplayIdForVirtualDisplay() 80 const std::optional<DisplayId>& Display::getId() const { in getId() 92 std::optional<DisplayId> Display::getDisplayId() const { in getDisplayId() 96 void Display::setDisplayIdForTesting(std::optional<DisplayId> displayId) { in setDisplayIdForTesting()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockPowerAdvisor.h | 33 MOCK_METHOD2(setExpensiveRenderingExpected, void(DisplayId displayId, bool expected));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/qualifiers/ |
D | DisplayId.java | 29 public @interface DisplayId { annotation
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | Display.h | 38 virtual const std::optional<DisplayId>& getId() const = 0;
|
D | DisplayCreationArgs.h | 39 DisplayId id;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | Display.h | 35 MOCK_CONST_METHOD0(getId, const std::optional<DisplayId>&());
|
D | Output.h | 36 MOCK_CONST_METHOD0(getDisplayId, std::optional<DisplayId>());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | SystemServicesModule.java | 68 import com.android.systemui.dagger.qualifiers.DisplayId; 125 @DisplayId
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 107 const std::optional<DisplayId>& getId() const; 189 DisplayId id;
|
D | SurfaceFlinger.h | 610 void initScheduler(DisplayId primaryDisplayId); 887 sp<IBinder> getPhysicalDisplayTokenLocked(DisplayId displayId) const REQUIRES(mStateLock) { in getPhysicalDisplayTokenLocked() 892 std::optional<DisplayId> getPhysicalDisplayIdLocked(const sp<IBinder>& displayToken) const in getPhysicalDisplayIdLocked() 908 std::optional<DisplayId> getInternalDisplayIdLocked() const REQUIRES(mStateLock) { in getInternalDisplayIdLocked() 1073 std::unordered_map<DisplayId, sp<IBinder>> mPhysicalDisplayTokens GUARDED_BY(mStateLock);
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTest.cpp | 253 constexpr DisplayId DEFAULT_DISPLAY_ID = DisplayId{777}; in injectDefaultInternalDisplay() 334 template <DisplayId::Type displayId> 335 using VirtualDisplayId = std::integral_constant<DisplayId::Type, displayId>; 350 static std::optional<DisplayId> get() { in get() 364 template <DisplayId::Type displayId> 366 static std::optional<DisplayId> get() { return DisplayId{displayId}; } in get() 371 static std::optional<DisplayId> get() { return {}; } in get() 391 template <DisplayId::Type displayId> 1925 return std::make_optional(DisplayId{physicalDisplayId}); in expectHotplugReceived()
|