Searched refs:array2 (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/midilib/ |
D | JavaMidiTestModule.java | 209 private byte[] concatByteArrays(byte[] array1, byte[] array2) { in concatByteArrays() argument 210 byte[] result = Arrays.copyOf(array1, array1.length + array2.length); in concatByteArrays() 211 System.arraycopy(array2, 0, result, array1.length, array2.length); in concatByteArrays()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainHotwordDetectionService.java | 547 private boolean isSame(byte[] array1, byte[] array2, int length) { in isSame() argument 551 if (array1 == null || array2 == null || array1.length < length || array2.length < length) { in isSame() 555 if (array1[i] != array2[i]) { in isSame()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | ActivityTransitionTests.java | 687 private boolean arrayEquals(float[] array1, float[] array2) { in arrayEquals() argument 688 return arrayEquals(array1, array2, COLOR_VALUE_VARIANCE_TOLERANCE); in arrayEquals() 691 private boolean arrayEquals(float[] array1, float[] array2, float varianceTolerance) { in arrayEquals() argument 692 if (array1.length != array2.length) { in arrayEquals() 696 if (Math.abs(array1[i] - array2[i]) > varianceTolerance) { in arrayEquals()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ResourcesTest.java | 841 int[]array2 = mResources.getIntArray(R.array.integers); in testGetIntArray() local 844 checkArrayEqual(expectedArray2, array2); in testGetIntArray() 848 private void checkArrayEqual(int[] array1, int[] array2) { in checkArrayEqual() argument 849 assertNotNull(array2); in checkArrayEqual() 850 assertEquals(array1.length, array2.length); in checkArrayEqual() 852 assertEquals(array1[i], array2[i]); in checkArrayEqual()
|