/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 23 import static android.net.NetworkStats.ROAMING_NO; 52 .addValues(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 1024L, in testFindIndex() 54 .addValues(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 0L, 0L, in testFindIndex() 56 .addValues(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO, 0L, 0L, in testFindIndex() 58 .addValues(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 1024L, in testFindIndex() 66 ROAMING_NO)); in testFindIndex() 68 ROAMING_NO)); in testFindIndex() 70 ROAMING_NO)); in testFindIndex() 72 ROAMING_NO)); in testFindIndex() 74 ROAMING_NO)); in testFindIndex() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 29 import static android.net.NetworkStats.ROAMING_NO; 311 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, METERED_NO, ROAMING_NO, 512L, 4L, 256L, in testStatsRebootPersist() 313 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, METERED_NO, ROAMING_NO, 512L, 4L, in testStatsRebootPersist() 336 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, METERED_NO, ROAMING_NO, 512L, 4L, 256L, in testStatsRebootPersist() 338 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, METERED_NO, ROAMING_NO, 512L, 4L, in testStatsRebootPersist() 646 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 50L, in testSummaryForAllUid() 648 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, 10L, in testSummaryForAllUid() 650 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid() 658 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid() 713 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 128L, in testForegroundBackground() [all …]
|
D | NetworkStatsObserversTest.java | 29 import static android.net.NetworkStats.ROAMING_NO; 340 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid() 348 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid() 378 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify() 386 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify() 416 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies() 424 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies() 455 ROAMING_NO, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify() 463 ROAMING_NO, BASE_BYTES + THRESHOLD_BYTES, 2L, BASE_BYTES + THRESHOLD_BYTES, in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 190 @IntDef({ROAMING_ALL, ROAMING_NO, ROAMING_YES}) 208 public static final int ROAMING_NO = 0x1; field in NetworkStats.Bucket 271 case android.net.NetworkStats.ROAMING_NO: return ROAMING_NO; in convertRoaming()
|
/frameworks/base/tests/net/java/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 20 import static android.net.NetworkStats.ROAMING_NO; 231 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO); in assertStatsEntry() 243 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO); in assertStatsEntry()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 81 public static final int ROAMING_NO = 0; field in NetworkStats 140 this(iface, uid, set, tag, METERED_NO, ROAMING_NO, rxBytes, rxPackets, txBytes, in Entry() 892 case ROAMING_NO: in roamingToString() 1086 METERED_NO, ROAMING_NO); in deductTrafficFromVpnApp() 1092 METERED_NO, ROAMING_NO); in deductTrafficFromVpnApp()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 22 import static android.net.NetworkStats.ROAMING_NO; 252 entry.roaming = key.ident.isAnyMemberRoaming() ? ROAMING_YES : ROAMING_NO; in getSummary()
|
/frameworks/base/api/ |
D | current.txt | 6939 field public static final int ROAMING_NO = 1; // 0x1
|
D | system-current.txt | 7409 field public static final int ROAMING_NO = 1; // 0x1
|