Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/util/
DLruCacheTest.java35 LruCache<String, String> cache = new LruCache<String, String>(3); in testStatistics() local
84 LruCache<String, String> cache = newCreatingCache(); in testStatisticsWithCreate() local
108 LruCache<String, String> cache = newCreatingCache(); in testCreateOnCacheMiss() local
114 LruCache<String, String> cache = newCreatingCache(); in testNoCreateOnCacheHit() local
128 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullKey() local
137 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullValue() local
146 LruCache<String, String> cache = new LruCache<String, String>(3); in testToString() local
164 LruCache<String, String> cache = new LruCache<String, String>(1); in testEvictionWithSingletonCache() local
172 LruCache<String, String> cache = newRemovalLogCache(log); in testEntryEvictedWhenFull() local
189 LruCache<String, String> cache = newRemovalLogCache(log); in testPutCauseEviction() local
[all …]
DHashedStringCacheTest.java55 HashedStringCache cache = HashedStringCache.getInstance(); in testInstanceNotNull() local
61 HashedStringCache cache = HashedStringCache.getInstance(); in testInstanceMatchesOnSecondCall() local
67 HashedStringCache cache = HashedStringCache.getInstance(); in testHashedStringNotOriginalString() local
75 HashedStringCache cache = HashedStringCache.getInstance(); in testThatMultipleCallsResultInSameHash() local
86 HashedStringCache cache = HashedStringCache.getInstance(); in testThatMultipleInputResultInDifferentHash() local
96 HashedStringCache cache = HashedStringCache.getInstance(); in testThatZeroDaysResultsInNewHash() local
106 HashedStringCache cache = HashedStringCache.getInstance(); in testThatNegativeDaysResultsInNewHash() local
116 HashedStringCache cache = HashedStringCache.getInstance(); in testThatDaysGreater365ResultsInSameResult() local
131 HashedStringCache cache = HashedStringCache.getInstance(); in testMinusOneResultsInNull() local
139 HashedStringCache cache = HashedStringCache.getInstance(); in testEmptyStringInput() local
[all …]
/frameworks/base/core/java/android/net/
DSSLSessionCache.java59 public static void install(SSLSessionCache cache, SSLContext context) { in install()
76 public SSLSessionCache(Object cache) { in SSLSessionCache()
100 SSLClientSessionCache cache = null; in SSLSessionCache() local
DSSLCertificateSocketFactory.java144 int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) { in SSLCertificateSocketFactory()
170 public static SSLSocketFactory getDefault(int handshakeTimeoutMillis, SSLSessionCache cache) { in getDefault()
186 public static SSLSocketFactory getInsecure(int handshakeTimeoutMillis, SSLSessionCache cache) { in getInsecure()
208 int handshakeTimeoutMillis, SSLSessionCache cache) { in getHttpSocketFactory()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java79 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesHappyPath() local
91 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesReplaceUid() local
113 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesServiceRemoved() local
128 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesMultiUser() local
146 TestServicesCache cache = new TestServicesCache(); in testOnRemove() local
173 TestServicesCache cache = new TestServicesCache(); in testMigration() local
200 private void assertNotEmptyFileCreated(TestServicesCache cache, int userId) { in assertNotEmptyFileCreated()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPackageMatchingCacheTest.java43 private final PackageMatchingCache cache = new PackageMatchingCache(supplier); field in PackageMatchingCacheTest
/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp41 static void setSaveDelay(ShaderCache& cache, unsigned int saveDelay) { in setSaveDelay()
49 static void terminate(ShaderCache& cache, bool saveContent) { in terminate()
60 static bool validateCache(ShaderCache& cache, std::vector<T> hash) { in validateCache()
/frameworks/base/core/tests/coretests/src/android/view/
DBigCacheTest.java70 final Bitmap[] cache = new Bitmap[1]; in createCacheForView() local
DZeroSizedTest.java89 final Bitmap[] cache = new Bitmap[1]; in createCacheForView() local
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java108 private static String updateLog(HashMap<String, Pair<Long, Integer>> cache, String logMessage) { in updateLog()
127 private static void increaseLogCount(HashMap<String, Pair<Long, Integer>> cache, in increaseLogCount()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPointPreference.java102 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference()
108 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference()
115 AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference()
DWifiTracker.java703 List<AccessPoint> cache) { in getCachedOrCreate()
717 List<AccessPoint> cache) { in getCachedOrCreatePasspoint()
731 List<AccessPoint> cache) { in getCachedOrCreateOsu()
741 private AccessPoint getCachedByKey(List<AccessPoint> cache, String key) { in getCachedByKey()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java49 BitmapCache cache, boolean limitDensity) { in CircularBitmapDrawable()
54 BitmapCache cache, boolean limitDensity, ExtendedOptions opts) { in CircularBitmapDrawable()
/frameworks/layoutlib/bridge/src/android/os/
DServiceManager.java78 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()
/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp81 auto& cache = mCaches[context]; in primeCache() local
715 auto& cache = mCaches[context]; in useProgram() local
/frameworks/base/cmds/statsd/src/condition/
DConditionWizard.cpp32 vector<ConditionState> cache(mAllConditions.size(), ConditionState::kNotEvaluated); in query() local
/frameworks/base/graphics/java/android/graphics/fonts/
DSystemFonts.java115 @NonNull Map<String, ByteBuffer> cache, in pushFamilyToFallback()
169 @NonNull Map<String, ByteBuffer> cache, in createFontFamily()
/frameworks/base/libs/hwui/renderthread/
DCacheManager.cpp99 auto& cache = skiapipeline::ShaderCache::get(); in configureContext() local
/frameworks/native/libs/binder/
DPermissionCache.cpp51 void PermissionCache::cache(const String16& permission, in cache() function in android::PermissionCache
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp682 sp<VendorTagDescriptorCache> cache = VendorTagDescriptorCache::getGlobalVendorTagCache(); in CameraMetadata_getTagFromKeyLocal() local
704 sp<VendorTagDescriptorCache> cache = VendorTagDescriptorCache::getGlobalVendorTagCache(); in CameraMetadata_getAllVendorKeys() local
828 sp<VendorTagDescriptorCache> cache = VendorTagDescriptorCache::getGlobalVendorTagCache(); in CameraMetadata_getTagFromKey() local
880 sp<VendorTagDescriptorCache> cache = new VendorTagDescriptorCache(); in CameraMetadata_setupGlobalVendorTagDescriptor() local
/frameworks/base/core/java/android/content/res/
DThemedResourceCache.java164 LongSparseArray<WeakReference<T>> cache = mThemedEntries.get(key); in getThemedLocked() local
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDebug.java162 public String cache; field in SQLiteDebug.DbStats
/frameworks/base/location/java/android/location/
DLocation.java470 BearingDistanceCache cache = sBearingDistanceCache.get(); in distanceBetween() local
491 BearingDistanceCache cache = sBearingDistanceCache.get(); in distanceTo() local
512 BearingDistanceCache cache = sBearingDistanceCache.get(); in bearingTo() local
/frameworks/base/core/java/android/os/
DServiceManager.java240 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java418 Object cache = field.get(null); in setupMocksForDeviceIdentifiersErrorPath() local

123