Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DCollectionUtils.java83 ArraySet<T> arraySet = (ArraySet<T>) set; in filter() local
84 int size = arraySet.size(); in filter()
86 final T item = arraySet.valueAt(i); in filter()
140 ArraySet<I> arraySet = (ArraySet<I>) cur; in map() local
141 int size = arraySet.size(); in map()
143 result.add(f.apply(arraySet.valueAt(i))); in map()
296 ArraySet<T> arraySet = (ArraySet<T>) cur; in find() local
298 T item = arraySet.valueAt(i); in find()
432 ArraySet<T> arraySet = (ArraySet<T>) cur; in forEach() local
434 action.acceptOrThrow(arraySet.valueAt(i)); in forEach()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java339 ArraySet<ControlledHash> arraySet = new ArraySet<ControlledHash>(); in run() local
353 arrayChanged = arraySet.add(key); in run()
360 arrayChanged = arraySet.remove(key); in run()
373 dump(hashSet, arraySet); in run()
384 if (!compareSets(hashSet, arraySet)) { in run()
385 dump(hashSet, arraySet); in run()
403 arraySet.add(new ControlledHash(50000)); in run()
404 it = arraySet.iterator(); in run()
410 if (arraySet.contains(lookup)) { in run()
412 dump(hashSet, arraySet); in run()
[all …]