Searched refs:freeSpace (Results 1 – 3 of 3) sorted by relevance
137 public static long freeSpace(String path) throws IOException { in freeSpace() method in FileSystemUtils350 String freeSpace = tok.nextToken(); in freeSpaceUnix() local351 return parseBytes(freeSpace, path); in freeSpaceUnix()363 long parseBytes(String freeSpace, String path) throws IOException { in parseBytes() argument365 long bytes = Long.parseLong(freeSpace); in parseBytes()
115 final long freeSpace = KILOBYTE; in testPopulateWithVolume() local116 final long usedSpace = totalSpace - freeSpace; in testPopulateWithVolume()122 when(file.getFreeSpace()).thenReturn(freeSpace); in testPopulateWithVolume()
85 final String freeSpace = Formatter.formatFileSize(RuntimeEnvironment.application, 0); in updateSummary_shouldDisplayUsedPercentAndFreeSpace() local88 R.string.storage_summary, percentage, freeSpace)); in updateSummary_shouldDisplayUsedPercentAndFreeSpace()