Searched refs:freeDisk (Results 1 – 2 of 2) sorted by relevance
57 long freeDisk = SystemUtil.getFreeDiskSize(getContext()); in setUp() local58 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() local102 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() local120 if (freeDisk < fileSize) { in testRandomRead()[all …]
243 long freeDisk = SystemUtil.getFreeDiskSize(context); in getFileSizeExceedingMemory() local251 if (diskSizeTarget > freeDisk) { in getFileSizeExceedingMemory()252 Log.i(TAG, "Free disk size " + freeDisk + " too small"); in getFileSizeExceedingMemory()255 if ((freeDisk - diskSizeTarget) < reservedDiskSize) { in getFileSizeExceedingMemory()