/base/powermgr/battery_manager/services/zidl/src/ |
D | battery_srv_proxy.cpp | 36 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetCapacity() 43 BATTERY_HILOGW(FEATURE_BATT_INFO, "SendRequest failed, error code: %{public}d", ret); in GetCapacity() 60 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetChargingStatus() 67 BATTERY_HILOGW(FEATURE_BATT_INFO, "SendRequest failed, error code: %{public}d", ret); in GetChargingStatus() 84 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetHealthStatus() 91 BATTERY_HILOGW(FEATURE_BATT_INFO, "SendRequest failed, error code: %{public}d", ret); in GetHealthStatus() 108 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetPluggedType() 115 BATTERY_HILOGW(FEATURE_BATT_INFO, "SendRequest failed, error code: %{public}d", ret); in GetPluggedType() 132 BATTERY_HILOGW(FEATURE_BATT_INFO, "Write descriptor failed"); in GetVoltage() 139 BATTERY_HILOGW(FEATURE_BATT_INFO, "SendRequest failed, error code: %{public}d", ret); in GetVoltage() [all …]
|
D | battery_srv_stub.cpp | 33 …BATTERY_HILOGD(FEATURE_BATT_INFO, "cmd = %{public}d, flags = %{public}d", code, option.GetFlags()); in OnRemoteRequest() 37 BATTERY_HILOGE(FEATURE_BATT_INFO, "Descriptor is not matched"); in OnRemoteRequest()
|
/base/powermgr/battery_manager/frameworks/js/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 | battery_info.cpp | 38 BATTERY_HILOGD(FEATURE_BATT_INFO, "capacity %{public}d", capacity); in BatterySOC() 49 BATTERY_HILOGD(FEATURE_BATT_INFO, "chargingState %{public}d", chargingState); in GetChargingState() 61 BATTERY_HILOGD(FEATURE_BATT_INFO, "healthStatus %{public}d", healthStatus); in GetHealthState() 73 BATTERY_HILOGD(FEATURE_BATT_INFO, "pluggedType %{public}d", pluggedType); in GetPluggedType() 85 BATTERY_HILOGD(FEATURE_BATT_INFO, "voltage %{public}d", voltage); in GetVoltage() 98 BATTERY_HILOGD(FEATURE_BATT_INFO, "technology %{public}s", technologyStr); in GetTechnology() 109 BATTERY_HILOGD(FEATURE_BATT_INFO, "temperature %{public}d", temperature); in GetBatteryTemperature() 121 BATTERY_HILOGD(FEATURE_BATT_INFO, "present %{public}d", present); in GetBatteryPresent() 133 BATTERY_HILOGD(FEATURE_BATT_INFO, "curNow %{public}d", curNow); in GetBatteryNowCurrent() 144 BATTERY_HILOGD(FEATURE_BATT_INFO, "remainEnergy %{public}d", remainEnergy); in GetBatteryRemainEnergy() [all …]
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_service.cpp | 205 …BATTERY_HILOGD(FEATURE_BATT_INFO, "capacity=%{public}d, voltage=%{public}d, temperature=%{public}d… in HandleBatteryInfo() 402 BATTERY_HILOGD(FEATURE_BATT_INFO, "Enter"); in GetCapacity() 404 BATTERY_HILOGE(FEATURE_BATT_INFO, "iBatteryInterface_ is nullptr"); in GetCapacity() 413 BATTERY_HILOGD(FEATURE_BATT_INFO, "Enter"); in ChangePath() 415 BATTERY_HILOGE(FEATURE_BATT_INFO, "iBatteryInterface_ is nullptr"); in ChangePath() 424 BATTERY_HILOGD(FEATURE_BATT_INFO, "Enter"); in GetChargingStatus() 428 BATTERY_HILOGE(FEATURE_BATT_INFO, "iBatteryInterface_ is nullptr"); in GetChargingStatus() 438 BATTERY_HILOGD(FEATURE_BATT_INFO, "Enter"); in GetHealthStatus() 442 BATTERY_HILOGE(FEATURE_BATT_INFO, "iBatteryInterface_ is nullptr"); in GetHealthStatus() 455 BATTERY_HILOGE(FEATURE_BATT_INFO, "iBatteryInterface_ is nullptr"); in GetPluggedType() [all …]
|
D | battery_notify.cpp | 142 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish BATTERY_CHANGED event"); in PublishChangedEvent() 183 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher capacity=%{public}d", info.GetCapacity()); in PublishLowEvent() 186 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish battery_low event"); in PublishLowEvent() 212 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher capacity=%{public}d", info.GetCapacity()); in PublishOkayEvent() 215 BATTERY_HILOGD(FEATURE_BATT_INFO, "failed to publish battery_okay event"); in PublishOkayEvent() 242 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher pluggedtype=%{public}u", in PublishPowerConnectedEvent() 246 BATTERY_HILOGE(FEATURE_BATT_INFO, "failed to publish power_connected event"); in PublishPowerConnectedEvent() 274 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher pluggedtype=%{public}u", in PublishPowerDisconnectedEvent() 278 BATTERY_HILOGD(FEATURE_BATT_INFO, "failed to publish power_disconnected event"); in PublishPowerDisconnectedEvent() 305 BATTERY_HILOGD(FEATURE_BATT_INFO, "publisher chargeState=%{public}u", in PublishChargingEvent() [all …]
|
D | battery_dump.cpp | 33 BATTERY_HILOGE(FEATURE_BATT_INFO, "args cannot be empty or invalid"); in DumpBatteryHelp() 56 BATTERY_HILOGE(FEATURE_BATT_INFO, "timeinfo cannot be null"); in DumpCurrentTime() 68 BATTERY_HILOGE(FEATURE_BATT_INFO, "args cannot be empty or invalid"); in GetBatteryInfo()
|
D | battery_callback.cpp | 27 BATTERY_HILOGW(FEATURE_BATT_INFO, "eventCb_ is nullptr, cannot update battery info"); in Update()
|
/base/powermgr/battery_manager/utils/native/include/ |
D | battery_log.h | 62 FEATURE_BATT_INFO, enumerator
|