Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerStressTest.java158 int availableBytes = blockSize * availableBlocks; in testDownloadToCacheWithAlmostFullCache() local
159 Log.i(TAG, "INITIAL stage, available space in /cache: " + availableBytes); in testDownloadToCacheWithAlmostFullCache()
166 if (DOWNLOAD_FILE_SIZE <= availableBytes) { in testDownloadToCacheWithAlmostFullCache()
167 int writeSizeBytes = availableBytes - (DOWNLOAD_FILE_SIZE / 2); in testDownloadToCacheWithAlmostFullCache()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DRootInfo.java54 public long availableBytes; field in RootInfo
74 availableBytes = -1; in reset()
93 availableBytes = in.readLong(); in read()
112 out.writeLong(availableBytes); in write()
149 root.availableBytes = getCursorLong(cursor, Root.COLUMN_AVAILABLE_BYTES); in fromRootsCursor()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsFragment.java242 if (TextUtils.isEmpty(summaryText) && root.availableBytes >= 0) { in bindView()
244 Formatter.formatFileSize(context, root.availableBytes)); in bindView()
DRootsCache.java110 mRecentsRoot.availableBytes = -1; in updateAsync()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java330 long availableBytes = st.getFreeBlocks()*blkSize; in testAppCacheClear() local