Home
last modified time | relevance | path

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

/frameworks/base/core/tests/inputmethodtests/src/android/os/
DSparseRectFArrayTest.java97 final SparseRectFArray array2 = builder.build(); in testBuilder() local
100 assertEquals(expectedRect, array2.get(i)); in testBuilder()
102 assertEquals(i, array2.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); in testBuilder()
103 assertEquals(i, array2.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); in testBuilder()
105 assertEquals(0x1234, array2.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); in testBuilder()
106 assertEquals(0x4321, array2.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); in testBuilder()
109 assertEqualRects(array, array2); in testBuilder()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java82 public static boolean equals(byte[] array1, byte[] array2, int length) { in equals() argument
87 if (array1 == array2) { in equals()
90 if (array1 == null || array2 == null || array1.length < length || array2.length < length) { in equals()
94 if (array1[i] != array2[i]) { in equals()
/frameworks/support/tests/java/android/support/v4/app/
DNotificationCompatWearableExtenderTest.java242 private void assertCharSequencesEquals(CharSequence[] array1, CharSequence[] array2) { in assertCharSequencesEquals() argument
243 if (!Arrays.deepEquals(array1, array2)) { in assertCharSequencesEquals()
244 fail("Arrays not equal: " + Arrays.toString(array1) + " != " + Arrays.toString(array2)); in assertCharSequencesEquals()
/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/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.java1318 byte[] array2 = { in createPDU()
1321 mWspHeader = array2; in createPDU()
1323 mWspHeaderLen = array2.length; in createPDU()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java10035 private static byte[] concat(byte[] array1, byte[] array2, byte[] array3) { in concat() argument
10037 int len = array1.length + array2.length + array3.length; in concat()
10043 if (array2.length != 0) { in concat()
10063 if (array2.length != 0) { in concat()
10064 result[index] = (byte) (array2.length & 0xFF); in concat()
10066 for (byte b : array2) { in concat()
10083 private static byte[] concatHex(byte[] array1, byte[] array2) { in concatHex() argument
10085 int len = array1.length + array2.length; in concatHex()
10097 if (array2.length != 0) { in concatHex()
10098 for (byte b : array2) { in concatHex()