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.java75 ArraySet<T> arraySet = (ArraySet<T>) set; in filter() local
76 int size = arraySet.size(); in filter()
78 final T item = arraySet.valueAt(i); in filter()
131 ArraySet<I> arraySet = (ArraySet<I>) cur; in map() local
132 int size = arraySet.size(); in map()
134 result.add(f.apply(arraySet.valueAt(i))); in map()
280 ArraySet<T> arraySet = (ArraySet<T>) cur; in find() local
282 T item = arraySet.valueAt(i); in find()
416 ArraySet<T> arraySet = (ArraySet<T>) cur; in forEach() local
418 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 …]