/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/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/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 166 getHttpSocketFactory( int handshakeTimeoutMillis, SSLSessionCache cache) argument [all...] |
H A D | SSLSessionCache.java | 33 * File-based cache of established SSL sessions. When re-establishing a 34 * connection to the same server, using an SSL session cache can save some time, 36 * This is a persistent cache which can span executions of the application. 45 * Installs a {@link SSLSessionCache} on a {@link SSLContext}. The cache will 49 * @param cache the cache instance to install, or {@code null} to uninstall any 50 * existing cache. 53 * cache. 57 public static void install(SSLSessionCache cache, SSLContext context) { argument 61 cache 74 SSLSessionCache(Object cache) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ServiceManager.java | 132 * @param cache the cache of service references 135 public static void initServiceCache(Map<String, IBinder> cache) { argument 139 sCache.putAll(cache);
|
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 61 // The max number of items in the cache 98 // We cache the FixedSizeRemoteViewsCaches across orientation. These are the related data 108 // We keep the cache around for a duration after onSaveInstanceState for use on re-inflation. 110 // duration, the cache is dropped. 294 public RemoteViewsFrameLayout(Context context, FixedSizeRemoteViewsCache cache) { argument 296 mCache = cache; 397 * The meta-data associated with the cache in it's current state. 493 * The meta-data associated with a single item in the cache. 526 // The cache/mapping of position to RemoteViewsMetaData. This set is guaranteed to be 528 // Note: The reason that we keep this separate from the RemoteViews cache belo [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | RegisteredServicesCacheTest.java | 76 TestServicesCache cache = new TestServicesCache(); 77 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); 78 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); 79 assertEquals(2, cache.getAllServicesSize(U0)); 80 assertEquals(2, cache.getPersistentServicesSize(U0)); 81 assertNotEmptyFileCreated(cache, U0); 83 cache = new TestServicesCache(); 84 assertEquals(2, cache.getPersistentServicesSize(U0)); 88 TestServicesCache cache = new TestServicesCache(); 89 cache 197 assertNotEmptyFileCreated(TestServicesCache cache, int userId) 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/base/libs/hwui/ |
H A D | DisplayListOp.h | 790 PatchCache& cache = renderer.getCaches().patchCache; local 791 mMesh = cache.get(getAtlasEntry(renderer), mBitmap->width(), mBitmap->height(), 793 mGenerationId = cache.getGenerationId();
|
H A D | RenderNode.cpp | 472 // which would thrash the layer cache 514 TextureCache& cache = Caches::getInstance().textureCache; local 518 info.prepareTextures = cache.prefetchAndMarkInUse(ownerToken, bitmapResource);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | TileUtils.java | 116 HashMap<Pair<String, String>, Tile> cache) { 124 getTilesForAction(context, user, SETTINGS_ACTION, cache, null, tiles, true); 125 getTilesForAction(context, user, OPERATOR_SETTINGS, cache, 127 getTilesForAction(context, user, MANUFACTURER_SETTINGS, cache, 130 getTilesForAction(context, user, EXTRA_SETTINGS_ACTION, cache, null, tiles, false); 115 getCategories(Context context, HashMap<Pair<String, String>, Tile> cache) argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | AccessPointPreference.java | 70 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, argument 73 mBadgeCache = cache; 141 // Get the badge using a cache since the PM will ask the UserManager for the list
|
H A D | WifiTracker.java | 371 // If we aren't using saved networks, drop them into the cache so that 444 private AccessPoint getCachedOrCreate(ScanResult result, List<AccessPoint> cache) { argument 445 final int N = cache.size(); 447 if (cache.get(i).matches(result)) { 448 AccessPoint ret = cache.remove(i); 456 private AccessPoint getCachedOrCreate(WifiConfiguration config, List<AccessPoint> cache) { argument 457 final int N = cache.size(); 459 if (cache.get(i).matches(config)) { 460 AccessPoint ret = cache.remove(i);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiLogger.java | 110 private static String updateLog(HashMap<String, Pair<Long, Integer>> cache, String logMessage) { argument 112 Pair<Long, Integer> timing = cache.get(logMessage); 115 cache.put(logMessage, new Pair<>(curTime, 1)); 118 increaseLogCount(cache, logMessage); 129 private static void increaseLogCount(HashMap<String, Pair<Long, Integer>> cache, argument 131 Pair<Long, Integer> timing = cache.get(message); 133 cache.put(message, new Pair<>(timing.first, timing.second + 1));
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ClassPathPackageInfoSource.java | 47 private final SimpleCache<String, ClassPathPackageInfo> cache = field in class:ClassPathPackageInfoSource 59 // A cache of jar file contents 73 return cache.get(pkgName);
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | ServiceManager.java | 68 * @param cache the cache of service references 71 public static void initServiceCache(Map<String, IBinder> cache) { argument
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/minikin/libs/minikin/ |
H A D | HbFontCache.cpp | 82 static HbFontCache* cache = nullptr; local 83 if (cache == nullptr) { 84 cache = new HbFontCache(); 86 return cache;
|
H A D | Layout.cpp | 108 // Layout cache datatypes 341 // Note: ctx == NULL means we're copying from the cache, no need to create 659 LayoutCache& cache = LayoutEngine::getInstance().layoutCache; local 673 Layout* layoutForWord = cache.get(key, ctx, collection);
|
/frameworks/native/cmds/installd/ |
H A D | commands.cpp | 477 * when just reading from the cache, which is pretty awful. 480 cache_t* cache; local 491 cache = start_cache_collection(); 495 add_cache_files(cache, create_data_user_ce_path(uuid, user)); 496 add_cache_files(cache, create_data_user_de_path(uuid, user)); 497 add_cache_files(cache, 501 clear_cache_files(data_path, cache, free_size); 502 finish_cache_collection(cache); 564 if (!strcmp(name, "cache") || !strcmp(name, "code_cache")) { 1362 // Note: the cache pat [all...] |
H A D | utils.cpp | 537 cache_t* cache = (cache_t*)calloc(1, sizeof(cache_t)); local 538 return cache; 543 static void* _cache_malloc(cache_t* cache, size_t len) argument 554 CACHE_NOISY(ALOGI("Allocated large cache mem block: %p size %d", res, len)); 556 if (cache->memBlocks == NULL) { 558 cache->memBlocks = res; 560 *(void**)res = *(void**)cache->memBlocks; 561 *(void**)cache->memBlocks = res; 565 int8_t* res = cache->curMemBlockAvail; 567 if (cache 585 _cache_realloc(cache_t* cache, void* cur, size_t origLen, size_t len) argument 595 _inc_num_cache_collected(cache_t* cache) argument 604 _add_cache_dir_t(cache_t* cache, cache_dir_t* parent, const char *name) argument 637 _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime, const char *name) argument 669 _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName, DIR* dir, char *pathBase, char *pathPos, size_t pathAvailLen) argument 782 add_cache_files(cache_t* cache, const std::string& data_path) argument 887 clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size) argument 930 finish_cache_collection(cache_t* cache) argument [all...] |
/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/native/vulkan/nulldrv/ |
H A D | null_driver.cpp | 1001 VkPipelineCache* cache) { 1002 *cache = AllocHandle<VkPipelineCache>(device, HandleType::kPipelineCache); 998 CreatePipelineCache(VkDevice device, const VkPipelineCacheCreateInfo*, const VkAllocationCallbacks* , VkPipelineCache* cache) argument
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | DecodeTask.java | 39 * decode is complete, even if the task is cancelled, the result is placed in the given cache. 91 * @param requestKey The request to decode, also the key to use for the cache. 96 * @param cache The cache and pool. 99 FileDescriptorFactory factory, DecodeCallback callback, BitmapCache cache) { 104 mCache = cache; 260 Log.e(TAG, "decode thread wants a bitmap. cache dump:\n" 443 // Cancellations can't be guaranteed to be correct, so skip the cache 445 // Put result in cache, regardless of null. The cache wil 98 DecodeTask(RequestKey requestKey, DecodeOptions decodeOpts, FileDescriptorFactory factory, DecodeCallback callback, BitmapCache cache) argument [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 52 * If being used with a long-lived cache (static cache, attached to the Application instead of the 54 * times so the cache has accurate unref counts. The 96 public BasicBitmapDrawable(final Resources res, final BitmapCache cache, argument 99 mCache = cache; 120 * attached to the same cache, because caches can only contain bitmaps of one size for re-use. 167 * Binds to the given key and start the decode process. This will first look in the cache, then
|