Searched refs:bytes1 (Results 1 – 5 of 5) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistance.java | 64 public float getDistance(byte bytes1[], byte bytes2[]) { in getDistance() argument 67 if (bytes1.length > bytes2.length) { in getDistance() 68 array2 = bytes1; in getDistance() 72 array1 = bytes1; in getDistance() 161 if (bytes1[i] != bytes2[i]) { in getDistance()
|
/packages/modules/Nfc/libnfc-nci/tests/src/ |
D | nfc_main_test.cc | 133 uint8_t bytes1[] = {0x01}; in TEST_F() local 135 void* buf1 = &bytes1; in TEST_F()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | DnsSvcbPacketTest.java | 362 final byte[] bytes1 = new TestDnsRecordByteArrayBuilder() in testDnsSvcbRecord_invalidDnsRecord() 366 assertThrows(IllegalStateException.class, () -> makeDnsSvcbRecordFromByteArray(bytes1)); in testDnsSvcbRecord_invalidDnsRecord()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarServiceUtilsTest.java | 258 byte[] bytes1 = new byte[] {1, 2, 3}; in testConcatByteArrays() 262 assertThat(CarServiceUtils.concatByteArrays(bytes1, bytes2)).asList() in testConcatByteArrays()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfGeneratorTest.kt | 995 val bytes1 = HexDump.hexStringToByteArray("0102") in testJBSPTRMATCHOpcodeEncoding() constant 1015 bytes1, in testJBSPTRMATCHOpcodeEncoding() 1036 .addJumpIfBytesAtOffsetEqualsNoneOf(0, listOf(bytes1, notExistBytes), PASS_LABEL) in testJBSPTRMATCHOpcodeEncoding() 1037 .addJumpIfBytesAtOffsetEqualsAnyOf(1, listOf(bytes1, bytes2), PASS_LABEL) in testJBSPTRMATCHOpcodeEncoding() 1066 .addJumpIfBytesAtOffsetEqualsAnyOf(1, listOf(bytes1, bytes2), PASS_LABEL) in testJBSPTRMATCHOpcodeEncoding()
|