Searched refs:cacheDir (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/net/src/android/net/http/cts/ |
D | HttpResponseCacheTest.java | 42 private File cacheDir; field in HttpResponseCacheTest 49 cacheDir = new File(tmp, "HttpCache-" + UUID.randomUUID()); in setUp() 50 cacheDir.mkdirs(); in setUp() 52 FileUtils.setPermissions(cacheDir.getPath(), 0777); in setUp() 62 HttpResponseCache installed = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testInstall() 69 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testSecondEquivalentInstallDoesNothing() 70 HttpResponseCache another = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testSecondEquivalentInstallDoesNothing() 75 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testInstallClosesPreviouslyInstalled() 78 HttpResponseCache another = HttpResponseCache.install(cacheDir, 8 * 1024 * 1024); in testInstallClosesPreviouslyInstalled() 103 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testCloseCloses() [all …]
|
/cts/tests/core/runner-axt/src/com/android/cts/runner/ |
D | CtsTestRunListener.java | 72 File cacheDir = getInstrumentation().getTargetContext().getCacheDir(); in testRunStarted() local 73 System.setProperty("java.io.tmpdir", cacheDir.getAbsolutePath()); in testRunStarted()
|
/cts/tests/core/runner/src/com/android/cts/runner/ |
D | CtsTestRunListener.java | 72 File cacheDir = getInstrumentation().getTargetContext().getCacheDir(); in testRunStarted() local 73 System.setProperty("java.io.tmpdir", cacheDir.getAbsolutePath()); in testRunStarted()
|