Searched refs:MB_IN_BYTES (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsRecorder.java | 21 import static android.net.TrafficStats.MB_IN_BYTES; 83 private long mPersistThresholdBytes = 2 * MB_IN_BYTES; 135 thresholdBytes, 1 * KB_IN_BYTES, 100 * MB_IN_BYTES); in setPersistThreshold()
|
D | NetworkPolicyManagerService.java | 77 import static android.net.TrafficStats.MB_IN_BYTES; 2088 return dataWarningConfig * MB_IN_BYTES; in getPlatformDefaultWarningBytes() 3248 .setDataLimit(512 * TrafficStats.MB_IN_BYTES, in getSubscriptionPlans() 3250 .setDataUsage(100 * TrafficStats.MB_IN_BYTES, in getSubscriptionPlans() 3258 .setDataLimit(512 * TrafficStats.MB_IN_BYTES, in getSubscriptionPlans() 3260 .setDataUsage(100 * TrafficStats.MB_IN_BYTES, in getSubscriptionPlans() 3270 .setDataUsage(15 * TrafficStats.MB_IN_BYTES, in getSubscriptionPlans() 3280 .setDataUsage(300 * TrafficStats.MB_IN_BYTES, in getSubscriptionPlans() 3290 .setDataUsage(50 * TrafficStats.MB_IN_BYTES, in getSubscriptionPlans()
|
D | NetworkStatsService.java | 50 import static android.net.TrafficStats.MB_IN_BYTES; 334 private long mPersistThreshold = 2 * MB_IN_BYTES; 1004 mPersistThreshold = MathUtils.constrain(thresholdBytes, 128 * KB_IN_BYTES, 2 * MB_IN_BYTES);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 22 import static android.net.TrafficStats.MB_IN_BYTES; 99 return MB_IN_BYTES in getDefaultWarningLevel()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 48 import static android.net.TrafficStats.MB_IN_BYTES; 1170 provider.expectOnSetAlert(MB_IN_BYTES); 1211 provider.expectOnSetAlert(MB_IN_BYTES); 1418 when(mSettings.getGlobalAlertBytes(anyLong())).thenReturn(MB_IN_BYTES); 1419 when(mSettings.getDevPersistBytes(anyLong())).thenReturn(MB_IN_BYTES); 1420 when(mSettings.getXtPersistBytes(anyLong())).thenReturn(MB_IN_BYTES); 1421 when(mSettings.getUidPersistBytes(anyLong())).thenReturn(MB_IN_BYTES); 1422 when(mSettings.getUidTagPersistBytes(anyLong())).thenReturn(MB_IN_BYTES);
|
D | NetworkStatsObserversTest.java | 28 import static android.net.TrafficStats.MB_IN_BYTES; 91 private static final long THRESHOLD_BYTES = 2 * MB_IN_BYTES; 92 private static final long BASE_BYTES = 7 * MB_IN_BYTES;
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 67 public static final long MB_IN_BYTES = KB_IN_BYTES * 1024; field in TrafficStats 70 public static final long GB_IN_BYTES = MB_IN_BYTES * 1024;
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsHistoryTest.java | 28 import static android.net.TrafficStats.MB_IN_BYTES; 430 assertEquals(40 * MB_IN_BYTES, performVarLong(40 * MB_IN_BYTES)); in testVarLong()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 43 import static android.net.TrafficStats.MB_IN_BYTES; 1015 sTemplateWifi, CYCLE_DAY, TIMEZONE_UTC, 1 * MB_IN_BYTES, 2 * MB_IN_BYTES, false)); 1019 (2 * MB_IN_BYTES) - 512);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 45304 Landroid/net/TrafficStats;->MB_IN_BYTES:J
|