Searched refs:cache (Results 1 - 13 of 13) sorted by path

/system/connectivity/shill/init/
H A Dshill.conf.in53 mkdir -p /var/cache/shill
56 if [ ! -f /var/cache/shill/default.profile -a \
57 -f /var/cache/flimflam/default.profile ]; then
58 mv /var/cache/flimflam/default.profile /var/cache/shill/default.profile
59 chmod a+r /var/cache/shill/default.profile
/system/core/include/utils/
H A DLruCache.h107 Iterator(const LruCache<TKey, TValue>& cache): argument
108 mCache(cache), mIterator(mCache.mSet->begin()), mBeginReturned(false) {
/system/core/liblog/
H A Dlog_is_loggable.c49 struct cache { struct
55 static int check_cache(struct cache *cache) argument
57 return cache->pinfo
58 && __system_property_serial(cache->pinfo) != cache->serial;
64 static void refresh_cache(struct cache *cache, const char *key) argument
68 if (!cache->pinfo) {
69 cache
167 struct cache *cache = &tag_cache[i]; local
205 struct cache *cache = &global_cache[i]; local
[all...]
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.cpp50 // A dlmalloc mspace is used to manage the code cache over a mmaped region.
84 int fd = ashmem_create_region("CodeFlinger code cache",
87 "Creating code cache, ashmem_create_region "
93 "Creating code cache, mmap failed with error "
145 "Failed to resize Assembly to %zd in code cache "
178 int CodeCache::cache( const AssemblyKeyBase& keyBase, function in class:android::CodeCache
H A DCodeCache.h82 // pretty simple cache API...
88 int cache( const AssemblyKeyBase& key,
/system/core/libpixelflinger/
H A Dscanline.cpp424 // finally, cache this assembly
425 err = gCodeCache.cache(a->key(), a) < 0;
1931 // (and i-cache pressure).
/system/core/libutils/tests/
H A DLruCache_test.cpp141 LruCache<SimpleKey, StringValue> cache(100);
143 EXPECT_EQ(NULL, cache.get(0));
144 EXPECT_EQ(0u, cache.size());
148 LruCache<SimpleKey, StringValue> cache(100);
150 cache.put(1, "one");
151 cache.put(2, "two");
152 cache.put(3, "three");
153 EXPECT_STREQ("one", cache.get(1));
154 EXPECT_STREQ("two", cache.get(2));
155 EXPECT_STREQ("three", cache
[all...]
/system/core/metricsd/uploader/
H A Dupload_service_test.cc283 SystemProfileCache cache(true, dir_.path());
284 cache.Initialize();
285 int session_id = cache.profile_.session_id;
286 cache.initialized_ = false;
287 cache.Initialize();
288 EXPECT_EQ(cache.profile_.session_id, session_id + 1);
292 // If it is not set, the system profile cache should fail to initialize.
294 SystemProfileCache cache(true, dir_.path());
295 ASSERT_FALSE(cache.Initialize());
297 ASSERT_FALSE(cache
[all...]
/system/core/rootdir/
H A DAndroid.mk57 sbin dev proc sys system data oem acct cache config storage mnt root $(BOARD_ROOT_EXTRA_FOLDERS)); \
/system/extras/simpleperf/
H A Drecord_file_reader.cpp153 RecordCache cache(file_attrs_[0].attr);
161 cache.Push(std::move(record));
162 record = cache.Pop();
174 std::vector<std::unique_ptr<Record>> records = cache.PopAll();
H A Drecord_test.cpp61 RecordCache cache(event_attr, 2, 2);
75 cache.Push(buf1.data(), buf1.size());
76 ASSERT_EQ(nullptr, cache.Pop());
78 cache.Push(buf2.data(), buf2.size());
80 std::unique_ptr<Record> popped_r = cache.Pop();
83 ASSERT_EQ(nullptr, cache.Pop());
85 cache.Push(buf3.data(), buf3.size());
86 ASSERT_EQ(nullptr, cache.Pop());
88 cache.Push(buf4.data(), buf4.size());
90 popped_r = cache
[all...]
/system/extras/tests/ext4/
H A Dandroid_emmc_perf_tests.sh32 CACHE="/dev/block/platform/omap/omap_hsmmc.0/by-name/cache"
38 CACHE="/dev/block/platform/sdhci-tegra.3/by-name/cache"
65 CACHE="/dev/block/platform/dw_mmc.0/by-name/cache"
71 CACHE="dev/block/platform/msm_sdcc.1/by-name/cache"
103 adb shell umount /cache >/dev/null 2>&1
231 # (and with a read-ahead of 128K), we quickly fill the buffer cache with 100
236 # have and it should keep the cache from being poluted with entries from
279 # Make a new empty /cache filesystem
/system/sepolicy/
H A Dfile_contexts246 /data/resource-cache(/.*)? u:object_r:resourcecache_data_file:s0
247 /data/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0
353 /cache(/.*)? u:object_r:cache_file:s0
354 /cache/recovery(/.*)? u:object_r:cache_recovery_file:s0
356 /cache/backup_stage(/.*)? u:object_r:cache_backup_file:s0
358 /cache/backup(/.*)? u:object_r:cache_private_backup_file:s0
360 /data/cache(/.*)? u:object_r:cache_file:s0
361 /data/cache/recovery(/.*)? u:object_r:cache_recovery_file:s0
363 /data/cache/backup_stage(/.*)? u:object_r:cache_backup_file:s0
365 /data/cache/backu
[all...]

Completed in 247 milliseconds