Home
last modified time | relevance | path

Searched refs:bytes2 (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DNameDistance.java64 public float getDistance(byte bytes1[], byte bytes2[]) { in getDistance() argument
67 if (bytes1.length > bytes2.length) { in getDistance()
69 array1 = bytes2; in getDistance()
71 array2 = bytes2; in getDistance()
161 if (bytes1[i] != bytes2[i]) { in getDistance()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DStringUtilsTests.java417 final byte[] bytes2 = StringUtils.hexStringToByteArray(bytesStr); in testHexStringUtils()
419 assertTrue(bytes[i] == bytes2[i]); in testHexStringUtils()
421 final String bytesStr2 = StringUtils.byteArrayToHexString(bytes2); in testHexStringUtils()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DDnsSvcbPacketTest.java369 final byte[] bytes2 = new TestDnsRecordByteArrayBuilder() in testDnsSvcbRecord_invalidDnsRecord()
373 assertThrows(BufferUnderflowException.class, () -> makeDnsSvcbRecordFromByteArray(bytes2)); in testDnsSvcbRecord_invalidDnsRecord()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarServiceUtilsTest.java259 byte[] bytes2 = new byte[] {4, 5, 6}; in testConcatByteArrays()
262 assertThat(CarServiceUtils.concatByteArrays(bytes1, bytes2)).asList() in testConcatByteArrays()