Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DAttachmentUtils.java177 final long usableSpace = cacheDir.getUsableSpace() - attachment.size; in cacheAttachmentUri() local
178 if (isLowSpace(totalSpace, usableSpace)) { in cacheAttachmentUri()
180 usableSpace, totalSpace, attachment); in cacheAttachmentUri()
225 final long usableSpace = cacheDir.getUsableSpace(); in cacheAttachmentUri() local
226 if (isLowSpace(totalSpace, usableSpace)) { in cacheAttachmentUri()
229 usableSpace, totalSpace, attachment); in cacheAttachmentUri()
257 private static boolean isLowSpace(long totalSpace, long usableSpace) { in isLowSpace() argument
261 return usableSpace < in isLowSpace()