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