/ohos5.0/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/ |
H A D | net_stats_cached_test.cpp | 62 instance_->stats_.PushUidStats(info); 63 instance_->stats_.PushIfaceStats(info); 64 if (instance_->stats_.GetUidStatsInfo().empty()) { 75 instance_->stats_.ResetUidStats(); 76 instance_->stats_.ResetIfaceStats(); 107 instance_->stats_.currentIfaceStats_ = 0; 112 instance_->stats_.currentIfaceStats_ = 0; 122 instance_->stats_.currentUidStats_ = 0; 127 instance_->stats_.currentUidStats_ = 0; 137 instance_->stats_.currentUidSimStats_ = 0; [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/utils/ |
H A D | js_heap_stats_dumper.cpp | 24 : stats_(), writer_(QDir::currentPath() + "/dump_heap.txt") in JSHeapStatsDumper() 26 if (memset_s(&stats_, sizeof(stats_), 0, sizeof(stats_)) != 0) { in JSHeapStatsDumper() 47 return stats.allocBytes != stats_.allocBytes || stats.peakAllocBytes != stats_.peakAllocBytes; in HasChanged() 59 stats_.allocBytes = stats.allocBytes; in UpdateStats() 60 stats_.peakAllocBytes = stats.peakAllocBytes; in UpdateStats() 61 stats_.totalBytes = stats.totalBytes; in UpdateStats()
|
H A D | js_heap_stats_dumper.h | 38 JSHeapStatus stats_; variable
|
/ohos5.0/foundation/communication/netmanager_base/services/netstatsmanager/src/ |
H A D | net_stats_cached.cpp | 73 …uidStatsInfo.insert(uidStatsInfo.end(), stats_.GetUidStatsInfo().begin(), stats_.GetUidStatsInfo()… in GetUidStatsCached() 79 std::transform(stats_.GetUidSimStatsInfo().begin(), stats_.GetUidSimStatsInfo().end(), in GetUidSimStatsCached() 213 stats_.PushUidStats(info); in CacheUidStats() 235 stats_.PushUidStats(item); in CacheAppStats() 273 stats_.PushUidSimStats(info); in CacheUidSimStats() 335 stats_.ResetIfaceStats(); in WriteIfaceStats() 343 …std::for_each(stats_.GetUidStatsInfo().begin(), stats_.GetUidStatsInfo().end(), [this](NetStatsInf… in WriteUidStats() 351 stats_.ResetUidStats(); in WriteUidStats() 368 stats_.ResetUidSimStats(); in WriteUidSimStats() 412 stats_.ResetUidStats(uid); in ForceDeleteStats() [all …]
|
/ohos5.0/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/lite/ |
H A D | stream_tunnel.cpp | 68 stats_.RequestBufferResult(sb); in GetBuffer() 75 stats_.CancelBufferResult(ret); in GetBuffer() 132 stats_.FlushBufferResult(ret); in PutBuffer() 136 stats_.CancelBufferResult(ret); in PutBuffer() 198 stats_.DumpStats(interval); in DumpStats() 204 stats_.SetStreamId(streamId); in SetStreamId()
|
H A D | stream_tunnel.h | 71 StreamStatistics stats_; variable
|
/ohos5.0/foundation/communication/netmanager_base/services/netstatsmanager/include/ |
H A D | net_stats_cached.h | 75 stats_.SetNotifier(callbackManager); in SetCallbackManager() 215 CachedInfo stats_; variable 250 return stats_.GetCurrentUidStats() >= trafficThreshold_; in CheckUidStor() 255 return stats_.GetCurrentUidSimStats() >= trafficThreshold_; in CheckUidSimStor() 260 return stats_.GetCurrentIfaceStats() >= trafficThreshold_; in CheckIfaceStor()
|
/ohos5.0/base/hiviewdfx/faultloggerd/services/ |
H A D | fault_logger_daemon.cpp | 950 for (index = 0; index < stats_.size(); index++) { in HandleDumpStats() 951 if (stats_[index].pid == request->pid) { in HandleDumpStats() 964 stats_.emplace_back(stats); in HandleDumpStats() 966 stats_[index].requestTime = request->requestTime; in HandleDumpStats() 968 stats_[index].callerElfName = GetElfName(request); in HandleDumpStats() 970 stats_[index].result = request->result; in HandleDumpStats() 971 stats_[index].summary = request->summary; in HandleDumpStats() 972 ReportDumpStats(stats_[index]); in HandleDumpStats() 973 stats_.erase(stats_.begin() + index); in HandleDumpStats() 992 for (auto it = stats_.begin(); it != stats_.end();) { in RemoveTimeoutDumpStats() [all …]
|
H A D | fault_logger_daemon.h | 107 std::vector<DumpStats> stats_; variable
|
/ohos5.0/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/standard/ |
H A D | stream_tunnel.cpp | 81 stats_.RequestBufferResult(sfError); in GetBuffer() 90 stats_.CancelBufferResult(ret); in GetBuffer() 158 stats_.FlushBufferResult(ret); in PutBuffer() 164 stats_.CancelBufferResult(ret); in PutBuffer() 235 stats_.DumpStats(interval); in DumpStats() 241 stats_.SetStreamId(streamId); in SetStreamId()
|
H A D | stream_tunnel.h | 76 StreamStatistics stats_; variable
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netstats/include/context/ |
H A D | get_traffic_stats_by_network_context.h | 59 std::unordered_map<uint32_t, NetStatsInfo> stats_; variable
|
H A D | get_traffic_stats_by_uid_network_context.h | 63 std::vector<NetStatsInfoSequence> stats_; variable
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/context/ |
H A D | get_traffic_stats_by_network_context.cpp | 160 return stats_; in GetNetStatsInfo()
|
H A D | get_traffic_stats_by_uid_network_context.cpp | 178 return stats_; in GetNetStatsInfoSequence()
|