Home
last modified time | relevance | path

Searched refs:SET_FOREGROUND (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java34 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/
DNetworkStatsApiTest.kt29 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/
DNetworkStatsBaseTest.java30 import static android.net.NetworkStats.SET_FOREGROUND;
64 sets = new int[] {SET_ALL, SET_DEFAULT, SET_FOREGROUND}; in assertValues()
DNetworkStatsServiceTest.java37 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 …]
DNetworkStatsFactoryTest.java27 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/
DChartDataLoader.java20 import static android.net.NetworkStats.SET_FOREGROUND;
102 template, uid, SET_FOREGROUND, data.detailForeground); in loadInBackground()
/frameworks/base/core/tests/benchmarks/src/android/net/
DNetworkStatsBenchmark.java66 recycle.set = NetworkStats.SET_FOREGROUND; in setUp()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java285 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/
DNetworkStats.java89 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/
DImsPhoneCallTrackerTest.java21 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/
DNetworkStatsService.java40 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/
DImsPhoneCallTracker.java4037 NetworkStats.IFACE_VT, -1, NetworkStats.SET_FOREGROUND, in updateVtDataUsage()
4061 NetworkStats.SET_FOREGROUND, NetworkStats.TAG_NONE, NetworkStats.METERED_YES, in updateVtDataUsage()
/frameworks/base/api/
Dsystem-current.txt4690 field public static final int SET_FOREGROUND = 1; // 0x1
/frameworks/base/non-updatable-api/
Dsystem-current.txt4690 field public static final int SET_FOREGROUND = 1; // 0x1
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44715 Landroid/net/NetworkStats;->SET_FOREGROUND:I