/drivers/peripheral/wlan/chip/hdi_service/ |
H A D | wifi_chip_modes.cpp | 69 std::vector<UsableMode> modes = {}; in GetChipModesForPrimary() local 71 modes.push_back(mode); in GetChipModesForPrimary() 73 modes.push_back(modeAp); in GetChipModesForPrimary() 74 return modes; in GetChipModesForPrimary() 79 std::vector<UsableMode> modes = {}; in GetChipModesForTriple() local 81 modes.push_back(mode); in GetChipModesForTriple() 82 return modes; in GetChipModesForTriple()
|
H A D | wifi_chip.cpp | 148 int32_t WifiChip::GetChipModes(std::vector<UsableMode>& modes) in GetChipModes() argument 151 modes = chipModes->GetChipModes(true); in GetChipModes() 157 std::vector<UsableMode> modes; in IsValidModeId() local 159 modes = chipModes->GetChipModes(true); in IsValidModeId() 160 for (const auto& mode : modes) { in IsValidModeId() 268 std::vector<UsableMode> modes; in GetCurrentCombinations() local 270 modes = chipModes->GetChipModes(true); in GetCurrentCombinations() 271 for (const auto& mode : modes) { in GetCurrentCombinations()
|
/drivers/peripheral/wlan/test/unittest/chip/ |
H A D | wifi_chip_modes_test.cpp | 64 std::vector<UsableMode> modes; in HWTEST_F() local 65 modes = wifiChipModes->GetChipModes(true); in HWTEST_F() 66 EXPECT_TRUE(modes.size() != 0); in HWTEST_F()
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/ |
H A D | build.py | 22 modes = stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH
variable 23 with os.fdopen(os.open(r".\..\hcsVSCode\editor.html", flags, modes),
|
/drivers/peripheral/display/hal/default_standard/src/display_device/fbdev/ |
H A D | fb_display.cpp | 98 int32_t FbDisplay::GetDisplaySupportedModes(uint32_t *num, DisplayModeInfo *modes)
in GetDisplaySupportedModes() argument 101 DISPLAY_CHK_RETURN((num == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("num and modes is nullptr"));
in GetDisplaySupportedModes() 102 if (modes == NULL) {
in GetDisplaySupportedModes() 109 memcpy_s(modes, sizeof(DisplayModeInfo) * (*num), modes_.data(), sizeof(DisplayModeInfo) * (*num));
in GetDisplaySupportedModes()
|
H A D | fb_display.h | 34 int32_t GetDisplaySupportedModes(uint32_t *num, DisplayModeInfo *modes) override;
|
/drivers/peripheral/display/composer/vdi_base/src/ |
H A D | drm_connector.cpp | 64 drmModeModeInfoPtr mode = c.modes + i; in InitModes() 248 // init the modes in UpdateModes() 313 drmModeCreatePropertyBlob(drmFd, &c->modes[0], in HandleHotplug() 314 sizeof(c->modes[0]), &blob_id); in HandleHotplug() 333 int32_t DrmConnector::GetDisplaySupportedModes(uint32_t *num, DisplayModeInfo *modes) in GetDisplaySupportedModes() argument 337 if (modes != nullptr) { in GetDisplaySupportedModes() 341 mode.ConvertToHdiMode(*(modes + i)); in GetDisplaySupportedModes()
|
H A D | display_composer_vdi_impl.cpp | 45 int32_t DisplayComposerVdiImpl::GetDisplaySupportedModes(uint32_t devId, std::vector<DisplayModeInfo>& modes) in GetDisplaySupportedModes() argument 56 modes.resize(num); in GetDisplaySupportedModes() 58 modes.data()); in GetDisplaySupportedModes()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/drm/ |
H A D | drm_connector.cpp | 60 drmModeModeInfoPtr mode = c.modes + i;
in InitModes() 222 // init the modes
in UpdateModes() 228 int32_t DrmConnector::GetDisplaySupportedModes(uint32_t *num, DisplayModeInfo *modes)
in GetDisplaySupportedModes() argument 232 if (modes != nullptr) {
in GetDisplaySupportedModes() 236 mode.ConvertToHdiMode(*(modes + i));
in GetDisplaySupportedModes()
|
H A D | drm_display.h | 39 int32_t GetDisplaySupportedModes(uint32_t *num, DisplayModeInfo *modes) override;
|
H A D | drm_connector.h | 82 int32_t GetDisplaySupportedModes(uint32_t *num, DisplayModeInfo *modes);
93 // update modes will reset the preference mode id and active mode id
|
/drivers/interface/display/composer/v1_1/include/ |
H A D | idisplay_composer_interface.h | 54 * @brief Obtains the display modes supported by a display device. 57 * @param modes Indicates the vector of the information about all modes supported by the display device, 66 virtual int32_t GetDisplaySupportedModesExt(unsigned int devId, std::vector<DisplayModeInfoExt>& modes) = 0;
|
/drivers/peripheral/display/composer/hdi_service/include/ |
H A D | idisplay_composer_vdi_v1_1.h | 35 virtual int32_t GetDisplaySupportedModesExt(uint32_t devId, std::vector<DisplayModeInfoExt>& modes) = 0;
|
H A D | display_composer_service.h | 41 int32_t GetDisplaySupportedModes(uint32_t devId, std::vector<DisplayModeInfo>& modes) override; 70 int32_t GetDisplaySupportedModesExt(uint32_t devId, std::vector<DisplayModeInfoExt>& modes) override;
|
/drivers/peripheral/display/composer/vdi_base/include/ |
H A D | drm_display.h | 39 int32_t GetDisplaySupportedModes(uint32_t *num, DisplayModeInfo *modes) override;
|
H A D | drm_connector.h | 85 int32_t GetDisplaySupportedModes(uint32_t *num, DisplayModeInfo *modes); 96 // update modes will reset the preference mode id and active mode id
|
H A D | hdi_display.h | 63 virtual int32_t GetDisplaySupportedModes(uint32_t *num, DisplayModeInfo *modes) in GetDisplaySupportedModes() argument
|
/drivers/interface/display/composer/v1_1/hdi_impl/ |
H A D | display_composer_hdi_impl.h | 95 virtual int32_t GetDisplaySupportedModesExt(unsigned int devId, std::vector<DisplayModeInfoExt> &modes) override 98 return ToDispErrCode(hdi_v1_1_->GetDisplaySupportedModesExt(devId, modes));
|
/drivers/peripheral/display/composer/test/benchmark/ |
H A D | display_benchmark_test.cpp | 107 std::vector<DisplayModeInfo> modes; in BENCHMARK_F() local 109 ret = g_composerDevice->GetDisplaySupportedModes(g_displayIds[0], modes); in BENCHMARK_F() 377 std::vector<DisplayModeInfoExt> modes; in BENCHMARK_F() local 379 ret = g_composerDevice->GetDisplaySupportedModesExt(g_displayIds[0], modes); in BENCHMARK_F()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/core/ |
H A D | hdi_display.h | 58 virtual int32_t GetDisplaySupportedModes(uint32_t *num, DisplayModeInfo *modes)
in GetDisplaySupportedModes() argument
|
/drivers/peripheral/display/composer/test/fuzztest/device_fuzzer/ |
H A D | device_fuzzer.cpp | 384 std::vector<DisplayModeInfoExt> modes; in TestGetDisplaySupportedModesExt() local 385 modes.push_back(GetData<DisplayModeInfoExt>()); in TestGetDisplaySupportedModesExt() 386 int32_t ret = g_composerInterface->GetDisplaySupportedModesExt(devId, modes); in TestGetDisplaySupportedModesExt()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/ |
H A D | display_composer_vdi_impl.cpp | 48 int32_t DisplayComposerVdiImpl::GetDisplaySupportedModes(uint32_t devId, std::vector<DisplayModeInfo>& modes) in GetDisplaySupportedModes() argument 60 modes.resize(num); in GetDisplaySupportedModes() 61 ec = composerModel_->CallDisplayFunction(devId, &HdiDisplay::GetDisplaySupportedModes, &num, modes.data()); in GetDisplaySupportedModes()
|
/drivers/hdf_core/framework/tools/hc-gen/test/ |
H A D | update_case.py | 86 modes = stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH 87 with os.fdopen(os.open(result_file_name, flags, modes),
|
/drivers/hdf_core/framework/tools/idl-gen/ |
H A D | _header_parser.py | 84 modes = stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH 85 with os.fdopen(os.open(header_file, flags, modes),
|
/drivers/hdf_core/framework/tools/idl-gen/testcase/ |
H A D | test_header_parser.py | 274 modes = stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH 275 with os.fdopen(os.open(file_name, flags, modes),
|