Home
last modified time | relevance | path

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

/system/core/libutils/tests/
DLruCache_test.cpp122 LruCache<SimpleKey, StringValue> cache(100); in TEST_F() local
124 EXPECT_EQ(NULL, cache.get(0)); in TEST_F()
125 EXPECT_EQ(0u, cache.size()); in TEST_F()
129 LruCache<SimpleKey, StringValue> cache(100); in TEST_F() local
131 cache.put(1, "one"); in TEST_F()
132 cache.put(2, "two"); in TEST_F()
133 cache.put(3, "three"); in TEST_F()
134 EXPECT_STREQ("one", cache.get(1)); in TEST_F()
135 EXPECT_STREQ("two", cache.get(2)); in TEST_F()
136 EXPECT_STREQ("three", cache.get(3)); in TEST_F()
[all …]
/system/core/liblog/
Dlog_is_loggable.c26 struct cache { struct
32 static void refresh_cache(struct cache *cache, const char *key) in refresh_cache() argument
37 if (!cache->pinfo) { in refresh_cache()
38 cache->pinfo = __system_property_find(key); in refresh_cache()
39 if (!cache->pinfo) { in refresh_cache()
43 serial = __system_property_serial(cache->pinfo); in refresh_cache()
44 if (serial == cache->serial) { in refresh_cache()
47 cache->serial = serial; in refresh_cache()
48 __system_property_read(cache->pinfo, 0, buf); in refresh_cache()
49 cache->c = buf[0]; in refresh_cache()
[all …]
/system/core/rootdir/
Dinit.rc53 mkdir /cache 0770 system cache
253 # We chown/chmod /cache again so because mount is run as root + defaults
254 chown system cache /cache
255 chmod 0770 /cache
256 # We restorecon /cache in case the cache partition has been reset.
257 restorecon_recursive /cache
259 # Create /cache/recovery in case it's not there. It'll also fix the odd
261 mkdir /cache/recovery 0770 system cache
282 mkdir /cache/lost+found 0770 root root
349 # create dalvik-cache, so as to enforce our permissions
[all …]
/system/core/include/utils/
DLruCache.h55 Iterator(const LruCache<TKey, TValue>& cache): mCache(cache), mIndex(-1) { in Iterator() argument
/system/core/libpixelflinger/codeflinger/
DCodeCache.h88 int cache( const AssemblyKeyBase& key,
DCodeCache.cpp178 int CodeCache::cache( const AssemblyKeyBase& keyBase, in cache() function in android::CodeCache
/system/core/logcat/
Devent.logtags106 60002 view_build_drawing_cache (View created drawing cache|1|5)
107 60003 view_use_drawing_cache (View drawn using bitmap cache|1|5)
/system/extras/tests/ext4/
Dandroid_emmc_perf_tests.sh103 adb shell umount /cache >/dev/null 2>&1
/system/core/libutils/
DREADME177 mapping is stored in /data/resource-cache, with a @idmap file name
/system/core/libpixelflinger/
Dscanline.cpp418 err = gCodeCache.cache(a->key(), a) < 0; in pick_scanline()