Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/util/
DMultiLongSparseArrayTest.java33 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 …]
/packages/apps/TV/src/com/android/tv/util/
DMultiLongSparseArray.java31 public class MultiLongSparseArray<T> { class
38 public MultiLongSparseArray() { in MultiLongSparseArray() method in MultiLongSparseArray
43 public MultiLongSparseArray(int initialCapacity, int emptyCacheSize) { in MultiLongSparseArray() method in MultiLongSparseArray
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java41 import com.android.tv.util.MultiLongSparseArray;
91 private final MultiLongSparseArray<OnCurrentProgramUpdatedListener>
92 mChannelId2ProgramUpdatedListeners = new MultiLongSparseArray<>();