HomeSort by relevance Sort by last modified time
    Searched defs:NetworkStats (Results 1 - 10 of 10) sorted by null

  /cts/tests/tests/app.usage/src/android/app/usage/cts/
NetworkUsageStatsTest.java 21 import android.app.usage.NetworkStats;
344 NetworkStats.Bucket bucket = null;
354 assertEquals(bucket.getState(), NetworkStats.Bucket.STATE_ALL);
355 assertEquals(bucket.getUid(), NetworkStats.Bucket.UID_ALL);
356 assertEquals(bucket.getMetered(), NetworkStats.Bucket.METERED_ALL);
377 NetworkStats.Bucket bucket = null;
387 assertEquals(bucket.getState(), NetworkStats.Bucket.STATE_ALL);
388 assertEquals(bucket.getUid(), NetworkStats.Bucket.UID_ALL);
389 assertEquals(bucket.getMetered(), NetworkStats.Bucket.METERED_ALL);
410 NetworkStats result = null
    [all...]
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsCollection.java 19 import static android.net.NetworkStats.IFACE_ALL;
20 import static android.net.NetworkStats.METERED_NO;
21 import static android.net.NetworkStats.METERED_YES;
22 import static android.net.NetworkStats.ROAMING_NO;
23 import static android.net.NetworkStats.ROAMING_YES;
24 import static android.net.NetworkStats.SET_ALL;
25 import static android.net.NetworkStats.SET_DEFAULT;
26 import static android.net.NetworkStats.TAG_NONE;
27 import static android.net.NetworkStats.UID_ALL;
34 import android.net.NetworkStats;
    [all...]
  /frameworks/base/core/java/android/app/usage/
NetworkStats.java 37 * Class providing enumeration over buckets of network usage statistics. {@link NetworkStats} objects
40 public final class NetworkStats implements AutoCloseable {
41 private final static String TAG = "NetworkStats";
69 private int mTag = android.net.NetworkStats.TAG_NONE;
81 private android.net.NetworkStats mSummary = null;
96 private android.net.NetworkStats.Entry mRecycledSummaryEntry = null;
100 NetworkStats(Context context, NetworkTemplate template, int flags, long startTimestamp,
154 public static final int UID_ALL = android.net.NetworkStats.UID_ALL;
221 public static final int TAG_NONE = android.net.NetworkStats.TAG_NONE;
237 case android.net.NetworkStats.SET_ALL : return STATE_ALL
    [all...]
  /frameworks/base/core/java/android/net/
NetworkStats.java 45 public class NetworkStats implements Parcelable {
46 private static final String TAG = "NetworkStats";
216 public NetworkStats(long elapsedRealtime, int initialSize) {
249 public NetworkStats(Parcel parcel) {
285 public NetworkStats clone() {
286 final NetworkStats clone = new NetworkStats(elapsedRealtime, size);
287 NetworkStats.Entry entry = null;
296 public NetworkStats addIfaceValues(
303 public NetworkStats addValues(String iface, int uid, int set, int tag, long rxBytes
    [all...]
  /prebuilts/sdk/23/
android.jar 
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/25/
android.jar 
  /prebuilts/sdk/27/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 128 milliseconds