Home
last modified time | relevance | path

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

/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
DAlmostFullTest.java57 long freeDisk = SystemUtil.getFreeDiskSize(getContext()); in setUp() local
58 long diskToFill = freeDisk - FREE_SPACE_FINAL; in setUp()
60 Log.i(TAG, "free disk " + freeDisk + ", to fill " + diskToFill); in setUp()
62 Log.i(TAG, "free disk " + freeDisk + " too small, needs " + FREE_SPACE_FINAL); in setUp()
101 long freeDisk = SystemUtil.getFreeDiskSize(getContext()); in testSequentialUpdate() local
102 Log.i(TAG, "Now free space is " + freeDisk); in testSequentialUpdate()
103 if (freeDisk < FILE_SIZE) { in testSequentialUpdate()
104 Log.w(TAG, "too little space: " + freeDisk); in testSequentialUpdate()
119 long freeDisk = SystemUtil.getFreeDiskSize(getContext()); in testRandomRead() local
120 if (freeDisk < fileSize) { in testRandomRead()
[all …]
DFileUtil.java243 long freeDisk = SystemUtil.getFreeDiskSize(context); in getFileSizeExceedingMemory() local
251 if (diskSizeTarget > freeDisk) { in getFileSizeExceedingMemory()
252 Log.i(TAG, "Free disk size " + freeDisk + " too small"); in getFileSizeExceedingMemory()
255 if ((freeDisk - diskSizeTarget) < reservedDiskSize) { in getFileSizeExceedingMemory()