Home
last modified time | relevance | path

Searched refs:BATTERY_HILOGW (Results 1 – 18 of 18) sorted by relevance

/base/powermgr/battery_manager/charger/src/
Dbattery_vibrate.cpp54 BATTERY_HILOGW(FEATURE_CHARGING, "not support vibrate path"); in InitVibration()
99 BATTERY_HILOGW(FEATURE_CHARGING, "play mode path open failed."); in SetPlayMode()
103 BATTERY_HILOGW(FEATURE_CHARGING, "play mode fprintf direct failed."); in SetPlayMode()
106 BATTERY_HILOGW(FEATURE_CHARGING, "play mode fclose failed."); in SetPlayMode()
115 BATTERY_HILOGW(FEATURE_CHARGING, "activate mode path open failed"); in ActivateVibration()
119 BATTERY_HILOGW(FEATURE_CHARGING, "activate mode fprintf failed, value=%{public}d", value); in ActivateVibration()
122 BATTERY_HILOGW(FEATURE_CHARGING, "activate mode fclose failed"); in ActivateVibration()
130 BATTERY_HILOGW(FEATURE_CHARGING, "duration mode path open failed"); in SetDuration()
134BATTERY_HILOGW(FEATURE_CHARGING, "duration mode fprintf time failed, time=%{public}d", time); in SetDuration()
137 BATTERY_HILOGW(FEATURE_CHARGING, "duration mode fclose failed."); in SetDuration()
Dbattery_led.cpp33 BATTERY_HILOGW(FEATURE_CHARGING, "Light interface is null"); in InitLight()
39 BATTERY_HILOGW(FEATURE_CHARGING, "Get battert light failed"); in InitLight()
56 BATTERY_HILOGW(FEATURE_CHARGING, "Failed to turn off the battery light"); in TurnOff()
74 BATTERY_HILOGW(FEATURE_CHARGING, "Failed to turn on the battery light"); in TurnOn()
Dbattery_config.cpp59 BATTERY_HILOGW(FEATURE_CHARGING, "GetOneCfgFile battery_config.json is NULL"); in ParseConfig()
150BATTERY_HILOGW(FEATURE_CHARGING, "The battery light %{public}s configuration is invalid.", level.c… in ParseLightConf()
155BATTERY_HILOGW(FEATURE_CHARGING, "The battery light %{public}s soc data type error.", level.c_str(… in ParseLightConf()
160BATTERY_HILOGW(FEATURE_CHARGING, "The battery light %{public}s rgb data type error.", level.c_str(… in ParseLightConf()
188 BATTERY_HILOGW(FEATURE_CHARGING, "The key does not meet the. key=%{public}s", key.c_str()); in GetValue()
194BATTERY_HILOGW(FEATURE_CHARGING, "Value is empty. key=%{public}s", keys[MAP_KEY_INDEX].c_str()); in GetValue()
200BATTERY_HILOGW(FEATURE_CHARGING, "The key is not configured. key=%{public}s", keys[i].c_str()); in GetValue()
Dcharger_thread.cpp90 BATTERY_HILOGW(FEATURE_CHARGING, "code lager than KEY_MAX: %{public}d", code); in SetKeyState()
95 BATTERY_HILOGW(FEATURE_CHARGING, "PowerKey is already down"); in SetKeyState()
117 BATTERY_HILOGW(FEATURE_CHARGING, "Wrong type"); in HandleInputEvent()
204 BATTERY_HILOGW(FEATURE_CHARGING, "temperature out of range, shutdown device"); in HandleTemperature()
214 BATTERY_HILOGW(FEATURE_CHARGING, "Not Charging, Shutdown system"); in HandleCapacity()
310 BATTERY_HILOGW(FEATURE_CHARGING, "reboot machine"); in HandlePowerKey()
411 BATTERY_HILOGW(FEATURE_CHARGING, "InitVibration failed, vibration does not work"); in InitVibration()
Dpower_supply_provider.cpp93 BATTERY_HILOGW(FEATURE_CHARGING, "failed to copy path of %{public}s", name); in FormatPath()
98 BATTERY_HILOGW(FEATURE_CHARGING, "failed to format path of %{public}s", name); in FormatPath()
135 BATTERY_HILOGW(FEATURE_CHARGING, "read path failed, ret: %{public}d", ret); in ReadBatterySysfsToBuff()
197 BATTERY_HILOGW(FEATURE_CHARGING, "too many power supply types"); in InitPowerSupplySysfs()
/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_proxy.cpp38 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetCapacity()
46 BATTERY_HILOGW(FEATURE_BATT_INFO, "SendRequest failed, error code: %{public}d", ret); in GetCapacity()
63 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetChargingStatus()
71 BATTERY_HILOGW(FEATURE_BATT_INFO, "SendRequest failed, error code: %{public}d", ret); in GetChargingStatus()
88 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetHealthStatus()
96 BATTERY_HILOGW(FEATURE_BATT_INFO, "SendRequest failed, error code: %{public}d", ret); in GetHealthStatus()
113 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetPluggedType()
121 BATTERY_HILOGW(FEATURE_BATT_INFO, "SendRequest failed, error code: %{public}d", ret); in GetPluggedType()
138 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetVoltage()
146 BATTERY_HILOGW(FEATURE_BATT_INFO, "SendRequest failed, error code: %{public}d", ret); in GetVoltage()
[all …]
/base/powermgr/battery_manager/utils/native/include/
Dpower_common.h32 BATTERY_HILOGW(COMP_FWK, #loginfo); \
40 BATTERY_HILOGW(COMP_FWK, "read "#out" failed"); \
48 BATTERY_HILOGW(COMP_FWK, "write "#data" failed"); \
56 BATTERY_HILOGW(COMP_FWK, "read "#out" failed"); \
64 BATTERY_HILOGW(COMP_FWK, "write "#data" failed"); \
Dbattery_log.h32 #ifdef BATTERY_HILOGW
33 #undef BATTERY_HILOGW
103 #define BATTERY_HILOGW(domain, ...) \ macro
/base/powermgr/battery_manager/frameworks/napi/
Dnapi_utils.cpp29 BATTERY_HILOGW(FEATURE_BATT_INFO, "Failed to get the input parameter"); in GetCallbackInfo()
39 BATTERY_HILOGW(FEATURE_BATT_INFO, "napi_get_value_string_utf8 failed"); in GetStringFromNapi()
49 BATTERY_HILOGW(FEATURE_BATT_INFO, "Failed to create a value reference"); in CreateReference()
68 BATTERY_HILOGW(FEATURE_BATT_INFO, "Parameter type error"); in CheckValueType()
Dsystem_battery.cpp80 BATTERY_HILOGW(FEATURE_BATT_INFO, "Check input parameter error"); in CheckValueType()
91 BATTERY_HILOGW(FEATURE_BATT_INFO, "Failed to obtain %{public}s", name.c_str()); in GetOptionsFunc()
95BATTERY_HILOGW(FEATURE_BATT_INFO, "The %{public}s argument is not a function", name.c_str()); in GetOptionsFunc()
130 BATTERY_HILOGW(FEATURE_BATT_INFO, "Failed to create BatteryResponse"); in SuccessCallback()
140 BATTERY_HILOGW(FEATURE_BATT_INFO, "Failed to execute the callback function SUCCESS"); in SuccessCallback()
159BATTERY_HILOGW(FEATURE_BATT_INFO, "Napi failed to create a parameter, code: %{public}d, msg: %{pub… in FailCallback()
170 BATTERY_HILOGW(FEATURE_BATT_INFO, "Call fail function is failed"); in FailCallback()
184 BATTERY_HILOGW(FEATURE_BATT_INFO, "Call complete function is failed"); in CompleteCallback()
193 BATTERY_HILOGW(FEATURE_BATT_INFO, "Error message, code: %{public}d, msg: %{public}s", in SetErrorMsg()
229 BATTERY_HILOGW(FEATURE_BATT_INFO, "Lack of parameter, argc: %{public}zu", argc); in GetStatus()
Dbattery_info.cpp192 BATTERY_HILOGW(FEATURE_BATT_INFO, "set charge config failed, param is invalid"); in SetBatteryConfig()
216 BATTERY_HILOGW(FEATURE_BATT_INFO, "get charge config failed, param is invalid"); in GetBatteryConfig()
238 BATTERY_HILOGW(FEATURE_BATT_INFO, "support charge config failed, param is invalid"); in IsBatteryConfigSupported()
/base/powermgr/battery_manager/services/native/src/
Dbattery_config.cpp61 BATTERY_HILOGW(COMP_SVC, "GetOneCfgFile battery_config.json is NULL"); in ParseConfig()
135BATTERY_HILOGW(COMP_SVC, "The battery light %{public}s configuration is invalid.", level.c_str()); in ParseLightConf()
140BATTERY_HILOGW(COMP_SVC, "The battery light %{public}s soc data type error.", level.c_str()); in ParseLightConf()
145BATTERY_HILOGW(COMP_SVC, "The battery light %{public}s rgb data type error.", level.c_str()); in ParseLightConf()
173 BATTERY_HILOGW(COMP_SVC, "The key does not meet the. key=%{public}s", key.c_str()); in GetValue()
179 BATTERY_HILOGW(COMP_SVC, "Value is empty. key=%{public}s", keys[MAP_KEY_INDEX].c_str()); in GetValue()
185 BATTERY_HILOGW(COMP_SVC, "The key is not configured. key=%{public}s", keys[i].c_str()); in GetValue()
196 BATTERY_HILOGW(COMP_HDI, "ueventConfig is invalid"); in ParseUeventConf()
205 BATTERY_HILOGW(COMP_SVC, "The uevent conf is invalid, key=%{public}s", key.c_str()); in ParseUeventConf()
213 BATTERY_HILOGW(COMP_SVC, "The uevent conf is invalid, key=%{public}s", key.c_str()); in ParseUeventConf()
Dbattery_dump.cpp61 BATTERY_HILOGW(FEATURE_BATT_INFO, "args cannot be empty or invalid"); in GetBatteryInfo()
101 BATTERY_HILOGW(FEATURE_CHARGING, "args cannot be empty or invalid"); in MockUnplugged()
112 BATTERY_HILOGW(FEATURE_CHARGING, "args cannot be empty or invalid"); in Reset()
123 BATTERY_HILOGW(FEATURE_BATT_INFO, "args cannot be empty or invalid"); in MockCapacity()
129 BATTERY_HILOGW(FEATURE_BATT_INFO, "capacity convert failed"); in MockCapacity()
Dbattery_light.cpp41 BATTERY_HILOGW(FEATURE_BATT_LIGHT, "Light info is null"); in InitLight()
64 BATTERY_HILOGW(FEATURE_BATT_LIGHT, "Failed to turn off the battery light"); in TurnOff()
82 BATTERY_HILOGW(FEATURE_BATT_LIGHT, "Failed to turn on the battery light"); in TurnOn()
Dbattery_callback.cpp27 BATTERY_HILOGW(FEATURE_BATT_INFO, "eventCb_ is nullptr, cannot update battery info"); in Update()
Dbattery_service.cpp243BATTERY_HILOGW(COMP_SVC, "hdi service manager is nullptr, Try again after %{public}u second", RETR… in RegisterHdiStatusListener()
269 BATTERY_HILOGW(COMP_SVC, "battery interface service stop, unregister interface"); in RegisterHdiStatusListener()
276BATTERY_HILOGW(COMP_SVC, "Register hdi failed, Try again after %{public}u second", RETRY_TIME); in RegisterHdiStatusListener()
683 BATTERY_HILOGW(FEATURE_BATT_INFO, "system permission denied."); in GetRemainingChargeTime()
/base/powermgr/battery_manager/charger/include/
Dcharger_log.h48 #define BATTERY_HILOGW(label, fmt, ...) … macro
/base/powermgr/battery_manager/frameworks/native/src/
Dbattery_srv_client.cpp85 BATTERY_HILOGW(COMP_FWK, "Recv death notice, BateryService Died"); in OnRemoteDied()