Lines Matching refs:directory
154 private final File directory; field in DiskLruCache
288 private DiskLruCache(File directory, int appVersion, int valueCount, long maxSize) { in DiskLruCache() argument
289 this.directory = directory; in DiskLruCache()
291 this.journalFile = new File(directory, JOURNAL_FILE); in DiskLruCache()
292 this.journalFileTmp = new File(directory, JOURNAL_FILE_TMP); in DiskLruCache()
307 public static DiskLruCache open(File directory, int appVersion, int valueCount, long maxSize) in open() argument
317 DiskLruCache cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open()
333 directory.mkdirs(); in open()
334 cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open()
545 return directory; in getDirectory()
713 deleteContents(directory); in delete()
946 return new File(directory, key + "." + i); in getCleanFile()
950 return new File(directory, key + "." + i + ".tmp"); in getDirtyFile()