/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 34 import static android.net.NetworkStats.SET_FOREGROUND; 103 .insertEntry(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndexHinted() 122 assertEquals(3, stats.findIndexHinted(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, in testFindIndexHinted() 303 .insertEntry(TEST_IFACE, 101, SET_FOREGROUND, TAG_NONE, 32L, 0L, 0L, 0L, 0L); in testTotalBytes() 310 .insertEntry(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, 16L, 0L, 0L, 0L, 0L) in testTotalBytes() 348 .insertEntry(IFACE_ALL, 101, SET_FOREGROUND, TAG_NONE, METERED_YES, ROAMING_NO, in testGroupedByIfaceAll() 370 .insertEntry(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testGroupedByIface() 395 .insertEntry(TEST_IFACE, 100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testAddAllValues() 397 .insertEntry(TEST_IFACE, 100, SET_FOREGROUND, TAG_NONE, METERED_YES, ROAMING_YES, in testAddAllValues() 405 .insertEntry(TEST_IFACE, 100, SET_FOREGROUND, TAG_NONE, METERED_YES, ROAMING_YES, in testAddAllValues() [all …]
|
/frameworks/base/tests/net/common/java/android/net/netstats/ |
D | NetworkStatsApiTest.kt | 29 import android.net.NetworkStats.SET_FOREGROUND 82 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_FOREGROUND, TAG_NONE, in setUp() 99 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_FOREGROUND, TAG_NONE, in setUp() 125 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_FOREGROUND, TAG_NONE, in setUp() 139 Entry(TEST_IFACE, TEST_UID1, SET_FOREGROUND, TAG_NONE, in testAddEntry() 202 it.addEntry(Entry(TEST_IFACE, TEST_UID1, SET_FOREGROUND, TAG_NONE, in testMethodsDontModifyReceiver()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsBaseTest.java | 30 import static android.net.NetworkStats.SET_FOREGROUND; 64 sets = new int[] {SET_ALL, SET_DEFAULT, SET_FOREGROUND}; in assertValues()
|
D | NetworkStatsServiceTest.java | 37 import static android.net.NetworkStats.SET_FOREGROUND; 346 .insertEntry(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 512L, 4L, 256L, 2L, 0L) 347 .insertEntry(TEST_IFACE, UID_RED, SET_FOREGROUND, 0xFAAD, 256L, 2L, 128L, 1L, 0L) 361 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, METERED_NO, ROAMING_NO, 384 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, METERED_NO, ROAMING_NO, 663 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 682 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 893 .insertEntry(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 32L, 2L, 32L, 2L, 0L) 894 .insertEntry(TEST_IFACE, UID_RED, SET_FOREGROUND, 0xFAAD, 1L, 1L, 1L, 1L, 0L)); 911 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, [all …]
|
D | NetworkStatsFactoryTest.java | 27 import static android.net.NetworkStats.SET_FOREGROUND; 397 assertStatsEntry(stats, "rmnet1", 10021, SET_FOREGROUND, 0x30100000, 742L, 3L, 1265L, 3L); in testNetworkStatsWithSet() 478 assertStatsEntry(stats, "v4-wlan0", 10106, SET_FOREGROUND, 0x0, appRxBytesBefore, 5199872L); in testDoubleClatAccounting100MBDownload() 483 assertStatsEntry(stats, "v4-wlan0", 10106, SET_FOREGROUND, 0x0, appRxBytesAfter, 7867488L); in testDoubleClatAccounting100MBDownload()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | ChartDataLoader.java | 20 import static android.net.NetworkStats.SET_FOREGROUND; 102 template, uid, SET_FOREGROUND, data.detailForeground); in loadInBackground()
|
/frameworks/base/core/tests/benchmarks/src/android/net/ |
D | NetworkStatsBenchmark.java | 66 recycle.set = NetworkStats.SET_FOREGROUND; in setUp()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 285 case STATE_FOREGROUND: return android.net.NetworkStats.SET_FOREGROUND; in convertSet() 294 case android.net.NetworkStats.SET_FOREGROUND : return STATE_FOREGROUND; in convertState()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 89 public static final int SET_FOREGROUND = 1; field in NetworkStats 111 SET_FOREGROUND, 1274 case SET_FOREGROUND: in setToString() 1295 case SET_FOREGROUND: in setToCheckinString() 1668 final int idxVpnForeground = findIndex(underlyingIfaces[i], tunUid, SET_FOREGROUND, in deductTrafficFromVpnApp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 21 import static android.net.NetworkStats.SET_FOREGROUND; 1210 new Entry(NetworkStats.IFACE_VT, UID_ALL, SET_FOREGROUND, in assertVtDataUsageUpdated()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 40 import static android.net.NetworkStats.SET_FOREGROUND; 960 final int set = uidForeground ? SET_FOREGROUND : SET_DEFAULT;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 4037 NetworkStats.IFACE_VT, -1, NetworkStats.SET_FOREGROUND, in updateVtDataUsage() 4061 NetworkStats.SET_FOREGROUND, NetworkStats.TAG_NONE, NetworkStats.METERED_YES, in updateVtDataUsage()
|
/frameworks/base/api/ |
D | system-current.txt | 4690 field public static final int SET_FOREGROUND = 1; // 0x1
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 4690 field public static final int SET_FOREGROUND = 1; // 0x1
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 44715 Landroid/net/NetworkStats;->SET_FOREGROUND:I
|