Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DSparseRectFArrayTest.java108 final SparseRectFArray array2 = builder.build(); in testBuilder() local
111 assertEquals(expectedRect, array2.get(i)); in testBuilder()
113 assertEquals(i, array2.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); in testBuilder()
114 assertEquals(i, array2.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); in testBuilder()
116 assertEquals(0x1234, array2.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); in testBuilder()
117 assertEquals(0x4321, array2.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); in testBuilder()
120 assertEqualRects(array, array2); in testBuilder()
/frameworks/base/core/tests/coretests/src/android/util/
DSparseLongArrayTest.java48 @NonNull SparseLongArray array2) { in isSame() argument
49 if (array1.size() != array2.size()) { 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.java300 ArraySet<AppWindowToken> array2, ArraySet<AppWindowToken> array3) { in collectActivityTypes() argument
305 for (int i = array2.size() - 1; i >= 0; i--) { in collectActivityTypes()
306 result.add(array2.valueAt(i).getActivityType()); in collectActivityTypes()
315 ArraySet<AppWindowToken> array2, ArraySet<AppWindowToken> array3, in lookForHighestTokenWithFilter() argument
318 final int array3base = array2.size() + array2base; in lookForHighestTokenWithFilter()
326 ? array2.valueAt(i - array2base) in lookForHighestTokenWithFilter()
/frameworks/rs/
DrsType.cpp243 if (t->getArray(2) != params->array2) continue; in getTypeRef()
277 if (params->array2 > 0) nt->mHal.state.arrayCount ++; in getTypeRef()
283 if (params->array2 > 2) nt->mHal.state.arrays[2] = params->array2; in getTypeRef()
DrsInternalDefines.h223 uint32_t array2; 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()
432 if (array2.length != 0) { in concatHex()
433 for (byte b : array2) { 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/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java1249 final int[] array2 = 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()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java1318 byte[] array2 = { in createPDU()
1321 mWspHeader = array2; in createPDU()
1323 mWspHeaderLen = array2.length; in createPDU()