/drivers/hdf_core/framework/model/display/driver/lcdkit/ |
H A D | lite_lcdkit.c | 197 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 D | logger.h | 24 inline static void SetLevel(int level) in SetLevel() argument 26 level_ = level; in SetLevel()
|
/drivers/peripheral/display/hal/ |
H A D | disp_hal.h | 40 int32_t (*SetBacklight)(uint32_t devId, uint32_t level); 41 int32_t (*GetBacklight)(uint32_t devId, uint32_t *level);
|
H A D | disp_hal.c | 181 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 D | NapiLog.js | 41 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 D | iam_logger.h | 46 #define FACE_LOG(level, ...) FACE_AUTH_##level(ARGS(__VA_ARGS__))
|
/drivers/peripheral/fingerprint_auth/common/logs/ |
H A D | iam_logger.h | 46 #define FINGERPRINT_LOG(level, ...) FINGERPRINT_AUTH_##level(ARGS(__VA_ARGS__))
|
/drivers/peripheral/pin_auth/common/logs/ |
H A D | iam_logger.h | 45 #define PIN_LOG(level, ...) PIN_AUTH_##level(ARGS(__VA_ARGS__))
|
/drivers/peripheral/user_auth/common/logs/ |
H A D | iam_logger.h | 46 #define USER_LOG(level, ...) USER_AUTH_##level(ARGS(__VA_ARGS__))
|
/drivers/hdf_core/adapter/khdf/liteos_m/osal/include/ |
H A D | hdf_log_adapter.h | 57 #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 D | hdf_log_adapter.h | 57 #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 D | ast_attribute.cpp | 54 bool ASTAttr::Match(SystemLevel level) const
in Match() 56 switch (level) {
in Match()
|
/drivers/peripheral/clearplay/hdi_service/src/ |
H A D | media_key_system_factory_service.cpp | 51 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 D | drm_connector.cpp | 95 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 D | drm_connector.h | 104 int32_t GetBrightness(uint32_t& level) const;
105 int32_t SetBrightness(uint32_t level);
|
/drivers/liteos/hievent/include/ |
H A D | hievent_driver.h | 40 char level; member
|
/drivers/peripheral/clearplay/interfaces/include/drm/v1_0/ |
H A D | media_key_system_factory_proxy.h | 39 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 D | media_key_system_proxy.h | 48 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 D | imedia_key_system.h | 94 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 D | ili9881c_boe.h | 24 uint16_t level; member
|
/drivers/peripheral/clearplay/hdi_service/include/drm/v1_0/ |
H A D | media_key_session_service.h | 38 MediaKeySessionService(ContentProtectionLevel level); 59 int32_t GetContentProtectionLevel(ContentProtectionLevel& level) override;
|
H A D | media_key_system_factory_service.h | 32 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level, bool& isSupported) override;
|
/drivers/peripheral/display/composer/vdi_base/include/ |
H A D | drm_connector.h | 109 int32_t GetBrightness(uint32_t& level); 110 int32_t SetBrightness(uint32_t level);
|
/drivers/peripheral/wlan/test/hdi_service/ |
H A D | wlan_callback_impl.c | 68 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 D | drm_connector.cpp | 100 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()
|