Searched refs:needle (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/util/src/android/util/cts/ |
D | RangeTest.java | 124 private static <T extends Comparable<? super T>> void verifyInRange(Range<T> object, T needle) { in verifyInRange() argument 125 verifyAction("in-range", object, needle, true, object.contains(needle)); in verifyInRange() 129 T needle) { in verifyOutOfRange() argument 130 verifyAction("out-of-range", object, needle, false, object.contains(needle)); in verifyOutOfRange() 147 private static <T, T2> void verifyAction(String action, T object, T2 needle, boolean expected, in verifyAction() argument 150 assertEquals("Expected " + needle + " to be " + expectedMessage + " of " + object, in verifyAction()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ExtendedCameraCharacteristicsTest.java | 1385 private static boolean arrayContains(int[] arr, int needle) { in arrayContains() argument 1391 if (elem == needle) { in arrayContains() 1399 private static <T> boolean arrayContains(T[] arr, T needle) { in arrayContains() argument 1405 if (elem.equals(needle)) { in arrayContains() 1414 for (int needle : needles) { in arrayContainsAnyOf() 1415 if (arrayContains(arr, needle)) { in arrayContainsAnyOf()
|