/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 336 std::vector<IComposerClient::PowerMode> modes; in TEST_F() local 337 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_F() 338 modes.push_back(IComposerClient::PowerMode::ON_SUSPEND); in TEST_F() 339 modes.push_back(IComposerClient::PowerMode::ON); in TEST_F() 341 for (auto mode : modes) { in TEST_F() 353 std::vector<IComposerClient::PowerMode> modes; in TEST_F() local 355 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_F() 356 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_F() 358 for (auto mode : modes) { in TEST_F() 362 modes.clear(); in TEST_F() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
D | hw_virtual_drm.cpp | 82 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs() 83 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs() 90 vector<drmModeModeInfo> modes; in SetWbConfigs() local 99 modes.push_back(mode); in SetWbConfigs() 100 for (auto &item : connector_info_.modes) { in SetWbConfigs() 101 modes.push_back(item.mode); in SetWbConfigs() 108 wb_cfg.count_modes = UINT32(modes.size()); in SetWbConfigs() 109 wb_cfg.modes = (uint64_t)modes.data(); in SetWbConfigs() 200 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in GetModeIndex() 201 if (display_attributes.x_pixels == connector_info_.modes[i].mode.hdisplay && in GetModeIndex() [all …]
|
D | hw_device_drm.cpp | 437 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs() 438 if (connector_info_.modes[mode_index].mode.type & DRM_MODE_TYPE_PREFERRED) { in InitializeConfigs() 444 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs() 446 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in InitializeConfigs() 447 uint32_t height = connector_info_.modes[current_mode_index_].mode.vdisplay; in InitializeConfigs() 448 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs() 449 auto &mode = connector_info_.modes[i].mode; in InitializeConfigs() 474 mode = connector_info_.modes[index].mode; in PopulateDisplayAttributes() 477 topology = connector_info_.modes[index].topology; in PopulateDisplayAttributes() 544 hw_panel_info_.partial_update = connector_info_.modes[index].num_roi; in PopulateHWPanelInfo() [all …]
|
D | hw_tv_drm.cpp | 100 if (index >= connector_info_.modes.size()) { in SetDisplayAttributes() 101 DLOGE("Invalid mode index %d mode size %d", index, UINT32(connector_info_.modes.size())); in SetDisplayAttributes() 137 for (size_t idex = 0; idex < connector_info_.modes.size(); idex ++) { in GetConfigIndex() 138 if ((height == connector_info_.modes[idex].mode.vdisplay) && in GetConfigIndex() 139 (width == connector_info_.modes[idex].mode.hdisplay) && in GetConfigIndex() 140 (fps == connector_info_.modes[idex].mode.vrefresh)) { in GetConfigIndex() 141 if ((format >> 1) & (connector_info_.modes[idex].mode.flags >> kBitYUV)) { in GetConfigIndex() 146 if (format & (connector_info_.modes[idex].mode.flags >> kBitRGB)) { in GetConfigIndex()
|
D | hw_peripheral_drm.cpp | 193 std::vector<drmModeModeInfo> modes; in SetupConcurrentWritebackModes() local 194 for (auto &item : connector_info_.modes) { in SetupConcurrentWritebackModes() 195 modes.push_back(item.mode); in SetupConcurrentWritebackModes() 202 cwb_cfg.count_modes = UINT32(modes.size()); in SetupConcurrentWritebackModes() 203 cwb_cfg.modes = (uint64_t)modes.data(); in SetupConcurrentWritebackModes()
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_virtual_drm.cpp | 83 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 …]
|
D | hw_device_drm.cpp | 470 if (!connector_info_.is_connected || connector_info_.modes.empty()) { in Init() 473 connector_info_.modes.size()); in Init() 533 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs() 534 if (connector_info_.modes[mode_index].mode.type & DRM_MODE_TYPE_PREFERRED) { in InitializeConfigs() 542 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs() 544 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in InitializeConfigs() 545 uint32_t height = connector_info_.modes[current_mode_index_].mode.vdisplay; in InitializeConfigs() 546 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs() 547 auto &mode = connector_info_.modes[i].mode; in InitializeConfigs() 572 mode = connector_info_.modes[index].mode; in PopulateDisplayAttributes() [all …]
|
D | hw_tv_drm.cpp | 110 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()
|
D | hw_peripheral_drm.cpp | 81 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in PopulateBitClkRates() 82 uint32_t height = connector_info_.modes[current_mode_index_].mode.vdisplay; in PopulateBitClkRates() 84 for (auto &mode_info : connector_info_.modes) { in PopulateBitClkRates() 105 *bit_clk_rate = (uint32_t)connector_info_.modes[current_mode_index_].bit_clk_rate; in GetDynamicDSIClock() 355 std::vector<drmModeModeInfo> modes; in SetupConcurrentWritebackModes() local 356 for (auto &item : connector_info_.modes) { in SetupConcurrentWritebackModes() 357 modes.push_back(item.mode); in SetupConcurrentWritebackModes() 364 cwb_cfg.count_modes = UINT32(modes.size()); in SetupConcurrentWritebackModes() 365 cwb_cfg.modes = (uint64_t)modes.data(); in SetupConcurrentWritebackModes()
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 469 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F() local 470 auto nativeModeLocation = std::find(modes.begin(), modes.end(), ColorMode::NATIVE); in TEST_F() 472 ASSERT_NE(modes.end(), nativeModeLocation); in TEST_F() 486 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F() local 487 for (auto mode : modes) { in TEST_F() 501 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F() local 502 for (auto mode : modes) { in TEST_F() 539 std::vector<IComposerClient::PowerMode> modes; in TEST_F() local 540 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_F() 543 modes.push_back(IComposerClient::PowerMode::DOZE); in TEST_F() [all …]
|
/hardware/interfaces/wifi/1.3/default/tests/ |
D | wifi_chip_unit_tests.cpp | 57 const std::vector<V1_0::IWifiChip::ChipMode> modes = { in setupV1IfaceCombination() local 63 .WillRepeatedly(testing::Return(modes)); in setupV1IfaceCombination() 74 const std::vector<V1_0::IWifiChip::ChipMode> modes = { in setupV1_AwareIfaceCombination() local 80 .WillRepeatedly(testing::Return(modes)); in setupV1_AwareIfaceCombination() 88 const std::vector<V1_0::IWifiChip::ChipMode> modes = { in setupV1_AwareDisabledApIfaceCombination() local 93 .WillRepeatedly(testing::Return(modes)); in setupV1_AwareDisabledApIfaceCombination() 102 const std::vector<V1_0::IWifiChip::ChipMode> modes = { in setupV2_AwareIfaceCombination() local 107 .WillRepeatedly(testing::Return(modes)); in setupV2_AwareIfaceCombination() 115 const std::vector<V1_0::IWifiChip::ChipMode> modes = { in setupV2_AwareDisabledApIfaceCombination() local 120 .WillRepeatedly(testing::Return(modes)); in setupV2_AwareDisabledApIfaceCombination() [all …]
|
/hardware/interfaces/soundtrigger/2.0/ |
D | types.hal | 20 * Sound model types modes used in ISoundTriggerHw.SoundModel 35 * Recognition modes used in ISoundTriggerHw.RecognitionConfig, 67 /** recognition modes used for this keyphrase */
|
/hardware/interfaces/usb/1.0/default/ |
D | Usb.cpp | 221 std::string modes; in getPortModeHelper() local 223 if (readFile(filename, modes)) { in getPortModeHelper() 228 if (modes == "ufp dfp") in getPortModeHelper() 230 else if (modes == "ufp") in getPortModeHelper() 232 else if (modes == "dfp") in getPortModeHelper()
|
/hardware/interfaces/graphics/composer/2.3/utils/vts/ |
D | ComposerVts.cpp | 72 std::vector<ColorMode> modes; in getColorModes_2_3() local 75 modes = tmpModes; in getColorModes_2_3() 77 return modes; in getColorModes_2_3()
|
/hardware/qcom/sm8150/display/libdrmutils/ |
D | drm_res_mgr.h | 47 void GetMode(drmModeModeInfo *mode) { *mode = conn_->modes[0]; } in GetMode()
|
/hardware/qcom/display/msm8998/libdrmutils/ |
D | drm_res_mgr.h | 47 void GetMode(drmModeModeInfo *mode) { *mode = conn_->modes[0]; } in GetMode()
|
/hardware/qcom/display/msm8909/libdrmutils/ |
D | drm_res_mgr.h | 47 void GetMode(drmModeModeInfo *mode) { *mode = conn_->modes[0]; } in GetMode()
|
/hardware/qcom/display/msm8909w_3100/libdrmutils/ |
D | drm_res_mgr.h | 47 void GetMode(drmModeModeInfo *mode) { *mode = conn_->modes[0]; } in GetMode()
|
/hardware/qcom/sdm845/display/libdrmutils/ |
D | drm_res_mgr.h | 47 void GetMode(drmModeModeInfo *mode) { *mode = conn_->modes[0]; } in GetMode()
|
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/ |
D | ComposerClient.h | 127 hidl_vec<ColorMode> modes; in getColorModes_2_2() local 128 Error err = mHal->getColorModes_2_2(display, &modes); in getColorModes_2_2() 129 hidl_cb(err, modes); in getColorModes_2_2()
|
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/ |
D | ComposerClient.h | 63 hidl_vec<ColorMode> modes; in getColorModes_2_3() local 64 Error err = mHal->getColorModes_2_3(display, &modes); in getColorModes_2_3() 65 hidl_cb(err, modes); in getColorModes_2_3()
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
D | ComposerVts.cpp | 150 std::vector<ColorMode> modes; in getColorModes() local 153 modes = tmpModes; in getColorModes() 155 return modes; in getColorModes()
|
/hardware/libhardware/include/hardware/ |
D | keymaster1.h | 152 keymaster_block_mode_t** modes, 171 keymaster_padding_t** modes,
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | color_manager.h | 70 DisplayError ColorMgrGetModes(uint32_t *mode_cnt, SDEDisplayMode *modes);
|
D | color_manager.cpp | 222 SDEDisplayMode *modes) { in ColorMgrGetModes() argument 223 return color_intf_->ColorIntfEnumerateDisplayModes(&pp_features_, 0, modes, mode_cnt); in ColorMgrGetModes()
|