Home
last modified time | relevance | path

Searched refs:HashedStringCache (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DHashedStringCacheTest.java55 HashedStringCache cache = HashedStringCache.getInstance(); in testInstanceNotNull()
61 HashedStringCache cache = HashedStringCache.getInstance(); in testInstanceMatchesOnSecondCall()
62 assertThat(HashedStringCache.getInstance(), is(cache)); in testInstanceMatchesOnSecondCall()
67 HashedStringCache cache = HashedStringCache.getInstance(); in testHashedStringNotOriginalString()
68 HashedStringCache.HashResult cachedResult = in testHashedStringNotOriginalString()
75 HashedStringCache cache = HashedStringCache.getInstance(); in testThatMultipleCallsResultInSameHash()
76 HashedStringCache.HashResult cachedResult = in testThatMultipleCallsResultInSameHash()
78 HashedStringCache.HashResult cachedResult2 = in testThatMultipleCallsResultInSameHash()
86 HashedStringCache cache = HashedStringCache.getInstance(); in testThatMultipleInputResultInDifferentHash()
87 HashedStringCache.HashResult cachedResult = in testThatMultipleInputResultInDifferentHash()
[all …]
/frameworks/base/core/java/android/util/
DHashedStringCache.java39 public class HashedStringCache { class
40 private static HashedStringCache sHashedStringCache = null;
64 private HashedStringCache() { in HashedStringCache() method in HashedStringCache
79 public static HashedStringCache getInstance() { in getInstance()
81 sHashedStringCache = new HashedStringCache(); in getInstance()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java90 import android.util.HashedStringCache;
1280 HashedStringCache.HashResult directTargetHashed = null;
1288 directTargetHashed = HashedStringCache.getInstance().hashString(