Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationCache.java46 private final HashMap<AllocationKey, List<Allocation>> mAllocationMap =
47 new HashMap<AllocationKey, List<Allocation>>();
82 AllocationKey key = new AllocationKey(type, usage); in getOrCreateTyped()
123 AllocationKey key = new AllocationKey(allocation.getType(), usage); in returnToCache()
179 for (Map.Entry<AllocationKey, List<Allocation>> entry : mAllocationMap.entrySet()) { in close()
207 private static class AllocationKey { class in AllocationCache
211 public AllocationKey(Type type, int usage) { in AllocationKey() method in AllocationCache.AllocationKey
223 if (other instanceof AllocationKey){ in equals()
224 AllocationKey otherKey = (AllocationKey) other; in equals()