Home
last modified time | relevance | path

Searched refs:MB_IN_BYTES (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsRecorder.java21 import static android.net.TrafficStats.MB_IN_BYTES;
88 private long mPersistThresholdBytes = 2 * MB_IN_BYTES;
150 thresholdBytes, 1 * KB_IN_BYTES, 100 * MB_IN_BYTES); in setPersistThreshold()
DNetworkStatsService.java53 import static android.net.TrafficStats.MB_IN_BYTES;
465 private long mPersistThreshold = 2 * MB_IN_BYTES;
2033 128 * KB_IN_BYTES, 2 * MB_IN_BYTES);
/packages/modules/Connectivity/framework-t/src/android/net/
DTrafficStats.java72 public static final long MB_IN_BYTES = KB_IN_BYTES * 1024; field in TrafficStats
75 public static final long GB_IN_BYTES = MB_IN_BYTES * 1024;
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsObserversTest.java30 import static android.net.TrafficStats.MB_IN_BYTES;
111 private static final long THRESHOLD_BYTES = 2 * MB_IN_BYTES;
112 private static final long BASE_BYTES = 7 * MB_IN_BYTES;
DNetworkStatsServiceTest.java56 import static android.net.TrafficStats.MB_IN_BYTES;
1842 provider.expectOnSetAlert(MB_IN_BYTES); in testStatsProviderUpdateStats()
1909 provider.expectOnSetAlert(MB_IN_BYTES); in testDualVilteProviderStats()
1956 provider.expectOnSetAlert(MB_IN_BYTES); in testStatsProviderSetAlert()
2650 return MB_IN_BYTES; in getGlobalAlertBytes()
2670 return MB_IN_BYTES; in getXtPersistBytes()
2675 return MB_IN_BYTES; in getUidPersistBytes()
2680 return MB_IN_BYTES; in getUidTagPersistBytes()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsHistoryTest.java35 import static android.net.TrafficStats.MB_IN_BYTES;
456 assertEquals(40 * MB_IN_BYTES, performVarLong(40 * MB_IN_BYTES)); in testVarLong()
/packages/modules/Connectivity/framework-t/hiddenapi/
Dhiddenapi-max-target-o-low-priority-tiramisu.txt491 Landroid/net/TrafficStats;->MB_IN_BYTES:J