/system/connectivity/shill/init/ |
H A D | shill.conf.in | 53 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 D | LruCache.h | 107 Iterator(const LruCache<TKey, TValue>& cache): argument 108 mCache(cache), mIterator(mCache.mSet->begin()), mBeginReturned(false) {
|
/system/core/liblog/ |
H A D | log_is_loggable.c | 49 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 D | CodeCache.cpp | 50 // 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 D | CodeCache.h | 82 // pretty simple cache API... 88 int cache( const AssemblyKeyBase& key,
|
/system/core/libpixelflinger/ |
H A D | scanline.cpp | 424 // finally, cache this assembly 425 err = gCodeCache.cache(a->key(), a) < 0; 1931 // (and i-cache pressure).
|
/system/core/libutils/tests/ |
H A D | LruCache_test.cpp | 141 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 D | upload_service_test.cc | 283 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 D | Android.mk | 57 sbin dev proc sys system data oem acct cache config storage mnt root $(BOARD_ROOT_EXTRA_FOLDERS)); \
|
/system/extras/simpleperf/ |
H A D | record_file_reader.cpp | 153 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 D | record_test.cpp | 61 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 D | android_emmc_perf_tests.sh | 32 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 D | file_contexts | 246 /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...] |