Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DSparseLongArrayTest.java47 private static boolean isSame(@NonNull SparseLongArray array1, in isSame() argument
49 if (array1.size() != array2.size()) { in isSame()
52 for (int i = 0; i < array1.size(); i++) { in isSame()
53 if (array1.keyAt(i) != array2.keyAt(i) || array1.valueAt(i) != array2.valueAt(i)) { in isSame()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransitionController.java299 private static ArraySet<Integer> collectActivityTypes(ArraySet<AppWindowToken> array1, in collectActivityTypes() argument
302 for (int i = array1.size() - 1; i >= 0; i--) { in collectActivityTypes()
303 result.add(array1.valueAt(i).getActivityType()); in collectActivityTypes()
314 private static AppWindowToken lookForHighestTokenWithFilter(ArraySet<AppWindowToken> array1, in lookForHighestTokenWithFilter() argument
317 final int array2base = array1.size(); in lookForHighestTokenWithFilter()
324 ? array1.valueAt(i) in lookForHighestTokenWithFilter()
/frameworks/rs/
DrsType.cpp242 if (t->getArray(1) != params->array1) continue; in getTypeRef()
276 if (params->array1 > 0) nt->mHal.state.arrayCount ++; in getTypeRef()
282 if (params->array1 > 1) nt->mHal.state.arrays[1] = params->array1; in getTypeRef()
DrsInternalDefines.h222 uint32_t array1; member
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java94 public static boolean equals(byte[] array1, byte[] array2, int length) { in equals() argument
99 if (array1 == array2) { in equals()
102 if (array1 == null || array2 == null || array1.length < length || array2.length < length) { in equals()
106 if (array1[i] != array2[i]) { in equals()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java418 private static byte[] concatHex(byte[] array1, byte[] array2) { in concatHex() argument
420 int len = array1.length + array2.length; in concatHex()
425 if (array1.length != 0) { in concatHex()
426 for (byte b : array1) { in concatHex()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DEventRecurrence.java455 private static boolean arraysEqual(int[] array1, int count1, int[] array2, int count2) { in arraysEqual() argument
461 if (array1[i] != array2[i]) in arraysEqual()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java1295 byte[] array1 = { in createPDU()
1310 array1[2] = (byte) (array1.length - 3); in createPDU()
1311 mWspHeader = array1; in createPDU()
1313 mWspHeaderLen = array1.length; in createPDU()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java1248 final int[] array1 = makeRandomArray(); in isAnyAppIdUnwhitelisted() local
1251 final boolean expected = isAnyAppIdUnwhitelistedSlow(array1, array2); in isAnyAppIdUnwhitelisted()
1252 final boolean actual = AppStateTracker.isAnyAppIdUnwhitelisted(array1, array2); in isAnyAppIdUnwhitelisted()
1254 assertEquals("Input: " + Arrays.toString(array1) + " " + Arrays.toString(array2), in isAnyAppIdUnwhitelisted()