Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/net/src/android/net/http/cts/
DHttpResponseCacheTest.java103 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testCloseCloses() local
104 initializeCache(cache); in testCloseCloses()
106 cache.close(); in testCloseCloses()
108 cache.flush(); in testCloseCloses()
115 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testCloseUninstalls() local
116 cache.close(); in testCloseUninstalls()
121 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testDeleteUninstalls() local
122 cache.delete(); in testDeleteUninstalls()
132 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testStatisticsTracking() local
144 assertEquals(1, cache.getRequestCount()); in testStatisticsTracking()
[all …]
/cts/hostsidetests/security/src/android/security/cts/
DKernelConfigTest.java82 Map<ITestDevice, HashSet<String>> cache) throws Exception { in getDeviceConfig() argument
87 synchronized (cache) { in getDeviceConfig()
88 set = cache.get(device); in getDeviceConfig()
100 synchronized (cache) { in getDeviceConfig()
101 cache.put(device, set); in getDeviceConfig()
DSELinuxHostTest.java185 Map<ITestDevice, File> cache, String deviceFilePath, in getDeviceFile() argument
191 synchronized (cache) { in getDeviceFile()
192 file = cache.get(device); in getDeviceFile()
200 synchronized (cache) { in getDeviceFile()
201 cache.put(device, file); in getDeviceFile()
206 private static File buildSystemPolicy(ITestDevice device, Map<ITestDevice, File> cache, in buildSystemPolicy() argument
209 synchronized (cache) { in buildSystemPolicy()
210 builtPolicyFile = cache.get(device); in buildSystemPolicy()
246 synchronized (cache) { in buildSystemPolicy()
247 cache.put(device, builtPolicyFile); in buildSystemPolicy()
/cts/tools/vm-tests-tf/etc/
Dstarthosttests91 rm -rf --preserve-root $datadir/dalvik-cache
93 mkdir -p $datadir/dalvik-cache
Dstarttests98 rm -rf --preserve-root $datadir/dalvik-cache
100 mkdir -p $datadir/dalvik-cache
/cts/tools/release-parser/tests/resources/
Dplatform.xml.pb.txt149 value: "cache"