Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 67) sorted by relevance

123

/drivers/hdf_core/framework/model/display/driver/lcdkit/
Dlite_lcdkit.c197 static int32_t SetBacklightByPwm(uint32_t level) in SetBacklightByPwm() argument
207 duty = (level * panelCfg->info.pwm.period) / panelCfg->info.blk.maxLevel; in SetBacklightByPwm()
214 if (level != 0 && lastLevel == 0) { in SetBacklightByPwm()
216 } else if (level == 0 && lastLevel != 0) { in SetBacklightByPwm()
219 lastLevel = level; in SetBacklightByPwm()
223 static int32_t SetBacklightByMipi(uint32_t level) in SetBacklightByMipi() argument
234 payLoad[1] = level; in SetBacklightByMipi()
243 static int32_t LcdkitSetBkl(uint32_t level) in LcdkitSetBkl() argument
248 ret = SetBacklightByPwm(level); in LcdkitSetBkl()
250 ret = SetBacklightByMipi(level); in LcdkitSetBkl()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
DNapiLog.js41 NapiLog.init = function (level, fileName) { argument
43 level in
44 …[NapiLog.LEV_NONE, NapiLog.LEV_ERROR, NapiLog.LEV_DEBUG, NapiLog.LEV_INFO] ? level : NapiLog.LEV_E…
/drivers/hdf_core/framework/tools/hdi-gen/util/
Dlogger.h24 inline static void SetLevel(int level) in SetLevel() argument
26 level_ = level; in SetLevel()
/drivers/peripheral/display/hal/
Ddisp_hal.h40 int32_t (*SetBacklight)(uint32_t devId, uint32_t level);
41 int32_t (*GetBacklight)(uint32_t devId, uint32_t *level);
Ddisp_hal.c181 static int32_t SetBacklight(uint32_t devId, uint32_t level) in SetBacklight() argument
183 return DispEventProcess(devId, DISP_CMD_SET_BACKLIGHT, level); in SetBacklight()
186 static int32_t GetBacklight(uint32_t devId, uint32_t *level) in GetBacklight() argument
188 return DispGetParaProcess(devId, DISP_CMD_GET_BACKLIGHT, level); in GetBacklight()
/drivers/peripheral/battery/interfaces/hdi_service/src/
Dbattery_config.cpp149 void BatteryConfig::ParseLightConf(std::string level) in ParseLightConf() argument
151 Json::Value soc = GetValue("light." + level + ".soc"); in ParseLightConf()
152 Json::Value rgb = GetValue("light." + level + ".rgb"); in ParseLightConf()
154 … BATTERY_HILOGW(COMP_HDI, "The battery light %{public}s configuration is invalid.", level.c_str()); in ParseLightConf()
159 … BATTERY_HILOGW(COMP_HDI, "The battery light %{public}s soc data type error.", level.c_str()); in ParseLightConf()
164 … BATTERY_HILOGW(COMP_HDI, "The battery light %{public}s rgb data type error.", level.c_str()); in ParseLightConf()
/drivers/hdf_core/adapter/khdf/liteos_m/osal/include/
Dhdf_log_adapter.h57 #define PRINTF(level, fmt, ...) do { if (hal_trace_printf) hal_trace_printf(level, fmt, ##__VA_ARGS…
/drivers/hdf_core/adapter/khdf/uniproton/osal/include/
Dhdf_log_adapter.h57 #define PRINTF(level, fmt, ...) do { if (hal_trace_printf) hal_trace_printf(level, fmt, ##__VA_ARGS…
/drivers/interface/fingerprint_auth/v1_0/
DFingerprintAuthTypes.idl66 * Enumerates executor secure level.
72 ESL0 = 0, /**< Indicates executor secure level is ESL0. */
73 ESL1 = 1, /**< Indicates executor secure level is ESL1. */
74 ESL2 = 2, /**< Indicates executor secure level is ESL2. */
75 ESL3 = 3, /**< Indicates executor secure level is ESL3. */
119 … enum ExecutorSecureLevel esl; /**< Indicates executor secure level, see @{ExecutorSecureLevel}. */
/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_attribute.cpp54 bool ASTAttr::Match(SystemLevel level) const in Match()
56 switch (level) { in Match()
Dast_attribute.h42 bool Match(SystemLevel level) const;
/drivers/interface/pin_auth/v1_0/
DPinAuthTypes.idl78 /**< Indicates that the executor secure level is ESL0. */
80 /**< Indicates that the executor secure level is ESL1. */
82 /**< Indicates that the executor secure level is ESL2. */
84 /**< Indicates that the executor secure level is ESL3. */
115 /**< Indicates the executor secure level. See @{ExecutorSecureLevel}. */
/drivers/peripheral/display/hal/default_standard/src/display_device/drm/
Ddrm_connector.cpp102 int32_t DrmConnector::GetBrightness(uint32_t &level) const in GetBrightness()
108 level = mBrightnessLevel; in GetBrightness()
112 int32_t DrmConnector::SetBrightness(uint32_t level) in SetBrightness() argument
114 DISPLAY_LOGD("set %{public}d", level); in SetBrightness()
119 int ret = drmModeConnectorSetProperty(mDrmFdPtr->GetFd(), mId, mPropBrightnessId, level); in SetBrightness()
121 mBrightnessLevel = level; in SetBrightness()
Ddrm_connector.h104 int32_t GetBrightness(uint32_t& level) const;
105 int32_t SetBrightness(uint32_t level);
/drivers/liteos/hievent/include/
Dhievent_driver.h40 char level; member
/drivers/interface/activity_recognition/v1_0/
DActivityRecognitionTypes.idl87 …/** Confidence level. The value <b>100</> indicates the highest level, <b>0</b> indicates the lowe…
88 and <b>-1</b> means that the activity does not support confidence level calculation. */
/drivers/hdf_core/framework/model/display/driver/panel/
Dili9881c_boe.h24 uint16_t level; member
/drivers/interface/face_auth/v1_0/
DFaceAuthTypes.idl78 /**< Indicates that the executor secure level is ESL0. */
80 /**< Indicates that the executor secure level is ESL1. */
82 /**< Indicates that the executor secure level is ESL2. */
84 /**< Indicates that the executor secure level is ESL3. */
151 /**< Indicates the executor secure level. See @{ExecutorSecureLevel}. */
/drivers/peripheral/display/composer/hdi_service/src/
Ddisplay_composer_service.cpp241 int32_t DisplayComposerService::GetDisplayBacklight(uint32_t devId, uint32_t& level) in GetDisplayBacklight() argument
246 int32_t ret = vdiImpl_->GetDisplayBacklight(devId, level); in GetDisplayBacklight()
247 DISPLAY_CHK_RETURN(ret == DISPLAY_NOT_SUPPORT, HDF_SUCCESS, level = currentBacklightLevel_); in GetDisplayBacklight()
251 int32_t DisplayComposerService::SetDisplayBacklight(uint32_t devId, uint32_t level) in SetDisplayBacklight() argument
256 int32_t ret = vdiImpl_->SetDisplayBacklight(devId, level); in SetDisplayBacklight()
258 currentBacklightLevel_ = level; in SetDisplayBacklight()
/drivers/peripheral/wlan/test/hdi_service/
Dwlan_callback_impl.c69 scanResult->beaconIeLen, scanResult->level); in WlanCallbackScanResult()
90 scanResult->beaconIeLen, scanResult->level); in WlanCallbackScanResults()
/drivers/peripheral/display/composer/test/benchmark/
Ddisplay_benchmark_test.cpp176 uint32_t level; in BENCHMARK_F() local
178 ret = g_composerDevice->GetDisplayBacklight(g_displayIds[0], level); in BENCHMARK_F()
193 const uint32_t level = 10; in BENCHMARK_F() local
195 ret = g_composerDevice->SetDisplayBacklight(g_displayIds[0], level); in BENCHMARK_F()
/drivers/peripheral/display/composer/hdi_service/include/
Ddisplay_composer_service.h43 int32_t GetDisplayBacklight(uint32_t devId, uint32_t& level) override;
44 int32_t SetDisplayBacklight(uint32_t devId, uint32_t level) override;
/drivers/peripheral/display/interfaces/include/
Ddisplay_device.h240 int32_t (*GetDisplayBacklight)(uint32_t devId, uint32_t *level);
253 int32_t (*SetDisplayBacklight)(uint32_t devId, uint32_t level);
/drivers/peripheral/battery/interfaces/hdi_service/include/
Dbattery_config.h50 void ParseLightConf(std::string level);
/drivers/hdf_core/framework/model/display/driver/
Dhdf_drm_panel.c183 unsigned long level; in BacklightStore() local
187 ret = kstrtoul(buf, 0, &level); in BacklightStore()
195 ret = UpdateBrightness(panel->blDev, level); in BacklightStore()

123