Searched refs:MultiLongSparseArray (Results 1 – 3 of 3) sorted by relevance
33 MultiLongSparseArray<String> sparseArray = new MultiLongSparseArray<>(); in testEmpty()38 MultiLongSparseArray<String> sparseArray = new MultiLongSparseArray<>(); in testOneElement()44 MultiLongSparseArray<String> sparseArray = new MultiLongSparseArray<>(); in testTwoElements()52 MultiLongSparseArray<String> sparseArray = new MultiLongSparseArray<>(); in testClearEmptyCache()63 MultiLongSparseArray<String> sparseArray = new MultiLongSparseArray<>(); in testMaxEmptyCacheSize()66 for (int i = 0; i <= MultiLongSparseArray.DEFAULT_MAX_EMPTIES_KEPT + 2; i++) { in testMaxEmptyCacheSize()69 for (int i = 0; i <= MultiLongSparseArray.DEFAULT_MAX_EMPTIES_KEPT + 2; i++) { in testMaxEmptyCacheSize()72 assertEquals(MultiLongSparseArray.DEFAULT_MAX_EMPTIES_KEPT, in testMaxEmptyCacheSize()79 MultiLongSparseArray<String> sparseArray = new MultiLongSparseArray<>(); in testReuseEmptySets()83 for (int i = 0; i <= MultiLongSparseArray.DEFAULT_MAX_EMPTIES_KEPT + 2; i++) { in testReuseEmptySets()[all …]
31 public class MultiLongSparseArray<T> { class38 public MultiLongSparseArray() { in MultiLongSparseArray() method in MultiLongSparseArray43 public MultiLongSparseArray(int initialCapacity, int emptyCacheSize) { in MultiLongSparseArray() method in MultiLongSparseArray
41 import com.android.tv.util.MultiLongSparseArray;91 private final MultiLongSparseArray<OnCurrentProgramUpdatedListener>92 mChannelId2ProgramUpdatedListeners = new MultiLongSparseArray<>();