Home
last modified time | relevance | path

Searched refs:MEBIBYTES (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java137 .setEstimatedNetworkBytes(DataUnit.MEBIBYTES.toBytes(1)) in testInsane()
154 .setEstimatedNetworkBytes(DataUnit.MEBIBYTES.toBytes(1)) in testCongestion()
181 .setEstimatedNetworkBytes(DataUnit.MEBIBYTES.toBytes(1)) in testRelaxed()
229 .setEstimatedNetworkBytes(DataUnit.MEBIBYTES.toBytes(1), 0) in testUpdates()
232 .setEstimatedNetworkBytes(DataUnit.MEBIBYTES.toBytes(1), 0) in testUpdates()
301 .setEstimatedNetworkBytes(DataUnit.MEBIBYTES.toBytes(1), 0) in testRequestStandbyExceptionLocked()
304 .setEstimatedNetworkBytes(DataUnit.MEBIBYTES.toBytes(1), 0) in testRequestStandbyExceptionLocked()
338 .setEstimatedNetworkBytes(DataUnit.MEBIBYTES.toBytes(1), 0) in testWouldBeReadyWithConnectivityLocked()
360 .setEstimatedNetworkBytes(DataUnit.MEBIBYTES.toBytes(1), 0) in testEvaluateStateLocked_HeartbeatsOn()
387 .setEstimatedNetworkBytes(DataUnit.MEBIBYTES.toBytes(1), 0) in testEvaluateStateLocked_JobWouldBeReady()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DDataUnitTest.java33 assertEquals(12_582_912L, DataUnit.MEBIBYTES.toBytes(12)); in testIec()
/frameworks/base/core/java/android/util/
DDataUnit.java40 MEBIBYTES { @Override public long toBytes(long v) { return v * 1_048_576; } }, in toBytes() enumConstant
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java83 private static final long DEFAULT_LOG_DELTA_BYTES = DataUnit.MEBIBYTES.toBytes(64);
89 private static final long BOOT_IMAGE_STORAGE_REQUIREMENT = DataUnit.MEBIBYTES.toBytes(250);
/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java108 public static final long MIN_THRESHOLD_BYTES = DataUnit.MEBIBYTES.toBytes(2);
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java78 private static final long DEFAULT_QUOTA = DataUnit.MEBIBYTES.toBytes(64);
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1305 private static final long DEFAULT_THRESHOLD_MAX_BYTES = DataUnit.MEBIBYTES.toBytes(500);
1310 private static final long DEFAULT_FULL_THRESHOLD_BYTES = DataUnit.MEBIBYTES.toBytes(1);
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1649 assertEquals(DataUnit.MEBIBYTES.toBytes(10),
1651 assertEquals(DataUnit.MEBIBYTES.toBytes(10),
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3835 pw.print(DataUnit.MEBIBYTES.toBytes(pair.second)); in dump()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java372 private static final long QUOTA_UNLIMITED_DEFAULT = DataUnit.MEBIBYTES.toBytes(20);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt76756 Landroid/util/DataUnit;->MEBIBYTES:Landroid/util/DataUnit;