Home
last modified time | relevance | path

Searched refs:removeLong (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/
DArrayUtilsTest.java332 assertThat(ArrayUtils.removeLong(array, 1L)).isEqualTo(new long[]{2L}); in testRemoveLong()
333 assertThat(ArrayUtils.removeLong(array, 2L)).isEqualTo(new long[]{1L}); in testRemoveLong()
334 assertThat(ArrayUtils.removeLong(array, 3L)).isEqualTo(new long[]{1L, 2L}); in testRemoveLong()
335 assertThat(ArrayUtils.removeLong(new long[]{1L}, 1L)).isEqualTo(new long[0]); in testRemoveLong()
336 assertThat(ArrayUtils.removeLong(null, 1L)).isEqualTo(null); in testRemoveLong()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DArrayUtils.java547 public static long[] removeLong(@Nullable long[] cur, long val) { in removeLong() method in ArrayUtils