/base/powermgr/battery_manager/services/zidl/src/ |
D | battery_srv_proxy.cpp | 38 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 …]
|
D | battery_srv_stub.cpp | 34 …BATTERY_HILOGD(FEATURE_BATT_INFO, "cmd = %{public}d, flags = %{public}d", code, option.GetFlags()); in OnRemoteRequest() 38 BATTERY_HILOGE(FEATURE_BATT_INFO, "Descriptor is not matched"); in OnRemoteRequest()
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_service.cpp | 217 …BATTERY_HILOGI(FEATURE_BATT_INFO, "capacity=%{public}d, voltage=%{public}d, temperature=%{public}d… in HandleBatteryInfo() 377 BATTERY_HILOGD(FEATURE_BATT_INFO, "Return mock battery capacity"); in GetCapacity() 382 BATTERY_HILOGE(FEATURE_BATT_INFO, "iBatteryInterface_ is nullptr"); in GetCapacity() 392 BATTERY_HILOGD(FEATURE_BATT_INFO, "Enter"); in ChangePath() 395 BATTERY_HILOGE(FEATURE_BATT_INFO, "iBatteryInterface_ is nullptr"); in ChangePath() 407 BATTERY_HILOGE(FEATURE_BATT_INFO, "iBatteryInterface_ is nullptr"); in SetLowCapacityThreshold() 410 …BATTERY_HILOGI(FEATURE_BATT_INFO, "set low capacity thres: shutdownCapacityThreshold_ = %{public}d… in SetLowCapacityThreshold() 419 BATTERY_HILOGD(FEATURE_BATT_INFO, "SetBatteryConfig failed, System permission intercept"); in SetBatteryConfig() 423 BATTERY_HILOGD(FEATURE_BATT_INFO, "Enter"); in SetBatteryConfig() 426 BATTERY_HILOGE(FEATURE_BATT_INFO, "iBatteryInterface_ is nullptr"); in SetBatteryConfig() [all …]
|
D | battery_notify.cpp | 204 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish BATTERY_CHANGED event"); in PublishChangedEvent() 226 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish BATTERY_CHANGED_INNER event"); in PublishChangedEventInner() 251 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher capacity=%{public}d", info.GetCapacity()); in PublishLowEvent() 254 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish battery_low event"); in PublishLowEvent() 280 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher capacity=%{public}d", info.GetCapacity()); in PublishOkayEvent() 283 BATTERY_HILOGD(FEATURE_BATT_INFO, "failed to publish battery_okay event"); in PublishOkayEvent() 310 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher pluggedtype=%{public}u", in PublishPowerConnectedEvent() 314 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish power_connected event"); in PublishPowerConnectedEvent() 349 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher pluggedtype=%{public}u", in PublishPowerDisconnectedEvent() 353 BATTERY_HILOGD(FEATURE_BATT_INFO, "failed to publish power_disconnected event"); in PublishPowerDisconnectedEvent() [all …]
|
D | battery_dump.cpp | 49 BATTERY_HILOGE(FEATURE_BATT_INFO, "timeinfo cannot be null"); in DumpCurrentTime() 61 BATTERY_HILOGW(FEATURE_BATT_INFO, "args cannot be empty or invalid"); in GetBatteryInfo() 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()
|
D | battery_callback.cpp | 27 BATTERY_HILOGW(FEATURE_BATT_INFO, "eventCb_ is nullptr, cannot update battery info"); in Update()
|
/base/powermgr/battery_manager/frameworks/napi/ |
D | system_battery.cpp | 51 BATTERY_HILOGD(FEATURE_BATT_INFO, "Call the js success method"); in GetBatteryStats() 54 BATTERY_HILOGD(FEATURE_BATT_INFO, "Call the js fail method"); in GetBatteryStats() 57 BATTERY_HILOGD(FEATURE_BATT_INFO, "Call the js complete method"); in GetBatteryStats() 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() 143 …BATTERY_HILOGI(FEATURE_BATT_INFO, "Callbacks to incoming parameters, level: %{public}f, isCharging… in SuccessCallback() 159 …BATTERY_HILOGW(FEATURE_BATT_INFO, "Napi failed to create a parameter, code: %{public}d, msg: %{pub… in FailCallback() [all …]
|
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()
|
D | battery_info.cpp | 43 BATTERY_HILOGD(FEATURE_BATT_INFO, "capacity %{public}d", capacity); in BatterySOC() 54 BATTERY_HILOGD(FEATURE_BATT_INFO, "chargingState %{public}d", chargingState); in GetChargingState() 66 BATTERY_HILOGD(FEATURE_BATT_INFO, "healthStatus %{public}d", healthStatus); in GetHealthState() 78 BATTERY_HILOGD(FEATURE_BATT_INFO, "pluggedType %{public}d", pluggedType); in GetPluggedType() 90 BATTERY_HILOGD(FEATURE_BATT_INFO, "voltage %{public}d", voltage); in GetVoltage() 103 BATTERY_HILOGD(FEATURE_BATT_INFO, "technology %{public}s", technologyStr); in GetTechnology() 114 BATTERY_HILOGD(FEATURE_BATT_INFO, "temperature %{public}d", temperature); in GetBatteryTemperature() 126 BATTERY_HILOGD(FEATURE_BATT_INFO, "present %{public}d", present); in GetBatteryPresent() 138 BATTERY_HILOGD(FEATURE_BATT_INFO, "curNow %{public}d", curNow); in GetBatteryNowCurrent() 149 BATTERY_HILOGD(FEATURE_BATT_INFO, "remainEnergy %{public}d", remainEnergy); in GetBatteryRemainEnergy() [all …]
|
/base/powermgr/battery_manager/utils/native/include/ |
D | battery_log.h | 60 FEATURE_BATT_INFO, enumerator
|