Searched defs:haystack (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | CollectionUtils.java | 175 public static int indexOfSubArray(@NonNull byte[] haystack, @NonNull byte[] needle) { in indexOfSubArray() 228 public static <T> boolean containsAny(@NonNull final Collection<T> haystack, in containsAny() 243 public static <T> boolean containsAll(@NonNull final Collection<T> haystack, in containsAll() 256 public static <T> T findFirst(@NonNull final Collection<T> haystack, in findFirst() 276 public static <T> T findLast(@NonNull final List<T> haystack, in findLast() 292 public static <T> boolean contains(@NonNull final Collection<T> haystack, in contains()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | ProviderPermissionTest.java | 284 private static boolean contains(String[] haystack, String needle) { in contains()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | CollectionUtilsTest.kt | 59 val haystack = byteArrayOf(1, 2, 3, 4, 5) in testIndexOfSubArray() constant
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | TunUtils.java | 124 private static boolean containsSubArray(byte[] haystack, byte[] needle) { in containsSubArray()
|