Home
last modified time | relevance | path

Searched refs:level (Results 1 - 25 of 71) sorted by relevance

123

/drivers/hdf_core/framework/model/display/driver/lcdkit/
H A 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()
[all...]
/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dlogger.h24 inline static void SetLevel(int level) in SetLevel() argument
26 level_ = level; in SetLevel()
/drivers/peripheral/display/hal/
H A Ddisp_hal.h40 int32_t (*SetBacklight)(uint32_t devId, uint32_t level);
41 int32_t (*GetBacklight)(uint32_t devId, uint32_t *level);
H A 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/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
H A DNapiLog.js41 NapiLog.init = function (level, fileName) {
43 level in
44 [NapiLog.LEV_NONE, NapiLog.LEV_ERROR, NapiLog.LEV_DEBUG, NapiLog.LEV_INFO] ? level : NapiLog.LEV_ERROR;
/drivers/peripheral/face_auth/common/logs/
H A Diam_logger.h46 #define FACE_LOG(level, ...) FACE_AUTH_##level(ARGS(__VA_ARGS__))
/drivers/peripheral/fingerprint_auth/common/logs/
H A Diam_logger.h46 #define FINGERPRINT_LOG(level, ...) FINGERPRINT_AUTH_##level(ARGS(__VA_ARGS__))
/drivers/peripheral/pin_auth/common/logs/
H A Diam_logger.h45 #define PIN_LOG(level, ...) PIN_AUTH_##level(ARGS(__VA_ARGS__))
/drivers/peripheral/user_auth/common/logs/
H A Diam_logger.h46 #define USER_LOG(level, ...) USER_AUTH_##level(ARGS(__VA_ARGS__))
/drivers/hdf_core/adapter/khdf/liteos_m/osal/include/
H A Dhdf_log_adapter.h57 #define PRINTF(level, fmt, ...) do { if (hal_trace_printf) hal_trace_printf(level, fmt, ##__VA_ARGS__); } while (0)
/drivers/hdf_core/adapter/khdf/uniproton/osal/include/
H A Dhdf_log_adapter.h57 #define PRINTF(level, fmt, ...) do { if (hal_trace_printf) hal_trace_printf(level, fmt, ##__VA_ARGS__); } while (0)
/drivers/hdf_core/framework/tools/hdi-gen/ast/
H A Dast_attribute.cpp54 bool ASTAttr::Match(SystemLevel level) const in Match()
56 switch (level) { in Match()
/drivers/peripheral/clearplay/hdi_service/src/
H A Dmedia_key_system_factory_service.cpp51 ContentProtectionLevel level, bool &isSupported) in IsMediaKeySystemSupported()
65 if (level < SECURE_UNKNOWN || level > HW_SECURE_MAX) { in IsMediaKeySystemSupported()
50 IsMediaKeySystemSupported(const std::string &uuid, const std::string &mimeType, ContentProtectionLevel level, bool &isSupported) IsMediaKeySystemSupported() argument
/drivers/peripheral/display/hal/default_standard/src/display_device/drm/
H A Ddrm_connector.cpp95 DISPLAY_LOGD("prop brightness is %{public}d, level is %{public}d", mPropBrightnessId, mBrightnessLevel); in Init()
102 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()
H A Ddrm_connector.h104 int32_t GetBrightness(uint32_t& level) const;
105 int32_t SetBrightness(uint32_t level);
/drivers/liteos/hievent/include/
H A Dhievent_driver.h40 char level; member
/drivers/peripheral/clearplay/interfaces/include/drm/v1_0/
H A Dmedia_key_system_factory_proxy.h39 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level, bool& isSupported) override;
48 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level, bool& isSupported, const sptr<IRemoteObject> remote);
H A Dmedia_key_system_proxy.h48 int32_t GetMaxContentProtectionLevel(OHOS::HDI::Drm::V1_0::ContentProtectionLevel& level) override;
58 int32_t CreateMediaKeySession(OHOS::HDI::Drm::V1_0::ContentProtectionLevel level,
88 static int32_t GetMaxContentProtectionLevel_(OHOS::HDI::Drm::V1_0::ContentProtectionLevel& level,
102 static int32_t CreateMediaKeySession_(OHOS::HDI::Drm::V1_0::ContentProtectionLevel level,
H A Dimedia_key_system.h94 virtual int32_t GetMaxContentProtectionLevel(OHOS::HDI::Drm::V1_0::ContentProtectionLevel& level) = 0;
104 virtual int32_t CreateMediaKeySession(OHOS::HDI::Drm::V1_0::ContentProtectionLevel level,
/drivers/hdf_core/framework/model/display/driver/panel/
H A Dili9881c_boe.h24 uint16_t level; member
/drivers/peripheral/clearplay/hdi_service/include/drm/v1_0/
H A Dmedia_key_session_service.h38 MediaKeySessionService(ContentProtectionLevel level);
59 int32_t GetContentProtectionLevel(ContentProtectionLevel& level) override;
H A Dmedia_key_system_factory_service.h32 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level, bool& isSupported) override;
/drivers/peripheral/display/composer/vdi_base/include/
H A Ddrm_connector.h109 int32_t GetBrightness(uint32_t& level);
110 int32_t SetBrightness(uint32_t level);
/drivers/peripheral/wlan/test/hdi_service/
H A Dwlan_callback_impl.c68 HDF_LOGE("HdiProcessScanResult: qual=%{public}d, beaconIeLen=%{public}d, level=%{public}d", scanResult->qual, in WlanCallbackScanResult()
69 scanResult->beaconIeLen, scanResult->level); in WlanCallbackScanResult()
89 HDF_LOGI("HdiProcessScanResult: qual=%{public}d, beaconIeLen=%{public}d, level=%{public}d", scanResult->qual, in WlanCallbackScanResults()
90 scanResult->beaconIeLen, scanResult->level); in WlanCallbackScanResults()
/drivers/peripheral/display/composer/vdi_base/src/
H A Ddrm_connector.cpp100 DISPLAY_LOGD("prop brightness is %{public}d, level is %{public}d", mPropBrightnessId, mBrightnessLevel); in Init()
107 int32_t DrmConnector::GetBrightness(uint32_t& level) in GetBrightness() argument
113 level = mBrightnessLevel; in GetBrightness()
117 int32_t DrmConnector::SetBrightness(uint32_t level) in SetBrightness() argument
123 DISPLAY_LOGD("set %{public}d", level); in SetBrightness()
140 int bytes = sprintf_s(buffer, sizeof(buffer), "%d\n", level); in SetBrightness()
146 mBrightnessLevel = level; in SetBrightness()

Completed in 8 milliseconds

123