Home
last modified time | relevance | path

Searched refs:usableBytes (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorService.java205 final long usableBytes = file.getUsableSpace(); in checkLow() local
214 } else if (usableBytes <= fullBytes) { in checkLow()
216 } else if (usableBytes <= lowBytes) { in checkLow()
219 && usableBytes < BOOT_IMAGE_STORAGE_REQUIREMENT) { in checkLow()
226 if ((Math.abs(state.lastUsableBytes - usableBytes) > DEFAULT_LOG_DELTA_BYTES) in checkLow()
229 usableBytes, totalBytes); in checkLow() local
230 state.lastUsableBytes = usableBytes; in checkLow()
/aosp14/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java1539 final long usableBytes = path.getUsableSpace(); in computeStorageCacheBytes() local
1543 if (usableBytes > storageThresholdHighBytes) { in computeStorageCacheBytes()
1547 } else if (usableBytes < storageThresholdLowBytes) { in computeStorageCacheBytes()
1557 result = Math.round(slope * usableBytes + intercept); in computeStorageCacheBytes()