Home
last modified time | relevance | path

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

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/
DWatcherTest.java244 final WatchedArrayMap<Integer, Leaf> arraySnap = array.snapshot(); in testWatchedArrayMap() local
248 array.size(), arraySnap.size()); in testWatchedArrayMap()
250 for (int j = 0; j < arraySnap.size(); j++) { in testWatchedArrayMap()
252 array.valueAt(i) != arraySnap.valueAt(j)); in testWatchedArrayMap()
255 array.valueAt(i).equals(arraySnap.valueAt(i))); in testWatchedArrayMap()
260 verifySealed(name, ()->arraySnap.put(INDEX_A, leafA)); in testWatchedArrayMap()
262 assertTrue(arraySnap.isSealed()); in testWatchedArrayMap()
266 final WatchedArrayMap<Integer, Leaf> arraySnap = array.snapshot(); in testWatchedArrayMap() local
268 final Leaf arraySnapElement = arraySnap.valueAt(0); in testWatchedArrayMap()
349 final WatchedArraySet<Leaf> arraySnap = array.snapshot(); in testWatchedArraySet() local
[all …]