Home
last modified time | relevance | path

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

1234

/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/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DProgramInfoCacheTest.java70 ProgramInfoCache cache = new ProgramInfoCache(null, false, mAmFmInfo); in testUpdateFromHal() local
96 ProgramInfoCache cache = new ProgramInfoCache(null, true); in testNullFilter() local
104 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testEmptyFilter() local
116 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(filterTypes, in testFilterByType() local
127 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testFilterByIdentifier() local
135 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testFilterExcludeCategories() local
143 ProgramInfoCache cache = new ProgramInfoCache(null, false, mAmFmInfo); in testPurgeUpdateChunks() local
157 ProgramInfoCache cache = new ProgramInfoCache(null, true, mAmFmInfo, mRdsInfo, in testDeltaUpdateChunksModificationsIncluded() local
193 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testDeltaUpdateChunksModificationsExcluded() local
/frameworks/base/core/tests/coretests/src/android/app/
DPropertyInvalidatedCacheTests.java239 TestCache cache = new TestCache(); in testCacheRecompute() local
261 TestCache cache = new TestCache(); in testCacheInitialState() local
274 TestCache cache = new TestCache(MODULE, UNSET_API); in testCachePropertyUnset() local
282 TestCache cache = new TestCache(); in testCacheDisableState() local
303 TestCache cache = new TestCache() { in testRefreshSameObject() local
324 TestCache cache = new TestCache() { in testRefreshInvalidateRace() local
343 TestCache cache = new TestCache(); in testLocalProcessDisable() local
374 TestCache cache = new TestCache(MODULE, "trimMemoryTest"); in testOnTrimMemory() local
/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/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiRestrictionsCache.java58 WifiRestrictionsCache cache; in getInstance() local
66 sInstances.put(context.getUserId(), cache); in getInstance() local
78 WifiRestrictionsCache cache = sInstances.get(key); in clearInstance() local
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()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java81 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesHappyPath() local
93 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesReplaceUid() local
115 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesServiceRemoved() local
130 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesMultiUser() local
148 TestServicesCache cache = new TestServicesCache(); in testOnRemove() local
175 TestServicesCache cache = new TestServicesCache(); in testMigration() local
202 private void assertNotEmptyFileCreated(TestServicesCache cache, int userId) { in assertNotEmptyFileCreated()
/frameworks/base/core/tests/coretests/src/android/os/
DIpcDataCacheTest.java295 TestCache cache = new TestCache(); in testCacheRecompute() local
317 TestCache cache = new TestCache(); in testCacheInitialState() local
330 TestCache cache = new TestCache(MODULE, UNSET_API); in testCachePropertyUnset() local
338 TestCache cache = new TestCache(); in testCacheDisableState() local
358 TestCache cache = new TestCache(); in testLocalProcessDisable() local
/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp50 static void reinitializeAllFields(ShaderCache& cache) { in reinitializeAllFields()
74 static void setSaveDelayMs(ShaderCache& cache, unsigned int saveDelayMs) { in setSaveDelayMs()
83 static void terminate(ShaderCache& cache, bool saveContent) { in terminate()
95 static bool validateCache(ShaderCache& cache, std::vector<T> hash) { in validateCache()
109 static void waitForPendingSave(ShaderCache& cache, const int timeoutMs = 50) { in waitForPendingSave()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityInteractionClientTest.java101 AccessibilityCache cache = AccessibilityInteractionClient.getCache( in getCache_addConnectionWithoutCache_returnsNullCache() local
108 AccessibilityCache cache = AccessibilityInteractionClient.getCache(MOCK_CONNECTION_ID); in getCache_removeConnection_returnsNull() local
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPackageMatchingCacheTest.java43 private final PackageMatchingCache cache = new PackageMatchingCache(supplier); field in PackageMatchingCacheTest
/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/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java271 public static void setCache(int connectionId, AccessibilityCache cache) { in setCache()
342 AccessibilityCache cache = getCache(connectionId); in getWindow() local
423 AccessibilityCache cache = getCache(connectionId); in getWindowsOnAllDisplays() local
539 AccessibilityCache cache = getCache(connectionId); in findAccessibilityNodeInfoByAccessibilityId() local
823 AccessibilityCache cache = getCache(connectionId); in findFocus() local
1009 AccessibilityCache cache = getCache(connectionId); in clearCache() local
1034 AccessibilityCache cache = getCache(connectionId); in onAccessibilityEvent() local
1278 AccessibilityCache cache = getCache(connectionId); in finalizeAndCacheAccessibilityNodeInfo() local
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java112 private static String updateLog(HashMap<String, Pair<Long, Integer>> cache, String logMessage) { in updateLog()
131 private static void increaseLogCount(HashMap<String, Pair<Long, Integer>> cache, in increaseLogCount()
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/
DAttentionManagerServiceTest.java272 AttentionCheckCache cache = new AttentionCheckCache(0, 0, 2L); in testAttentionCheckCacheBuffer_getLast_returnTheLastElement() local
286 AttentionCheckCache cache = new AttentionCheckCache(0L, 0, 1L); in testAttentionCheckCacheBuffer_get_handleCircularIndexing() local
/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/base/packages/SystemUI/src/com/android/systemui/controls/
DCustomIconCache.kt36 private val cache: MutableMap<String, Icon> = LinkedHashMap() constant in com.android.systemui.controls.CustomIconCache
/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp82 auto& cache = mCaches[context]; in primeCache() local
808 auto& cache = mCaches[context]; in useProgram() local
/frameworks/av/media/libstagefright/renderfright/gl/
DProgramCache.cpp82 auto& cache = mCaches[context]; in primeCache() local
785 auto& cache = mCaches[context]; in useProgram() local
/frameworks/av/media/codec2/hidl/1.0/utils/
DComponentInterface.cpp90 const std::shared_ptr<ParameterCache>& cache) in ComponentInterface()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubbleVolatileRepository.kt161 private fun cache(bubbles: List<BubbleEntity>) { in <lambda>() method

1234