Searched refs:concatByteArrays (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/util/ |
D | ArrayUtilsTest.java | 32 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/ |
D | ObliviousHttpGateway.java | 246 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/ |
D | ExtendedAdvertisementTest.java | 342 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/ |
D | ArrayUtils.java | 30 public static byte[] concatByteArrays(byte[]... arrays) { in concatByteArrays() method in ArrayUtils
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/ |
D | ExtendedAdvertisement.java | 226 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/ |
D | CryptorMicImp.java | 125 ArrayUtils.concatByteArrays(ADV_NONCE_INFO_BYTES_ENCRYPTION_INFO_DE, indexBytes); in generateAdvNonce()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarServiceUtilsTest.java | 262 assertThat(CarServiceUtils.concatByteArrays(bytes1, bytes2)).asList() in testConcatByteArrays()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 202 public static byte[] concatByteArrays(@Nullable byte[] a, @Nullable byte[] b) { in concatByteArrays() method in CarServiceUtils
|