Home
last modified time | relevance | path

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

/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DDiskLruCache.java336 deleteIfExists(entry.getDirtyFile(t)); in processJournal()
514 if (!entry.getDirtyFile(i).exists()) { in completeEdit()
522 File dirty = entry.getDirtyFile(i); in completeEdit()
752 File dirtyFile = entry.getDirtyFile(index); in getFile()
871 public File getDirtyFile(int i) { in getDirtyFile() method in DiskLruCache.Entry
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java319 File dirtyFile0 = getDirtyFile("k1", 0); in openWithDirtyKeyDeletesAllFilesForThatKey()
320 File dirtyFile1 = getDirtyFile("k1", 1); in openWithDirtyKeyDeletesAllFilesForThatKey()
455 assertFalse(fileSystem.exists(getDirtyFile("k1", 0))); in createNewEntryWithTooFewValuesFails()
456 assertFalse(fileSystem.exists(getDirtyFile("k1", 1))); in createNewEntryWithTooFewValuesFails()
471 assertFalse(fileSystem.exists(getDirtyFile("k1", 0))); in revertWithTooFewValues()
472 assertFalse(fileSystem.exists(getDirtyFile("k1", 1))); in revertWithTooFewValues()
1279 private File getDirtyFile(String key, int index) { in getDirtyFile() method in DiskLruCacheTest
1366 assertFalse(fileSystem.exists(getDirtyFile(key, 0))); in assertAbsent()
1367 assertFalse(fileSystem.exists(getDirtyFile(key, 1))); in assertAbsent()