Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerStressTest.java160 int availableBytes = blockSize * availableBlocks; in testDownloadToCacheWithAlmostFullCache() local
161 Log.i(TAG, "INITIAL stage, available space in /cache: " + availableBytes); in testDownloadToCacheWithAlmostFullCache()
168 if (DOWNLOAD_FILE_SIZE <= availableBytes) { in testDownloadToCacheWithAlmostFullCache()
169 int writeSizeBytes = availableBytes - (DOWNLOAD_FILE_SIZE / 2); in testDownloadToCacheWithAlmostFullCache()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DRootInfo.java90 public long availableBytes; field in RootInfo
111 availableBytes = -1; in reset()
131 availableBytes = in.readLong(); in read()
150 out.writeLong(availableBytes); in write()
187 root.availableBytes = getCursorLong(cursor, Root.COLUMN_AVAILABLE_BYTES); in fromRootsCursor()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsFragment.java263 if (TextUtils.isEmpty(summaryText) && root.availableBytes >= 0) { in bindView()
265 Formatter.formatFileSize(context, root.availableBytes)); in bindView()
DRootsCache.java101 availableBytes = -1; in RootsCache()
139 assert(mRecentsRoot.availableBytes == -1); in updateAsync()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDatabase.java167 long availableBytes = 0; in queryRoots() local
179 availableBytes += storageCursor.getLong(availableIndex); in queryRoots()
183 values.put(Root.COLUMN_AVAILABLE_BYTES, availableBytes); in queryRoots()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java332 long availableBytes = st.getFreeBlocks()*blkSize; in testAppCacheClear() local