Lines Matching refs:DisplayId
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));
61 MOCK_METHOD2(setColorTransform, status_t(DisplayId, const mat4&));
62 MOCK_METHOD1(disconnectDisplay, void(DisplayId));
63 MOCK_CONST_METHOD1(hasDeviceComposition, bool(const std::optional<DisplayId>&));
64 MOCK_CONST_METHOD1(getPresentFence, sp<Fence>(DisplayId));
65 MOCK_CONST_METHOD2(getLayerReleaseFence, sp<Fence>(DisplayId, HWC2::Layer*));
66 MOCK_METHOD3(setOutputBuffer, status_t(DisplayId, const sp<Fence>&, const sp<GraphicBuffer>&));
67 MOCK_METHOD1(clearReleaseFences, void(DisplayId));
68 MOCK_METHOD2(getHdrCapabilities, status_t(DisplayId, HdrCapabilities*));
69 MOCK_CONST_METHOD1(getSupportedPerFrameMetadata, int32_t(DisplayId));
70 MOCK_CONST_METHOD2(getRenderIntents, std::vector<ui::RenderIntent>(DisplayId, ui::ColorMode));
71 MOCK_METHOD2(getDataspaceSaturationMatrix, mat4(DisplayId, ui::Dataspace));
73 status_t(DisplayId, ui::PixelFormat*, ui::Dataspace*, uint8_t*));
74 MOCK_METHOD4(setDisplayContentSamplingEnabled, status_t(DisplayId, bool, uint8_t, uint64_t));
76 status_t(DisplayId, uint64_t, uint64_t, DisplayedFrameStats*));
77 MOCK_METHOD2(setDisplayBrightness, std::future<status_t>(DisplayId, float));
78 MOCK_METHOD2(getDisplayBrightnessSupport, status_t(DisplayId, bool*));
83 MOCK_METHOD2(setVsyncEnabled, void(DisplayId, hal::Vsync));
84 MOCK_CONST_METHOD1(getRefreshTimestamp, nsecs_t(DisplayId));
85 MOCK_CONST_METHOD1(isConnected, bool(DisplayId));
87 std::vector<std::shared_ptr<const HWC2::Display::Config>>(DisplayId));
88 MOCK_CONST_METHOD1(getActiveConfig, std::shared_ptr<const HWC2::Display::Config>(DisplayId));
89 MOCK_CONST_METHOD1(getActiveConfigIndex, int(DisplayId));
90 MOCK_CONST_METHOD1(getColorModes, std::vector<ui::ColorMode>(DisplayId));
91 MOCK_METHOD3(setActiveColorMode, status_t(DisplayId, ui::ColorMode, ui::RenderIntent));
93 MOCK_CONST_METHOD1(getDisplayConnectionType, DisplayConnectionType(DisplayId));
94 MOCK_CONST_METHOD1(isVsyncPeriodSwitchSupported, bool(DisplayId));
95 MOCK_CONST_METHOD1(getDisplayVsyncPeriod, nsecs_t(DisplayId));
97 status_t(DisplayId, size_t, const hal::VsyncPeriodChangeConstraints&,
99 MOCK_METHOD2(setAutoLowLatencyMode, status_t(DisplayId, bool));
100 MOCK_METHOD2(getSupportedContentTypes, status_t(DisplayId, std::vector<hal::ContentType>*));
101 MOCK_METHOD2(setContentType, status_t(DisplayId, hal::ContentType));
110 MOCK_CONST_METHOD1(toPhysicalDisplayId, std::optional<DisplayId>(hal::HWDisplayId));
111 MOCK_CONST_METHOD1(fromPhysicalDisplayId, std::optional<hal::HWDisplayId>(DisplayId));