/base/powermgr/battery_statistics/frameworks/napi/src/ |
D | battery_stats_module.cpp | 45 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/ |
D | service_controller.h | 66 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);
|
D | log_stats.h | 132 StatsEntry stats; member 141 StatsEntry stats[TypeNum]; member
|
D | log_buffer.h | 81 LogStats stats; variable
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | service_controller.cpp | 171 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 …]
|
D | log_stats.cpp | 138 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()
|
D | log_buffer.cpp | 381 stats.Count(info); in CountLog() 386 stats.Reset(); in ResetStats() 391 return stats; in GetStatsInfo()
|
/base/hiviewdfx/hilog/services/hilogtool/ |
D | log_display.cpp | 149 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/ |
D | hilog_cmd.h | 186 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/ |
D | foundation.te | 21 #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/ |
D | nweb_helper.cpp | 132 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/ |
D | virtfs_contexts | 106 genfscon debugfs /binder/stats u:object_r:debugfs_stats:s0
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/ |
D | last_kmsg | 830 …][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/ |
D | last_kmsg | 830 …][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/ |
D | last_kmsg | 830 …][ERROR][init_common_cmds.c:377]Failed to change mode " /proc/net/xt_qtaguid/stats " to 0440, err=2
|