Searched refs:freeDisk (Results 1 – 2 of 2) sorted by relevance
65 long freeDisk = SystemUtil.getFreeDiskSize(getContext()); in setUp() local66 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() local111 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() local130 if (freeDisk < fileSize) { in testRandomRead()[all …]
245 long freeDisk = SystemUtil.getFreeDiskSize(context); in getFileSizeExceedingMemory() local253 if (diskSizeTarget > freeDisk) { in getFileSizeExceedingMemory()254 Log.i(TAG, "Free disk size " + freeDisk + " too small"); in getFileSizeExceedingMemory()257 if ((freeDisk - diskSizeTarget) < reservedDiskSize) { in getFileSizeExceedingMemory()