/external/smack/src/org/jivesoftware/smackx/entitycaps/cache/ |
D | SimpleDirectoryPersistentCache.java | 50 private File cacheDir; field in SimpleDirectoryPersistentCache 63 public SimpleDirectoryPersistentCache(File cacheDir) { in SimpleDirectoryPersistentCache() argument 64 this(cacheDir, Base32Encoder.getInstance()); in SimpleDirectoryPersistentCache() 77 public SimpleDirectoryPersistentCache(File cacheDir, StringEncoder filenameEncoder) { in SimpleDirectoryPersistentCache() argument 78 if (!cacheDir.exists()) in SimpleDirectoryPersistentCache() 79 throw new IllegalStateException("Cache directory \"" + cacheDir + "\" does not exist"); in SimpleDirectoryPersistentCache() 80 if (!cacheDir.isDirectory()) in SimpleDirectoryPersistentCache() 81 … throw new IllegalStateException("Cache directory \"" + cacheDir + "\" is not a directory"); in SimpleDirectoryPersistentCache() 83 this.cacheDir = cacheDir; in SimpleDirectoryPersistentCache() 90 File nodeFile = new File(cacheDir, filename); in addDiscoverInfoByNodePersistent() [all …]
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
D | DiskLruCacheTest.java | 47 private File cacheDir; field in DiskLruCacheTest 53 cacheDir = new File(javaTmpDir, "DiskLruCacheTest"); in setUp() 54 cacheDir.mkdir(); in setUp() 55 journalFile = new File(cacheDir, JOURNAL_FILE); in setUp() 56 for (File file : cacheDir.listFiles()) { in setUp() 59 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); in setUp() 93 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); in readAndWriteEntryAcrossCacheOpenAndClose() 220 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); in openWithDirtyKeyDeletesAllFilesForThatKey() 232 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); in openWithInvalidVersionClearsDirectory() 240 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); in openWithInvalidAppVersionClearsDirectory() [all …]
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
D | AppDataDirGuesser.java | 90 File cacheDir = new File(dataDir, "cache"); in guessPath() local 92 if (fileOrDirExists(cacheDir) || cacheDir.mkdir()) { in guessPath() 93 if (isWriteableDirectory(cacheDir)) { in guessPath() 94 results.add(cacheDir); in guessPath()
|
/external/littlemock/src/com/google/testing/littlemock/ |
D | AppDataDirGuesser.java | 105 File cacheDir = new File(dataDir, "cache"); in guessPath() local 106 if (fileOrDirExists(cacheDir) || makeDirectory(cacheDir)) { in guessPath() 107 if (isWriteableDirectory(cacheDir)) { in guessPath() 108 results.add(cacheDir); in guessPath()
|
/external/webkit/Source/WebKit2/UIProcess/mac/ |
D | WebContextMac.mm | 56 NSString *cacheDir = [defaults objectForKey:WebKitLocalCacheDefaultsKey]; 58 if (!cacheDir || ![cacheDir isKindOfClass:[NSString class]]) { 60 cacheDir = [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Caches"]; 66 …cacheDir = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:cacheDirectory lengt… 70 return [cacheDir stringByAppendingPathComponent:appName];
|
/external/webkit/Source/WebKit/mac/Misc/ |
D | WebKitNSStringExtras.mm | 326 NSString *cacheDir = [defaults objectForKey:WebKitLocalCacheDefaultsKey]; 328 if (!cacheDir || ![cacheDir isKindOfClass:[NSString class]]) { 330 cacheDir = [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Caches"]; 336 …cacheDir = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:cacheDirectory lengt… 340 return [cacheDir stringByAppendingPathComponent:bundleIdentifier];
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | HttpOverSpdyTest.java | 84 File cacheDir = new File(systemTmpDir, "HttpCache-" + UUID.randomUUID()); in setUp() local 85 cache = new HttpResponseCache(cacheDir, Integer.MAX_VALUE); in setUp()
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebDataSource.mm | 206 …NSString *cacheDir = [NSString _webkit_localCacheDirectoryWithBundleIdentifier:destinationBundleId… 208 return ApplicationCacheStorage::storeCopyOfCache(cacheDir, loader->applicationCacheHost());
|
D | WebView.mm | 581 NSString* cacheDir = [NSString _webkit_localCacheDirectoryWithBundleIdentifier:appName]; 583 cacheStorage().setCacheDirectory(cacheDir); category
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
D | HttpResponseCacheTest.java | 106 File cacheDir = new File(tmp, "HttpCache-" + UUID.randomUUID()); in setUp() local 107 cache = new HttpResponseCache(cacheDir, Integer.MAX_VALUE); in setUp()
|
D | URLConnectionTest.java | 763 File cacheDir = new File(tmp, "HttpCache-" + UUID.randomUUID()); in initResponseCache() local 764 cache = new HttpResponseCache(cacheDir, Integer.MAX_VALUE); in initResponseCache()
|
/external/smack/asmack-master/jingle/ |
D | 60-remove-jingle_mediaimpl.patch | 278 - r.set("secure.cacheDir", tempDir);
|