/frameworks/base/libs/hwui/tests/unit/ |
H A D | TextureCacheTests.cpp | 27 TextureCache cache; local 28 ASSERT_EQ(cache.getSize(), 0u); 35 cache.get(hwBitmap.get()); 37 cache.clear();
|
/frameworks/base/core/java/android/net/ |
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...] |
H A D | SSLCertificateSocketFactory.java | 105 int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) { 107 mSessionCache = cache == null ? null : cache.mSessionCache; 124 * and SSL session cache. 128 * @param cache The {@link SSLSessionCache} to use, or null for no cache. 131 public static SSLSocketFactory getDefault(int handshakeTimeoutMillis, SSLSessionCache cache) { argument 132 return new SSLCertificateSocketFactory(handshakeTimeoutMillis, cache, true); 137 * disabled, using an optional handshake timeout and SSL session cache. 144 * @param cache Th 104 SSLCertificateSocketFactory( int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) argument 147 getInsecure(int handshakeTimeoutMillis, SSLSessionCache cache) argument 168 getHttpSocketFactory( int handshakeTimeoutMillis, SSLSessionCache cache) argument [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | bitbuffer.h | 53 UWord32 cache; member in struct:BIT_BUF
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | ServiceManager.java | 75 * @param cache the cache of service references 78 public static void initServiceCache(Map<String, IBinder> cache) { argument
|
/frameworks/base/core/java/android/os/ |
H A D | ServiceManager.java | 148 * @param cache the cache of service references 151 public static void initServiceCache(Map<String, IBinder> cache) { argument 155 sCache.putAll(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/minikin/libs/minikin/ |
H A D | HbFontCache.cpp | 67 static HbFontCache* cache = nullptr; local 68 if (cache == nullptr) { 69 cache = new HbFontCache(); 71 return cache;
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ResourcesFlusher.java | 103 // If there is no drawable cache, there's nothing to flush... 162 private static boolean flushThemedResourcesCache(@NonNull final Object cache) { argument 196 sThemedResourceCache_mUnthemedEntriesField.get(cache);
|
/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/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/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | CircularBitmapDrawable.java | 49 BitmapCache cache, boolean limitDensity) { 50 this(res, cache, limitDensity, null); 54 BitmapCache cache, boolean limitDensity, ExtendedOptions opts) { 55 super(res, cache, limitDensity, opts); 48 CircularBitmapDrawable(Resources res, BitmapCache cache, boolean limitDensity) argument 53 CircularBitmapDrawable(Resources res, BitmapCache cache, boolean limitDensity, ExtendedOptions opts) argument
|
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
|
H A D | StyledCornersBitmapDrawable.java | 83 public StyledCornersBitmapDrawable(Resources res, BitmapCache cache, argument 86 super(res, cache, limitDensity, opts);
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | TagMonitor.cpp | 61 sp<VendorTagDescriptorCache> cache = local 63 if (cache.get()) { 64 cache->getVendorTagDescriptor(mVendorTagId, &vTags);
|
/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/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | TileUtils.java | 173 Map<Pair<String, String>, Tile> cache) { 174 return getCategories(context, cache, true /*categoryDefinedInManifest*/); 183 Map<Pair<String, String>, Tile> cache, boolean categoryDefinedInManifest) { 184 return getCategories(context, cache, categoryDefinedInManifest, null, SETTING_PKG); 195 Map<Pair<String, String>, Tile> cache, boolean categoryDefinedInManifest, 206 getTilesForAction(context, user, SETTINGS_ACTION, cache, null, tiles, true, 208 getTilesForAction(context, user, OPERATOR_SETTINGS, cache, 210 getTilesForAction(context, user, MANUFACTURER_SETTINGS, cache, 214 getTilesForAction(context, user, EXTRA_SETTINGS_ACTION, cache, null, tiles, false, 217 getTilesForAction(context, user, IA_SETTINGS_ACTION, cache, nul 172 getCategories(Context context, Map<Pair<String, String>, Tile> cache) argument 182 getCategories(Context context, Map<Pair<String, String>, Tile> cache, boolean categoryDefinedInManifest) argument 194 getCategories(Context context, Map<Pair<String, String>, Tile> cache, boolean categoryDefinedInManifest, String extraAction, String settingPkg) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | AccessPointPreference.java | 80 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, argument 84 mBadgeCache = cache; 105 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, argument 109 mBadgeCache = cache; 204 // Get the badge using a cache since the PM will ask the UserManager for the list
|
/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/av/camera/ndk/impl/ |
H A D | ACameraManager.cpp | 141 sp<VendorTagDescriptorCache> cache = local 145 /*out*/cache.get()); 153 cache); 155 ALOGE("%s: Failed to set vendor tag cache," 161 ALOGE("%s: Failed to setup vendor tag cache: %s",
|
/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/libs/hwui/renderthread/ |
H A D | OpenGLPipeline.cpp | 236 TextureCache& cache = Caches::getInstance().textureCache; local 239 prefetchSucceeded &= cache.prefetchAndMarkInUse(this, bitmapResource.get());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimPhoneBookManager.java | 110 public UsimPhoneBookManager(IccFileHandler fh, AdnRecordCache cache) { argument 117 mAdnCache = cache; 146 // Check if the PBR file is present in the cache, if not read it 169 // Refresh the phonebook cache. 180 // Invalidate the phonebook cache.
|
/frameworks/base/libs/hwui/ |
H A D | VectorDrawable.cpp | 453 // draw bitmap cache 509 bool Tree::allocateBitmapIfNeeded(Cache& cache, int width, int height) { argument 510 if (!canReuseBitmap(cache.bitmap.get(), width, height)) { 517 cache.bitmap = Bitmap::allocateHeapBitmap(info);
|