Home
last modified time | relevance | path

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

/tools/asuite/atest/tools/
Datest_tools_unittest.py75 with open(uc.CLASS_INDEX, 'rb') as cache:
76 _cache = pickle.load(cache)
79 with open(uc.CC_CLASS_INDEX, 'rb') as cache:
80 _cache = pickle.load(cache)
83 with open(uc.PACKAGE_INDEX, 'rb') as cache:
84 _cache = pickle.load(cache)
87 with open(uc.QCLASS_INDEX, 'rb') as cache:
88 _cache = pickle.load(cache)
92 with open(uc.MODULE_INDEX, 'rb') as cache:
93 _cache = pickle.load(cache)
Datest_tools.py209 with open(index, 'wb') as cache:
211 pickle.dump(testable_modules, cache, protocol=2)
214 os.remove(cache)
215 logging.error('Failed in dumping %s', cache)
/tools/tradefederation/core/atest/tools/
Datest_tools_unittest.py73 with open(uc.CLASS_INDEX, 'rb') as cache:
74 _cache = pickle.load(cache)
77 with open(uc.CC_CLASS_INDEX, 'rb') as cache:
78 _cache = pickle.load(cache)
81 with open(uc.PACKAGE_INDEX, 'rb') as cache:
82 _cache = pickle.load(cache)
85 with open(uc.QCLASS_INDEX, 'rb') as cache:
86 _cache = pickle.load(cache)
90 with open(uc.MODULE_INDEX, 'rb') as cache:
91 _cache = pickle.load(cache)
Datest_tools.py209 with open(index, 'wb') as cache:
211 pickle.dump(testable_modules, cache, protocol=2)
213 os.remove(cache)
214 logging.error('Failed in dumping %s', cache)
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCacheFactory.java55 FileDownloadCache cache = mCacheObjectMap.get(cacheDir.getAbsolutePath()); in getCache() local
56 if (cache == null) { in getCache()
57 cache = new FileDownloadCache(cacheDir); in getCache()
58 mCacheObjectMap.put(cacheDir.getAbsolutePath(), cache); in getCache() local
60 return cache; in getCache()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/
DCachedFileContents.java80 private T cache; field in CachedFileContents
100 public void closed(@Nullable T cache) { in closed() argument
101 this.cache = cache; in closed()
134 cache = null; in isValid()
149 return cache; in getCache()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/utils/
DCachedFileContentsTest.java40 Object cache = new Object(); in createFileAndCheckWithNoChanges() local
43 cachedFile.closed(cache); in createFileAndCheckWithNoChanges()
46 assertSame(cache, cachedFile.getCache()); in createFileAndCheckWithNoChanges()
54 Object cache = new Object(); in createFileAndCheckChanges() local
57 cachedFile.closed(cache); in createFileAndCheckChanges()
70 Object cache = new Object(); in createFileUpdateAndCheckChanges() local
73 cachedFile.closed(cache); in createFileUpdateAndCheckChanges()
76 cachedFile.closed(cache); in createFileUpdateAndCheckChanges()
79 assertSame(cache, cachedFile.getCache()); in createFileUpdateAndCheckChanges()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DStringCache.kt24 private val cache: MutableMap<DataSlice, String> = HashMap(1_000) constant in trebuchet.util.StringCache
27 var ret = cache[slice] in stringFor()
30 cache.putIfAbsent(slice.compact(), ret) in stringFor()
/tools/tradefederation/core/atest/
Datest_completion.sh29 with open(constants.MODULE_INDEX, 'rb') as cache:
31 print("\n".join(pickle.load(cache, encoding="utf-8")))
33 print("\n".join(pickle.load(cache)))
/tools/asuite/atest/
Datest_completion.sh46 with open(constants.MODULE_INDEX, 'rb') as cache:
48 print("\n".join(pickle.load(cache, encoding="utf-8")))
50 print("\n".join(pickle.load(cache)))
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheFuncTest.java285 FileDownloadCache cache = new FileDownloadCache(cacheRoot); in testConstructor_createCache() local
286 assertNotNull(cache.getCachedFile(REMOTE_PATH)); in testConstructor_createCache()
287 assertNotNull(cache.getCachedFile("aa/anotherpath")); in testConstructor_createCache()
288 assertEquals(REMOTE_PATH, cache.getOldestEntry()); in testConstructor_createCache()
/tools/trebuchet/trebuchet/startup-analyzer/
DREADME.md135 … /data/dalvik-cache/arm/system@framework@org.apache.http.legacy.impl.jar@classes.dex @ 0.028 ms
137 … /data/dalvik-cache/arm/system@framework@com.google.android.maps.jar@classes.dex @ 0.026 ms
139 …/data/dalvik-cache/arm/data@app@com.facebook.katana-Hu0CRasfgvX30RlV_mJxBA==@base.apk@classes.dex …
141 …/data/dalvik-cache/arm/data@app@com.facebook.katana-Hu0CRasfgvX30RlV_mJxBA==@split_codegenerator.a…
/tools/test/connectivity/acts/
D.gitignore43 .cache
/tools/test/connectivity/tools/
D.gitignore43 .cache
/tools/ndkports/
D.gitignore82 # Android studio 3.1+ serialized cache file
/tools/trebuchet/
DREADME.md19 …tion for startup stats, broken down by program name, compiler filter, and cache status. If Trebuc…
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...