/base/powermgr/battery_manager/services/zidl/src/ |
H A D | battery_srv_proxy.cpp | 38 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetCapacity() 46 BATTERY_HILOGW(FEATURE_BATT_INFO, "%{public}s: SendRequest failed with ret=%{public}d", __func__, ret); in GetCapacity() 63 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetChargingStatus() 71 BATTERY_HILOGW(FEATURE_BATT_INFO, "%{public}s: SendRequest failed with ret=%{public}d", __func__, ret); in GetChargingStatus() 88 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetHealthStatus() 96 BATTERY_HILOGW(FEATURE_BATT_INFO, "%{public}s: SendRequest failed with ret=%{public}d", __func__, ret); in GetHealthStatus() 113 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetPluggedType() 121 BATTERY_HILOGW(FEATURE_BATT_INFO, "%{public}s: SendRequest failed with ret=%{public}d", __func__, ret); in GetPluggedType() 138 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetVoltage() 146 BATTERY_HILOGW(FEATURE_BATT_INF in GetVoltage() [all...] |
/base/powermgr/battery_manager/charger/src/ |
H A D | battery_vibrate.cpp | 54 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() 134 BATTERY_HILOGW(FEATURE_CHARGING, "duration mode fprintf time failed, time=%{public}d", time); in SetDuration() 137 BATTERY_HILOGW(FEATURE_CHARGIN in SetDuration() [all...] |
H A D | battery_led.cpp | 33 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()
|
H A D | battery_config.cpp | 64 BATTERY_HILOGW(FEATURE_CHARGING, "GetOneCfgFile battery_config.json is NULL"); in ParseConfig() 156 BATTERY_HILOGW(FEATURE_CHARGING, "The battery light %{public}s configuration is invalid.", level.c_str()); in ParseLightConf() 161 BATTERY_HILOGW(FEATURE_CHARGING, "The battery light %{public}s soc data type error.", level.c_str()); in ParseLightConf() 166 BATTERY_HILOGW(FEATURE_CHARGING, "The battery light %{public}s rgb data type error.", level.c_str()); in ParseLightConf() 194 BATTERY_HILOGW(FEATURE_CHARGING, "The key does not meet the. key=%{public}s", key.c_str()); in GetValue() 206 BATTERY_HILOGW(FEATURE_CHARGING, "The key is not configured. key=%{public}s", keys[i].c_str()); in GetValue()
|
H A D | charger_thread.cpp | 68 BATTERY_HILOGW(FEATURE_CHARGING, "code lager than KEY_MAX: %{public}d", code); in SetKeyState() 73 BATTERY_HILOGW(FEATURE_CHARGING, "PowerKey is already down"); in SetKeyState() 166 BATTERY_HILOGW(FEATURE_CHARGING, "temperature out of range, shutdown device"); in HandleTemperature() 176 BATTERY_HILOGW(FEATURE_CHARGING, "Not Charging, Shutdown system"); in HandleCapacity() 272 BATTERY_HILOGW(FEATURE_CHARGING, "reboot machine"); in HandlePowerKey() 369 BATTERY_HILOGW(FEATURE_CHARGING, "InitVibration failed, vibration does not work"); in InitVibration()
|
H A D | power_supply_provider.cpp | 93 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/utils/native/include/ |
H A D | power_common.h | 32 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"); \
|
H A D | battery_log.h | 32 #ifdef BATTERY_HILOGW 33 #undef BATTERY_HILOGW macro 103 #define BATTERY_HILOGW(domain, ...) \ macro
|
/base/powermgr/battery_manager/frameworks/napi/src/ |
H A D | napi_utils.cpp | 29 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()
|
H A D | system_battery.cpp | 80 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() 95 BATTERY_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() 159 BATTERY_HILOGW(FEATURE_BATT_INFO, "Napi failed to create a parameter, code: %{public}d, msg: %{public}s",
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_INF in GetStatus() [all...] |
H A D | napi_error.cpp | 53 BATTERY_HILOGW(COMP_FWK, "throw error code: %{public}d, msg: %{public}s,", in GetNapiError()
|
H A D | battery_info.cpp | 194 BATTERY_HILOGW(FEATURE_BATT_INFO, "set charge config failed, param is invalid");
in SetBatteryConfig() 223 BATTERY_HILOGW(FEATURE_BATT_INFO, "get charge config failed, param is invalid");
in GetBatteryConfig() 252 BATTERY_HILOGW(FEATURE_BATT_INFO, "support charge config failed, param is invalid");
in IsBatteryConfigSupported()
|
/base/powermgr/battery_manager/services/native/src/ |
H A D | battery_config.cpp | 67 BATTERY_HILOGW(COMP_SVC, "GetOneCfgFile battery_config.json is NULL"); in ParseConfig() 147 BATTERY_HILOGW(COMP_SVC, "The battery light %{public}s configuration is invalid.", level.c_str()); in ParseLightConf() 152 BATTERY_HILOGW(COMP_SVC, "The battery light %{public}s soc data type error.", level.c_str()); in ParseLightConf() 157 BATTERY_HILOGW(COMP_SVC, "The battery light %{public}s rgb data type error.", level.c_str()); in ParseLightConf() 174 BATTERY_HILOGW(COMP_SVC, "boot_actions is invalid"); in ParseBootActionsConf() 184 BATTERY_HILOGW(COMP_SVC, "The common event config is invalid"); in ParseCommonEventConf() 196 BATTERY_HILOGW(COMP_SVC, "parse common event config failed"); in ParseCommonEventConf() 206 BATTERY_HILOGW(COMP_SVC, "parse expect value failed"); in ParseCommonEventConf() 233 BATTERY_HILOGW(COMP_SVC, "The key does not meet the. key=%{public}s", key.c_str()); in GetValue() 245 BATTERY_HILOGW(COMP_SV in GetValue() [all...] |
H A D | battery_dump.cpp | 65 BATTERY_HILOGW(FEATURE_BATT_INFO, "args cannot be empty or invalid"); in GetBatteryInfo() 105 BATTERY_HILOGW(FEATURE_CHARGING, "args cannot be empty or invalid"); in MockUnplugged() 120 BATTERY_HILOGW(FEATURE_CHARGING, "args cannot be empty or invalid"); in Reset() 135 BATTERY_HILOGW(FEATURE_BATT_INFO, "args cannot be empty or invalid"); in MockCapacity() 142 BATTERY_HILOGW(FEATURE_BATT_INFO, "capacity convert failed"); in MockCapacity() 160 BATTERY_HILOGW(FEATURE_BATT_INFO, "args cannot be empty or invalid"); in MockUevent()
|
H A D | battery_light.cpp | 45 BATTERY_HILOGW(FEATURE_BATT_LIGHT, "Light info is null"); in InitLight() 70 BATTERY_HILOGW(FEATURE_BATT_LIGHT, "Failed to turn off the battery light"); in TurnOff() 90 BATTERY_HILOGW(FEATURE_BATT_LIGHT, "Failed to turn on the battery light"); in TurnOn()
|
H A D | battery_callback.cpp | 27 BATTERY_HILOGW(FEATURE_BATT_INFO, "eventCb_ is nullptr, cannot update battery info"); in Update()
|
H A D | battery_service.cpp | 308 BATTERY_HILOGW(COMP_SVC, "hdi service manager is nullptr, Try again after %{public}u second", RETRY_TIME); in RegisterHdiStatusListener() 335 BATTERY_HILOGW(COMP_SVC, "battery interface service stop, unregister interface"); in RegisterHdiStatusListener() 342 BATTERY_HILOGW(COMP_SVC, "Register hdi failed, Try again after %{public}u second", RETRY_TIME); in RegisterHdiStatusListener() 764 BATTERY_HILOGW(FEATURE_BATT_INFO, "system permission denied."); in GetRemainingChargeTime()
|
/base/powermgr/battery_manager/charger/include/ |
H A D | charger_log.h | 48 #define BATTERY_HILOGW(label, fmt, ...) \ macro
|
/base/powermgr/battery_manager/frameworks/native/src/ |
H A D | battery_srv_client.cpp | 85 BATTERY_HILOGW(COMP_FWK, "Recv death notice, BateryService Died"); in OnRemoteDied()
|