Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/util/
DLruCacheTest.java34 LruCache<String, String> cache = new LruCache<String, String>(3); in testStatistics() local
83 LruCache<String, String> cache = newCreatingCache(); in testStatisticsWithCreate() local
107 LruCache<String, String> cache = newCreatingCache(); in testCreateOnCacheMiss() local
113 LruCache<String, String> cache = newCreatingCache(); in testNoCreateOnCacheHit() local
127 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullKey() local
136 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullValue() local
145 LruCache<String, String> cache = new LruCache<String, String>(3); in testToString() local
163 LruCache<String, String> cache = new LruCache<String, String>(1); in testEvictionWithSingletonCache() local
171 LruCache<String, String> cache = newRemovalLogCache(log); in testEntryEvictedWhenFull() local
188 LruCache<String, String> cache = newRemovalLogCache(log); in testPutCauseEviction() local
[all …]
/frameworks/native/libs/utils/tests/
DLruCache_test.cpp117 LruCache<SimpleKey, StringValue> cache(100); in TEST_F() local
124 LruCache<SimpleKey, StringValue> cache(100); in TEST_F() local
136 LruCache<SimpleKey, StringValue> cache(2); in TEST_F() local
148 LruCache<SimpleKey, StringValue> cache(100); in TEST_F() local
161 LruCache<SimpleKey, StringValue> cache(100); in TEST_F() local
180 LruCache<SimpleKey, StringValue> cache(512); in TEST_F() local
214 ComplexCache cache(100); in TEST_F() local
223 ComplexCache cache(100); in TEST_F() local
235 ComplexCache cache(100); in TEST_F() local
249 ComplexCache cache(100); in TEST_F() local
[all …]
/frameworks/base/core/tests/coretests/src/android/net/http/
DHttpResponseCacheTest.java87 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testCloseCloses() local
97 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testCloseUninstalls() local
103 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testDeleteUninstalls() local
113 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testStatisticsTracking() local
/frameworks/volley/src/com/android/volley/
DRequestQueue.java98 public RequestQueue(Cache cache, Network network, int threadPoolSize, in RequestQueue()
113 public RequestQueue(Cache cache, Network network, int threadPoolSize) { in RequestQueue()
124 public RequestQueue(Cache cache, Network network) { in RequestQueue()
DCacheDispatcher.java63 Cache cache, ResponseDelivery delivery) { in CacheDispatcher()
DNetworkDispatcher.java56 Network network, Cache cache, in NetworkDispatcher()
/frameworks/native/cmds/installd/
Dutils.c375 cache_t* cache = (cache_t*)calloc(1, sizeof(cache_t)); in start_cache_collection() local
381 static void* _cache_malloc(cache_t* cache, size_t len) in _cache_malloc()
423 static void* _cache_realloc(cache_t* cache, void* cur, size_t origLen, size_t len) in _cache_realloc()
433 static void _inc_num_cache_collected(cache_t* cache) in _inc_num_cache_collected()
442 static cache_dir_t* _add_cache_dir_t(cache_t* cache, cache_dir_t* parent, const char *name) in _add_cache_dir_t()
475 static cache_file_t* _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime, in _add_cache_file_t()
507 static int _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName, in _add_cache_files()
620 void add_cache_files(cache_t* cache, const char *basepath, const char *cachedir) in add_cache_files()
726 void clear_cache_files(cache_t* cache, int64_t free_size) in clear_cache_files()
769 void finish_cache_collection(cache_t* cache) in finish_cache_collection()
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java102 int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) { in SSLCertificateSocketFactory()
128 public static SSLSocketFactory getDefault(int handshakeTimeoutMillis, SSLSessionCache cache) { in getDefault()
144 public static SSLSocketFactory getInsecure(int handshakeTimeoutMillis, SSLSessionCache cache) { in getInsecure()
158 int handshakeTimeoutMillis, SSLSessionCache cache) { in getHttpSocketFactory()
DSSLSessionCache.java60 SSLClientSessionCache cache = null; in SSLSessionCache() local
/frameworks/base/core/tests/coretests/src/android/view/
DBigCacheTest.java72 final Bitmap[] cache = new Bitmap[1]; in createCacheForView() local
DZeroSizedTest.java90 final Bitmap[] cache = new Bitmap[1]; in createCacheForView() local
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DServiceManager.java69 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()
/frameworks/volley/src/com/android/volley/toolbox/
DClearCacheRequest.java40 public ClearCacheRequest(Cache cache, Runnable callback) { in ClearCacheRequest()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java440 private void fullyPopulateCache(DatabaseHelper dbHelper, String table, SettingsCache cache) { in fullyPopulateCache()
549 SettingsCache cache = cacheForTable(callingUser, tableName); in invalidateCache() local
580 SettingsCache cache; in callFromPackage() local
645 final SettingsCache cache, String key) { in lookupValue()
758 SettingsCache cache = cacheForTable(callingUser, args.table); in bulkInsert() local
904 SettingsCache cache = cacheForTable(desiredUserHandle, args.table); in insertForUser() local
1149 public static void populate(SettingsCache cache, ContentValues contentValues) { in populate()
1177 public static boolean isRedundantSetValue(SettingsCache cache, String name, String value) { in isRedundantSetValue()
/frameworks/base/core/java/android/os/
DServiceManager.java133 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dbitbuffer.h53 UWord32 cache; member
/frameworks/native/libs/binder/
DPermissionCache.cpp51 void PermissionCache::cache(const String16& permission, in cache() function in android::PermissionCache
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDebug.java134 public String cache; field in SQLiteDebug.DbStats
/frameworks/base/core/java/android/net/http/
DHttpsConnection.java75 SSLClientSessionCache cache = null; in initializeEngine() local
/frameworks/native/include/utils/
DLruCache.h47 Iterator(const LruCache<TKey, TValue>& cache): mCache(cache), mIndex(-1) { in Iterator()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java111 Object cache = sCache[bucket]; in emptyArray() local
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java46 private final SimpleCache<String, ClassPathPackageInfo> cache = field in ClassPathPackageInfoSource
/frameworks/base/core/java/android/emoji/
DEmojiFactory.java102 WeakReference<Bitmap> cache = mCache.get(pua); in getBitmapFromAndroidPua() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java77 public UsimPhoneBookManager(IccFileHandler fh, AdnRecordCache cache) { in UsimPhoneBookManager()
/frameworks/base/core/java/android/view/
DView.java3878 ScrollabilityCache cache = mScrollCache; in getVerticalFadingEdgeLength() local
3911 ScrollabilityCache cache = mScrollCache; in getHorizontalFadingEdgeLength() local
3926 ScrollabilityCache cache = mScrollCache; in getVerticalScrollbarWidth() local
3948 ScrollabilityCache cache = mScrollCache; in getHorizontalScrollbarHeight() local

12