Searched refs:availableBytes (Results 1 – 6 of 6) sorted by relevance
160 int availableBytes = blockSize * availableBlocks; in testDownloadToCacheWithAlmostFullCache() local161 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()
90 public long availableBytes; field in RootInfo111 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()
263 if (TextUtils.isEmpty(summaryText) && root.availableBytes >= 0) { in bindView()265 Formatter.formatFileSize(context, root.availableBytes)); in bindView()
101 availableBytes = -1; in RootsCache()139 assert(mRecentsRoot.availableBytes == -1); in updateAsync()
167 long availableBytes = 0; in queryRoots() local179 availableBytes += storageCursor.getLong(availableIndex); in queryRoots()183 values.put(Root.COLUMN_AVAILABLE_BYTES, availableBytes); in queryRoots()
332 long availableBytes = st.getFreeBlocks()*blkSize; in testAppCacheClear() local