/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/systemproperties/src/android/os/ |
D | PropertyInvalidatedCacheTest.java | 57 TestCache cache = new TestCache(); in testCacheRecompute() local 73 TestCache cache = new TestCache(); in testCacheInitialState() local 85 TestCache cache = new TestCache(UNSET_KEY); in testCachePropertyUnset() local 93 TestCache cache = new TestCache(); in testCacheDisableState() local 114 TestCache cache = new TestCache() { in testRefreshSameObject() local 135 TestCache cache = new TestCache() { in testRefreshInvalidateRace() local 154 TestCache cache = new TestCache(); in testLocalProcessDisable() local
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | ProgramInfoCacheTest.java | 70 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/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/core/tests/coretests/src/android/content/pm/ |
D | RegisteredServicesCacheTest.java | 79 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/ |
D | PackageMatchingCacheTest.java | 43 private final PackageMatchingCache cache = new PackageMatchingCache(supplier); field in PackageMatchingCacheTest
|
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/ |
D | AttentionManagerServiceTest.java | 142 AttentionCheckCache cache = new AttentionCheckCache(0, 0, 2L); in testAttentionCheckCacheBuffer_getLast_returnTheLastElement() local 156 AttentionCheckCache cache = new AttentionCheckCache(0L, 0, 1L); in testAttentionCheckCacheBuffer_get_handleCircularIndexing() local
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 41 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/ |
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/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/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
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()
|
D | WifiTracker.java | 729 List<AccessPoint> cache) { in getCachedOrCreate() 744 List<AccessPoint> cache) { in getCachedOrCreatePasspoint() 758 List<AccessPoint> cache) { in getCachedOrCreateOsu() 768 private AccessPoint getCachedByKey(List<AccessPoint> cache, String key) { in getCachedByKey()
|
/frameworks/layoutlib/bridge/src/android/os/ |
D | ServiceManager.java | 78 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/ |
D | BubbleVolatileRepository.kt | 102 private fun cache(bubbles: List<BubbleEntity>) { in <lambda>() method in com.android.wm.shell.bubbles.storage.BubbleVolatileRepository
|
/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
|
/frameworks/av/media/libstagefright/renderfright/gl/ |
D | ProgramCache.cpp | 82 auto& cache = mCaches[context]; in primeCache() local 778 auto& cache = mCaches[context]; in useProgram() local
|
/frameworks/native/libs/renderengine/gl/ |
D | ProgramCache.cpp | 82 auto& cache = mCaches[context]; in primeCache() local 808 auto& cache = mCaches[context]; in useProgram() local
|
D | ImageManager.cpp | 73 status_t ImageManager::cache(const sp<GraphicBuffer>& buffer) { in cache() function in android::renderengine::gl::ImageManager
|
/frameworks/base/services/core/java/com/android/server/attention/ |
D | AttentionManagerService.java | 274 final AttentionCheckCache cache = mAttentionCheckCacheBuffer == null ? null in checkAttention() local 439 public void add(@NonNull AttentionCheckCache cache) { in add() 456 AttentionCheckCache cache; in dump() local 539 private void appendResultToAttentionCacheBuffer(AttentionCheckCache cache) { in appendResultToAttentionCacheBuffer()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | ComponentInterface.cpp | 90 const std::shared_ptr<ParameterCache>& cache) in ComponentInterface()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | SystemFonts.java | 96 @NonNull Map<String, ByteBuffer> cache) { in pushFamilyToFallback() 152 @NonNull Map<String, ByteBuffer> cache) { in createFontFamily()
|