Home
last modified time | relevance | path

Searched refs:freeDisk (Results 1 – 2 of 2) sorted by relevance

/cts/tests/filesystem/src/android/filesystem/cts/
DAlmostFullTest.java65 long freeDisk = SystemUtil.getFreeDiskSize(getContext()); in setUp() local
66 long diskToFill = freeDisk - FREE_SPACE_FINAL; in setUp()
68 Log.i(TAG, "free disk " + freeDisk + ", to fill " + diskToFill); in setUp()
70 Log.i(TAG, "free disk " + freeDisk + " too small, needs " + FREE_SPACE_FINAL); in setUp()
110 long freeDisk = SystemUtil.getFreeDiskSize(getContext()); in testSequentialUpdate() local
111 Log.i(TAG, "Now free space is " + freeDisk); in testSequentialUpdate()
112 if (freeDisk < FILE_SIZE) { in testSequentialUpdate()
113 Log.w(TAG, "too little space: " + freeDisk); in testSequentialUpdate()
129 long freeDisk = SystemUtil.getFreeDiskSize(getContext()); in testRandomRead() local
130 if (freeDisk < fileSize) { in testRandomRead()
[all …]
DFileUtil.java245 long freeDisk = SystemUtil.getFreeDiskSize(context); in getFileSizeExceedingMemory() local
253 if (diskSizeTarget > freeDisk) { in getFileSizeExceedingMemory()
254 Log.i(TAG, "Free disk size " + freeDisk + " too small"); in getFileSizeExceedingMemory()
257 if ((freeDisk - diskSizeTarget) < reservedDiskSize) { in getFileSizeExceedingMemory()