/frameworks/base/core/tests/coretests/src/android/util/ |
D | LruCacheTest.java | 44 LruCache<String, String> cache = new LruCache<String, String>(3); in testStatistics() local 94 LruCache<String, String> cache = newCreatingCache(); in testStatisticsWithCreate() local 119 LruCache<String, String> cache = newCreatingCache(); in testCreateOnCacheMiss() local 126 LruCache<String, String> cache = newCreatingCache(); in testNoCreateOnCacheHit() local 142 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullKey() local 152 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullValue() local 162 LruCache<String, String> cache = new LruCache<String, String>(3); in testToString() local 181 LruCache<String, String> cache = new LruCache<String, String>(1); in testEvictionWithSingletonCache() local 190 LruCache<String, String> cache = newRemovalLogCache(log); in testEntryEvictedWhenFull() local 208 LruCache<String, String> cache = newRemovalLogCache(log); in testPutCauseEviction() local [all …]
|
D | HashedStringCacheTest.java | 64 HashedStringCache cache = HashedStringCache.getInstance(); in testInstanceNotNull() local 70 HashedStringCache cache = HashedStringCache.getInstance(); in testInstanceMatchesOnSecondCall() local 76 HashedStringCache cache = HashedStringCache.getInstance(); in testHashedStringNotOriginalString() local 84 HashedStringCache cache = HashedStringCache.getInstance(); in testThatMultipleCallsResultInSameHash() local 95 HashedStringCache cache = HashedStringCache.getInstance(); in testThatMultipleInputResultInDifferentHash() local 105 HashedStringCache cache = HashedStringCache.getInstance(); in testThatZeroDaysResultsInNewHash() local 115 HashedStringCache cache = HashedStringCache.getInstance(); in testThatNegativeDaysResultsInNewHash() local 125 HashedStringCache cache = HashedStringCache.getInstance(); in testThatDaysGreater365ResultsInSameResult() local 140 HashedStringCache cache = HashedStringCache.getInstance(); in testMinusOneResultsInNull() local 148 HashedStringCache cache = HashedStringCache.getInstance(); in testEmptyStringInput() local [all …]
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | ProgramInfoCacheTest.java | 156 ProgramInfoCache cache = new ProgramInfoCache(/* filter= */ null, in updateFromHalProgramListChunk_withPurgingCompleteChunk() local 173 ProgramInfoCache cache = new ProgramInfoCache(/* filter= */ null, in updateFromHalProgramListChunk_withNonPurgingIncompleteChunk() local 194 ProgramInfoCache cache = new ProgramInfoCache(/* filter= */ null, in updateFromHalProgramListChunk_withInvalidChunk() local 208 ProgramInfoCache cache = new ProgramInfoCache(/* filter= */ null, in filterAndUpdateFromInternal_withNullFilter() local 221 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new ArraySet<>(), in filterAndUpdateFromInternal_withEmptyFilter() local 235 ProgramInfoCache cache = new ProgramInfoCache( in filterAndUpdateFromInternal_withFilterByIdentifierType() local 249 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter( in filterAndUpdateFromInternal_withFilterByIdentifier() local 269 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new ArraySet<>(), in filterAndUpdateFromInternal_withPurging() local 288 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new ArraySet<>(), in filterAndUpdateFromInternal_withoutPurging() local 310 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new ArraySet<>(), in filterAndUpdateFromInternal_withFilterExcludingCategories() local [all …]
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | ProgramInfoCacheTest.java | 105 ProgramInfoCache cache = new ProgramInfoCache(null, false, TEST_AM_FM_INFO); in testUpdateFromHal() local 132 ProgramInfoCache cache = new ProgramInfoCache(null, true); in testNullFilter() local 141 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testEmptyFilter() local 154 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(filterTypes, in testFilterByType() local 166 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testFilterByIdentifier() local 175 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testFilterExcludeCategories() local 185 ProgramInfoCache cache = new ProgramInfoCache(null, false, TEST_AM_FM_INFO); in testPurgeUpdateChunks() local 199 ProgramInfoCache cache = new ProgramInfoCache(null, true, TEST_AM_FM_INFO, TEST_RDS_INFO, in testDeltaUpdateChunksModificationsIncluded() local 235 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testDeltaUpdateChunksModificationsExcluded() local 268 ProgramInfoCache cache = new ProgramInfoCache(/* filter= */ null, /* complete= */ false, in filterAndApplyChunkInternal_withInvalidIdentifier() local
|
/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 | 246 TestCache cache = new TestCache(); in testCacheRecompute() local 268 TestCache cache = new TestCache(); in testCacheInitialState() local 281 TestCache cache = new TestCache(MODULE, UNSET_API); in testCachePropertyUnset() local 289 TestCache cache = new TestCache(); in testCacheDisableState() local 310 TestCache cache = new TestCache() { in testRefreshSameObject() local 331 TestCache cache = new TestCache() { in testRefreshInvalidateRace() local 350 TestCache cache = new TestCache(); in testLocalProcessDisable() local 381 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 | 108 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() 114 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() 121 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 96 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesReplaceUid() local 119 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesServiceRemoved() local 136 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesMultiUser() local 156 TestServicesCache cache = new TestServicesCache(); in testOnRemove() local 184 TestServicesCache cache = new TestServicesCache(); in testMigration() local 213 private void assertNotEmptyFileCreated(TestServicesCache cache, int userId) { in assertNotEmptyFileCreated()
|
/frameworks/av/media/codec2/hal/client/ |
D | GraphicsTracker.cpp | 325 std::shared_ptr<BufferCache> cache; in configureMaxDequeueCount() local 412 std::shared_ptr<BufferCache> cache; in updateDequeueConf() local 453 void GraphicsTracker::clearCacheIfNecessaryLocked(const std::shared_ptr<BufferCache> &cache, in clearCacheIfNecessaryLocked() 547 c2_status_t GraphicsTracker::requestAllocate(std::shared_ptr<BufferCache> *cache) { in requestAllocate() 580 void GraphicsTracker::commitAllocate(c2_status_t res, const std::shared_ptr<BufferCache> &cache, in commitAllocate() 620 c2_status_t GraphicsTracker::_allocate(const std::shared_ptr<BufferCache> &cache, in _allocate() 738 std::shared_ptr<BufferCache> cache; in allocate() local 768 std::shared_ptr<BufferCache> *cache, int *slotId, in requestDeallocate() 805 std::shared_ptr<BufferCache> &cache, int slotId, uint64_t bid, bool *updateDequeue) { in commitDeallocate() 824 std::shared_ptr<BufferCache> cache; in deallocate() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | IpcDataCacheTest.java | 300 TestCache cache = new TestCache(); in testCacheRecompute() local 322 TestCache cache = new TestCache(); in testCacheInitialState() local 335 TestCache cache = new TestCache(MODULE, UNSET_API); in testCachePropertyUnset() local 343 TestCache cache = new TestCache(); in testCacheDisableState() local 363 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/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/visitors/ |
D | PackageRedirectRemapper.kt | 40 private val cache = mutableMapOf<String, String>() in <lambda>() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/data/repository/ |
D | ProfileTypeRepositoryImpl.kt | 38 private val cache = mutableMapOf<Int, ProfileType>() constant
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | RecursiveStringArrayResourceResolver.java | 86 private Set<String> resolve(Collection<String> cache, String pkg, @ArrayRes int rootId) { in resolve() 125 Collection<String> cache, in resolveImport()
|
/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/libs/binary_translation/runtime/ |
D | translator.cc | 28 TranslationCache* cache = TranslationCache::GetInstance(); in InvalidateGuestRange() local
|
D | execute_guest.cc | 36 TranslationCache* cache = TranslationCache::GetInstance(); in ExecuteGuest() local
|
D | execute_guest_test.cc | 52 auto cache = TranslationCache::GetInstance(); in TEST() local
|
/frameworks/libs/binary_translation/test_utils/include/berberis/test_utils/ |
D | testing_run_generated_code.h | 29 auto cache = TranslationCache::GetInstance(); in TestingRunGeneratedCode() 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/libs/binary_translation/runtime_primitives/ |
D | host_function_wrapper_impl.cc | 47 TranslationCache* cache = TranslationCache::GetInstance(); in MakeTrampolineCallable() local
|