Home
last modified time | relevance | path

Searched refs:setting (Results 1 – 25 of 80) sorted by relevance

1234

/drivers/peripheral/display/composer/test/moduletest/
Dhdi_device_test.cpp232 static std::shared_ptr<HdiTestLayer> CreateTestLayer(LayerSettings setting, uint32_t zorder) in CreateTestLayer() argument
236 DISPLAY_TEST_LOGD("color 0x%x", setting.color); in CreateTestLayer()
240 …std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bu… in CreateTestLayer()
243 layer->SetLayerPosition(setting.displayRect); in CreateTestLayer()
245 layer->SetCompType(setting.compositionType); in CreateTestLayer()
247 if ((setting.alpha >= 0) && (setting.alpha <= 0xff)) { // alpha rang 0x00 ~ 0xff in CreateTestLayer()
249 alpha.gAlpha = setting.alpha; in CreateTestLayer()
255 ClearColor(*(handle->Get()), setting.color); in CreateTestLayer()
259 layer->SetBlendType(setting.blendType); in CreateTestLayer()
260 layer->SetTransform(setting.rotate); in CreateTestLayer()
[all …]
/drivers/peripheral/display/composer/test/unittest/
Dhdi_composer_ut.cpp54 static std::shared_ptr<HdiTestLayer> CreateTestLayer(LayerSettings setting, uint32_t zorder) in CreateTestLayer() argument
58 DISPLAY_TEST_LOGD("color 0x%x", setting.color); in CreateTestLayer()
62 …std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bu… in CreateTestLayer()
65 layer->SetLayerPosition(setting.displayRect); in CreateTestLayer()
67 layer->SetCompType(setting.compositionType); in CreateTestLayer()
69 if ((setting.alpha >= 0) && (setting.alpha <= 0xff)) { // alpha rang 0x00 ~ 0xff in CreateTestLayer()
71 alpha.gAlpha = setting.alpha; in CreateTestLayer()
77 ClearColor(*(handle->Get()), setting.color); in CreateTestLayer()
81 layer->SetBlendType(setting.blendType); in CreateTestLayer()
82 layer->SetTransform(setting.rotate); in CreateTestLayer()
[all …]
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraupdatesettings_fuzzer/
Ddcameraupdatesettings_fuzzer.cpp46 DCameraSettings setting; in DcameraUpdateSettingsFuzzTest() local
47 setting.type_ = dcTypeFuzz[data[0] % DC_TYPE_SIZE]; in DcameraUpdateSettingsFuzzTest()
48 setting.value_ = std::string(reinterpret_cast<const char*>(data), size); in DcameraUpdateSettingsFuzzTest()
49 settings.push_back(setting); in DcameraUpdateSettingsFuzzTest()
/drivers/peripheral/camera/test/ut/v4l2/
Dcamera_stabili_test.cpp87 std::vector<uint8_t> setting; variable
88 MetadataUtils::ConvertMetadataToVec(meta, setting);
90 cameraBase_->rc = (CamRetCode)cameraBase_->cameraDevice->UpdateSettings(setting);
Dcamera_fps_test.cpp95 std::vector<uint8_t> setting; variable
96 MetadataUtils::ConvertMetadataToVec(meta, setting);
97 cameraBase_->rc = (CamRetCode)cameraBase_->cameraDevice->UpdateSettings(setting);
Dhdfcamera_facedetect.cpp75 std::vector<uint8_t> setting; variable
76 MetadataUtils::ConvertMetadataToVec(captureSetting, setting);
80 captureInfo.captureSetting_ = setting;
Dcamera_video_test.cpp232 std::vector<uint8_t> setting; variable
233 MetadataUtils::ConvertMetadataToVec(meta, setting);
234 cameraBase_->rc = (CamRetCode)cameraBase_->cameraDevice->UpdateSettings(setting);
502 std::vector<uint8_t> setting; variable
503 MetadataUtils::ConvertMetadataToVec(meta, setting);
504 cameraBase_->rc = (CamRetCode)cameraBase_->cameraDevice->UpdateSettings(setting);
603 std::vector<uint8_t> setting; variable
604 MetadataUtils::ConvertMetadataToVec(captureSetting, setting);
605 captureInfo.captureSetting_ = setting;
/drivers/hdf_core/framework/model/display/driver/lcdkit/
Dlcdkit_parse_config.c151 struct PowerSetting *setting) in ParsePowerSetting() argument
169setting->power = (struct PowerDesc *)OsalMemCalloc((count / POWER_SETTING_SIZE) * sizeof(struct Po… in ParsePowerSetting()
170 if (setting->power == NULL) { in ParsePowerSetting()
177 setting->power[i].type = tmp[i]; // get power type in ParsePowerSetting()
178 setting->power[i].num = tmp[i + 1]; // 1-get power num in ParsePowerSetting()
179 setting->power[i].vol = tmp[i + 2]; // 2-get power vol in ParsePowerSetting()
182 setting->count = count / POWER_SETTING_SIZE; in ParsePowerSetting()
238 if (ParsePowerSetting(node, drsOps, &cfg->setting)) { in ParsePanelConfig()
Dlite_lcdkit.h68 struct PowerSetting setting; member
Dlite_lcdkit.c31 count = panelCfg->setting.count; in PowerInit()
33 if (panelCfg->setting.power[i].type == GPIO_POWER) { in PowerInit()
34 ret = GpioSetDir(panelCfg->setting.power[i].num, GPIO_DIR_OUT); in PowerInit()
/drivers/interface/vibrator/v1_1/
DVibratorTypes.idl49 …* The parameters include the setting intensity and frequency capability the on and intensity and f…
54 /**< setting intensity capability. 1 indicates support, 0 indicates not support. */
56 /**< setting frequency capability. 1 indicates support, 0 indicates not support. */
131 /**< setting effect capability. 1 indicates support, 0 indicates not support. */
DIVibratorInterface.idl32 * that support setting intensity and Start the vibrator according to the incoming vibration effect.
85 …* @brief Obtains information about all the vibrator that support setting intensity and frequency i…
106 * @return Returns <b>-1</b> if the vibrationPeriod setting is not supported.
107 * @return Returns <b>-2</b> if the intensity setting is not supported.
108 * @return Returns <b>-3</b> if the frequency setting is not supported.
/drivers/interface/sensor/v1_0/
DISensorInterface.idl25 …* setting the sensor data reporting mode, and setting sensor options such as the accuracy and meas…
34 …* unsubscribing from sensor data, enabling or disabling a sensor, setting the sensor data reportin…
35 * and setting sensor options such as the accuracy and measurement range.
50 …* enabling or disabling a sensor, setting the sensor data reporting mode, and setting sensor optio…
97 * @return Returns <b>0</b> if the setting is successful; returns a negative value otherwise.
DISensorCallback.idl25 …* setting the sensor data reporting mode, and setting sensor options such as the accuracy and meas…
/drivers/interface/sensor/v1_1/
DISensorInterface.idl25 …* setting the sensor data reporting mode, and setting sensor options such as the accuracy and meas…
34 …* unsubscribing from sensor data, enabling or disabling a sensor, setting the sensor data reportin…
35 * and setting sensor options such as the accuracy and measurement range.
50 …* enabling or disabling a sensor, setting the sensor data reporting mode, and setting sensor optio…
97 * @return Returns <b>0</b> if the setting is successful; returns a negative value otherwise.
DISensorCallback.idl25 …* setting the sensor data reporting mode, and setting sensor options such as the accuracy and meas…
/drivers/peripheral/format/interfaces/include/
Dformat_interface.h154 int32_t FormatDemuxerSetBufferConfig(const FormatHandle handle, const FormatBufferSetting *setting);
168 int32_t FormatDemuxerGetBufferConfig(const FormatHandle handle, FormatBufferSetting *setting);
/drivers/interface/usb/v1_0/
DIUsbdBulkCallback.idl25 …* setting the usb data reporting mode, and setting usb options such as the accuracy and measuremen…
DUsbTypes.idl25 …* setting the usb data reporting mode, and setting usb options such as the accuracy and measuremen…
DIUsbdSubscriber.idl25 …* setting the usb data reporting mode, and setting usb options such as the accuracy and measuremen…
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
Dcapture_request.cpp22 CaptureMeta& setting, in CaptureRequest() argument
29 settings_ = setting; in CaptureRequest()
/drivers/interface/usb/gadget/mtp/v1_0/
DIUsbfnMtpInterface.idl32 * unsubscribing from usb data, enabling or disabling a usb, setting the usb data reporting mode,
33 * and setting usb options such as the accuracy and measurement range.
47 * enabling or disabling a usb, setting the usb data reporting mode, and setting usb options such as
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/display_template/
Ddisplay_driver_head.template15 /* backlight setting */
/drivers/interface/nfc/v1_0/
DNfcTypes.idl34 …* unsubscribing from sensor data, enabling or disabling a sensor, setting the sensor data reportin…
35 * and setting sensor options such as the accuracy and measurement range.
/drivers/interface/light/v1_0/
DILightInterface.idl40 * and setting the light brightness or blinking mode.
69 * @return Returns <b>-2</b> if the blinking setting is not supported.
70 * @return Returns <b>-3</b> if the brightness setting is not supported.

1234