/base/powermgr/thermal_manager/services/zidl/src/ |
H A D | thermal_srv_proxy.cpp | 31 THERMAL_HILOGD(COMP_FWK, "Enter"); in SubscribeThermalTempCallback() 40 THERMAL_HILOGE(COMP_FWK, "write descriptor failed!"); in SubscribeThermalTempCallback() 51 THERMAL_HILOGE(COMP_FWK, "SendRequest is failed, error code: %{public}d", ret); in SubscribeThermalTempCallback() 59 THERMAL_HILOGD(COMP_FWK, "Enter"); in UnSubscribeThermalTempCallback() 68 THERMAL_HILOGE(COMP_FWK, "write descriptor failed!"); in UnSubscribeThermalTempCallback() 78 THERMAL_HILOGE(COMP_FWK, "SendRequest is failed, error code: %{public}d", ret); in UnSubscribeThermalTempCallback() 86 THERMAL_HILOGD(COMP_FWK, "Enter"); in SubscribeThermalLevelCallback() 95 THERMAL_HILOGE(COMP_FWK, "write descriptor failed!"); in SubscribeThermalLevelCallback() 105 THERMAL_HILOGE(COMP_FWK, "SendRequest is failed, error code: %{public}d", ret); in SubscribeThermalLevelCallback() 113 THERMAL_HILOGD(COMP_FWK, "Ente in UnSubscribeThermalLevelCallback() [all...] |
H A D | thermal_level_callback_proxy.cpp | 34 THERMAL_HILOGE(COMP_FWK, "ThermalLevelCallbackProxy::OnThermalLevelChanged write descriptor failed!"); in OnThermalLevelChanged() 43 THERMAL_HILOGE(COMP_FWK, "SendRequest is failed, error code: %{public}d", ret); in OnThermalLevelChanged()
|
H A D | thermal_temp_callback_proxy.cpp | 38 THERMAL_HILOGE(COMP_FWK, "write descriptor failed!"); in OnThermalTempChanged() 55 THERMAL_HILOGE(COMP_FWK, "SendRequest is failed, error code: %{public}d", ret); in OnThermalTempChanged()
|
H A D | thermal_action_callback_proxy.cpp | 38 THERMAL_HILOGE(COMP_FWK, "write descriptor failed!"); in OnThermalActionChanged() 54 THERMAL_HILOGE(COMP_FWK, "SendRequest is failed, error code: %{public}d", ret); in OnThermalActionChanged()
|
/base/powermgr/battery_statistics/frameworks/native/src/ |
H A D | battery_stats_info.cpp | 25 STATS_RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(COMP_FWK, parcel, Int32, uid_, false); in Marshalling() 26 STATS_RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(COMP_FWK, parcel, Int32, static_cast<int32_t>(type_), false); in Marshalling() 27 STATS_RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(COMP_FWK, parcel, Double, totalPowerMah_, false); in Marshalling() 28 STATS_HILOGD(COMP_FWK, "uid: %{public}d, type: %{public}d, power: %{public}lf", uid_, type_, totalPowerMah_); in Marshalling() 36 STATS_HILOGW(COMP_FWK, "BatteryStatsInfo object creation failed"); in Unmarshalling() 40 STATS_HILOGW(COMP_FWK, "Read from parcel failed"); in Unmarshalling() 48 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, parcel, Int32, uid_, false); in ReadFromParcel() 50 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, parcel, Int32, type, false); in ReadFromParcel() 52 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, parcel, Double, totalPowerMah_, false); in ReadFromParcel() 53 STATS_HILOGD(COMP_FWK, "ui in ReadFromParcel() [all...] |
H A D | battery_stats_client.cpp | 42 STATS_HILOGE(COMP_FWK, "Fail to get registry"); in Connect() 47 STATS_HILOGE(COMP_FWK, "Get batterystats service failed"); in Connect() 68 STATS_HILOGE(COMP_FWK, "OnRemoteDied failed, remote is nullptr"); in OnRemoteDied() 72 STATS_HILOGI(COMP_FWK, "Receive death notification"); in OnRemoteDied() 77 STATS_HILOGD(COMP_FWK, "Call GetBatteryStats"); in GetBatteryStats() 89 STATS_HILOGD(COMP_FWK, "Call GetAppStatsMah"); in GetAppStatsMah() 101 STATS_HILOGD(COMP_FWK, "Call SetOnBattery"); in SetOnBattery() 108 STATS_HILOGD(COMP_FWK, "Call GetAppStatsPercent"); in GetAppStatsPercent() 120 STATS_HILOGD(COMP_FWK, "Call GetPartStatsMah"); in GetPartStatsMah() 132 STATS_HILOGD(COMP_FWK, "Cal in GetPartStatsPercent() [all...] |
/base/powermgr/battery_statistics/services/zidl/src/ |
H A D | battery_stats_proxy.cpp | 30 STATS_HILOGD(COMP_FWK, "Enter");
in GetBatteryStats() 40 STATS_HILOGE(COMP_FWK, "Write descriptor failed");
in GetBatteryStats() 48 STATS_HILOGE(COMP_FWK, "Send request is failed, error code: %{public}d", ret);
in GetBatteryStats() 58 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, reply, Int32, error, infoList);
in GetBatteryStats() 65 STATS_HILOGD(COMP_FWK, "Enter");
in GetTotalTimeSecond() 74 STATS_HILOGE(COMP_FWK, "Write descriptor failed");
in GetTotalTimeSecond() 79 STATS_RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(COMP_FWK, data, Int32, static_cast<int32_t>(statsType),
in GetTotalTimeSecond() 81 STATS_RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(COMP_FWK, data, Int32, uid, StatsUtils::DEFAULT_VALUE);
in GetTotalTimeSecond() 87 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret);
in GetTotalTimeSecond() 90 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, repl in GetTotalTimeSecond() [all...] |
/base/powermgr/display_manager/state_manager/service/zidl/src/ |
H A D | display_power_mgr_proxy.cpp | 38 DISPLAY_HILOGE(COMP_FWK, "write descriptor failed!"); in SetDisplayState() 50 DISPLAY_HILOGE(COMP_FWK, "SendRequest is failed, error code: %d", ret); in SetDisplayState() 55 DISPLAY_HILOGE(COMP_FWK, "Readback fail!"); in SetDisplayState() 73 DISPLAY_HILOGE(COMP_FWK, "write descriptor failed!"); in GetDisplayState() 83 DISPLAY_HILOGE(COMP_FWK, "SendRequest is failed, error code: %d", ret); in GetDisplayState() 88 DISPLAY_HILOGE(COMP_FWK, "Readback fail!"); in GetDisplayState() 108 DISPLAY_HILOGE(COMP_FWK, "write descriptor failed!"); in GetDisplayIds() 116 DISPLAY_HILOGE(COMP_FWK, "SendRequest is failed, error code: %d", ret); in GetDisplayIds() 121 DISPLAY_HILOGE(COMP_FWK, "Readback fail!"); in GetDisplayIds() 130 DISPLAY_HILOGE(COMP_FWK, "rea in GetDisplayIds() [all...] |
H A D | display_power_callback_proxy.cpp | 37 DISPLAY_HILOGE(COMP_FWK, "write descriptor failed!"); in OnDisplayStateChanged() 49 DISPLAY_HILOGE(COMP_FWK, "SendRequest is failed, error code: %d", ret); in OnDisplayStateChanged()
|
H A D | display_brightness_callback_proxy.cpp | 37 DISPLAY_HILOGE(COMP_FWK, "write descriptor failed!"); in OnNotifyApsLightBrightnessChange() 48 DISPLAY_HILOGE(COMP_FWK, "SendRequest is failed, error code: %d", ret); in OnNotifyApsLightBrightnessChange()
|
/base/powermgr/thermal_manager/frameworks/native/ |
H A D | thermal_mgr_client.cpp | 47 THERMAL_HILOGE(COMP_FWK, "Failed to get Registry!"); in Connect() 53 THERMAL_HILOGE(COMP_FWK, "GetSystemAbility failed!"); in Connect() 59 THERMAL_HILOGE(COMP_FWK, "Failed to create ThermalMgrDeathRecipient!"); in Connect() 64 THERMAL_HILOGE(COMP_FWK, "Add death recipient to PowerMgr service failed."); in Connect() 70 THERMAL_HILOGI(COMP_FWK, "Connecting ThermalMgrService success."); in Connect() 76 THERMAL_HILOGW(COMP_FWK, "ThermalMgrDeathRecipient::Recv death notice."); in OnRemoteDied() 83 THERMAL_HILOGE(COMP_FWK, "ThermalMgrDeathRecipient::OnRemoteDied failed, remote is nullptr."); in ResetProxy() 101 THERMAL_HILOGD(COMP_FWK, "Enter"); in SubscribeThermalTempCallback() 109 THERMAL_HILOGD(COMP_FWK, "Enter"); in UnSubscribeThermalTempCallback() 117 THERMAL_HILOGD(COMP_FWK, "Ente in SubscribeThermalLevelCallback() [all...] |
H A D | thermal_mgr_listener.cpp | 26 THERMAL_HILOGE(COMP_FWK, "listener is null!"); in OnThermalLevelChanged() 36 THERMAL_HILOGI(COMP_FWK, "register listener for thermal level"); in RegisterServiceEvent() 42 THERMAL_HILOGI(COMP_FWK, "unregister listener"); in UnRegisterServiceEvent() 49 THERMAL_HILOGE(COMP_FWK, "level event is null!"); in SubscribeLevelEvent() 60 THERMAL_HILOGE(COMP_FWK, "callback is null!"); in UnSubscribeLevelEvent()
|
/base/powermgr/power_manager/frameworks/native/ |
H A D | client_lifecycle.cpp | 36 POWER_HILOGE(COMP_FWK, "Failed to connect PowerMgrService"); in GetProxy() 50 POWER_HILOGE(COMP_FWK, "Failed to obtain SystemAbilityMgr"); in Connect() 55 POWER_HILOGE(COMP_FWK, "Check SystemAbility failed"); in Connect() 61 POWER_HILOGE(COMP_FWK, "Failed to create LifeCycleRecipient"); in Connect() 65 POWER_HILOGE(COMP_FWK, "Add death recipient to PowerMgr service failed"); in Connect() 70 POWER_HILOGI(COMP_FWK, "Connecting PowerMgrService success, pid=%{public}d", getpid()); in Connect() 90 POWER_HILOGW(COMP_FWK, "OnRemoteDied failed, remote is nullptr"); in OnRemoteDied() 95 POWER_HILOGW(COMP_FWK, "Recv death notice"); in OnRemoteDied()
|
H A D | power_mgr_client.cpp | 84 POWER_HILOGE(COMP_FWK, "Failed to obtain SystemAbilityMgr"); in Connect() 89 POWER_HILOGE(COMP_FWK, "Check SystemAbility failed"); in Connect() 95 POWER_HILOGE(COMP_FWK, "Failed to create PowerMgrDeathRecipient"); in Connect() 99 POWER_HILOGE(COMP_FWK, "Add death recipient to PowerMgr service failed"); in Connect() 105 POWER_HILOGI(COMP_FWK, "Connecting PowerMgrService success, pid=%{public}d", getpid()); in Connect() 111 POWER_HILOGW(COMP_FWK, "Recv death notice, PowerMgr Death"); in OnRemoteDied() 121 POWER_HILOGI(COMP_FWK, "retry connect success, count %{public}d", retryCount); in OnRemoteDied() 124 POWER_HILOGI(COMP_FWK, "retry connect failed, count %{public}d", retryCount); in OnRemoteDied() 136 POWER_HILOGI(COMP_FWK, "start to recover running locks"); in RecoverRunningLocks() 152 POWER_HILOGE(COMP_FWK, "OnRemoteDie in ResetProxy() [all...] |
/base/powermgr/thermal_manager/test/common/src/ |
H A D | mock_thermal_mgr_client.cpp | 47 THERMAL_HILOGE(COMP_FWK, "Failed to get Registry!"); in Connect() 53 THERMAL_HILOGE(COMP_FWK, "GetSystemAbility failed!"); in Connect() 59 THERMAL_HILOGE(COMP_FWK, "Failed to create ThermalMgrDeathRecipient!"); in Connect() 64 THERMAL_HILOGE(COMP_FWK, "Add death recipient to PowerMgr service failed."); in Connect() 69 THERMAL_HILOGI(COMP_FWK, "Connecting ThermalMgrService success."); in Connect() 88 THERMAL_HILOGE(COMP_FWK, "ThermalMgrDeathRecipient::OnRemoteDied failed, remote is nullptr."); in OnRemoteDied() 93 THERMAL_HILOGI(COMP_FWK, "ThermalMgrDeathRecipient::Recv death notice."); in OnRemoteDied() 101 THERMAL_HILOGD(COMP_FWK, "Calling GetThermalInfo Success"); in GetThermalInfo()
|
/base/powermgr/power_manager/utils/native/include/ |
H A D | power_common.h | 32 POWER_HILOGE(COMP_FWK, #loginfo); \ 40 POWER_HILOGE(COMP_FWK, "read "#out" failed"); \ 48 POWER_HILOGE(COMP_FWK, "write "#data" failed"); \ 56 POWER_HILOGE(COMP_FWK, "read "#out" failed"); \ 64 POWER_HILOGE(COMP_FWK, "write data failed"); \
|
/base/powermgr/thermal_manager/utils/native/include/ |
H A D | thermal_common.h | 33 THERMAL_HILOGE(COMP_FWK, #loginfo); \ 41 THERMAL_HILOGE(COMP_FWK, "read "#out" failed"); \ 49 THERMAL_HILOGE(COMP_FWK, "write "#data" failed"); \ 57 THERMAL_HILOGE(COMP_FWK, "read "#out" failed"); \ 65 THERMAL_HILOGE(COMP_FWK, "write "#data" failed"); \
|
/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"); \
|
/base/powermgr/power_manager/frameworks/napi/utils/ |
H A D | napi_utils.cpp | 29 POWER_HILOGW(COMP_FWK, "Failed to get the input parameter"); in GetCallbackInfo() 39 POWER_HILOGW(COMP_FWK, "napi_get_value_string_utf8 failed"); in GetStringFromNapi() 49 POWER_HILOGW(COMP_FWK, "Failed to create a value reference"); in CreateReference() 68 POWER_HILOGW(COMP_FWK, "Parameter type error"); in CheckValueType()
|
/base/powermgr/thermal_manager/frameworks/napi/ |
H A D | thermal_manager_napi.cpp | 45 THERMAL_HILOGW(COMP_FWK, "Failed to create a JS callback reference"); in UpdateCallback() 76 THERMAL_HILOGD(COMP_FWK, "uv_queue_work callback function is called"); in OnThermalLevelChanged() 90 THERMAL_HILOGW(COMP_FWK, "uv_queue_work is failed"); in OnThermalLevelChanged() 98 THERMAL_HILOGD(COMP_FWK, "level is: %{public}d", static_cast<int32_t>(level_)); in OnThermalLevel() 104 THERMAL_HILOGW(COMP_FWK, "scope is nullptr"); in OnThermalLevel() 110 THERMAL_HILOGW(COMP_FWK, "napi_create_int32 callback failed"); in OnThermalLevel() 118 THERMAL_HILOGE(COMP_FWK, "napi_get_reference_value callback failed, status = %{public}d", status); in OnThermalLevel() 126 THERMAL_HILOGE(COMP_FWK, "napi_call_function callback failed, status = %{public}d", status); in OnThermalLevel() 196 THERMAL_HILOGI(COMP_FWK, "EnumThermalLevelConstructor %{public}d", status); in EnumThermalLevelConstructor() 210 THERMAL_HILOGI(COMP_FWK, "leve in GetThermalLevel() [all...] |
/base/powermgr/battery_manager/frameworks/native/src/ |
H A D | battery_srv_client.cpp | 43 BATTERY_HILOGE(COMP_FWK, "Failed to get Registry"); in Connect() 48 BATTERY_HILOGE(COMP_FWK, "GetSystemAbility failed"); in Connect() 53 BATTERY_HILOGE(COMP_FWK, "Failed to create BatterySrvDeathRecipient"); in Connect() 57 BATTERY_HILOGE(COMP_FWK, "Add death recipient to BatterySrv failed"); in Connect() 63 BATTERY_HILOGI(COMP_FWK, "Connecting PowerMgrService success, pid=%{public}d", getpid()); in Connect() 70 BATTERY_HILOGE(COMP_FWK, "OnRemoteDied failed, remote is nullptr"); in ResetProxy() 85 BATTERY_HILOGW(COMP_FWK, "Recv death notice, BateryService Died"); in OnRemoteDied()
|
/base/powermgr/display_manager/state_manager/frameworks/napi/ |
H A D | brightness.cpp | 97 DISPLAY_HILOGW(COMP_FWK, "Failed to get the input number");
in SetValue() 140 DISPLAY_HILOGD(COMP_FWK, "Set auto brightness");
in SetMode() 158 DISPLAY_HILOGD(COMP_FWK, "Set keep screen on");
in SetKeepScreenOn() 179 DISPLAY_HILOGW(COMP_FWK, "Failed to get the input parameter");
in GetCallbackInfo() 184 DISPLAY_HILOGW(COMP_FWK, "parameter %{public}u is invalid", index);
in GetCallbackInfo() 226 DISPLAY_HILOGW(COMP_FWK, "Error message, code: %{public}d, msg: %{public}s", code_, msg_.c_str());
in Error() 232 DISPLAY_HILOGW(COMP_FWK, "error is null");
in GetError() 267 DISPLAY_HILOGW(COMP_FWK, "throw error code: %{public}d, msg: %{public}s,", code_, msg.c_str());
in GetError() 329 DISPLAY_HILOGD(COMP_FWK, "Keep screen on, keep: %{public}d, isUsed: %{public}d", keep, runningLock->IsUsed());
343 DISPLAY_HILOGD(COMP_FWK, "Cal in ExecuteCallback() [all...] |
/base/powermgr/power_manager/services/zidl/src/ |
H A D | power_mgr_async_reply.cpp | 23 POWER_HILOGI(COMP_FWK, "code=%{public}u, flags=%{public}d", code, option.GetFlags());
in OnRemoteRequest() 27 POWER_HILOGE(COMP_FWK, "Descriptor is not matched");
in OnRemoteRequest() 71 POWER_HILOGE(COMP_FWK, "Write descriptor failed");
in SendAsyncReply()
|
/base/powermgr/battery_statistics/frameworks/napi/src/ |
H A D | napi_utils.cpp | 26 STATS_HILOGW(COMP_FWK, "Failed to get the input parameter"); in GetCallbackInfo() 34 STATS_HILOGW(COMP_FWK, "Failed to create a value reference"); in CreateReference() 53 STATS_HILOGW(COMP_FWK, "Parameter type error"); in CheckValueType()
|
H A D | async_callback_info.cpp | 28 STATS_HILOGW(COMP_FWK, "Failed to get a callback reference"); in CallFunction() 35 STATS_HILOGW(COMP_FWK, "Failed to call the callback function"); in CallFunction() 52 STATS_HILOGW(COMP_FWK, "napi_create_promise failure"); in CreatePromise() 80 STATS_HILOGW(COMP_FWK, "napi creates array error"); in CreateArrayValue()
|