/external/webrtc/webrtc/audio/ |
audio_send_stream.cc | 125 webrtc::AudioSendStream::Stats AudioSendStream::GetStats() const { 127 webrtc::AudioSendStream::Stats stats; local 128 stats.local_ssrc = config_.rtp.ssrc; 134 stats.bytes_sent = call_stats.bytesSent; 135 stats.packets_sent = call_stats.packetsSent; 139 stats.rtt_ms = call_stats.rttMs; 143 stats.aec_quality_min = -1; 148 stats.codec_name = codec_inst.plname; 153 if (block.source_SSRC == stats.local_ssrc) [all...] |
audio_send_stream_unittest.cc | 205 AudioSendStream::Stats stats = send_stream.GetStats(); local 206 EXPECT_EQ(kSsrc, stats.local_ssrc); 207 EXPECT_EQ(static_cast<int64_t>(kCallStats.bytesSent), stats.bytes_sent); 208 EXPECT_EQ(kCallStats.packetsSent, stats.packets_sent); 210 stats.packets_lost); 211 EXPECT_EQ(Q8ToFloat(kReportBlock.fraction_lost), stats.fraction_lost); 212 EXPECT_EQ(std::string(kCodecInst.plname), stats.codec_name); 214 stats.ext_seqnum); 217 stats.jitter_ms) [all...] |
/external/webrtc/webrtc/modules/audio_coding/test/ |
TestVADDTX.cc | 122 uint32_t stats[5]; local 123 monitor_->GetStatistics(stats); 126 for (const auto& st : stats) { 127 int i = &st - stats; // Calculate the current position in stats. 130 EXPECT_EQ(0u, st) << "stats[" << i << "] error."; 134 EXPECT_GT(st, 0u) << "stats[" << i << "] error.";
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/ |
remb.cc | 139 RtcpStatistics stats; local 140 if (!statistician->GetStatistics(&stats, true)) 142 report_block.fractionLost = stats.fraction_lost; 143 report_block.cumulativeLost = stats.cumulative_lost; 144 report_block.extendedHighSeqNum = stats.extended_max_sequence_number; 145 report_block.jitter = stats.jitter;
|
/external/webrtc/webrtc/modules/video_coding/codecs/tools/ |
video_quality_measurement.cc | 26 #include "webrtc/modules/video_coding/codecs/test/stats.h" 346 void PrintCsvOutput(const webrtc::test::Stats& stats, 360 for (unsigned int i = 0; i < stats.stats_.size(); ++i) { 361 const webrtc::test::FrameStatistic& f = stats.stats_[i]; 375 const webrtc::test::Stats& stats, 438 for (unsigned int i = 0; i < stats.stats_.size(); ++i) { 439 const webrtc::test::FrameStatistic& f = stats.stats_[i]; 492 webrtc::test::Stats stats local [all...] |
/external/webrtc/webrtc/modules/video_processing/test/ |
video_processing_unittest.cc | 100 VideoProcessing::FrameStats stats; local 104 vp_->GetFrameStats(videoFrame, &stats); 105 EXPECT_EQ(stats.num_pixels, 0u); 107 EXPECT_EQ(-1, vp_->Deflickering(&videoFrame, &stats)); 109 EXPECT_EQ(-3, vp_->BrightnessDetection(videoFrame, stats)); 117 VideoProcessing::FrameStats stats; local 118 vp_->ClearFrameStats(&stats); 125 EXPECT_EQ(-1, vp_->Deflickering(&video_frame_, &stats)); 127 EXPECT_EQ(-3, vp_->BrightnessDetection(video_frame_, stats)); 136 VideoProcessing::FrameStats stats; local 172 VideoProcessing::FrameStats stats; local [all...] |
/external/webrtc/webrtc/voice_engine/ |
channel_proxy.cc | 88 CallStatistics stats = {0}; local 89 int error = channel()->GetRTPStatistics(stats); 91 return stats; 104 NetworkStatistics stats = {0}; local 105 int error = channel()->GetNetworkStatistics(stats); 107 return stats; 112 AudioDecodingCallStats stats; local 113 channel()->GetDecodingCallStatistics(&stats); 114 return stats;
|
/external/webrtc/webrtc/voice_engine/test/auto_test/ |
voe_conference_test.cc | 42 struct Stats { 43 Stats(int64_t rtt_receiver_1, int64_t rtt_receiver_2, int64_t ntp_delay) 80 std::queue<Stats> stats_buffer; 105 stats_buffer.push(Stats(stats_1.rttMs, stats_2.rttMs, 117 Stats stats = stats_buffer.front(); local 118 printf("(%" PRId64 ", %" PRId64 ", %" PRId64 ")\n", stats.rtt_receiver_1_, 119 stats.rtt_receiver_2_, stats.ntp_delay_);
|
/frameworks/base/core/java/android/app/usage/ |
UsageStatsManager.java | 106 * Gets application usage stats for the given time range, aggregated by the specified interval. 122 * @param intervalType The time interval by which the stats are aggregated. 123 * @param beginTime The inclusive beginning of the range of stats to include in the results. 124 * @param endTime The exclusive end of the range of stats to include in the results. 152 * @param intervalType The time interval by which the stats are aggregated. 153 * @param beginTime The inclusive beginning of the range of stats to include in the results. 154 * @param endTime The exclusive end of the range of stats to include in the results. 197 * A convenience method that queries for all stats in the given range (using the best interval 201 * @param beginTime The inclusive beginning of the range of stats to include in the results. 202 * @param endTime The exclusive end of the range of stats to include in the results 207 List<UsageStats> stats = queryUsageStats(INTERVAL_BEST, beginTime, endTime); local [all...] |
/frameworks/base/core/jni/ |
android_net_TrafficStats.cpp | 35 static const char* QTAGUID_UID_STATS = "/proc/net/xt_qtaguid/stats"; 49 struct Stats { 58 static uint64_t getStatsType(struct Stats* stats, StatsType type) { 61 return stats->rxBytes; 63 return stats->rxPackets; 65 return stats->txBytes; 67 return stats->txPackets; 69 return stats->tcpRxPackets; 71 return stats->tcpTxPackets 154 struct Stats stats; local 169 struct Stats stats; local 179 struct Stats stats; local [all...] |
/frameworks/base/core/tests/utillib/src/android/test/ |
BandwidthTestCase.java | 105 NetworkStats stats = TrafficStats.stopDataProfiling(null); local 106 NetworkStats.Entry entry = stats.getTotal(null); 109 Log.w(TAG, "Failed to collect bandwidth stats");
|
/frameworks/base/libs/hwui/ |
GpuMemoryTracker.cpp | 94 const TypeStats& stats = gObjectStats[type]; local 96 stream << " is using " << SizePrinter{stats.totalSize}; 97 stream << ", count = " << stats.count; 115 const TypeStats& stats = gObjectStats[type]; local 116 ATRACE_INT(buf, stats.totalSize); 118 ATRACE_INT(buf, stats.count);
|
/frameworks/base/packages/ExtServices/tests/src/android/ext/services/storage/ |
CacheQuotaServiceImplTest.java | 144 UsageStats stats = new UsageStats(); local 145 stats.mPackageName = packageName; 146 stats.mTotalTimeInForeground = foregroundTime; 148 .setVolumeUuid(uuid).setUid(uid).setUsageStats(stats).setQuota(-1).build();
|
/frameworks/base/services/core/java/com/android/server/storage/ |
FileCollector.java | 169 ExternalStorageStats stats = null; local 171 stats = 175 result.imagesSize = stats.getImageBytes(); 176 result.videosSize = stats.getVideoBytes(); 177 result.audioSize = stats.getAudioBytes(); 179 stats.getTotalBytes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
AppCollectorTest.java | 116 PackageStats stats = new PackageStats("com.test.app"); local 120 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats); 133 PackageStats stats = new PackageStats("com.test.app"); local 141 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats, otherStats);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
UserUsageStatsService.java | 108 Slog.w(TAG, mLogPrefix + "Some stats have no latest available"); 114 // generate new stats for each bucket. 180 for (IntervalStats stats : mCurrentStats) { 182 stats.updateConfigurationStats(newFullConfig, event.mTimeStamp); 184 stats.updateChooserCounts(event.mPackage, event.mContentType, event.mAction); 188 stats.updateChooserCounts(event.mPackage, annotation, event.mAction); 192 stats.update(event.mPackage, event.mTimeStamp, event.mEventType); 202 public void combine(IntervalStats stats, boolean mutable, 205 accResult.addAll(stats.packageStats.values()); 209 final int statCount = stats.packageStats.size() 430 final IntervalStats stats = mDatabase.getLatestUsageStats(intervalType); local [all...] |
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
DataIdleTest.java | 70 * Helper method that fetches all the network stats available and reports it 79 final NetworkStats stats = session.getSummaryForAllUid( local 81 reportStats(stats); 83 Log.w(LOG_TAG, "Failed to fetch network stats."); 90 * Print network data usage stats to instrumentation out 91 * @param stats {@link NetworkorStats} to print 93 void reportStats(NetworkStats stats) { 99 for (int i = 0; i < stats.size(); ++i) { 101 Entry statsEntry = stats.getValues(i, null);
|
/frameworks/base/tests/net/java/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 77 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); local 79 assertEquals(70, stats.size()); 80 assertStatsEntry(stats, "wlan0", 0, SET_DEFAULT, 0x0, 18621L, 2898L); 81 assertStatsEntry(stats, "wlan0", 10011, SET_DEFAULT, 0x0, 35777L, 5718L); 82 assertStatsEntry(stats, "wlan0", 10021, SET_DEFAULT, 0x7fffff01, 562386L, 49228L); 83 assertStatsEntry(stats, "rmnet1", 10021, SET_DEFAULT, 0x30100000, 219110L, 227423L); 84 assertStatsEntry(stats, "rmnet2", 10001, SET_DEFAULT, 0x0, 1125899906842624L, 984L); 102 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); local 103 assertEquals(70, stats.size()); 104 assertStatsEntry(stats, "rmnet1", 10021, SET_DEFAULT, 0x30100000, 219110L, 578L, 227423L 112 final NetworkStats stats = mFactory.readNetworkStatsSummaryDev(); local 122 final NetworkStats stats = mFactory.readNetworkStatsSummaryXt(); local 137 NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat_simple); local 176 NetworkStats stats; local [all...] |
/packages/apps/Camera2/src/com/android/camera/stats/ |
CaptureSessionStatsCollector.java | 1 package com.android.camera.stats;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpcsvc/ |
rstat.h | 72 struct stats { struct 86 typedef struct stats stats; typedef in typeref:struct:stats 128 extern stats * rstatproc_stats_1(void *, CLIENT *); 129 extern stats * rstatproc_stats_1_svc(void *, struct svc_req *); 135 extern stats * rstatproc_stats_1(); 136 extern stats * rstatproc_stats_1_svc(); 148 extern bool_t xdr_stats (XDR *, stats*);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
rstat.h | 72 struct stats { struct 86 typedef struct stats stats; typedef in typeref:struct:stats 128 extern stats * rstatproc_stats_1(void *, CLIENT *); 129 extern stats * rstatproc_stats_1_svc(void *, struct svc_req *); 135 extern stats * rstatproc_stats_1(); 136 extern stats * rstatproc_stats_1_svc(); 148 extern bool_t xdr_stats (XDR *, stats*);
|
/system/core/logd/ |
LogBuffer.h | 81 LogStatistics stats; member in class:LogBuffer 136 stats.enableStatistics(); 159 return stats.pidToName(pid); 162 return stats.pidToUid(pid); 165 return stats.uidToName(uid);
|
/system/extras/iotop/ |
iotop.cpp | 36 static float TimeToTgidPercent(uint64_t ns, int time, const TaskStatistics& stats) { 37 float percent = ns / stats.threads() / (time * NSEC_PER_SEC / 100.0f); 169 std::vector<TaskStatistics> stats; local 175 stats.clear(); 187 // If printing processes, collect stats for the tgid which will 196 // Collect per-thread stats 208 stats.push_back(pid_stats_delta); 213 stats.push_back(tgid_stats_delta); 218 sorter(stats); 245 for (const TaskStatistics& statistics : stats) { [all...] |
taskstats.cpp | 60 taskstats stats; member in struct:TaskStatsRequest 64 taskstats* stats) { 74 int len = static_cast<int>(sizeof(*stats)); 76 nla_memcpy(stats, attr, len); 100 taskstats stats; local 103 ret = ParseAggregateTaskStats(nested_attr, nla_len(attr), &stats); 107 taskstats_request->stats = stats; 123 bool TaskstatsSocket::GetStats(int pid, int type, TaskStatistics& stats) { 150 stats = TaskStatistics(taskstats_request.stats) [all...] |
/system/extras/taskstats/ |
taskstats.c | 18 * Linux task stats reporting tool. Queries and prints out the kernel's 42 struct taskstats stats; member in struct:TaskStatistics 52 struct TaskStatistics* stats) { 56 stats->pid = nla_get_u32(attr); 59 stats->tgid = nla_get_u32(attr); 62 nla_memcpy(&stats->stats, attr, sizeof(stats->stats)); 71 struct TaskStatistics* stats = (struct TaskStatistics*)arg local 81 stats); local 319 struct TaskStatistics stats; local [all...] |