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

/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerStressTest.java158 int availableBytes = blockSize * availableBlocks;
159 Log.i(TAG, "INITIAL stage, available space in /cache: " + availableBytes);
166 if (DOWNLOAD_FILE_SIZE <= availableBytes) {
167 int writeSizeBytes = availableBytes - (DOWNLOAD_FILE_SIZE / 2);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DRootInfo.java54 public long availableBytes; field in class:RootInfo
75 availableBytes = -1;
95 availableBytes = in.readLong();
114 out.writeLong(availableBytes);
151 root.availableBytes = getCursorLong(cursor, Root.COLUMN_AVAILABLE_BYTES);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java242 if (TextUtils.isEmpty(summaryText) && root.availableBytes >= 0) {
244 Formatter.formatFileSize(context, root.availableBytes));
H A DRootsCache.java109 mRecentsRoot.availableBytes = -1;
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java330 long availableBytes = st.getFreeBlocks()*blkSize;

Completed in 133 milliseconds