/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 29 import static android.net.NetworkStats.SET_DEFAULT; 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/internal/net/ |
D | NetworkStatsFactoryTest.java | 23 import static android.net.NetworkStats.SET_DEFAULT; 87 assertStatsEntry(stats, "wlan0", 0, SET_DEFAULT, 0x0, 18621L, 2898L); in testNetworkStatsDetail() 88 assertStatsEntry(stats, "wlan0", 10011, SET_DEFAULT, 0x0, 35777L, 5718L); in testNetworkStatsDetail() 89 assertStatsEntry(stats, "wlan0", 10021, SET_DEFAULT, 0x7fffff01, 562386L, 49228L); in testNetworkStatsDetail() 90 assertStatsEntry(stats, "rmnet1", 10021, SET_DEFAULT, 0x30100000, 219110L, 227423L); in testNetworkStatsDetail() 91 assertStatsEntry(stats, "rmnet2", 10001, SET_DEFAULT, 0x0, 1125899906842624L, 984L); in testNetworkStatsDetail() 113 assertStatsEntry(stats, "rmnet1", 10021, SET_DEFAULT, 0x30100000, 219110L, 578L, 227423L, in testNetworkStatsWithSet() 152 assertStatsEntry(stats, "v4-wlan0", 10060, SET_DEFAULT, 0x0, 46860L, 4920L); in testDoubleClatAccounting() 153 assertStatsEntry(stats, "wlan0", 0, SET_DEFAULT, 0x0, 0L, 0L); in testDoubleClatAccounting() 158 assertStatsEntry(stats, "v4-wlan0", 0, SET_DEFAULT, 0x0, 356L, 276L); in testDoubleClatAccounting() [all …]
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 36 import static android.net.NetworkStats.SET_DEFAULT; 312 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 512L, 4L, 256L, 2L, 0L) in testStatsRebootPersist() 313 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, 0xFAAD, 256L, 2L, 128L, 1L, 0L) in testStatsRebootPersist() 316 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 128L, 1L, 128L, 1L, 0L)); in testStatsRebootPersist() 327 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, METERED_NO, ROAMING_NO, in testStatsRebootPersist() 350 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, METERED_NO, ROAMING_NO, in testStatsRebootPersist() 425 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 512L, 4L, 0L) in testUidStatsAcrossNetworks() 426 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, 0xF00D, 512L, 4L, 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() [all …]
|
D | NetworkStatsObserversTest.java | 25 import static android.net.NetworkStats.SET_DEFAULT; 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()
|
D | NetworkStatsCollectionTest.java | 21 import static android.net.NetworkStats.SET_DEFAULT; 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() 249 … assertNotNull(collection.getHistory(buildTemplateMobileAll(TEST_IMSI), null, myUid, SET_DEFAULT, in testAccessLevels() local 253 SET_DEFAULT, TAG_NONE, 0, 0L, 0L, NetworkStatsAccess.Level.DEFAULT, myUid); in testAccessLevels() local
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
D | ForeignKeyAction.kt | 28 SET_DEFAULT(ForeignKey.SET_DEFAULT, "SET DEFAULT"),
|
/frameworks/support/room/common/src/main/java/androidx/room/ |
D | ForeignKey.java | 149 int SET_DEFAULT = 4; field 166 @IntDef({NO_ACTION, RESTRICT, SET_NULL, SET_DEFAULT, CASCADE})
|
/frameworks/base/tests/net/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 80 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()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/vo/ |
D | EntityTest.kt | 42 createForeignKey("SetDefault", ForeignKeyAction.SET_DEFAULT, false), in shouldBeDeletedAfter() 43 createForeignKey("SetDefaultDeferred", ForeignKeyAction.SET_DEFAULT, true), in shouldBeDeletedAfter()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | ChartDataLoader.java | 19 import static android.net.NetworkStats.SET_DEFAULT; 97 template, uid, SET_DEFAULT, data.detailDefault); in loadInBackground()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 58 public static final int SET_DEFAULT = 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() 448 iface, uid, SET_DEFAULT, tag, rxBytes, rxPackets, txBytes, in combineValues() 977 case SET_DEFAULT: in setToString() 997 case SET_DEFAULT: in setToCheckinString() 1264 int idxVpnBackground = findIndex(underlyingIface, tunUid, SET_DEFAULT, TAG_NONE, in deductTrafficFromVpnApp()
|
D | NetworkStatsHistory.java | 20 import static android.net.NetworkStats.SET_DEFAULT; 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/core/java/android/app/usage/ |
D | NetworkStats.java | 284 case STATE_DEFAULT: return android.net.NetworkStats.SET_DEFAULT; in convertSet() 293 case android.net.NetworkStats.SET_DEFAULT : return STATE_DEFAULT; in convertState()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | OffloadController.java | 19 import static android.net.NetworkStats.SET_DEFAULT; 270 entry.set = SET_DEFAULT; in getTetherStats()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 27 import static android.net.NetworkStats.SET_DEFAULT; 608 : SET_DEFAULT; in readLegacyUid() 648 key.ident, UID_REMOVED, SET_DEFAULT, TAG_NONE); in removeUids()
|
D | NetworkStatsService.java | 34 import static android.net.NetworkStats.SET_DEFAULT; 825 final int set = mActiveUidCounterSet.get(uid, SET_DEFAULT); in incrementOperationCount() 836 final int set = uidForeground ? SET_FOREGROUND : SET_DEFAULT; in setUidForeground() 837 final int oldSet = mActiveUidCounterSet.get(uid, SET_DEFAULT); in setUidForeground()
|
/frameworks/support/room/common/api_legacy/ |
D | 1.0.0.txt | 41 field public static final int SET_DEFAULT = 4; // 0x4
|
/frameworks/support/room/common/api/ |
D | current.txt | 43 field public static final int SET_DEFAULT = 4; // 0x4
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 264 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT, in fetchDataFromProc()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | OffloadControllerTest.java | 19 import static android.net.NetworkStats.SET_DEFAULT; 391 assertEquals(SET_DEFAULT, entry.set); in assertNetworkStats()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 37 import static android.net.NetworkStats.SET_DEFAULT; 1906 entry.set = SET_DEFAULT; in getTetherStats()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 11110 if (entry.set == NetworkStats.SET_DEFAULT) { // Background transfers in updateWifiState() 11129 if (entry.set == NetworkStats.SET_DEFAULT) { // Background transfers in updateWifiState() 11438 if (entry.set == NetworkStats.SET_DEFAULT) { // Background transfers in updateMobileRadioState()
|