/frameworks/base/telephony/common/com/android/internal/telephony/util/ |
D | ArrayUtils.java | 40 public static <T> T[] appendElement(Class<T> kind, @Nullable T[] array, T element) { in appendElement() 55 public static <T> T[] appendElement(Class<T> kind, @Nullable T[] array, T element, in appendElement() 133 public static boolean contains(@Nullable char[] array, char value) { in contains() 153 public static boolean contains(@Nullable int[] array, int value) { in contains() 166 public static boolean contains(@Nullable long[] array, long value) { in contains() 179 public static <T> boolean contains(@Nullable T[] array, T value) { in contains() 187 public static <T> int indexOf(@Nullable T[] array, T value) { in indexOf() 198 public static boolean isEmpty(@Nullable Collection<?> array) { in isEmpty() 212 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty() 219 public static boolean isEmpty(@Nullable int[] array) { in isEmpty() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ByteArrayHelpers.java | 40 public static byte[] toByteArray(byte[] array) { in toByteArray() 50 public static byte[] toByteArray(short[] array) { in toByteArray() 60 public static byte[] toByteArray(char[] array) { in toByteArray() 69 public static byte[] toByteArray(int[] array) { in toByteArray() 78 public static byte[] toByteArray(long[] array) { in toByteArray() 87 public static byte[] toByteArray(float[] array) { in toByteArray() 96 public static byte[] toByteArray(double[] array) { in toByteArray() 111 public static <T> byte[] toByteArray(T array) { in toByteArray() 213 private static <T> byte[] toByteArray(T array, int sizeOfTBits) { in toByteArray()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MemoryIntArrayTest.java | 49 MemoryIntArray array = null; in testSize() local 60 MemoryIntArray array = null; in testGetSet() local 78 MemoryIntArray array = null; in testWritable() local 89 MemoryIntArray array = null; in testClose() local 131 MemoryIntArray array = null; in testInteractOnceClosed() local 174 MemoryIntArray array = null; in testInteractPutOfBounds() local 212 MemoryIntArray array = null; in testOverMaxSize() local 257 MemoryIntArray array = new MemoryIntArray(1); in testAshmemSizeMatchesMemoryIntArraySize() local
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | common.cpp | 47 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() 69 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() 75 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() 81 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() 87 static void* Get(JNIEnv* _env, jshortArray array, jboolean* is_copy) { in Get() 93 static void* Get(JNIEnv* _env, jintArray array, jboolean* is_copy) { in Get() 99 static void* Get(JNIEnv* _env, jlongArray array, jboolean* is_copy) { in Get() 105 static void* Get(JNIEnv* _env, jfloatArray array, jboolean* is_copy) { in Get() 111 static void* Get(JNIEnv* _env, jdoubleArray array, jboolean* is_copy) { in Get() 118 getArrayPointer(JNIEnv *_env, JTYPEARRAY array, jboolean* is_copy) { in getArrayPointer() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 141 public static boolean isEmpty(@Nullable Collection<?> array) { in isEmpty() 156 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty() 163 public static boolean isEmpty(@Nullable int[] array) { in isEmpty() 170 public static boolean isEmpty(@Nullable long[] array) { in isEmpty() 177 public static boolean isEmpty(@Nullable byte[] array) { in isEmpty() 184 public static boolean isEmpty(@Nullable boolean[] array) { in isEmpty() 191 public static int size(@Nullable Object[] array) { in size() 209 public static <T> boolean contains(@Nullable T[] array, T value) { in contains() 218 public static <T> int indexOf(@Nullable T[] array, T value) { in indexOf() 229 public static <T> boolean containsAll(@Nullable T[] array, T[] check) { in containsAll() [all …]
|
D | GrowingArrayUtils.java | 43 public static <T> T[] append(T[] array, int currentSize, T element) { in append() 61 public static int[] append(int[] array, int currentSize, int element) { in append() 76 public static long[] append(long[] array, int currentSize, long element) { in append() 91 public static boolean[] append(boolean[] array, int currentSize, boolean element) { in append() 106 public static float[] append(float[] array, int currentSize, float element) { in append() 129 public static <T> T[] insert(T[] array, int currentSize, int index, T element) { in insert() 150 public static int[] insert(int[] array, int currentSize, int index, int element) { in insert() 169 public static long[] insert(long[] array, int currentSize, int index, long element) { in insert() 188 public static boolean[] insert(boolean[] array, int currentSize, int index, boolean element) { in insert()
|
D | HexDump.java | 27 public static String dumpHexString(@Nullable byte[] array) { in dumpHexString() 32 public static String dumpHexString(@Nullable byte[] array, int offset, int length) in dumpHexString() 105 public static String toHexString(byte[] array) in toHexString() 111 public static String toHexString(byte[] array, boolean upperCase) in toHexString() 117 public static String toHexString(byte[] array, int offset, int length) in toHexString() 122 public static String toHexString(byte[] array, int offset, int length, boolean upperCase) in toHexString()
|
/frameworks/base/core/jni/ |
D | android_opengl_GLES10Ext.cpp | 72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() 94 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() 100 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() 106 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() 112 static void* Get(JNIEnv* _env, jshortArray array, jboolean* is_copy) { in Get() 118 static void* Get(JNIEnv* _env, jintArray array, jboolean* is_copy) { in Get() 124 static void* Get(JNIEnv* _env, jlongArray array, jboolean* is_copy) { in Get() 130 static void* Get(JNIEnv* _env, jfloatArray array, jboolean* is_copy) { in Get() 136 static void* Get(JNIEnv* _env, jdoubleArray array, jboolean* is_copy) { in Get() 143 getArrayPointer(JNIEnv *_env, JTYPEARRAY array, jboolean* is_copy) { in getArrayPointer() [all …]
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 54 const std::shared_ptr<const std::vector<const BufferInfo>> &array, in findClientBuffer() 62 const std::shared_ptr<const std::vector<const BufferInfo>> &array, in findBufferId() 93 std::shared_ptr<const std::vector<const BufferInfo>> array( in queueInputBuffer() local 115 std::shared_ptr<const std::vector<const BufferInfo>> array( in queueSecureInputBuffer() local 252 std::shared_ptr<const std::vector<const BufferInfo>> array( in renderOutputBuffer() local 270 std::shared_ptr<const std::vector<const BufferInfo>> array( in discardBuffer() local 291 void ACodecBufferChannel::getInputBufferArray(Vector<sp<MediaCodecBuffer>> *array) { in getInputBufferArray() 300 void ACodecBufferChannel::getOutputBufferArray(Vector<sp<MediaCodecBuffer>> *array) { in getOutputBufferArray() 336 void ACodecBufferChannel::setInputBufferArray(const std::vector<BufferAndId> &array) { in setInputBufferArray() 370 void ACodecBufferChannel::setOutputBufferArray(const std::vector<BufferAndId> &array) { in setOutputBufferArray() [all …]
|
/frameworks/base/libs/androidfw/tests/data/appaslib/ |
D | R.h | 35 struct array { struct 36 enum : uint32_t { 53 struct array { struct 54 enum : uint32_t {
|
/frameworks/base/core/java/android/os/ |
D | HwBlob.java | 114 public native final void copyToBoolArray(long offset, boolean[] array, int size); in copyToBoolArray() 125 public native final void copyToInt8Array(long offset, byte[] array, int size); in copyToInt8Array() 136 public native final void copyToInt16Array(long offset, short[] array, int size); in copyToInt16Array() 147 public native final void copyToInt32Array(long offset, int[] array, int size); in copyToInt32Array() 158 public native final void copyToInt64Array(long offset, long[] array, int size); in copyToInt64Array() 169 public native final void copyToFloatArray(long offset, float[] array, int size); in copyToFloatArray() 180 public native final void copyToDoubleArray(long offset, double[] array, int size); in copyToDoubleArray() 347 public static Boolean[] wrapArray(@NonNull boolean[] array) { in wrapArray() 362 public static Long[] wrapArray(@NonNull long[] array) { in wrapArray() 377 public static Byte[] wrapArray(@NonNull byte[] array) { in wrapArray() [all …]
|
D | HwParcel.java | 239 short[] array = new short[n]; in writeInt16Vector() local 253 int[] array = new int[n]; in writeInt32Vector() local 267 long[] array = new long[n]; in writeInt64Vector() local 281 float[] array = new float[n]; in writeFloatVector() local 295 double[] array = new double[n]; in writeDoubleVector() local 496 Boolean[] array = HwBlob.wrapArray(readBoolVectorAsArray()); in readBoolVector() local 507 Byte[] array = HwBlob.wrapArray(readInt8VectorAsArray()); in readInt8Vector() local 518 Short[] array = HwBlob.wrapArray(readInt16VectorAsArray()); in readInt16Vector() local 529 Integer[] array = HwBlob.wrapArray(readInt32VectorAsArray()); in readInt32Vector() local 540 Long[] array = HwBlob.wrapArray(readInt64VectorAsArray()); in readInt64Vector() local [all …]
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | HashCodeHelpers.java | 36 public static int hashCode(int... array) { in hashCode() 66 public static int hashCode(float... array) { in hashCode() 89 public static <T> int hashCodeGeneric(T... array) { in hashCodeGeneric()
|
D | ArrayUtils.java | 34 public static <T> int getArrayIndex(T[] array, T needle) { in getArrayIndex() 51 public static int getArrayIndex(int[] array, int needle) { in getArrayIndex() 166 public static boolean contains(int[] array, int elem) { in contains() 177 public static <T> boolean contains(T[] array, T elem) { in contains()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ColorMatrixColorFilter.java | 51 public ColorMatrixColorFilter(@NonNull float[] array) { in ColorMatrixColorFilter() 111 public void setColorMatrixArray(@Nullable float[] array) { in setColorMatrixArray() 129 private static native long nativeColorMatrixFilter(float[] array); in nativeColorMatrixFilter()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LongSparseLongArrayTest.java | 36 final LongSparseLongArray array = new LongSparseLongArray(5); in testSimplePut() local 49 final LongSparseLongArray array = new LongSparseLongArray(5); in testSimplePutBackwards() local 62 final LongSparseLongArray array = new LongSparseLongArray(5); in testMiddleInsert() local 81 final LongSparseLongArray array = new LongSparseLongArray(r.nextInt(128)); in testFuzz() local
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AdaptiveIconDrawable.java | 227 final ChildDrawable[] array = state.mChildren; in inflate() local 426 final ChildDrawable[] array = state.mChildren; in applyTheme() local 609 final ChildDrawable[] array = mLayerState.mChildren; in setHotspot() local 620 final ChildDrawable[] array = mLayerState.mChildren; in setHotspotBounds() local 647 final ChildDrawable[] array = mLayerState.mChildren; in setVisible() local 661 final ChildDrawable[] array = mLayerState.mChildren; in setDither() local 682 final ChildDrawable[] array = mLayerState.mChildren; in setColorFilter() local 693 final ChildDrawable[] array = mLayerState.mChildren; in setTintList() local 705 final ChildDrawable[] array = mLayerState.mChildren; in setTintBlendMode() local 728 final ChildDrawable[] array = mLayerState.mChildren; in setAutoMirrored() local [all …]
|
D | LayerDrawable.java | 192 final ChildDrawable[] array = state.mChildren; in inflate() local 220 final ChildDrawable[] array = state.mChildren; in applyTheme() local 1013 final ChildDrawable[] array = mLayerState.mChildren; in draw() local 1240 final ChildDrawable[] array = mLayerState.mChildren; in computeNestedPadding() local 1259 final ChildDrawable[] array = mLayerState.mChildren; in computeStackedPadding() local 1278 final ChildDrawable[] array = mLayerState.mChildren; in getOutline() local 1293 final ChildDrawable[] array = mLayerState.mChildren; in setHotspot() local 1305 final ChildDrawable[] array = mLayerState.mChildren; in setHotspotBounds() local 1333 final ChildDrawable[] array = mLayerState.mChildren; in setVisible() local 1347 final ChildDrawable[] array = mLayerState.mChildren; in setDither() local [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/perftests/ |
D | SystemPerfTest.java | 110 private static native void jintarrayArgumentNoop(int[] array, int length); in jintarrayArgumentNoop() 112 private static native int jintarrayGetLength(int[] array); in jintarrayGetLength() 114 private static native int jintarrayCriticalAccess(int[] array, int index); in jintarrayCriticalAccess() 116 private static native int jintarrayBasicAccess(int[] array, int index); in jintarrayBasicAccess()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SparseMappingTable.java | 132 long[] array = list.get(whichArray); in getOrAddKey() local 196 final long[] array = mParent.mLongs.get(getArrayFromKey(key)); in getValue() local 230 final long[] array = mParent.mLongs.get(getArrayFromKey(key)); in getValueForId() local 282 final long[] array = mParent.mLongs.get(getArrayFromKey(key)); in setValue() local 506 final long[] array = mLongs.get(i); in writeToParcel() local 527 final long[] array = new long[size]; in readFromParcel() local 555 final long[] array = mLongs.get(i); in dumpInternalState() local 572 private static void writeCompactedLongArray(Parcel out, long[] array, int num) { in writeCompactedLongArray() 593 private static void readCompactedLongArray(Parcel in, long[] array, int num) { in readCompactedLongArray()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportProgressServiceTest.java | 93 private static <T> List<T> list(T... array) { in list() 97 private static <T> T[] array(T... array) { in array() argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelMemoryBandwidthStatsTest.java | 58 LongSparseLongArray array = stats.getBandwidthEntries(); in testParseStandard() local 90 LongSparseLongArray array = zeroStats.getBandwidthEntries(); in testParseBackwards() local
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ArrayMapTests.java | 121 private static boolean compareMaps(HashMap map, ArrayMap array) { in compareMaps() 211 private static boolean compareSets(HashSet set, ArraySet array) { in compareSets() 246 private static boolean validateArrayMap(ArrayMap array) { in validateArrayMap() 300 private static void dump(Map map, ArrayMap array) { in dump() 312 private static void dump(Set set, ArraySet array) { in dump()
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | TlvBufferUtils.java | 111 public TlvConstructor wrap(@Nullable byte[] array) { in wrap() 199 public TlvConstructor putByteArray(int type, @Nullable byte[] array, int offset, in putByteArray() 220 public TlvConstructor putByteArray(int type, @Nullable byte[] array) { in putByteArray() 231 public TlvConstructor putRawByteArray(@Nullable byte[] array) { in putRawByteArray() 498 public TlvIterable(int typeSize, int lengthSize, @Nullable byte[] array) { in TlvIterable() 629 public static boolean isValid(@Nullable byte[] array, int typeSize, int lengthSize) { in isValid() 644 public static boolean isValidEndian(@Nullable byte[] array, int typeSize, int lengthSize, in isValidEndian()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | ArrayUtils.java | 27 public static String[] nullToEmpty(String[] array) { in nullToEmpty() 31 public static String[] cloneIfNotEmpty(String[] array) { in cloneIfNotEmpty() 35 public static byte[] cloneIfNotEmpty(byte[] array) { in cloneIfNotEmpty()
|