Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DCallbackRegistryTest.java38 int[] deepNotifyCount = new int[300]; field in CallbackRegistryTest
49 deepNotifyCount[callback]++; in addNotifyCount()
194 final Integer[] callbacks = new Integer[deepNotifyCount.length]; in testVeryDeepRemoveWhileNotifying()
214 for (int i = 0; i < deepNotifyCount.length; i++) { in testVeryDeepRemoveWhileNotifying()
215 int expectedCount = Math.min(i + 1, deepNotifyCount.length - i); in testVeryDeepRemoveWhileNotifying()
216 assertEquals(expectedCount, deepNotifyCount[i]); in testVeryDeepRemoveWhileNotifying()
233 for (int i = 0; i < deepNotifyCount.length; i++) { in testClear()
242 for (int i = 0; i < deepNotifyCount.length; i++) { in testClear()
243 assertEquals(0, deepNotifyCount[i]); in testClear()
258 for (int i = 0; i < deepNotifyCount.length; i++) { in testNestedClear()
[all …]
/frameworks/data-binding/compiler/src/test/java/android/databinding/
DCallbackRegistryTest.java36 int[] deepNotifyCount = new int[300]; field in CallbackRegistryTest
47 deepNotifyCount[callback]++; in addNotifyCount()
198 final Integer[] callbacks = new Integer[deepNotifyCount.length]; in testVeryDeepRemoveWhileNotifying()
218 for (int i = 0; i < deepNotifyCount.length; i++) { in testVeryDeepRemoveWhileNotifying()
219 int expectedCount = Math.min(i + 1, deepNotifyCount.length - i); in testVeryDeepRemoveWhileNotifying()
220 assertEquals(expectedCount, deepNotifyCount[i]); in testVeryDeepRemoveWhileNotifying()
238 for (int i = 0; i < deepNotifyCount.length; i++) { in testClear()
247 for (int i = 0; i < deepNotifyCount.length; i++) { in testClear()
248 assertEquals(0, deepNotifyCount[i]); in testClear()
264 for (int i = 0; i < deepNotifyCount.length; i++) { in testNestedClear()
[all …]