Home
last modified time | relevance | path

Searched refs:MEGABYTES (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java247 DataUnit.MEGABYTES.toBytes(2) /* usedBytesToday */, in testGetMultipathPreference_SubscriptionQuota()
248 DataUnit.MEGABYTES.toBytes(14) /* subscriptionQuota */, in testGetMultipathPreference_SubscriptionQuota()
249 DataUnit.MEGABYTES.toBytes(100) /* policyWarning */, in testGetMultipathPreference_SubscriptionQuota()
251 DataUnit.MEGABYTES.toBytes(12) /* defaultGlobalSetting */, in testGetMultipathPreference_SubscriptionQuota()
256 any(), anyInt(), eq(DataUnit.MEGABYTES.toBytes(12)), any(), any()); in testGetMultipathPreference_SubscriptionQuota()
262 DataUnit.MEGABYTES.toBytes(7) /* usedBytesToday */, in testGetMultipathPreference_UserWarningQuota()
265 DataUnit.MEGABYTES.toBytes(15 * 29 * 20) /* policyWarning */, in testGetMultipathPreference_UserWarningQuota()
267 DataUnit.MEGABYTES.toBytes(12) /* defaultGlobalSetting */, in testGetMultipathPreference_UserWarningQuota()
273 any(), anyInt(), eq(DataUnit.MEGABYTES.toBytes(8)), any(), any()); in testGetMultipathPreference_UserWarningQuota()
279 DataUnit.MEGABYTES.toBytes(7) /* usedBytesToday */, in testGetMultipathPreference_SnoozedWarningQuota()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1049 ZonedDateTime.parse("2015-11-01T00:00:00.00Z"), DataUnit.MEGABYTES.toBytes(1800));
1062 new NetworkStats.Entry(DataUnit.MEGABYTES.toBytes(360), 0L, 0L, 0L, 0));
1071 DataUnit.MEGABYTES.toBytes(1800 - 360));
1079 new NetworkStats.Entry(DataUnit.MEGABYTES.toBytes(1799), 0L, 0L, 0L, 0));
1088 DataUnit.MEGABYTES.toBytes(1800 - 1799));
1097 new NetworkStats.Entry(DataUnit.MEGABYTES.toBytes(1799), 0L, 0L, 0L, 0));
1107 DataUnit.MEGABYTES.toBytes(1800 - 1799));
1116 new NetworkStats.Entry(DataUnit.MEGABYTES.toBytes(1810), 0L, 0L, 0L, 0));
1173 ZonedDateTime.parse("2015-11-01T00:00:00.00Z"), DataUnit.MEGABYTES.toBytes(1800));
1186 new NetworkStats.Entry(DataUnit.MEGABYTES.toBytes(360), 0L, 0L, 0L, 0));
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DDataUnitTest.java27 assertEquals(12_000_000L, DataUnit.MEGABYTES.toBytes(12)); in testSi()
/frameworks/base/core/java/android/util/
DDataUnit.java37 MEGABYTES { @Override public long toBytes(long v) { return v * 1_000_000; } }, in toBytes() enumConstant
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt76757 Landroid/util/DataUnit;->MEGABYTES:Landroid/util/DataUnit;