Searched refs:prevArray (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 1208 static boolean isAnyAppIdUnwhitelistedSlow(int[] prevArray, int[] newArray) { in isAnyAppIdUnwhitelistedSlow() argument 1210 for (int p : prevArray) { in isAnyAppIdUnwhitelistedSlow() 1218 private void checkAnyAppIdUnwhitelisted(int[] prevArray, int[] newArray, boolean expected) { in checkAnyAppIdUnwhitelisted() argument 1219 assertEquals("Input: " + Arrays.toString(prevArray) + " " + Arrays.toString(newArray), in checkAnyAppIdUnwhitelisted() 1220 expected, AppStateTracker.isAnyAppIdUnwhitelisted(prevArray, newArray)); in checkAnyAppIdUnwhitelisted() 1223 assertEquals("Input: " + Arrays.toString(prevArray) + " " + Arrays.toString(newArray), in checkAnyAppIdUnwhitelisted() 1224 expected, isAnyAppIdUnwhitelistedSlow(prevArray, newArray)); in checkAnyAppIdUnwhitelisted()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 1023 static boolean isAnyAppIdUnwhitelisted(int[] prevArray, int[] newArray) { in isAnyAppIdUnwhitelisted() argument 1030 prevFinished = i1 >= prevArray.length; in isAnyAppIdUnwhitelisted() 1035 int a1 = prevArray[i1]; in isAnyAppIdUnwhitelisted()
|