Home
last modified time | relevance | path

Searched refs:STATS_HILOGE (Results 1 – 17 of 17) sorted by relevance

/base/powermgr/battery_statistics/services/native/src/entities/
Dbattery_stats_entity.cpp26 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 …]
Duid_entity.cpp329 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()
339STATS_HILOGE(COMP_SVC, "Failed to get bundle name for uid=%{public}d, ErrCode=%{public}d", in DumpInfo()
Dcpu_entity.cpp55 STATS_HILOGE(COMP_SVC, "Update CPU time failed"); in UpdateCpuTime()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/
Dstats_service_test_proxy.cpp47 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/
Dbattery_stats_proxy.cpp40 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 …]
Dbattery_stats_stub.cpp45 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/
Dstats_common.h32 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"); \
Dstats_log.h33 #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/
Dbattery_stats_service.cpp61 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()
Dbattery_stats_parser.cpp45 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()
Dbattery_stats_subscriber.cpp39 STATS_HILOGE(COMP_SVC, "Battery stats service is null"); in OnReceiveEvent()
Dbattery_stats_detector.cpp44 STATS_HILOGE(COMP_SVC, "Get battery stats service failed"); in HandleStatsChangedEvent()
Dbattery_stats_core.cpp906 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()
Dcpu_time_reader.cpp61 STATS_HILOGE(COMP_SVC, "No related CPU info for uid: %{public}d", uid); in DumpInfo()
Dbattery_stats_listener.cpp613 STATS_HILOGE(COMP_SVC, "Service disconnected"); in OnServiceDied()
/base/powermgr/battery_statistics/frameworks/native/src/
Dbattery_stats_client.cpp42 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/
Dstats_helper.cpp36 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()