Searched refs:array2 (Results 1 – 7 of 7) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistance.java | 65 byte[] array1, array2; in getDistance() 68 array2 = bytes1; in getDistance() 71 array2 = bytes2; in getDistance() 79 if (array1[i] != array2[i]) { in getDistance() 97 int length2 = array2.length; in getDistance() 125 if (!mMatchFlags2[j] && c1 == array2[j]) { in getDistance() 144 if (array1[i] != array2[j]) { in getDistance()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | ResizableIntArrayTests.java | 52 int[] array2 = null, array3 = null; in testAdd() local 59 array2 = src.getPrimitiveArray(); in testAdd() 67 assertSame("array after add " + i, array2, src.getPrimitiveArray()); in testAdd() 135 final int[] array2 = src.getPrimitiveArray(); in testReset() local 137 assertNotSame("array after reset", array, array2); in testReset() 148 assertSame("array after add " + i, array2, src.getPrimitiveArray()); in testReset() 167 final int[] array2 = src.getPrimitiveArray(); in testSetLength() local 169 assertNotSame("array after larger setLength", array, array2); in testSetLength() 170 assertEquals("array length after larger setLength", largerLength, array2.length); in testSetLength() 184 assertSame("array after smaller setLength", array2, array3); in testSetLength() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ArrayUtils.java | 38 public static boolean equals(byte[] array1, byte[] array2, int length) { in equals() argument 43 if (array1 == array2) { in equals() 46 if (array1 == null || array2 == null || array1.length < length || array2.length < length) { in equals() 50 if (array1[i] != array2[i]) { in equals()
|
/packages/apps/Contacts/src/com/android/contacts/format/ |
D | FormatUtils.java | 60 public static int overlapPoint(char[] array1, char[] array2) { in overlapPoint() argument 61 if (array1 == null || array2 == null) { in overlapPoint() 65 int count2 = array2.length; in overlapPoint() 68 while (count1 > 0 && count2 > 0 && array1[count1 - 1] == array2[count2 - 1]) { in overlapPoint() 80 if (array1[i+j] != array2[j]) { in overlapPoint()
|
/packages/apps/SecureElement/src/com/android/se/internal/ |
D | Util.java | 37 public static byte[] mergeBytes(byte[] array1, byte[] array2) { in mergeBytes() argument 38 byte[] data = new byte[array1.length + array2.length]; in mergeBytes() 40 System.arraycopy(array2, 0, data, array1.length, array2.length); in mergeBytes()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/ |
D | HdrFormatSelectionFragmentTest.java | 317 private int[] difference(int[] array1, int[] array2) { in difference() argument 318 Set<Integer> set2 = Arrays.stream(array2).boxed().collect(Collectors.toSet()); in difference()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 1076 private static byte[] concatHex(byte[] array1, byte[] array2) { in concatHex() argument 1078 int len = array1.length + array2.length; in concatHex() 1090 if (array2.length != 0) { in concatHex() 1091 for (byte b : array2) { in concatHex()
|