Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 15 of 15) sorted by relevance

/base/powermgr/battery_statistics/frameworks/napi/src/
Dbattery_stats_module.cpp45 BatteryStats stats(env); in GetBatteryStats() local
50 stats.StatsAsyncCallBack(argv[ARGV_IND_0]); in GetBatteryStats()
54 return stats.StatsPromise(); in GetBatteryStats()
59 BatteryStats stats(env); in GetAppStatsMah() local
60 return stats.GetAppStatsMah(info, MAX_ARGC, ARGV_IND_0); in GetAppStatsMah()
65 BatteryStats stats(env); in GetAppStatsPercent() local
66 return stats.GetAppStatsPercent(info, MAX_ARGC, ARGV_IND_0); in GetAppStatsPercent()
71 BatteryStats stats(env); in GetPartStatsMah() local
72 return stats.GetPartStatsMah(info, MAX_ARGC, ARGV_IND_0); in GetPartStatsMah()
77 BatteryStats stats(env); in GetPartStatsPercent() local
[all …]
/base/hiviewdfx/hilog/services/hilogd/include/
Dservice_controller.h66 void SendOverallStats(const LogStats& stats);
67 void SendLogTypeDomainStats(const LogStats& stats);
68 void SendDomainStats(const LogStats& stats);
69 void SendDomainTagStats(const LogStats& stats);
70 void SendProcStats(const LogStats& stats);
71 void SendProcLogTypeStats(const LogStats& stats);
72 void SendProcTagStats(const LogStats& stats);
Dlog_stats.h132 StatsEntry stats; member
141 StatsEntry stats[TypeNum]; member
Dlog_buffer.h81 LogStats stats; variable
/base/hiviewdfx/hilog/services/hilogd/
Dservice_controller.cpp171 void ServiceController::SendOverallStats(const LogStats& stats) in SendOverallStats() argument
174 const LogTypeDomainTable& ldTable = stats.GetDomainTable(); in SendOverallStats()
175 const PidTable& pTable = stats.GetPidTable(); in SendOverallStats()
176 const LogTimeStamp tsBegin = stats.GetBeginTs(); in SendOverallStats()
179 const LogTimeStamp monoBegin = stats.GetBeginMono(); in SendOverallStats()
184 stats.GetTotalLines(rsp.totalLines); in SendOverallStats()
185 stats.GetTotalLens(rsp.totalLens); in SendOverallStats()
199 void ServiceController::SendLogTypeDomainStats(const LogStats& stats) in SendLogTypeDomainStats() argument
201 const LogTypeDomainTable& ldTable = stats.GetDomainTable(); in SendLogTypeDomainStats()
239 void ServiceController::SendDomainStats(const LogStats& stats) in SendDomainStats() argument
[all …]
Dlog_stats.cpp138 UpdateStats(it->second.stats, info); in UpdateDomainTable()
141 StatsInfo2NewStatsEntry(info, entry.stats); in UpdateDomainTable()
158 UpdateStats(it->second.stats[info.type], info); in UpdatePidTable()
162 for (StatsEntry &e : entry.stats) { in UpdatePidTable()
165 entry.stats[info.type] = entry.statsAll; in UpdatePidTable()
263 it.second.stats.Print(); in Print()
277 for (auto &s : t.second.stats) { in Print()
Dlog_buffer.cpp381 stats.Count(info); in CountLog()
386 stats.Reset(); in ResetStats()
391 return stats; in GetStatsInfo()
/base/hiviewdfx/hilog/services/hilogtool/
Dlog_display.cpp149 return GetTotalLen(a.stats) > GetTotalLen(b.stats); in SortByLens()
188 PrintStats(dStats.stats); in HilogShowDomainStatsInfo()
201 PrintStats(tStats.stats); in HilogShowDomainStatsInfo()
245 PrintStats(pStats.stats); in HilogShowProcStatsInfo()
253 if (GetTotalLines(lStats.stats) == 0) { in HilogShowProcStatsInfo()
257 PrintStats(lStats.stats); in HilogShowProcStatsInfo()
268 PrintStats(tStats.stats); in HilogShowProcStatsInfo()
/base/hiviewdfx/hilog/frameworks/libhilog/include/
Dhilog_cmd.h186 StatsRsp stats; member
191 StatsRsp stats; member
204 StatsRsp stats; member
210 StatsRsp stats; member
/base/security/selinux_adapter/sepolicy/ohos_policy/powermgr/battery_statistics/system/
Dfoundation.te21 #avc: denied { open } for pid=520 comm="foundation" path="/data/service/el0/stats/battery_stats.…
28 #avc: denied { write } for pid=520 comm="CesFwkListener" name="stats" dev="mmcblk0p11" ino=197 s…
34 #avc: denied { ioctl } for pid=520 comm="CesFwkListener" path="/data/service/el0/stats/battery_s…
/base/web/webview/ohos_nweb/src/
Dnweb_helper.cpp132 struct stat stats; in DoPreReadLib() local
133 int ret = stat(tempPath, &stats); in DoPreReadLib()
153 int readCnt = stats.st_size / SINGLE_READ_SIZE; in DoPreReadLib()
154 if (readCnt * SINGLE_READ_SIZE < stats.st_size) { in DoPreReadLib()
/base/security/selinux_adapter/sepolicy/base/system/
Dvirtfs_contexts106 genfscon debugfs /binder/stats u:object_r:debugfs_stats:s0
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/
Dlast_kmsg830 …][ERROR][init_common_cmds.c:377]Failed to change mode " /proc/net/xt_qtaguid/stats " to 0440, err=2
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/
Dlast_kmsg830 …][ERROR][init_common_cmds.c:377]Failed to change mode " /proc/net/xt_qtaguid/stats " to 0440, err=2
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/
Dlast_kmsg830 …][ERROR][init_common_cmds.c:377]Failed to change mode " /proc/net/xt_qtaguid/stats " to 0440, err=2