Home
last modified time | relevance | path

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

/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/util/
DArrayUtilsTest.java32 assertThat(ArrayUtils.concatByteArrays().length).isEqualTo(0); in testConcatByteArraysNoInput()
37 assertThat(ArrayUtils.concatByteArrays(BYTES_EMPTY).length).isEqualTo(0); in testConcatByteArraysOneEmptyArray()
42 assertThat(ArrayUtils.concatByteArrays(BYTES_ONE)).isEqualTo(BYTES_ONE); in testConcatByteArraysOneNonEmptyArray()
47 assertThat(ArrayUtils.concatByteArrays(BYTES_ONE, BYTES_TWO)).isEqualTo(BYTES_ALL); in testConcatByteArraysMultipleNonEmptyArrays()
52 assertThat(ArrayUtils.concatByteArrays(BYTES_ONE, BYTES_EMPTY, BYTES_TWO)) in testConcatByteArraysMultipleArrays()
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/
DObliviousHttpGateway.java246 byte[] salt = concatByteArrays(encapsulatedSharedSecret.getBytes(), responseNonce); in encrypt()
273 return concatByteArrays(responseNonce, cipherText); in encrypt()
286 private static byte[] concatByteArrays(byte[] array1, byte[] array2) throws IOException { in concatByteArrays() method in ObliviousHttpGateway
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/presence/
DExtendedAdvertisementTest.java342 byte[] saltBytes = ArrayUtils.concatByteArrays(new byte[]{(byte) 0b00100000}, SALT); in getExtendedAdvertisementByteArray()
369 ArrayUtils.concatByteArrays(METADATA_ENCRYPTION_KEY, deBytes), in getExtendedAdvertisementByteArray()
373 byte[] dataToSign = ArrayUtils.concatByteArrays( in getExtendedAdvertisementByteArray()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/
DArrayUtils.java30 public static byte[] concatByteArrays(byte[]... arrays) { in concatByteArrays() method in ArrayUtils
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/
DExtendedAdvertisement.java226 byte[] micInput = ArrayUtils.concatByteArrays( in fromBytes()
415 rawDeBytes = ArrayUtils.concatByteArrays(rawDeBytes, in getCiphertext()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/encryption/
DCryptorMicImp.java125 ArrayUtils.concatByteArrays(ADV_NONCE_INFO_BYTES_ENCRYPTION_INFO_DE, indexBytes); in generateAdvNonce()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarServiceUtilsTest.java262 assertThat(CarServiceUtils.concatByteArrays(bytes1, bytes2)).asList() in testConcatByteArrays()
/packages/services/Car/service/src/com/android/car/
DCarServiceUtils.java202 public static byte[] concatByteArrays(@Nullable byte[] a, @Nullable byte[] b) { in concatByteArrays() method in CarServiceUtils