/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, ErrCode=%{public}d", in DumpInfo()
|
D | cpu_entity.cpp | 55 STATS_HILOGE(COMP_SVC, "Update CPU time failed"); in UpdateCpuTime()
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/ |
D | stats_service_test_proxy.cpp | 47 STATS_HILOGE(LABEL_TEST, "Write descriptor failed"); in GetBatteryStats() 55 STATS_HILOGE(LABEL_TEST, "Send request is failed, error code: %{public}d", ret); in GetBatteryStats() 76 STATS_HILOGE(LABEL_TEST, "Write descriptor failed"); in GetTotalTimeSecond() 88 STATS_HILOGE(LABEL_TEST, "Transact is failed, error code: %{public}d", ret); in GetTotalTimeSecond() 104 STATS_HILOGE(LABEL_TEST, "Write descriptor failed"); in GetTotalDataBytes() 116 STATS_HILOGE(LABEL_TEST, "Transact is failed, error code: %{public}d", ret); in GetTotalDataBytes() 132 STATS_HILOGE(LABEL_TEST, "Write descriptor failed"); in GetAppStatsMah() 142 STATS_HILOGE(LABEL_TEST, "Transact is failed, error code: %{public}d", ret); in GetAppStatsMah() 159 STATS_HILOGE(LABEL_TEST, "Write descriptor failed"); in SetOnBattery() 169 STATS_HILOGE(LABEL_TEST, "Transact is failed, error code: %{public}d", ret); in SetOnBattery() [all …]
|
/base/powermgr/battery_statistics/services/zidl/src/ |
D | battery_stats_proxy.cpp | 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() 74 STATS_HILOGE(COMP_FWK, "Write descriptor failed"); in GetTotalTimeSecond() 86 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret); in GetTotalTimeSecond() 104 STATS_HILOGE(COMP_FWK, "Write descriptor failed"); in GetTotalDataBytes() 116 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret); in GetTotalDataBytes() 134 STATS_HILOGE(COMP_FWK, "Write descriptor failed"); in GetAppStatsMah() 144 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret); in GetAppStatsMah() 166 STATS_HILOGE(COMP_FWK, "Write descriptor failed"); in SetOnBattery() 176 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret); in SetOnBattery() [all …]
|
D | battery_stats_stub.cpp | 45 STATS_HILOGE(COMP_SVC, "Remote request failed, descriptor is not matched"); in OnRemoteRequest() 113 STATS_HILOGE(COMP_SVC, "Write size failed"); in GetBatteryStatsStub() 136 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetTotalTimeSecondStub() 150 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetTotalDataBytesStub() 162 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetAppStatsMahStub() 176 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetAppStatsPercentStub() 191 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetPartStatsMahStub() 206 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetPartStatsPercentStub() 235 STATS_HILOGE(COMP_SVC, "Readback fail"); in ShellDumpStub() 255 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 | 61 STATS_HILOGE(COMP_SVC, "Call init failed"); in OnStart() 67 STATS_HILOGE(COMP_SVC, "OnStart register to system ability manager failed"); in OnStart() 86 STATS_HILOGE(COMP_SVC, "OnStart unregister to commonevent manager failed"); in OnStop() 116 STATS_HILOGE(COMP_SVC, "Battery stats parser initialization failed"); in Init() 124 STATS_HILOGE(COMP_SVC, "Battery stats core initialization failed"); in Init() 151 STATS_HILOGE(COMP_SVC, "Subscribe CommonEvent failed"); in SubscribeCommonEvent() 169 STATS_HILOGE(COMP_SVC, "Listener added failed"); in AddHiSysEventListener() 211 STATS_HILOGE(COMP_SVC, "Dump save to fd failed, %{public}s", result.c_str()); in Dump()
|
D | battery_stats_parser.cpp | 45 STATS_HILOGE(COMP_SVC, "Failed to load vendor average power file"); in Init() 47 STATS_HILOGE(COMP_SVC, "Failed to load system average power file"); in Init() 74 STATS_HILOGE(COMP_SVC, "Json file doesn't exist"); in LoadAveragePowerFromFile() 78 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 | 906 STATS_HILOGE(COMP_SVC, "Opening json file failed"); in SaveBatteryStatsData() 921 STATS_HILOGE(COMP_SVC, "Json file doesn't exist"); in LoadBatteryStatsData() 925 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 | 613 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()
|