Home
last modified time | relevance | path

Searched refs:cacheDir (Results 1 – 12 of 12) sorted by relevance

/external/smack/src/org/jivesoftware/smackx/entitycaps/cache/
DSimpleDirectoryPersistentCache.java50 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/
DDiskLruCacheTest.java47 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/
DAppDataDirGuesser.java90 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/
DAppDataDirGuesser.java105 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/
DWebContextMac.mm56 NSString *cacheDir = [defaults objectForKey:WebKitLocalCacheDefaultsKey];
58 if (!cacheDir || ![cacheDir isKindOfClass:[NSString class]]) {
60 cacheDir = [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Caches"];
66cacheDir = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:cacheDirectory lengt…
70 return [cacheDir stringByAppendingPathComponent:appName];
/external/webkit/Source/WebKit/mac/Misc/
DWebKitNSStringExtras.mm326 NSString *cacheDir = [defaults objectForKey:WebKitLocalCacheDefaultsKey];
328 if (!cacheDir || ![cacheDir isKindOfClass:[NSString class]]) {
330 cacheDir = [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Caches"];
336cacheDir = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:cacheDirectory lengt…
340 return [cacheDir stringByAppendingPathComponent:bundleIdentifier];
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DHttpOverSpdyTest.java84 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/
DWebDataSource.mm206 …NSString *cacheDir = [NSString _webkit_localCacheDirectoryWithBundleIdentifier:destinationBundleId…
208 return ApplicationCacheStorage::storeCopyOfCache(cacheDir, loader->applicationCacheHost());
DWebView.mm581 NSString* cacheDir = [NSString _webkit_localCacheDirectoryWithBundleIdentifier:appName];
583 cacheStorage().setCacheDirectory(cacheDir); category
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
DHttpResponseCacheTest.java106 File cacheDir = new File(tmp, "HttpCache-" + UUID.randomUUID()); in setUp() local
107 cache = new HttpResponseCache(cacheDir, Integer.MAX_VALUE); in setUp()
DURLConnectionTest.java763 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/
D60-remove-jingle_mediaimpl.patch278 - r.set("secure.cacheDir", tempDir);