Searched refs:cache (Results 1 – 8 of 8) sorted by relevance
20 private var cache = mutableMapOf<Any, Any>() variable23 return cache.getOrPut(element) { element } as T in get()27 cache = mutableMapOf() in clear()31 return ICache.Backup(cache.toMutableMap()) in backup()35 cache = backup.cache in restore()
23 fun setCache(cache: ICache) = apply { Cache = cache } in <lambda>()
20 data class Backup(val cache: MutableMap<Any, Any>) constant in android.tools.ICache.Backup
53 Assert.assertTrue(copy.cache.containsKey(Dummy(0))) in testBackup()54 Assert.assertTrue(copy.cache.containsKey(Dummy(1))) in testBackup()55 Assert.assertFalse(copy.cache.containsKey(Dummy(2))) in testBackup()66 Assert.assertTrue(copy.cache.containsKey(Dummy(0))) in testRestore()67 Assert.assertTrue(copy.cache.containsKey(Dummy(1))) in testRestore()68 Assert.assertFalse(copy.cache.containsKey(Dummy(2))) in testRestore()74 private fun cacheSize() = Cache.backup().cache.size
25 import com.google.common.cache.CacheBuilder;26 import com.google.common.cache.CacheLoader;27 import com.google.common.cache.LoadingCache;
187 it.outputStream().use { cache -> in readAssetAsFile() method189 inputStream.copyTo(cache) in readAssetAsFile()
383 [ 1d0] %s/dalvik-cache/%s385 [ 20a] Error constructing dalvik cache : %s387 [ 24f] Error creating cache dir %s : %s389 [ 27d] Error changing dalvik-cache ownership : %s390 [ 2a8] Error changing dalvik-cache permissions : %s
354 [ 1d0] %s/dalvik-cache/%s356 [ 20a] Error constructing dalvik cache : %s358 [ 24f] Error creating cache dir %s : %s360 [ 27d] Error changing dalvik-cache ownership : %s361 [ 2a8] Error changing dalvik-cache permissions : %s