Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 25 of 211) sorted by relevance

123456789

/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2TargetTest.cpp307 std::vector<IComposerClient::PowerMode> modes; in TEST_P() local
308 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P()
309 modes.push_back(IComposerClient::PowerMode::ON_SUSPEND); in TEST_P()
310 modes.push_back(IComposerClient::PowerMode::ON); in TEST_P()
312 for (auto mode : modes) { in TEST_P()
324 std::vector<IComposerClient::PowerMode> modes; in TEST_P() local
326 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P()
327 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P()
329 for (auto mode : modes) { in TEST_P()
333 modes.clear(); in TEST_P()
[all …]
/hardware/qcom/sm7250/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp83 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs()
84 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs()
97 vector<drmModeModeInfo> modes; in SetWbConfigs() local
106 modes.push_back(mode); in SetWbConfigs()
107 for (auto &item : connector_info_.modes) { in SetWbConfigs()
108 modes.push_back(item.mode); in SetWbConfigs()
115 wb_cfg.count_modes = UINT32(modes.size()); in SetWbConfigs()
116 wb_cfg.modes = (uint64_t)modes.data(); in SetWbConfigs()
227 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in GetModeIndex()
228 if (display_attributes.x_pixels == connector_info_.modes[i].mode.hdisplay && in GetModeIndex()
[all …]
Dhw_device_drm.cpp531 if (!connector_info_.is_connected || connector_info_.modes.empty()) { in Init()
534 connector_info_.modes.size()); in Init()
600 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs()
601 if (connector_info_.modes[mode_index].mode.type & DRM_MODE_TYPE_PREFERRED) { in InitializeConfigs()
609 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs()
611 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in InitializeConfigs()
612 uint32_t height = connector_info_.modes[current_mode_index_].mode.vdisplay; in InitializeConfigs()
613 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs()
614 auto &mode = connector_info_.modes[i].mode; in InitializeConfigs()
640 mode = connector_info_.modes[index].mode; in PopulateDisplayAttributes()
[all …]
Dhw_tv_drm.cpp111 if (index >= connector_info_.modes.size()) { in SetDisplayAttributes()
112 DLOGE("Invalid mode index %d mode size %d", index, UINT32(connector_info_.modes.size())); in SetDisplayAttributes()
148 for (size_t idex = 0; idex < connector_info_.modes.size(); idex ++) { in GetConfigIndex()
149 if ((height == connector_info_.modes[idex].mode.vdisplay) && in GetConfigIndex()
150 (width == connector_info_.modes[idex].mode.hdisplay) && in GetConfigIndex()
151 (fps == connector_info_.modes[idex].mode.vrefresh)) { in GetConfigIndex()
152 if ((format >> 1) & (connector_info_.modes[idex].mode.flags >> kBitYUV)) { in GetConfigIndex()
157 if (format & (connector_info_.modes[idex].mode.flags >> kBitRGB)) { in GetConfigIndex()
182 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in GetDefaultConfig()
183 auto &mode = connector_info_.modes[i].mode; in GetDefaultConfig()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp83 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs()
84 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs()
91 vector<drmModeModeInfo> modes; in SetWbConfigs() local
100 modes.push_back(mode); in SetWbConfigs()
101 for (auto &item : connector_info_.modes) { in SetWbConfigs()
102 modes.push_back(item.mode); in SetWbConfigs()
109 wb_cfg.count_modes = UINT32(modes.size()); in SetWbConfigs()
110 wb_cfg.modes = (uint64_t)modes.data(); in SetWbConfigs()
219 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in GetModeIndex()
220 if (display_attributes.x_pixels == connector_info_.modes[i].mode.hdisplay && in GetModeIndex()
[all …]
Dhw_device_drm.cpp493 if (!connector_info_.is_connected || connector_info_.modes.empty()) { in Init()
496 connector_info_.modes.size()); in Init()
560 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs()
561 if (connector_info_.modes[mode_index].mode.type & DRM_MODE_TYPE_PREFERRED) { in InitializeConfigs()
569 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs()
571 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in InitializeConfigs()
572 uint32_t height = connector_info_.modes[current_mode_index_].mode.vdisplay; in InitializeConfigs()
573 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs()
574 auto &mode = connector_info_.modes[i].mode; in InitializeConfigs()
599 mode = connector_info_.modes[index].mode; in PopulateDisplayAttributes()
[all …]
Dhw_tv_drm.cpp110 if (index >= connector_info_.modes.size()) { in SetDisplayAttributes()
111 DLOGE("Invalid mode index %d mode size %d", index, UINT32(connector_info_.modes.size())); in SetDisplayAttributes()
147 for (size_t idex = 0; idex < connector_info_.modes.size(); idex ++) { in GetConfigIndex()
148 if ((height == connector_info_.modes[idex].mode.vdisplay) && in GetConfigIndex()
149 (width == connector_info_.modes[idex].mode.hdisplay) && in GetConfigIndex()
150 (fps == connector_info_.modes[idex].mode.vrefresh)) { in GetConfigIndex()
151 if ((format >> 1) & (connector_info_.modes[idex].mode.flags >> kBitYUV)) { in GetConfigIndex()
156 if (format & (connector_info_.modes[idex].mode.flags >> kBitRGB)) { in GetConfigIndex()
169 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in GetDefaultConfig()
170 auto &mode = connector_info_.modes[i].mode; in GetDefaultConfig()
Dhw_peripheral_drm.cpp83 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in PopulateBitClkRates()
84 uint32_t height = connector_info_.modes[current_mode_index_].mode.vdisplay; in PopulateBitClkRates()
86 for (auto &mode_info : connector_info_.modes) { in PopulateBitClkRates()
114 *bit_clk_rate = (uint32_t)connector_info_.modes[current_mode_index_].bit_clk_rate; in GetDynamicDSIClock()
377 std::vector<drmModeModeInfo> modes; in SetupConcurrentWritebackModes() local
378 for (auto &item : connector_info_.modes) { in SetupConcurrentWritebackModes()
379 modes.push_back(item.mode); in SetupConcurrentWritebackModes()
386 cwb_cfg.count_modes = UINT32(modes.size()); in SetupConcurrentWritebackModes()
387 cwb_cfg.modes = (uint64_t)modes.data(); in SetupConcurrentWritebackModes()
/hardware/interfaces/audio/7.1/
DIStreamOut.hal28 * The requested mode can be one of the modes returned by
40 * Indicates which latency modes are currently supported on this output stream.
42 * the output device supports variable latency modes, the HAL indicates which
43 * modes are currently supported.
44 * The framework can then call setLatencyMode() with one of the supported modes to select
52 * @return modes currrently supported latency modes.
54 getRecommendedLatencyModes() generates (Result retval, vec<LatencyMode> modes);
57 * Set the callback interface for notifying changes in supported latency modes.
DIStreamOutLatencyModeCallback.hal25 * Called with the new list of supported latency modes when a change occurs.
27 oneway onRecommendedLatencyModeChanged(vec<LatencyMode> modes);
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp452 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_P() local
453 auto nativeModeLocation = std::find(modes.begin(), modes.end(), ColorMode::NATIVE); in TEST_P()
455 ASSERT_NE(modes.end(), nativeModeLocation); in TEST_P()
469 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_P() local
470 for (auto mode : modes) { in TEST_P()
484 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_P() local
485 for (auto mode : modes) { in TEST_P()
522 std::vector<IComposerClient::PowerMode> modes; in TEST_P() local
523 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P()
526 modes.push_back(IComposerClient::PowerMode::DOZE); in TEST_P()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_swapchain_maintenance1/
DSwapchainPresentModesCreateInfo.adoc5 [open,refpage='VkSwapchainPresentModesCreateInfoEXT',desc='All presentation modes usable by the swa…
9 However, all presentation modes the application intends to use with the
22 * pname:presentModeCount is the number of presentation modes provided.
23 * pname:pPresentModes is a list of presentation modes with
33 The entries in pPresentModes must: be a subset of the present modes
DSwapchainPresentModeInfo.adoc5 [open,refpage='VkSwapchainPresentModeInfoEXT',desc='Presentation modes for a vkQueuePresentKHR oper…
16 * pname:pPresentModes is a list of presentation modes with
21 the presentation modes used for the current and subsequent presentation
24 When the application changes present modes with
30 The behavior during the transition between the two modes is defined as
58 ename:VK_PRESENT_MODE_FIFO_RELAXED_KHR: Presentation in both modes
73 * The behavior during transition between any other present modes, if
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_surface_maintenance1.adoc21 * Switching between some present modes technically should not require
46 Certain present modes are compatible, such that a swapchain operating under one
84 swapchains that may change present modes, it should be possible to query the
85 set of compatible present modes for this purpose.
88 compatible present modes from the surface.
158 Note that scaling may not be supported for certain present modes.
167 To query the list of compatible present modes with a given present mode for the
182 The implementation will return the count of compatible present modes in
DVK_EXT_swapchain_maintenance1.adoc19 * Switching present modes requires a swapchain recreation
36 Currently, when changing present modes, the Vulkan swapchain is required to be
118 `VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR` present modes may require a
119 different image memory layout compared with the rest of the present modes.
120 Switching between non-shared present modes may or may not be possible on some
125 * Specify all potential present modes at swapchain creation time
127 modes
133 Regarding the subsets of switchable present modes that the implementation
139 * Allow modifying present modes as needed, such as during a
141 ** Implementations may support switching between present modes only in
[all …]
/hardware/interfaces/wifi/aidl/default/tests/
Dwifi_chip_unit_tests.cpp66 const std::vector<IWifiChip::ChipMode> modes = { in setupV1IfaceCombination() local
71 EXPECT_CALL(*feature_flags_, getChipModes(true)).WillRepeatedly(testing::Return(modes)); in setupV1IfaceCombination()
95 const std::vector<IWifiChip::ChipMode> modes = { in setupV1_AwareIfaceCombination() local
100 EXPECT_CALL(*feature_flags_, getChipModes(true)).WillRepeatedly(testing::Return(modes)); in setupV1_AwareIfaceCombination()
115 const std::vector<IWifiChip::ChipMode> modes = { in setupV1_AwareDisabledApIfaceCombination() local
119 EXPECT_CALL(*feature_flags_, getChipModes(true)).WillRepeatedly(testing::Return(modes)); in setupV1_AwareDisabledApIfaceCombination()
140 const std::vector<IWifiChip::ChipMode> modes = { in setupV2_AwareIfaceCombination() local
144 EXPECT_CALL(*feature_flags_, getChipModes(true)).WillRepeatedly(testing::Return(modes)); in setupV2_AwareIfaceCombination()
159 const std::vector<IWifiChip::ChipMode> modes = { in setupV2_AwareDisabledApIfaceCombination() local
163 EXPECT_CALL(*feature_flags_, getChipModes(true)).WillRepeatedly(testing::Return(modes)); in setupV2_AwareDisabledApIfaceCombination()
[all …]
/hardware/interfaces/wifi/1.6/
DIWifiChip.hal65 * operational modes.
73 * @param ifaceModeMask Bitmask of the modes represented by |WifiIfaceMode|
74 * Bitmask respresents all the modes that the caller is interested
92 * bitmask of modes (e.g. STA, SAP, CLI, GO, TDLS, NAN) that are
148 * multiple modes would be required is if a chip has different firmwares with
177 * the combinations must be separated into two separate modes. Before
178 * switching modes all interfaces must be torn down, the mode switch must be
195 * Get the set of operation modes that the chip supports.
201 * @return modes List of modes supported by the device.
203 getAvailableModes_1_6() generates (WifiStatus status, vec<ChipMode> modes);
/hardware/interfaces/soundtrigger/2.0/
Dtypes.hal20 * Sound model types modes used in ISoundTriggerHw.SoundModel
35 * Recognition modes used in ISoundTriggerHw.RecognitionConfig,
67 /** recognition modes used for this keyphrase */
/hardware/qcom/sm7250/display/sde-drm/
Ddrm_connector.cpp584 if (!info->modes.size()) { in ParseModeProperties()
609 DRMModeInfo *mode_item = &info->modes.at(0); in ParseModeProperties()
615 if (index >= info->modes.size()) { in ParseModeProperties()
619 mode_item = &info->modes.at(index++); in ParseModeProperties()
699 info->modes.clear(); in GetInfo()
710 info->modes.clear(); in GetInfo()
715 if (!drm_connector_->modes) { in GetInfo()
722 modes_item.mode = drm_connector_->modes[i]; in GetInfo()
723 info->modes.push_back(modes_item); in GetInfo()
1033 drm_connector_->modes[i].name, drm_connector_->modes[i].vrefresh, in Dump()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_display.adoc21 This extension provides the API to enumerate displays and available modes on
31 modes? YUV and RGB scanout even if they both take RGB input images? BGR vs.
36 Other "`modes`" are expected to be supported using scaling hardware on the
39 duplicating hardware modes just to express all combinations.
43 To avoid the exponential growth of modes as mutable properties are added, as
81 modes explicitly using those constraints rather than querying a fixed set of
82 modes (Most monitors only have one real "`mode`" these days, even though
84 the GPU display engine, making "`modes`" something of a relic/compatibility
88 Display information structures will expose a set of predefined modes, as
119 *PROPOSED RESOLUTION*: Developers prefer to query modes directly from the
[all …]
/hardware/interfaces/wifi/1.6/vts/functional/
Dwifi_hidl_test_utils_1_6.cpp40 const std::vector<IWifiChip::ChipMode>& modes, in findAnyModeSupportingConcurrencyType() argument
42 for (const auto& mode : modes) { in findAnyModeSupportingConcurrencyType()
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/current/android/hardware/audio/core/
DIStreamOutEventCallback.aidl38 …neway void onRecommendedLatencyModeChanged(in android.media.audio.common.AudioLatencyMode[] modes); in onRecommendedLatencyModeChanged() argument
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/1/android/hardware/audio/core/
DIStreamOutEventCallback.aidl38 …neway void onRecommendedLatencyModeChanged(in android.media.audio.common.AudioLatencyMode[] modes); in onRecommendedLatencyModeChanged() argument
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/2/android/hardware/audio/core/
DIStreamOutEventCallback.aidl38 …neway void onRecommendedLatencyModeChanged(in android.media.audio.common.AudioLatencyMode[] modes); in onRecommendedLatencyModeChanged() argument
/hardware/interfaces/audio/aidl/android/hardware/audio/core/
DIStreamOutEventCallback.aidl167 void onRecommendedLatencyModeChanged(in AudioLatencyMode[] modes); in onRecommendedLatencyModeChanged() argument

123456789