Lines Matching refs:stats
52 /** Path to {@code /proc/net/xt_qtaguid/stats}. */
63 mStatsXtUid = new File(procRoot, "net/xt_qtaguid/stats");
72 * @throws IllegalStateException when problem parsing stats.
77 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 6);
106 stats.addValues(entry);
110 throw new ProtocolException("problem parsing stats", e);
112 throw new ProtocolException("problem parsing stats", e);
117 return stats;
125 * @throws IllegalStateException when problem parsing stats.
133 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 6);
153 stats.addValues(entry);
157 throw new ProtocolException("problem parsing stats", e);
159 throw new ProtocolException("problem parsing stats", e);
164 return stats;
173 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 0);
174 if (nativeReadNetworkStatsDetail(stats, mStatsXtUid.getAbsolutePath(), limitUid) != 0) {
175 throw new IOException("Failed to parse network stats");
179 assertEquals(javaStats, stats);
181 return stats;
196 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 24);
226 stats.addValues(entry);
240 return stats;
267 NetworkStats stats, String path, int limitUid);