/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ArrayUtils.java | 60 public static boolean isEmpty(@Nullable Collection<?> array) { in isEmpty() 67 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty() 74 public static boolean isEmpty(@Nullable int[] array) { in isEmpty() 81 public static boolean isEmpty(@Nullable long[] array) { in isEmpty() 88 public static boolean isEmpty(@Nullable byte[] array) { in isEmpty() 95 public static boolean isEmpty(@Nullable boolean[] array) { in isEmpty() 102 public static int size(@Nullable Object[] array) { in size() 120 public static <T> boolean contains(@Nullable T[] array, T value) { in contains() 131 public static boolean contains(@Nullable int[] array, int value) { in contains() 148 public static boolean contains(@Nullable long[] array, long value) { in contains() [all …]
|
/packages/modules/Permission/service/java/com/android/permission/util/ |
D | ArrayUtils.java | 32 public static <T> boolean contains(@Nullable T[] array, T value) { in contains() 43 public static <T> T firstOrNull(@Nullable T[] array) { in firstOrNull() 50 public static <T> int indexOf(@Nullable T[] array, T value) { in indexOf() 67 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty()
|
/packages/services/Car/service/src/com/android/car/ |
D | SparseArrayStream.java | 32 public static <E> IntStream keyStream(SparseArray<E> array) { in keyStream() 36 public static <E> Stream<E> valueStream(SparseArray<E> array) { in valueStream() 40 public static <E> Stream<Pair<Integer, E>> pairStream(SparseArray<E> array) { in pairStream()
|
D | CarServiceUtils.java | 158 final float[] array = new float[size]; in toFloatArray() local 167 final int[] array = new int[size]; in toIntArray() local
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | SparseArrayStreamTest.java | 38 SparseArray<String> array = createSparseStringArray(); in testKeyStream() local 54 SparseArray<String> array = createSparseStringArray(); in testValueStream() local 70 SparseArray<String> array = createSparseStringArray(); in testPairStream() local 86 SparseArray<String> array = new SparseArray<>(); in createSparseStringArray() local
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | ArrayUtils.java | 35 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty() 45 public static <T> boolean contains(T[] array, T value) { in contains() 53 public static <T> int indexOf(T[] array, T value) { in indexOf()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | CollectionUtilsTests.java | 51 final String[] array = { "0", "1" }; in testArrayAsListFailure() local 83 final String[] array = { "0", "1", "2", "3", "4" }; in testArrayAsList() local
|
D | ResourceUtilsTests.java | 51 final String[] array = { in testFindConstantForKeyValuePairsSimple() local 85 final String[] array = { in testFindConstantForKeyValuePairsCombined() local 130 final String[] array = { in testFindConstantForKeyValuePairsRegexp() local
|
/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | DynamicAdaptiveIconDrawable.java | 328 final ChildDrawable[] array = state.mChildren; in applyTheme() local 467 final ChildDrawable[] array = mLayerState.mChildren; in setHotspot() local 478 final ChildDrawable[] array = mLayerState.mChildren; in setHotspotBounds() local 505 final ChildDrawable[] array = mLayerState.mChildren; in setVisible() local 519 final ChildDrawable[] array = mLayerState.mChildren; in setDither() local 540 final ChildDrawable[] array = mLayerState.mChildren; in setColorFilter() local 551 final ChildDrawable[] array = mLayerState.mChildren; in setTintList() local 563 final ChildDrawable[] array = mLayerState.mChildren; in setTintMode() local 586 final ChildDrawable[] array = mLayerState.mChildren; in setAutoMirrored() local 602 final ChildDrawable[] array = mLayerState.mChildren; in jumpToCurrentState() local [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | ResizableIntArrayTests.java | 42 final int[] array = src.getPrimitiveArray(); in testNewInstance() local 51 final int[] array = src.getPrimitiveArray(); in testAdd() local 126 final int[] array = src.getPrimitiveArray(); in testReset() local 158 final int[] array = src.getPrimitiveArray(); in testSetLength() local 216 final int[] array = dst.getPrimitiveArray(); in testCopy() local 245 final int[] array = dst.getPrimitiveArray(); in testAppend() local 295 final int[] array = src.getPrimitiveArray(); in testFill() local
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | Utils.java | 32 SparseArrayEntry(SparseArray<U> array, int index) { in SparseArrayEntry() 41 SparseArrayIterator(SparseArray<T> array) { in SparseArrayIterator()
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | TlvBufferUtils.java | 109 public TlvConstructor wrap(@Nullable byte[] array) { in wrap() 197 public TlvConstructor putByteArray(int type, @Nullable byte[] array, int offset, in putByteArray() 218 public TlvConstructor putByteArray(int type, @Nullable byte[] array) { in putByteArray() 229 public TlvConstructor putRawByteArray(@Nullable byte[] array) { in putRawByteArray() 496 public TlvIterable(int typeSize, int lengthSize, @Nullable byte[] array) { in TlvIterable() 627 public static boolean isValid(@Nullable byte[] array, int typeSize, int lengthSize) { in isValid() 642 public static boolean isValidEndian(@Nullable byte[] array, int typeSize, int lengthSize, in isValidEndian()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.h | 34 static void jintarrayToVector(JNIEnv *env, jintArray array, std::vector<int> *const outVector) { in jintarrayToVector() 130 static void putBooleanToArray(JNIEnv *env, jbooleanArray array, const int index, in putBooleanToArray() 135 static void putIntToArray(JNIEnv *env, jintArray array, const int index, const int value) { in putIntToArray() 139 static void putFloatToArray(JNIEnv *env, jfloatArray array, const int index, in putFloatToArray()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/ |
D | NotificationVisibilityLogger.java | 129 private static void recycleAllVisibilityObjects(ArraySet<NotificationVisibility> array) { in recycleAllVisibilityObjects() 140 NotificationVisibility[] array = new NotificationVisibility[c.size()]; in cloneVisibilitiesAsArr() local
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/ |
D | IntArrayTest.java | 32 int[] array = new int[] {0, 2, 3, 9}; in concatAndParseString() local
|
/packages/apps/SecureElement/src/com/android/se/internal/ |
D | ByteArrayConverter.java | 82 public static String byteArrayToHexString(byte[] array, int offset, int length) { in byteArrayToHexString() 97 public static String byteArrayToHexString(byte[] array, int offset) { in byteArrayToHexString()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | LongArray.java | 32 private LongArray(long[] array, int size) { in LongArray() 59 public static LongArray wrap(long[] array) { in wrap() 66 public static LongArray fromArray(long[] array, int size) { in fromArray()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | IntArray.java | 34 private IntArray(int[] array, int size) { in IntArray() 61 public static IntArray wrap(int... array) { in wrap() 254 int[] array = new int[tokenizer.countTokens()]; in fromConcatString() local
|
D | IntSet.java | 75 public static IntSet wrap(IntArray array) { in wrap()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/helper/ |
D | SelectableSubscriptionsTest.java | 52 AtomicIntegerArray array = new AtomicIntegerArray(3); in atomicToList_subIdInArray_getList() local
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | CollectionUtils.java | 44 public static <E> ArrayList<E> arrayAsList(@Nonnull final E[] array, final int start, in arrayAsList()
|
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
D | Utils.java | 43 int[] array = arrays[i]; in concatIntArrays() local
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | Hex.java | 58 public static String encodeHex(byte[] array, boolean zeroTerminated) { in encodeHex()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
D | AccountWithDataSet.java | 105 final String[] array = STRINGIFY_SEPARATOR_PAT.split(s, 3); in unstringify() local 138 final String[] array = ARRAY_STRINGIFY_SEPARATOR_PAT.split(s); in unstringifyList() local
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | UserData.java | 159 private static String toHexString(byte[] array) { in toHexString() 163 private static String toHexString(byte[] array, int offset, int length, boolean upperCase) { in toHexString()
|