/packages/apps/Settings/src/com/android/settings/net/ |
ChartDataLoader.java | 20 import static android.net.NetworkStats.SET_FOREGROUND; 97 template, uid, SET_FOREGROUND, data.detailForeground);
|
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsTest.java | 20 import static android.net.NetworkStats.SET_FOREGROUND; 172 .addValues(TEST_IFACE, 101, SET_FOREGROUND, TAG_NONE, 32L, 0L, 0L, 0L, 0L); 179 .addValues(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, 16L, 0L, 0L, 0L, 0L) 196 .addValues(IFACE_ALL, 101, SET_FOREGROUND, TAG_NONE, 128L, 8L, 0L, 2L, 20L); 210 .addValues(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, 512L, 32L, 0L, 0L, 0L) 226 .addValues(TEST_IFACE, 100, SET_FOREGROUND, TAG_NONE, 32L, 0L, 0L, 0L, 0L); 236 assertValues(first, 1, TEST_IFACE, 100, SET_FOREGROUND, TAG_NONE, 32L, 0L, 0L, 0L, 0L); 245 .addValues(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, 512L, 32L, 0L, 0L, 0L)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 28 import static android.net.NetworkStats.SET_FOREGROUND; 255 .addValues(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 512L, 4L, 256L, 2L, 0L) 256 .addValues(TEST_IFACE, UID_RED, SET_FOREGROUND, 0xFAAD, 256L, 2L, 128L, 1L, 0L) 272 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, 512L, 4L, 256L, 2L, 6); 315 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, 512L, 4L, 256L, 2L, 6); 692 .addValues(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 32L, 2L, 32L, 2L, 0L) 693 .addValues(TEST_IFACE, UID_RED, SET_FOREGROUND, 0xFAAD, 1L, 1L, 1L, 1L, 0L)); 711 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, TAG_NONE, 32L, 2L, 32L, 2L, 1); 712 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, 0xFAAD, 1L, 1L, 1L, 1L, 1); [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 20 import static android.net.NetworkStats.SET_FOREGROUND; 157 assertStatsEntry(stats, "rmnet0", 1000, SET_FOREGROUND, 0, 26033L, 30L, 1401L, 26L);
|
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 53 public static final int SET_FOREGROUND = 1; 593 case SET_FOREGROUND:
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 254 case NetworkStats.SET_FOREGROUND:
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 32 import static android.net.NetworkStats.SET_FOREGROUND; 564 final int set = uidForeground ? SET_FOREGROUND : SET_DEFAULT; [all...] |