/cts/tests/tests/net/src/android/net/http/cts/ |
HttpResponseCacheTest.java | 42 private File cacheDir; 49 cacheDir = new File(tmp, "HttpCache-" + UUID.randomUUID()); 50 cacheDir.mkdirs(); 52 FileUtils.setPermissions(cacheDir.getPath(), 0777); 62 HttpResponseCache installed = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); 69 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); 70 HttpResponseCache another = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); 75 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); 78 HttpResponseCache another = HttpResponseCache.install(cacheDir, 8 * 1024 * 1024); 103 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024) [all...] |
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
FileClientSessionCacheTest.java | 31 File cacheDir = new File(tmpDir 34 = FileClientSessionCache.usingDirectory(cacheDir); 54 assertEquals(FileClientSessionCache.MAX_SIZE, cacheDir.list().length);
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
FileClientSessionCacheTest.java | 35 File cacheDir = new File(tmpDir 38 = FileClientSessionCache.usingDirectory(cacheDir); 58 assertEquals(FileClientSessionCache.MAX_SIZE, cacheDir.list().length);
|
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/ |
AndroidTempFileLocator.java | 67 File cacheDir = new File(dataDir, "cache"); 68 if (fileOrDirExists(cacheDir) || cacheDir.mkdir()) { 69 if (isWriteableDirectory(cacheDir)) { 70 results.add(cacheDir);
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/ |
HttpResponseCacheTest.java | 55 private File cacheDir; 59 cacheDir = cacheRule.getRoot(); 68 HttpResponseCache installed = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); 75 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); 76 HttpResponseCache another = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); 81 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); 84 HttpResponseCache another = HttpResponseCache.install(cacheDir, 8 * 1024 * 1024); 112 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); 124 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); 130 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024) [all...] |
/external/deqp/scripts/khr_util/ |
registry_cache.py | 87 def checkoutFile (repository, revision, filename, cacheDir): 92 fullDstPath = os.path.join(cacheDir, "git") 103 def fetchFile (dstPath, repository, revision, filename, checksum, cacheDir): 113 data = checkoutFile(repository, revision, filename, cacheDir) 141 cacheDir = os.path.join(os.path.dirname(__file__), "cache") 142 cachePath = os.path.join(cacheDir, source.getCacheFilename()) 145 fetchFile(cachePath, source.getRepo(), source.getRevision(), source.getFilename(), source.getChecksum(), cacheDir)
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
Volley.java | 89 File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR); 90 RequestQueue queue = new RequestQueue(new DiskBasedCache(cacheDir), network);
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
AppDataDirGuesser.java | 161 File cacheDir = new File(dataDir, "cache"); 163 if (fileOrDirExists(cacheDir) || cacheDir.mkdir()) { 164 if (isWriteableDirectory(cacheDir)) { 165 results.add(cacheDir);
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
GlideBuilder.java | 168 File cacheDir = Glide.getPhotoCacheDir(context); 169 if (cacheDir != null) { 170 diskCache = DiskLruCacheWrapper.get(cacheDir, Glide.DEFAULT_DISK_CACHE_SIZE);
|
Glide.java | 123 File cacheDir = context.getCacheDir(); 124 if (cacheDir != null) { 125 File result = new File(cacheDir, cacheName);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
DiskLruCacheTest.java | 57 private File cacheDir; 70 cache = new DiskLruCache(fileSystem, cacheDir, appVersion, 2, maxSize, executor); 78 cacheDir = tempDir.getRoot(); 79 journalFile = new File(cacheDir, JOURNAL_FILE); 80 journalBkpFile = new File(cacheDir, JOURNAL_FILE_BACKUP); 632 DiskLruCache.create(fileSystem, cacheDir, appVersion, 2, 0); 640 DiskLruCache.create(fileSystem, cacheDir, appVersion, 0, 10); [all...] |
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/ |
CachedDependencyResolver.java | 24 public CachedDependencyResolver(DependencyResolver dependencyResolver, File cacheDir, long cacheValidTime) { 25 this(dependencyResolver, new FileCache(cacheDir, cacheValidTime), new DefaultCacheNamingStrategy(), new DefaultCacheValidationStrategy());
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
CachingEntityResolver.java | 55 File cacheDir = new File(getCacheDir()); 56 cacheDir.mkdir(); 57 File cachedFiles[] = cacheDir.listFiles();
|
/cts/tests/core/runner/src/com/android/cts/runner/ |
CtsTestRunListener.java | 72 File cacheDir = getInstrumentation().getTargetContext().getCacheDir(); 73 System.setProperty("java.io.tmpdir", cacheDir.getAbsolutePath());
|
/cts/tests/core/runner-axt/src/com/android/cts/runner/ |
CtsTestRunListener.java | 72 File cacheDir = getInstrumentation().getTargetContext().getCacheDir(); 73 System.setProperty("java.io.tmpdir", cacheDir.getAbsolutePath());
|
/development/apps/Development/src/com/android/development/ |
CacheAbuser.java | 57 AbuseTask(File cacheDir, boolean quick) { 58 File dir = new File(cacheDir, quick ? "quick" : "slow");
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
RobolectricTestRunner.java | 120 // cacheDir bumped to 'robolectric-2' to invalidate caching of bad URLs on windows prior 122 File cacheDir = new File(new File(System.getProperty("java.io.tmpdir")), "robolectric-2"); 127 if (cacheDir.exists() || cacheDir.mkdir()) { 128 Logger.info("Dependency cache location: %s", cacheDir.getAbsolutePath()); 129 this.dependencyResolver = new CachedDependencyResolver(dependencyResolver, cacheDir, 60 * 60 * 24 * 1000);
|
/external/tensorflow/tensorflow/lite/nnapi/ |
nnapi_implementation.h | [all...] |
NeuralNetworksShim.h | [all...] |
/external/cldr/tools/scripts/web/ |
bugdiffs | [all...] |
/developers/samples/android/ui/graphics/PdfRendererBasic/kotlinApp/Application/src/main/java/com/example/android/pdfrendererbasic/ |
PdfRendererBasicViewModel.kt | 115 val file = File(application.cacheDir, FILENAME)
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 657 final String cacheDir = "/Android/data/" + context.getPackageName() + "/cache/"; 658 return new File(Environment.getExternalStorageDirectory().getPath() + cacheDir);
|
/developers/build/prebuilts/gradle/PdfRendererBasic/kotlinApp/Application/src/main/java/com/example/android/pdfrendererbasic/ |
PdfRendererBasicFragment.kt | 151 val file = File(context.cacheDir, FILENAME)
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 657 final String cacheDir = "/Android/data/" + context.getPackageName() + "/cache/"; 658 return new File(Environment.getExternalStorageDirectory().getPath() + cacheDir);
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
ImageCache.java | 657 final String cacheDir = "/Android/data/" + context.getPackageName() + "/cache/"; 658 return new File(Environment.getExternalStorageDirectory().getPath() + cacheDir);
|