Searched refs:HashedStringCache (Results 1 – 3 of 3) sorted by relevance
55 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 …]
39 public class HashedStringCache { class40 private static HashedStringCache sHashedStringCache = null;64 private HashedStringCache() { in HashedStringCache() method in HashedStringCache79 public static HashedStringCache getInstance() { in getInstance()81 sHashedStringCache = new HashedStringCache(); in getInstance()
90 import android.util.HashedStringCache;1280 HashedStringCache.HashResult directTargetHashed = null;1288 directTargetHashed = HashedStringCache.getInstance().hashString(