/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | bitbuffer.h | 53 UWord32 cache; member in struct:BIT_BUF
|
/frameworks/base/core/java/android/os/ |
H A D | ServiceManager.java | 130 * @param cache the cache of service references 133 public static void initServiceCache(Map<String, IBinder> cache) { argument 137 sCache.putAll(cache);
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | ServiceManager.java | 66 * @param cache the cache of service references 69 public static void initServiceCache(Map<String, IBinder> cache) { argument
|
/frameworks/support/volley/src/com/android/volley/ |
H A D | CacheDispatcher.java | 24 * Provides a thread for performing cache triage on a queue of requests. 26 * Requests added to the specified cache queue are resolved from cache. 43 /** The cache to read from. */ 53 * Creates a new cache triage dispatcher thread. You must call {@link #start()} 58 * @param cache Cache interface to use for resolution 63 Cache cache, ResponseDelivery delivery) { 66 mCache = cache; 84 // Make a blocking call to initialize the cache. 89 // Get a request from the cache triag 61 CacheDispatcher( BlockingQueue<Request> cacheQueue, BlockingQueue<Request> networkQueue, Cache cache, ResponseDelivery delivery) argument [all...] |
H A D | NetworkDispatcher.java | 27 * specified {@link Network} interface. Responses are committed to cache, if 37 /** The cache to write to. */ 50 * @param cache Cache interface to use for writing responses to cache 54 Network network, Cache cache, 58 mCache = cache; 112 // Write to cache if applicable. 113 // TODO: Only update cache metadata instead of entire record for 304s. 116 request.addMarker("network-cache-written"); 53 NetworkDispatcher(BlockingQueue<Request> queue, Network network, Cache cache, ResponseDelivery delivery) argument
|
H A D | RequestQueue.java | 35 * resolving from either cache or network on a worker thread, and then delivering 48 * <li>containsKey(cacheKey) indicates that there is a request in flight for the given cache 50 * <li>get(cacheKey) returns waiting requests for the given cache key. The in flight request 64 /** The cache triage queue. */ 87 /** The cache dispatcher. */ 93 * @param cache A Cache to use for persisting responses to disk 98 public RequestQueue(Cache cache, Network network, int threadPoolSize, argument 100 mCache = cache; 109 * @param cache A Cache to use for persisting responses to disk 113 public RequestQueue(Cache cache, Networ argument 124 RequestQueue(Cache cache, Network network) argument [all...] |
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | ClearCacheRequest.java | 28 * A synthetic request used for clearing the cache. 35 * Creates a synthetic request for clearing the cache. 36 * @param cache Cache to clear 37 * @param callback Callback to make on the main thread once the cache is clear, 40 public ClearCacheRequest(Cache cache, Runnable callback) { argument 42 mCache = cache;
|
/frameworks/native/libs/binder/ |
H A D | PermissionCache.cpp | 51 void PermissionCache::cache(const String16& permission, function in class:android::PermissionCache 107 pc.cache(permission, uid, granted);
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDebug.java | 97 /** the number of bytes of page cache allocation which could not be sattisfied by the 101 * that overflowed because no space was left in the page cache. 133 /** statement cache stats: hits/misses/cachesize */ 134 public String cache; field in class:SQLiteDebug.DbStats 142 this.cache = hits + "/" + misses + "/" + cachesize;
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ClassPathPackageInfoSource.java | 46 private final SimpleCache<String, ClassPathPackageInfo> cache = field in class:ClassPathPackageInfoSource 58 // A cache of jar file contents 72 return cache.get(pkgName);
|
/frameworks/base/core/java/android/net/ |
H A D | SSLCertificateSocketFactory.java | 103 int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) { 105 mSessionCache = cache == null ? null : cache.mSessionCache; 122 * and SSL session cache. 126 * @param cache The {@link SSLSessionCache} to use, or null for no cache. 129 public static SSLSocketFactory getDefault(int handshakeTimeoutMillis, SSLSessionCache cache) { argument 130 return new SSLCertificateSocketFactory(handshakeTimeoutMillis, cache, true); 135 * disabled, using an optional handshake timeout and SSL session cache. 142 * @param cache Th 102 SSLCertificateSocketFactory( int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) argument 145 getInsecure(int handshakeTimeoutMillis, SSLSessionCache cache) argument 158 getHttpSocketFactory( int handshakeTimeoutMillis, SSLSessionCache cache) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | LruCacheTest.java | 34 LruCache<String, String> cache = new LruCache<String, String>(3); 35 assertStatistics(cache); 37 assertEquals(null, cache.put("a", "A")); 39 assertStatistics(cache); 40 assertHit(cache, "a", "A"); 41 assertSnapshot(cache, "a", "A"); 43 assertEquals(null, cache.put("b", "B")); 45 assertStatistics(cache); 46 assertHit(cache, "a", "A"); 47 assertHit(cache, " 467 assertHit(LruCache<String, String> cache, String key, String value) argument 473 assertMiss(LruCache<String, String> cache, String key) argument 479 assertCreated(LruCache<String, String> cache, String key, String value) argument 486 assertStatistics(LruCache<?, ?> cache) argument 494 assertSnapshot(LruCache<T, T> cache, T... keysAndValues) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimPhoneBookManager.java | 78 public UsimPhoneBookManager(IccFileHandler fh, AdnRecordCache cache) { argument 85 mAdnCache = cache; 109 // Check if the PBR file is present in the cache, if not read it
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 98 // want to cache the existence of a key, but not store its value. 382 // threads might wind up here, the second having read the cache entries 425 // Only populate the globals cache once, for the owning user 433 // Slurp all values (if sane in number & size) into cache. 434 private void fullyPopulateCache(DatabaseHelper dbHelper, String table, SettingsCache cache) { argument 442 synchronized (cache) { 443 cache.evictAll(); 444 cache.setFullyMatchesDisk(true); // optimistic 450 cache.populate(name, value); 455 cache 612 lookupValue(DatabaseHelper dbHelper, String table, final SettingsCache cache, String key) argument 1117 populate(SettingsCache cache, ContentValues contentValues) argument 1145 isRedundantSetValue(SettingsCache cache, String name, String value) argument [all...] |
/frameworks/base/cmds/installd/ |
H A D | commands.c | 356 * when just reading from the cache, which is pretty awful. 360 cache_t* cache; local 373 cache = start_cache_collection(); 375 // Collect cache files for primary user. 377 //ALOGI("adding cache files from %s\n", tmpdir); 378 add_cache_files(cache, tmpdir, "cache"); 381 // Search for other users and add any cache files from them. 397 //ALOGI("adding cache files from %s\n", tmpdir); 398 add_cache_files(cache, tmpdi [all...] |
H A D | utils.c | 375 cache_t* cache = (cache_t*)calloc(1, sizeof(cache_t)); local 376 return cache; 381 static void* _cache_malloc(cache_t* cache, size_t len) argument 392 CACHE_NOISY(ALOGI("Allocated large cache mem block: %p size %d", res, len)); 394 if (cache->memBlocks == NULL) { 396 cache->memBlocks = res; 398 *(void**)res = *(void**)cache->memBlocks; 399 *(void**)cache->memBlocks = res; 403 int8_t* res = cache->curMemBlockAvail; 405 if (cache 423 _cache_realloc(cache_t* cache, void* cur, size_t origLen, size_t len) argument 433 _inc_num_cache_collected(cache_t* cache) argument 442 _add_cache_dir_t(cache_t* cache, cache_dir_t* parent, const char *name) argument 475 _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime, const char *name) argument 507 _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName, DIR* dir, char *pathBase, char *pathPos, size_t pathAvailLen) argument 620 add_cache_files(cache_t* cache, const char *basepath, const char *cachedir) argument 726 clear_cache_files(cache_t* cache, int64_t free_size) argument 769 finish_cache_collection(cache_t* cache) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 1515 LongSparseArray<WeakReference<ConstantState>> cache, 1517 int N = cache.size(); 1523 WeakReference<Drawable.ConstantState> ref = cache.valueAt(i); 1535 cache.setValueAt(i, null); 1538 + Long.toHexString(cache.keyAt(i)) 1830 // First see if this block is in our cache. 2156 // First see if this block is in our cache. 2166 // Not in the cache, create a new block and put it at 2167 // the next slot in the cache. 1514 clearDrawableCache( LongSparseArray<WeakReference<ConstantState>> cache, int configChanges) argument
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1185 sp<AudioCache> cache = new AudioCache(url); local 1186 player = MediaPlayerFactory::createPlayer(playerType, cache.get(), cache->notify); 1190 static_cast<MediaPlayerInterface*>(player.get())->setAudioSink(cache); 1199 if (cache->wait() != NO_ERROR) goto Exit; 1205 cache->wait(); 1207 if (cache->size() == 0) { 1211 mem = new MemoryBase(cache->getHeap(), 0, cache->size()); 1212 *pSampleRate = cache 1235 sp<AudioCache> cache = new AudioCache("decode_fd"); local [all...] |