/base/powermgr/battery_statistics/services/native/src/entities/ |
D | battery_stats_entity.cpp | 26 STATS_HILOGE(COMP_SVC, "No need to add app power to related user"); in AggregateUserPowerMah() 31 STATS_HILOGE(COMP_SVC, "No need to calculate"); in Calculate() 36 STATS_HILOGE(COMP_SVC, "No need to get traffic"); in GetTrafficByte() 42 STATS_HILOGE(COMP_SVC, "No need to consumption count"); in GetConsumptionCount() 58 STATS_HILOGE(COMP_SVC, "No need to get active time, return 0"); in GetActiveTimeMs() 64 STATS_HILOGE(COMP_SVC, "No need to get active time, return 0"); in GetActiveTimeMs() 70 STATS_HILOGE(COMP_SVC, "No need to dump"); in DumpInfo() 75 STATS_HILOGE(COMP_SVC, "No need to update uid"); in UpdateUidMap() 80 STATS_HILOGE(COMP_SVC, "No need to get uids"); in GetUids() 87 STATS_HILOGE(COMP_SVC, "No need to get cpu time, return 0"); in GetCpuTimeMs() [all …]
|
D | uid_entity.cpp | 329 STATS_HILOGE(COMP_SVC, "Failed to get bundle manager service"); in DumpInfo() 333 STATS_HILOGE(COMP_SVC, "Failed to get bundle manager proxy"); in DumpInfo() 339 … STATS_HILOGE(COMP_SVC, "Failed to get bundle name for uid: %{public}d", iter.first); in DumpInfo()
|
D | cpu_entity.cpp | 55 STATS_HILOGE(COMP_SVC, "Update CPU time failed"); in UpdateCpuTime()
|
/base/powermgr/battery_statistics/services/zidl/src/ |
D | battery_stats_proxy.cpp | 39 STATS_HILOGE(COMP_FWK, "Write descriptor failed"); in GetBatteryStats() 46 STATS_HILOGE(COMP_FWK, "Send request is failed, error code: %{public}d", ret); in GetBatteryStats() 69 STATS_HILOGE(COMP_FWK, "Write descriptor failed"); in GetTotalTimeSecond() 79 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret); in GetTotalTimeSecond() 97 STATS_HILOGE(COMP_FWK, "Write descriptor failed"); in GetTotalDataBytes() 107 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret); in GetTotalDataBytes() 125 STATS_HILOGE(COMP_FWK, "Write descriptor failed"); in GetAppStatsMah() 133 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret); in GetAppStatsMah() 152 STATS_HILOGE(COMP_FWK, "Write descriptor failed"); in SetOnBattery() 160 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret); in SetOnBattery() [all …]
|
D | battery_stats_stub.cpp | 43 STATS_HILOGE(COMP_SVC, "Remote request failed, descriptor is not matched"); in OnRemoteRequest() 111 STATS_HILOGE(COMP_SVC, "Write size failed"); in GetBatteryStatsStub() 132 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetTotalTimeSecondStub() 146 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetTotalDataBytesStub() 158 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetAppStatsMahStub() 170 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetAppStatsPercentStub() 183 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetPartStatsMahStub() 196 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetPartStatsPercentStub() 223 STATS_HILOGE(COMP_SVC, "Readback fail"); in ShellDumpStub() 243 STATS_HILOGE(COMP_SVC, "Dump Writeback Fail"); in ShellDumpStub()
|
/base/powermgr/battery_statistics/utils/native/include/ |
D | stats_common.h | 32 STATS_HILOGE(loglabel, ""#loginfo""); \ 40 STATS_HILOGE(loglabel, "Read "#out" failed"); \ 48 STATS_HILOGE(loglabel, "Write "#data" failed"); \ 56 STATS_HILOGE(loglabel, "Read "#out" failed"); \ 64 STATS_HILOGE(loglabel, "Write "#data" failed"); \
|
D | stats_log.h | 33 #ifdef STATS_HILOGE 34 #undef STATS_HILOGE 93 #define STATS_HILOGE(domain, ...) (void)OHOS::HiviewDFX::HiLog::Error(STATS_LABEL[domain], FORMAT(_… macro 103 #define STATS_HILOGE(...) macro
|
/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_service.cpp | 57 STATS_HILOGE(COMP_SVC, "Call init failed"); in OnStart() 63 STATS_HILOGE(COMP_SVC, "OnStart register to system ability manager failed"); in OnStart() 81 STATS_HILOGE(COMP_SVC, "OnStart unregister to commonevent manager failed"); in OnStop() 102 STATS_HILOGE(COMP_SVC, "Battery stats parser initialization failed"); in Init() 110 STATS_HILOGE(COMP_SVC, "Battery stats core initialization failed"); in Init() 122 STATS_HILOGE(COMP_SVC, "Create EventRunner failed"); in Init() 130 STATS_HILOGE(COMP_SVC, "Create EventHandler failed"); in Init() 152 STATS_HILOGE(COMP_SVC, "Subscribe CommonEvent failed"); in SubscribeCommonEvent() 170 STATS_HILOGE(COMP_SVC, "Listener added failed"); in AddHiSysEventListener() 204 STATS_HILOGE(COMP_SVC, "Dump save to fd failed, %{public}s", result.c_str()); in Dump()
|
D | battery_stats_parser.cpp | 34 STATS_HILOGE(COMP_SVC, "Failed to load vendor average power file"); in Init() 36 STATS_HILOGE(COMP_SVC, "Failed to load system average power file"); in Init() 63 STATS_HILOGE(COMP_SVC, "Json file doesn't exist"); in LoadAveragePowerFromFile() 67 STATS_HILOGE(COMP_SVC, "Failed to parse the JSON file"); in LoadAveragePowerFromFile()
|
D | battery_stats_subscriber.cpp | 39 STATS_HILOGE(COMP_SVC, "Battery stats service is null"); in OnReceiveEvent()
|
D | battery_stats_detector.cpp | 44 STATS_HILOGE(COMP_SVC, "Get battery stats service failed"); in HandleStatsChangedEvent()
|
D | battery_stats_core.cpp | 904 STATS_HILOGE(COMP_SVC, "Opening json file failed"); in SaveBatteryStatsData() 919 STATS_HILOGE(COMP_SVC, "Json file doesn't exist"); in LoadBatteryStatsData() 923 STATS_HILOGE(COMP_SVC, "Failed to parse the JSON file"); in LoadBatteryStatsData()
|
D | cpu_time_reader.cpp | 61 STATS_HILOGE(COMP_SVC, "No related CPU info for uid: %{public}d", uid); in DumpInfo()
|
D | battery_stats_listener.cpp | 592 STATS_HILOGE(COMP_SVC, "Service disconnected"); in OnServiceDied()
|
/base/powermgr/battery_statistics/frameworks/native/src/ |
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()
|
/base/powermgr/battery_statistics/utils/native/src/ |
D | stats_helper.cpp | 36 STATS_HILOGE(COMP_SVC, "Get boot time failed, return default time"); in GetBootTimeMs() 51 STATS_HILOGE(COMP_SVC, "Get up time failed, return default time"); in GetUpTimeMs()
|