/cts/tests/tests/media/libaudiojni/ |
D | sl-utils.h | 64 jbyte *envGetArrayElements(JNIEnv *env, jbyteArray array, jboolean *isCopy) { in envGetArrayElements() 69 void envReleaseArrayElements(JNIEnv *env, jbyteArray array, jbyte *elems, jint mode) { in envReleaseArrayElements() 74 jshort *envGetArrayElements(JNIEnv *env, jshortArray array, jboolean *isCopy) { in envGetArrayElements() 79 void envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) { in envReleaseArrayElements() 84 jfloat *envGetArrayElements(JNIEnv *env, jfloatArray array, jboolean *isCopy) { in envGetArrayElements() 89 void envReleaseArrayElements(JNIEnv *env, jfloatArray array, jfloat *elems, jint mode) { in envReleaseArrayElements()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LayerDrawableTest.java | 54 Drawable[] array = new Drawable[] { bitmapDrawable, colorDrawable }; in testConstructor() local 72 Drawable[] array = new Drawable[0]; in testInflate() local 129 Drawable[] array = new Drawable[] { bitmapDrawable, colorDrawable }; in testFindDrawableByLayerId() local 151 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testAccessId() local 191 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testGetNumberOfLayers() local 211 Drawable[] array = new Drawable[] { bitmapDrawable, colorDrawable }; in testAccessDrawable() local 268 Drawable[] array = new Drawable[] { firstLayer, secondLayer }; in testSetLayerInset() local 299 Drawable[] array = new Drawable[0]; in testInvalidateDrawable() local 319 Drawable[] array = new Drawable[0]; in testScheduleDrawable() local 343 Drawable[] array = new Drawable[0]; in testUnscheduleDrawable() local [all …]
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSUtils.java | 29 public static void genRandom(long seed, int factor, int offset, float array[]) { in genRandom() 36 public static void genRandom(long seed, int factor, int offset, float array[], in genRandom() 49 public static void genRandom(long seed, int max, int factor, int offset, int array[]) { in genRandom() 56 public static void genRandom(long seed, int factor, int offset, int array[], in genRandom() 69 public static void genRandom(long seed, int max, int factor, int offset, int array[], in genRandom()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RSUtils.java | 70 public static void genRandomDoubles(long seed, double min, double max, double array[], in genRandomDoubles() 121 public static void genRandomFloats(long seed, float min, float max, float array[], in genRandomFloats() 169 short array[], boolean includeExtremes) { in genRandomFloat16s() 255 public static void genRandomInts(long seed, int min, int max, int array[]) { in genRandomInts() 269 public static void genRandomLongs(long seed, long array[], boolean signed, int numberOfBits) { in genRandomLongs() 292 public static void genRandomInts(long seed, int array[], boolean signed, int numberOfBits) { in genRandomInts() 300 public static void genRandomShorts(long seed, short array[], boolean signed, int numberOfBits) { in genRandomShorts() 308 public static void genRandomBytes(long seed, byte array[], boolean signed, int numberOfBits) { in genRandomBytes()
|
D | SamplerTest.java | 55 boolean contains(Sampler.Value[] array, Sampler.Value val) { in contains()
|
D | ScriptGroupTest.java | 323 int[] array = new int[ARRAY_SIZE * 4]; in testBuilder2PointWiseKernelToKernelDependency() local 372 int[] array = new int[ARRAY_SIZE * 4]; in testBuilder2GatherScatterAcrossKernelsViaGlobals() local 428 int[] array = new int[ARRAY_SIZE * 4]; in testBuilder2KernelOutputToGlobal() local 486 float[] array = new float[ARRAY_SIZE * 4]; in testBuilder2InvokeToKernelDependency() local
|
D | ReduceTest.java | 136 short[] array = new short[len]; in createInputArrayHalf() local 144 float[] array = new float[len]; in createInputArrayFloat() local 152 int[] array = new int[len]; in createInputArrayInt() local 160 int[] array = new int[len]; in createInputArrayInt() local
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
D | RSUtils.java | 48 public static void genRandomDoubles(long seed, double min, double max, double array[], in genRandomDoubles() 99 public static void genRandomFloats(long seed, float min, float max, float array[], in genRandomFloats() 150 public static void genRandomInts(long seed, int min, int max, int array[]) { in genRandomInts() 164 public static void genRandomLongs(long seed, long array[], boolean signed, int numberOfBits) { in genRandomLongs() 187 public static void genRandomInts(long seed, int array[], boolean signed, int numberOfBits) { in genRandomInts() 195 public static void genRandomShorts(long seed, short array[], boolean signed, int numberOfBits) { in genRandomShorts() 203 public static void genRandomBytes(long seed, byte array[], boolean signed, int numberOfBits) { in genRandomBytes()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | DeviceInfoStore.java | 177 public void addArrayResult(String name, int[] array) throws IOException { in addArrayResult() 191 public void addArrayResult(String name, long[] array) throws IOException { in addArrayResult() 205 public void addArrayResult(String name, float[] array) throws IOException { in addArrayResult() 219 public void addArrayResult(String name, double[] array) throws IOException { in addArrayResult() 233 public void addArrayResult(String name, boolean[] array) throws IOException { in addArrayResult()
|
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
D | HostInfoStore.java | 177 public void addArrayResult(String name, int[] array) throws IOException { in addArrayResult() 191 public void addArrayResult(String name, long[] array) throws IOException { in addArrayResult() 205 public void addArrayResult(String name, float[] array) throws IOException { in addArrayResult() 219 public void addArrayResult(String name, double[] array) throws IOException { in addArrayResult() 233 public void addArrayResult(String name, boolean[] array) throws IOException { in addArrayResult()
|
/cts/tests/sample/src/android/sample/cts/ |
D | SampleDeviceResultTest.java | 100 int[] array = new int[size]; in createArray() local 110 private static boolean isSorted(int[] array) { in isSorted()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | InfoStore.java | 102 abstract void addArrayResult(String name, int[] array) throws IOException; in addArrayResult() 107 abstract void addArrayResult(String name, long[] array) throws IOException; in addArrayResult() 112 abstract void addArrayResult(String name, float[] array) throws IOException; in addArrayResult() 117 abstract void addArrayResult(String name, double[] array) throws IOException; in addArrayResult() 122 abstract void addArrayResult(String name, boolean[] array) throws IOException; in addArrayResult()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | ArraySetTest.java | 126 private static <E> void compareSets(HashSet<E> set, ArraySet<E> array) { in compareSets() 166 private static <E> void validateArraySet(ArraySet<E> array) { in validateArraySet() 182 private static <E> void dump(HashSet<E> set, ArraySet<E> array) { in dump()
|
D | ArrayMapTest.java | 148 private static void compareMaps(HashMap map, ArrayMap array) { in compareMaps() 222 private static void validateArrayMap(ArrayMap array) { in validateArrayMap() 299 private static void dump(Map map, ArrayMap array) { in dump()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | IvfWriter.java | 154 private static void lay16Bits(byte[] array, int index, int value){ in lay16Bits() 168 private static void lay32Bits(byte[] array, int index, int value){ in lay32Bits() 183 private static void lay64bits(byte[] array, int index, long value){ in lay64bits()
|
/cts/tests/tests/jni/src/android/jni/cts/ |
D | JniInstanceTest.java | 115 short[] array = target.returnShortArray(); in test_returnShortArray() local 127 String[] array = target.returnStringArray(); in test_returnStringArray() local
|
D | JniStaticTest.java | 134 short[] array = StaticNonce.returnShortArray(); in test_returnShortArray() local 146 String[] array = StaticNonce.returnStringArray(); in test_returnStringArray() local
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | CommonDatabaseUtils.java | 62 private static void fillArray(Cursor cursor, String[] array) { in fillArray()
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | ListPreferenceTest.java | 60 private synchronized String[] convertToStringArray(CharSequence[] array){ in convertToStringArray()
|
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
D | AssertHelpers.java | 199 private static <T> List<T> buildList(T[] array) { in buildList() 203 private static List<Integer> buildList(int[] array) { in buildList()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroup_LayoutParamsTest.java | 54 TypedArray array = mContext.getTheme().obtainStyledAttributes(R.style.Whatever, attrs); in testSetBaseAttributes() local
|
/cts/tools/cts-media/ |
D | get_achievable_rates.py | 179 def _parseMessage(self, message, array): argument 211 def _parseMessage(self, message, array): argument 245 def _parseMessage(self, message, array): argument
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | LowRamDeviceTest.java | 186 private static boolean contains(int [] array, int target) { in contains()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | Sphere.java | 152 private int max(int[] array) { in max()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Util.java | 136 public static int findClosest(double[] array, double value) { in findClosest()
|