Home
last modified time | relevance | path

Searched refs:TAG_NONE (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java36 import static android.net.NetworkStats.TAG_NONE;
66 .addValues(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
68 .addValues(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
70 .addValues(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO, in testFindIndex()
72 .addValues(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
74 .addValues(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_YES, in testFindIndex()
77 assertEquals(4, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_YES, in testFindIndex()
79 assertEquals(3, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
81 assertEquals(2, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, in testFindIndex()
83 assertEquals(1, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java40 import static android.net.NetworkStats.TAG_NONE;
312 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 512L, 4L, 256L, 2L, 0L) in testStatsRebootPersist()
314 .addValues(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 512L, 4L, 256L, 2L, 0L) in testStatsRebootPersist()
316 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 128L, 1L, 128L, 1L, 0L)); in testStatsRebootPersist()
425 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 512L, 4L, 0L) in testUidStatsAcrossNetworks()
427 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 512L, 4L, 0L, 0L, 0L)); in testUidStatsAcrossNetworks()
447 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 512L, 4L, 0L) in testUidStatsAcrossNetworks()
449 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 512L, 4L, 0L, 0L, 0L)); in testUidStatsAcrossNetworks()
462 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 512L, 4L, 0L) in testUidStatsAcrossNetworks()
464 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 640L, 5L, 1024L, 8L, 0L) in testUidStatsAcrossNetworks()
[all …]
DNetworkStatsObserversTest.java26 import static android.net.NetworkStats.TAG_NONE;
345 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid()
353 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid()
380 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
388 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
414 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies()
422 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies()
449 .addValues(TEST_IFACE, UID_ANOTHER_USER, SET_DEFAULT, TAG_NONE, METERED_NO, in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
457 .addValues(TEST_IFACE, UID_ANOTHER_USER, SET_DEFAULT, TAG_NONE, METERED_NO, in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
DNetworkStatsCollectionTest.java22 import static android.net.NetworkStats.TAG_NONE;
199 collection.recordData(null, UID_ALL, SET_DEFAULT, TAG_NONE, 30 * MINUTE_IN_MILLIS, in testStartEndAtomicBuckets()
221 collection.recordData(identSet, myUid, SET_DEFAULT, TAG_NONE, 0, 60 * MINUTE_IN_MILLIS, in testAccessLevels()
226 collection.recordData(identSet, otherUidInSameUser, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels()
231 collection.recordData(identSet, Process.SYSTEM_UID, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels()
236 collection.recordData(identSet, uidInDifferentUser, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels()
250 TAG_NONE, 0, 0L, 0L, NetworkStatsAccess.Level.DEFAULT, myUid)); in testAccessLevels() local
253 SET_DEFAULT, TAG_NONE, 0, 0L, 0L, NetworkStatsAccess.Level.DEFAULT, myUid); in testAccessLevels() local
469 large.recordData(ident, UID_ALL, SET_ALL, TAG_NONE, TIME_A, TIME_B, in testAugmentPlanGigantic()
545 SET_ALL, TAG_NONE, FIELD_ALL, start, end, NetworkStatsAccess.Level.DEVICE, myUid()); in getHistory()
/frameworks/base/tests/net/java/android/app/usage/
DNetworkStatsManagerTest.java80 android.net.NetworkStats.SET_DEFAULT, android.net.NetworkStats.TAG_NONE, in testQueryDetails()
85 android.net.NetworkStats.SET_DEFAULT, android.net.NetworkStats.TAG_NONE, in testQueryDetails()
89 android.net.NetworkStats.SET_DEFAULT, android.net.NetworkStats.TAG_NONE, in testQueryDetails()
94 android.net.NetworkStats.SET_DEFAULT, android.net.NetworkStats.TAG_NONE, in testQueryDetails()
111 eq(android.net.NetworkStats.TAG_NONE), in testQueryDetails()
122 eq(android.net.NetworkStats.TAG_NONE), in testQueryDetails()
191 eq(android.net.NetworkStats.TAG_NONE), in testQueryDetails_NoSubscriberId()
199 eq(android.net.NetworkStats.TAG_NONE), in testQueryDetails_NoSubscriberId()
/frameworks/base/tests/net/java/com/android/internal/net/
DNetworkStatsFactoryTest.java25 import static android.net.NetworkStats.TAG_NONE;
124 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 2112L, 24L, 700L, 10L); in testNetworkStatsSingle()
125 assertStatsEntry(stats, "test1", UID_ALL, SET_ALL, TAG_NONE, 6L, 8L, 10L, 12L); in testNetworkStatsSingle()
126 assertStatsEntry(stats, "test2", UID_ALL, SET_ALL, TAG_NONE, 1L, 2L, 3L, 4L); in testNetworkStatsSingle()
135 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 6824L, 16L, 5692L, 10L); in testNetworkStatsXt()
136 assertStatsEntry(stats, "rmnet1", UID_ALL, SET_ALL, TAG_NONE, 11153922L, 8051L, 190226L, in testNetworkStatsXt()
138 assertStatsEntry(stats, "rmnet2", UID_ALL, SET_ALL, TAG_NONE, 4968L, 35L, 3081L, 39L); in testNetworkStatsXt()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java68 private int mTag = android.net.NetworkStats.TAG_NONE;
266 public static final int TAG_NONE = android.net.NetworkStats.TAG_NONE; field in NetworkStats.Bucket
309 case android.net.NetworkStats.TAG_NONE: return TAG_NONE; in convertTag()
575 android.net.NetworkStats.SET_ALL, android.net.NetworkStats.TAG_NONE, in startUserUidEnumeration()
598 android.net.NetworkStats.SET_ALL, android.net.NetworkStats.TAG_NONE, in stepHistory()
DNetworkStatsManager.java294 NetworkStats.Bucket.TAG_NONE, NetworkStats.Bucket.STATE_ALL); in queryDetailsForUid()
/frameworks/base/core/tests/benchmarks/src/android/net/
DNetworkStatsBenchmark.java40 recycle.tag = NetworkStats.TAG_NONE; in setUp()
54 recycle.tag = NetworkStats.TAG_NONE; in setUp()
/frameworks/base/core/java/android/net/
DNetworkStats.java73 public static final int TAG_NONE = 0; field in NetworkStats
158 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in Entry()
162 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, in Entry()
337 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L); in addIfaceValues()
631 entry.tag = TAG_NONE; in getTotal()
647 if (tag[i] != TAG_NONE && !includeTags) continue; in getTotal()
846 entry.tag = TAG_NONE; in groupedByIface()
854 if (tag[i] != TAG_NONE) continue; in groupedByIface()
877 entry.tag = TAG_NONE; in groupedByUid()
884 if (tag[i] != TAG_NONE) continue; in groupedByUid()
[all …]
DNetworkStatsHistory.java21 import static android.net.NetworkStats.TAG_NONE;
313 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); in recordData()
387 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in recordHistory()
591 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in generateRandom()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DChartDataLoader.java21 import static android.net.NetworkStats.TAG_NONE;
136 template, uid, set, TAG_NONE, FIELD_RX_BYTES | FIELD_TX_BYTES); in collectHistoryForUid()
/frameworks/base/core/java/com/android/internal/net/
DNetworkStatsFactory.java21 import static android.net.NetworkStats.TAG_NONE;
175 entry.tag = TAG_NONE; in readNetworkStatsSummaryDev()
236 entry.tag = TAG_NONE; in readNetworkStatsSummaryXt()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java28 import static android.net.NetworkStats.TAG_NONE;
551 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); in readLegacyNetwork()
614 if ((tag == TAG_NONE) != onlyTags) { in readLegacyUid()
645 if (key.tag == TAG_NONE) { in removeUids()
648 key.ident, UID_REMOVED, SET_DEFAULT, TAG_NONE); in removeUids()
DNetworkStatsService.java39 import static android.net.NetworkStats.TAG_NONE;
638 if (tag == TAG_NONE) { in openSessionInternal()
652 if (tag == TAG_NONE) { in openSessionInternal()
714 stats.addValues(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, in internalGetSummaryForNetwork()
731 UID_ALL, SET_ALL, TAG_NONE, fields, Long.MIN_VALUE, Long.MAX_VALUE, in internalGetHistoryForNetwork()
820 if (tag == TAG_NONE) { in incrementOperationCount()
829 mActiveIface, uid, set, TAG_NONE, 0L, 0L, 0L, 0L, operationCount); in incrementOperationCount()
DNetworkStatsRecorder.java19 import static android.net.NetworkStats.TAG_NONE;
268 if ((entry.tag == TAG_NONE) != mOnlyTags) { in recordSnapshotLocked()
DNetworkStatsObservers.java410 NetworkStats.SET_ALL, NetworkStats.TAG_NONE, in getTotalBytesForNetworkUid()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java552 entry.tag = NetworkStats.TAG_NONE; in rollupNetworkStatsByFGBG()
562 if (recycle.tag != NetworkStats.TAG_NONE) continue; in rollupNetworkStatsByFGBG()
634 … nsf.readNetworkStatsDetail(NetworkStats.UID_ALL, ifaces, NetworkStats.TAG_NONE, null) in pullWifiBytesTransfer()
654 … nsf.readNetworkStatsDetail(NetworkStats.UID_ALL, ifaces, NetworkStats.TAG_NONE, null)); in pullWifiBytesTransferByFgBg()
674 … nsf.readNetworkStatsDetail(NetworkStats.UID_ALL, ifaces, NetworkStats.TAG_NONE, null) in pullMobileBytesTransfer()
708 … nsf.readNetworkStatsDetail(NetworkStats.UID_ALL, ifaces, NetworkStats.TAG_NONE, null)); in pullMobileBytesTransferByFgBg()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadController.java21 import static android.net.NetworkStats.TAG_NONE;
271 entry.tag = TAG_NONE; in getTetherStats()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java265 NetworkStats.TAG_NONE, rx, 0, tx, 0, 0); in fetchDataFromProc()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java22 import static android.net.NetworkStats.TAG_NONE;
392 assertEquals(TAG_NONE, entry.tag); in assertNetworkStats()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java40 import static android.net.NetworkStats.TAG_NONE;
1907 entry.tag = TAG_NONE; in getTetherStats()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java3158 NetworkStats.TAG_NONE, NetworkStats.METERED_YES, isRoaming, in updateVtDataUsage()
3181 NetworkStats.SET_FOREGROUND, NetworkStats.TAG_NONE, NetworkStats.METERED_YES, in updateVtDataUsage()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11047 NetworkStats.TAG_NONE, mNetworkStatsPool.acquire()); in readNetworkStatsLocked()
/frameworks/base/config/
Dhiddenapi-public-dex.txt4605 Landroid/app/usage/NetworkStats$Bucket;->TAG_NONE:I

12