/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/java/com/android/internal/util/ |
D | ArrayUtils.java | 132 public static boolean isEmpty(@Nullable Collection<?> array) { in isEmpty() 139 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty() 146 public static boolean isEmpty(@Nullable int[] array) { in isEmpty() 153 public static boolean isEmpty(@Nullable long[] array) { in isEmpty() 160 public static boolean isEmpty(@Nullable byte[] array) { in isEmpty() 167 public static boolean isEmpty(@Nullable boolean[] array) { in isEmpty() 174 public static int size(@Nullable Object[] array) { in size() 184 public static <T> boolean contains(@Nullable T[] array, T value) { in contains() 192 public static <T> int indexOf(@Nullable T[] array, T value) { in indexOf() 203 public static <T> boolean containsAll(@Nullable T[] array, T[] check) { in containsAll() [all …]
|
D | GrowingArrayUtils.java | 40 public static <T> T[] append(T[] array, int currentSize, T element) { in append() 57 public static int[] append(int[] array, int currentSize, int element) { in append() 72 public static long[] append(long[] array, int currentSize, long element) { in append() 87 public static boolean[] append(boolean[] array, int currentSize, boolean element) { in append() 102 public static float[] append(float[] array, int currentSize, float element) { in append() 125 public static <T> T[] insert(T[] array, int currentSize, int index, T element) { in insert() 146 public static int[] insert(int[] array, int currentSize, int index, int element) { in insert() 165 public static long[] insert(long[] array, int currentSize, int index, long element) { in insert() 184 public static boolean[] insert(boolean[] array, int currentSize, int index, boolean element) { in insert()
|
D | HexDump.java | 24 public static String dumpHexString(byte[] array) in dumpHexString() 29 public static String dumpHexString(byte[] array, int offset, int length) in dumpHexString() 100 public static String toHexString(byte[] array) in toHexString() 105 public static String toHexString(byte[] array, boolean upperCase) in toHexString() 110 public static String toHexString(byte[] array, int offset, int length) in toHexString() 115 public static String toHexString(byte[] array, int offset, int length, boolean upperCase) in toHexString()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MemoryIntArrayTest.java | 44 MemoryIntArray array = null; in testSize() local 55 MemoryIntArray array = null; in testGetSet() local 73 MemoryIntArray array = null; in testWritable() local 84 MemoryIntArray array = null; in testClose() local 126 MemoryIntArray array = null; in testInteractOnceClosed() local 169 MemoryIntArray array = null; in testInteractPutOfBounds() local 207 MemoryIntArray array = null; in testOverMaxSize() local 252 MemoryIntArray array = new MemoryIntArray(1); in testAshmemSizeMatchesMemoryIntArraySize() local
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | common.cpp | 77 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() 105 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() 111 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() 117 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() 123 static void* Get(JNIEnv* _env, jshortArray array, jboolean* is_copy) { in Get() 129 static void* Get(JNIEnv* _env, jintArray array, jboolean* is_copy) { in Get() 135 static void* Get(JNIEnv* _env, jlongArray array, jboolean* is_copy) { in Get() 141 static void* Get(JNIEnv* _env, jfloatArray array, jboolean* is_copy) { in Get() 147 static void* Get(JNIEnv* _env, jdoubleArray array, jboolean* is_copy) { in Get() 154 getArrayPointer(JNIEnv *_env, JTYPEARRAY array, jboolean* is_copy) { in getArrayPointer() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/ |
D | GrowingArrayUtils.java | 40 public static <T> T[] append(T[] array, int currentSize, T element) { in append() 56 public static int[] append(int[] array, int currentSize, int element) { in append() 71 public static long[] append(long[] array, int currentSize, long element) { in append() 86 public static boolean[] append(boolean[] array, int currentSize, boolean element) { in append() 109 public static <T> T[] insert(T[] array, int currentSize, int index, T element) { in insert() 129 public static int[] insert(int[] array, int currentSize, int index, int element) { in insert() 148 public static long[] insert(long[] array, int currentSize, int index, long element) { in insert() 167 public static boolean[] insert(boolean[] array, int currentSize, int index, boolean element) { in insert()
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 49 const std::shared_ptr<const std::vector<const BufferInfo>> &array, in findClientBuffer() 57 const std::shared_ptr<const std::vector<const BufferInfo>> &array, in findBufferId() 88 std::shared_ptr<const std::vector<const BufferInfo>> array( in queueInputBuffer() local 110 std::shared_ptr<const std::vector<const BufferInfo>> array( in queueSecureInputBuffer() local 211 std::shared_ptr<const std::vector<const BufferInfo>> array( in renderOutputBuffer() local 229 std::shared_ptr<const std::vector<const BufferInfo>> array( in discardBuffer() local 250 void ACodecBufferChannel::getInputBufferArray(Vector<sp<MediaCodecBuffer>> *array) { in getInputBufferArray() 259 void ACodecBufferChannel::getOutputBufferArray(Vector<sp<MediaCodecBuffer>> *array) { in getOutputBufferArray() 287 void ACodecBufferChannel::setInputBufferArray(const std::vector<BufferAndId> &array) { in setInputBufferArray() 321 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/jni/ |
D | android_opengl_GLES10Ext.cpp | 103 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() 131 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() 137 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() 143 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() 149 static void* Get(JNIEnv* _env, jshortArray array, jboolean* is_copy) { in Get() 155 static void* Get(JNIEnv* _env, jintArray array, jboolean* is_copy) { in Get() 161 static void* Get(JNIEnv* _env, jlongArray array, jboolean* is_copy) { in Get() 167 static void* Get(JNIEnv* _env, jfloatArray array, jboolean* is_copy) { in Get() 173 static void* Get(JNIEnv* _env, jdoubleArray array, jboolean* is_copy) { in Get() 180 getArrayPointer(JNIEnv *_env, JTYPEARRAY array, jboolean* is_copy) { in getArrayPointer() [all …]
|
/frameworks/base/core/java/android/os/ |
D | HwParcel.java | 90 short[] array = new short[n]; in writeInt16Vector() local 100 int[] array = new int[n]; in writeInt32Vector() local 110 long[] array = new long[n]; in writeInt64Vector() local 120 float[] array = new float[n]; in writeFloatVector() local 130 double[] array = new double[n]; in writeDoubleVector() local 164 Boolean[] array = HwBlob.wrapArray(readBoolVectorAsArray()); in readBoolVector() local 170 Byte[] array = HwBlob.wrapArray(readInt8VectorAsArray()); in readInt8Vector() local 176 Short[] array = HwBlob.wrapArray(readInt16VectorAsArray()); in readInt16Vector() local 182 Integer[] array = HwBlob.wrapArray(readInt32VectorAsArray()); in readInt32Vector() local 188 Long[] array = HwBlob.wrapArray(readInt64VectorAsArray()); in readInt64Vector() local [all …]
|
D | HwBlob.java | 59 public static Boolean[] wrapArray(@NonNull boolean[] array) { in wrapArray() 68 public static Long[] wrapArray(@NonNull long[] array) { in wrapArray() 77 public static Byte[] wrapArray(@NonNull byte[] array) { in wrapArray() 86 public static Short[] wrapArray(@NonNull short[] array) { in wrapArray() 95 public static Integer[] wrapArray(@NonNull int[] array) { in wrapArray() 104 public static Float[] wrapArray(@NonNull float[] array) { in wrapArray() 113 public static Double[] wrapArray(@NonNull double[] array) { in wrapArray()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | HashCodeHelpers.java | 33 public static int hashCode(int... array) { in hashCode() 63 public static int hashCode(float... array) { in hashCode() 86 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 | 49 public ColorMatrixColorFilter(@NonNull float[] array) { in ColorMatrixColorFilter() 107 public void setColorMatrixArray(@Nullable float[] array) { in setColorMatrixArray() 125 private static native long nativeColorMatrixFilter(float[] array); in nativeColorMatrixFilter()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AdaptiveIconDrawable.java | 223 final ChildDrawable[] array = state.mChildren; in inflate() local 422 final ChildDrawable[] array = state.mChildren; in applyTheme() local 605 final ChildDrawable[] array = mLayerState.mChildren; in setHotspot() local 616 final ChildDrawable[] array = mLayerState.mChildren; in setHotspotBounds() local 643 final ChildDrawable[] array = mLayerState.mChildren; in setVisible() local 657 final ChildDrawable[] array = mLayerState.mChildren; in setDither() local 668 final ChildDrawable[] array = mLayerState.mChildren; in setAlpha() local 684 final ChildDrawable[] array = mLayerState.mChildren; in setColorFilter() local 695 final ChildDrawable[] array = mLayerState.mChildren; in setTintList() local 707 final ChildDrawable[] array = mLayerState.mChildren; in setTintMode() local [all …]
|
D | LayerDrawable.java | 187 final ChildDrawable[] array = state.mChildren; in inflate() local 215 final ChildDrawable[] array = state.mChildren; in applyTheme() local 1006 final ChildDrawable[] array = mLayerState.mChildren; in draw() local 1233 final ChildDrawable[] array = mLayerState.mChildren; in computeNestedPadding() local 1252 final ChildDrawable[] array = mLayerState.mChildren; in computeStackedPadding() local 1271 final ChildDrawable[] array = mLayerState.mChildren; in getOutline() local 1286 final ChildDrawable[] array = mLayerState.mChildren; in setHotspot() local 1298 final ChildDrawable[] array = mLayerState.mChildren; in setHotspotBounds() local 1326 final ChildDrawable[] array = mLayerState.mChildren; in setVisible() local 1340 final ChildDrawable[] array = mLayerState.mChildren; in setDither() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LongSparseLongArrayTest.java | 33 final LongSparseLongArray array = new LongSparseLongArray(5); in testSimplePut() local 46 final LongSparseLongArray array = new LongSparseLongArray(5); in testSimplePutBackwards() local 59 final LongSparseLongArray array = new LongSparseLongArray(5); in testMiddleInsert() local 78 final LongSparseLongArray array = new LongSparseLongArray(r.nextInt(128)); in testFuzz() local
|
/frameworks/base/apct-tests/perftests/core/src/android/perftests/ |
D | SystemPerfTest.java | 109 private static native void jintarrayArgumentNoop(int[] array, int length); in jintarrayArgumentNoop() 111 private static native int jintarrayGetLength(int[] array); in jintarrayGetLength() 113 private static native int jintarrayCriticalAccess(int[] array, int index); in jintarrayCriticalAccess() 115 private static native int jintarrayBasicAccess(int[] array, int index); in jintarrayBasicAccess()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SparseMappingTable.java | 131 long[] array = list.get(whichArray); in getOrAddKey() local 197 final long[] array = mParent.mLongs.get(getArrayFromKey(key)); in getValue() local 231 final long[] array = mParent.mLongs.get(getArrayFromKey(key)); in getValueForId() local 283 final long[] array = mParent.mLongs.get(getArrayFromKey(key)); in setValue() local 507 final long[] array = mLongs.get(i); in writeToParcel() local 528 final long[] array = new long[size]; in readFromParcel() local 550 final long[] array = mLongs.get(i); in dumpInternalState() local 567 private static void writeCompactedLongArray(Parcel out, long[] array, int num) { in writeCompactedLongArray() 588 private static void readCompactedLongArray(Parcel in, long[] array, int num) { in readCompactedLongArray()
|
/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()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportProgressServiceTest.java | 94 private static <T> List<T> list(T... array) { in list() 98 private static <T> T[] array(T... array) { in array() method in BugreportProgressServiceTest
|
/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/core/tests/coretests/src/com/android/internal/os/ |
D | KernelMemoryBandwidthStatsTest.java | 42 LongSparseLongArray array = stats.getBandwidthEntries(); in testParseStandard() local 74 LongSparseLongArray array = zeroStats.getBandwidthEntries(); in testParseBackwards() local
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
D | R$array.class | ... android.layoutlib.test.myapplication.R$array extends java.lang.Object {
public static final ... |