Lines Matching defs:stats
89 * Ensure that downloading on wifi reports reasonable stats.
99 * Ensure that downloading on mobile reports reasonable stats.
111 * data usage stats to instrumentation out.
143 * Ensure that uploading on wifi reports reasonable stats.
153 * Ensure that uploading on wifi reports reasonable stats.
162 * Helper method that downloads a test file to upload. The stats reported to instrumentation out
163 * only include upload stats.
219 * the stats to instrumentation out.
264 NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 1);
265 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT,
267 return stats;
302 * @param label to attach to this given stats.
303 * @param stats {@link NetworkStats} to add.
306 public void AddStatsToResults(String label, NetworkStats stats, Bundle results){
311 // Merge stats across all sets.
313 for (int i = 0; i < stats.size(); ++i) {
314 Entry statsEntry = stats.getValues(i, null);
315 // We are only interested in the all inclusive stats.
339 // Ouput merged stats to bundle.