Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java26 import static android.net.NetworkStats.METERED_YES;
71 .insertEntry(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO, in testFindIndex()
75 .insertEntry(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_YES, in testFindIndex()
78 assertEquals(4, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_YES, in testFindIndex()
82 assertEquals(2, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, in testFindIndex()
107 .insertEntry(TEST_IFACE2, 101, SET_DEFAULT, 0xF00D, METERED_YES, ROAMING_NO, in testFindIndexHinted()
111 .insertEntry(TEST_IFACE2, 102, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_YES, in testFindIndexHinted()
127 METERED_YES, ROAMING_NO, DEFAULT_NETWORK_NO, hint)); in testFindIndexHinted()
131 METERED_YES, ROAMING_YES, DEFAULT_NETWORK_NO, hint)); in testFindIndexHinted()
135 METERED_YES, ROAMING_YES, DEFAULT_NETWORK_YES, hint)); in testFindIndexHinted()
[all …]
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java177 METERED_YES
198 public static final int METERED_YES = 0x2; field in NetworkStats.Bucket
318 case android.net.NetworkStats.METERED_YES: return METERED_YES; in convertMetered()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsBaseTest.java24 import static android.net.NetworkStats.METERED_YES;
78 meterings = new int[] {METERED_ALL, METERED_YES, METERED_NO}; in assertValues()
DNetworkStatsServiceTest.java31 import static android.net.NetworkStats.METERED_YES;
949 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO,
951 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_YES, ROAMING_NO,
1154 TAG_NONE, METERED_YES, ROAMING_NO, DEFAULT_NETWORK_YES,
1157 0xF00D, METERED_YES, ROAMING_NO, DEFAULT_NETWORK_YES,
1179 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO,
1181 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_YES, ROAMING_NO,
/frameworks/base/tests/net/common/java/android/net/netstats/
DNetworkStatsApiTest.kt25 import android.net.NetworkStats.METERED_YES
81 METERED_YES, ROAMING_NO, DEFAULT_NETWORK_NO, 25, 3, 47, 8, 2)) in setUp()
117 METERED_YES, ROAMING_NO, DEFAULT_NETWORK_NO, 25, 3, 47, 8, 2)) in setUp()
/frameworks/base/core/java/android/net/
DNetworkTemplate.java31 import static android.net.NetworkStats.METERED_YES;
407 || (mMetered == METERED_YES && ident.mMetered) in matchesMetered()
DNetworkStats.java137 public static final int METERED_YES = 1; field in NetworkStats
144 METERED_YES
1336 case METERED_YES: in meteredToString()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java23 import static android.net.NetworkStats.METERED_YES;
357 entry.metered = key.ident.isAnyMemberMetered() ? METERED_YES : METERED_NO; in getSummary()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java19 import static android.net.NetworkStats.METERED_YES;
1211 TAG_NONE, METERED_YES, ROAMING_NO, DEFAULT_NETWORK_YES, rxBytes, 0L, in assertVtDataUsageUpdated()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java4038 NetworkStats.TAG_NONE, NetworkStats.METERED_YES, isRoaming, in updateVtDataUsage()
4061 NetworkStats.SET_FOREGROUND, NetworkStats.TAG_NONE, NetworkStats.METERED_YES, in updateVtDataUsage()
/frameworks/base/api/
Dsystem-current.txt4686 field public static final int METERED_YES = 1; // 0x1
Dcurrent.txt7681 field public static final int METERED_YES = 2; // 0x2
/frameworks/base/non-updatable-api/
Dsystem-current.txt4686 field public static final int METERED_YES = 1; // 0x1
Dcurrent.txt7681 field public static final int METERED_YES = 2; // 0x2
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44699 Landroid/net/NetworkStats;->METERED_YES:I