Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerStressTest.java161 int availableBytes = blockSize * availableBlocks; in testDownloadToCacheWithAlmostFullCache() local
162 Log.i(TAG, "INITIAL stage, available space in /cache: " + availableBytes); in testDownloadToCacheWithAlmostFullCache()
169 if (DOWNLOAD_FILE_SIZE <= availableBytes) { in testDownloadToCacheWithAlmostFullCache()
170 int writeSizeBytes = availableBytes - (DOWNLOAD_FILE_SIZE / 2); in testDownloadToCacheWithAlmostFullCache()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java449 long availableBytes = -1; in queryRoots() local
453 availableBytes = getContext() in queryRoots()
460 availableBytes = root.path.getUsableSpace(); in queryRoots()
463 row.add(Root.COLUMN_AVAILABLE_BYTES, availableBytes); in queryRoots()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDatabase.java168 long availableBytes = 0; in queryRoots() local
180 availableBytes += storageCursor.getLong(availableIndex); in queryRoots()
184 values.put(Root.COLUMN_AVAILABLE_BYTES, availableBytes); in queryRoots()