Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/
DCollectionUtilsTest.kt26 val byteArrays = setOf(TEST_BYTE_ARRAY_1, TEST_BYTE_ARRAY_2, TEST_BYTE_ARRAY_3) in testContains_true() constant
28 assertThat(CollectionUtils.contains(byteArrays, TEST_BYTE_ARRAY_1)).isTrue() in testContains_true()
33 val byteArrays = setOf(TEST_BYTE_ARRAY_1, TEST_BYTE_ARRAY_2, TEST_BYTE_ARRAY_3) in testContains_false() constant
35 assertThat(CollectionUtils.contains(byteArrays, TEST_BYTE_ARRAY_4)).isFalse() in testContains_false()
40 val byteArrays = setOf(TEST_BYTE_ARRAY_1, TEST_BYTE_ARRAY_2, TEST_BYTE_ARRAY_3) in testContainsSubset_true() constant
43 assertThat(CollectionUtils.containsSubset(byteArrays, otherByteArrays)).isTrue() in testContainsSubset_true()
48 val byteArrays = setOf(TEST_BYTE_ARRAY_1, TEST_BYTE_ARRAY_2, TEST_BYTE_ARRAY_3) in testContainsSubset_false() constant
51 assertThat(CollectionUtils.containsSubset(byteArrays, otherByteArrays)).isFalse() in testContainsSubset_false()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DCollectionUtils.java83 public static boolean contains(@NonNull Set<byte[]> byteArrays, in contains() argument
85 for (byte[] byteArray : byteArrays) { in contains()
104 @NonNull Set<byte[]> byteArrays, @NonNull Set<byte[]> otherByteArrays) { in containsSubset()
106 if (!contains(byteArrays, byteArray)) { in containsSubset()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/
DStorageUtils.java128 private static UUID getUUID(byte[]... byteArrays) { in getUUID() argument
129 int total = Stream.of(byteArrays).mapToInt(arr -> arr.length).sum(); in getUUID()
131 for (byte[] byteArray : byteArrays) { in getUUID()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DInformationElementUtilTest.java79 private static byte[] concatenateByteArrays(byte[]... byteArrays) throws IOException { in concatenateByteArrays() argument
81 for (byte[] b : byteArrays) { in concatenateByteArrays()