/frameworks/base/core/tests/coretests/src/android/util/ |
D | LruCacheTest.java | 35 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 …]
|
D | HashedStringCacheTest.java | 55 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/ |
D | ProgramInfoCacheTest.java | 72 ProgramInfoCache cache = new ProgramInfoCache(null, false, mAmFmInfo); in testUpdateFromHal() local 98 ProgramInfoCache cache = new ProgramInfoCache(null, true); in testNullFilter() local 106 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testEmptyFilter() local 118 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(filterTypes, in testFilterByType() local 129 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testFilterByIdentifier() local 137 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testFilterExcludeCategories() local 145 ProgramInfoCache cache = new ProgramInfoCache(null, false, mAmFmInfo); in testPurgeUpdateChunks() local 159 ProgramInfoCache cache = new ProgramInfoCache(null, true, mAmFmInfo, mRdsInfo, in testDeltaUpdateChunksModificationsIncluded() local 195 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testDeltaUpdateChunksModificationsExcluded() local
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | ProgramInfoCacheTest.java | 131 ProgramInfoCache cache = new ProgramInfoCache(/* filter= */ null, in updateFromHalProgramListChunk_withPurgingCompleteChunk() local 148 ProgramInfoCache cache = new ProgramInfoCache(/* filter= */ null, in updateFromHalProgramListChunk_withNonPurgingIncompleteChunk() local 167 ProgramInfoCache cache = new ProgramInfoCache(/* filter= */ null, in filterAndUpdateFromInternal_withNullFilter() local 180 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new ArraySet<>(), in filterAndUpdateFromInternal_withEmptyFilter() local 194 ProgramInfoCache cache = new ProgramInfoCache( in filterAndUpdateFromInternal_withFilterByIdentifierType() local 208 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter( in filterAndUpdateFromInternal_withFilterByIdentifier() local 229 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new ArraySet<>(), in filterAndUpdateFromInternal_withFilterExcludingCategories() local 254 ProgramInfoCache cache = new ProgramInfoCache(filterExcludingModifications, in filterAndUpdateFromInternal_withFilterExcludingModifications() local 276 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new ArraySet<>(), in filterAndUpdateFromInternal_withPurge() local 299 ProgramInfoCache cache = new ProgramInfoCache(/* filter= */ null, in filterAndApplyChunkInternal_withPurgingIncompleteChunk() local [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | HwcBufferCacheTest.cpp | 39 HwcBufferCache cache; in TEST_F() local 53 HwcBufferCache cache; in TEST_F() local 66 HwcBufferCache cache; in TEST_F() local 89 HwcBufferCache cache; in TEST_F() local 109 HwcBufferCache cache; in TEST_F() local 119 HwcBufferCache cache; in TEST_F() local 132 HwcBufferCache cache; in TEST_F() local 173 HwcBufferCache cache; in TEST_F() local 184 HwcBufferCache cache; in TEST_F() local
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | PropertyInvalidatedCacheTests.java | 239 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/ |
D | SSLSessionCache.java | 59 public static void install(SSLSessionCache cache, SSLContext context) { in install() 76 public SSLSessionCache(Object cache) { in SSLSessionCache() 100 SSLClientSessionCache cache = null; in SSLSessionCache() local
|
D | SSLCertificateSocketFactory.java | 144 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/ |
D | WifiRestrictionsCache.java | 58 WifiRestrictionsCache cache; in getInstance() local 66 sInstances.put(context.getUserId(), cache); in getInstance() local 78 WifiRestrictionsCache cache = sInstances.get(key); in clearInstance() local
|
D | AccessPointPreference.java | 102 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/native/services/surfaceflinger/CompositionEngine/src/ |
D | HwcBufferCache.cpp | 32 Cache& cache = i->second; in getHwcSlotAndBuffer() local 62 uint32_t HwcBufferCache::cache(const sp<GraphicBuffer>& buffer) { in cache() function in android::compositionengine::impl::HwcBufferCache 63 Cache cache; in cache() local
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | RegisteredServicesCacheTest.java | 82 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesHappyPath() local 94 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesReplaceUid() local 116 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesServiceRemoved() local 131 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesMultiUser() local 149 TestServicesCache cache = new TestServicesCache(); in testOnRemove() local 176 TestServicesCache cache = new TestServicesCache(); in testMigration() local 203 private void assertNotEmptyFileCreated(TestServicesCache cache, int userId) { in assertNotEmptyFileCreated()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | IpcDataCacheTest.java | 295 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/ |
D | ShaderCacheTests.cpp | 50 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() 110 static void waitForPendingSave(ShaderCache& cache, const int timeoutMs = 50) { in waitForPendingSave()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/ |
D | SceneTransitions.kt | 40 private val cache = mutableMapOf<SceneKey, MutableMap<SceneKey, TransitionSpec>>() in <lambda>() constant 100 private val cache = mutableMapOf<ElementKey, ElementTransformations>() constant
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityInteractionClientTest.java | 101 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/ |
D | PackageMatchingCacheTest.java | 43 private final PackageMatchingCache cache = new PackageMatchingCache(supplier); field in PackageMatchingCacheTest
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | BigCacheTest.java | 70 final Bitmap[] cache = new Bitmap[1]; in createCacheForView() local
|
D | ZeroSizedTest.java | 89 final Bitmap[] cache = new Bitmap[1]; in createCacheForView() local
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityInteractionClient.java | 331 public static void setCache(int connectionId, AccessibilityCache cache) { in setCache() 402 AccessibilityCache cache = getCache(connectionId); in getWindow() local 489 AccessibilityCache cache = getCache(connectionId); in getWindowsOnAllDisplays() local 605 AccessibilityCache cache = getCache(connectionId); in findAccessibilityNodeInfoByAccessibilityId() local 940 AccessibilityCache cache = getCache(connectionId); in findFocus() local 1126 AccessibilityCache cache = getCache(connectionId); in clearCache() local 1151 AccessibilityCache cache = getCache(connectionId); in onAccessibilityEvent() local 1444 AccessibilityCache cache = getCache(connectionId); in finalizeAndCacheAccessibilityNodeInfo() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/ |
D | AttentionManagerServiceTest.java | 272 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/ |
D | CircularBitmapDrawable.java | 49 BitmapCache cache, boolean limitDensity) { in CircularBitmapDrawable() 54 BitmapCache cache, boolean limitDensity, ExtendedOptions opts) { in CircularBitmapDrawable()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiLogger.java | 112 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/layoutlib/bridge/src/android/os/ |
D | ServiceManager.java | 78 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
D | CustomIconCache.kt | 36 private val cache: MutableMap<String, Icon> = LinkedHashMap() constant in com.android.systemui.controls.CustomIconCache
|