Home
last modified time | relevance | path

Searched defs:array (Results 1 – 25 of 47) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java52 Drawable[] array = new Drawable[] { bitmapDrawable, colorDrawable }; in testConstructor() local
70 Drawable[] array = new Drawable[0]; in testInflate() local
127 Drawable[] array = new Drawable[] { bitmapDrawable, colorDrawable }; in testFindDrawableByLayerId() local
149 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testAccessId() local
189 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testGetNumberOfLayers() local
209 Drawable[] array = new Drawable[] { bitmapDrawable, colorDrawable }; in testAccessDrawable() local
261 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; in testSetLayerInset() local
295 Drawable[] array = new Drawable[0]; in testInvalidateDrawable() local
315 Drawable[] array = new Drawable[0]; in testScheduleDrawable() local
339 Drawable[] array = new Drawable[0]; in testUnscheduleDrawable() local
[all …]
/cts/tests/tests/media/libaudiojni/
Dsl-utils.h64 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/rscpp/src/android/cts/rscpp/
DRSUtils.java29 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/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java48 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/tests/tests/renderscript/src/android/renderscript/cts/
DRSUtils.java48 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()
DSamplerTest.java55 boolean contains(Sampler.Value[] array, Sampler.Value val) { in contains()
DScriptGroupTest.java323 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
DMatrix3fTest.java41 String getString(float[] array) { in getString()
DMatrix4fTest.java42 String getString(float[] array) { in getString()
DMatrix2fTest.java40 String getString(float[] array) { in getString()
/cts/tests/tests/util/src/android/util/cts/
DArraySetTest.java126 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()
DArrayMapTest.java148 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/
DIvfWriter.java154 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()
DMediaCodecListTest.java118 private static <T> Set<T> asSet(T[] array) { in asSet()
126 private static Set<Integer> asSet(int[] array) { in asSet()
/cts/tests/tests/jni/src/android/jni/cts/
DJniInstanceTest.java115 short[] array = target.returnShortArray(); in test_returnShortArray() local
127 String[] array = target.returnStringArray(); in test_returnStringArray() local
DJniStaticTest.java122 short[] array = StaticNonce.returnShortArray(); in test_returnShortArray() local
134 String[] array = StaticNonce.returnStringArray(); in test_returnStringArray() local
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCommonDatabaseUtils.java62 private static void fillArray(Cursor cursor, String[] array) { in fillArray()
/cts/tests/tests/preference2/src/android/preference2/cts/
DListPreferenceTest.java60 private synchronized String[] convertToStringArray(CharSequence[] array){ in convertToStringArray()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DAssertHelpers.java199 private static <T> List<T> buildList(T[] array) { in buildList()
203 private static List<Integer> buildList(int[] array) { in buildList()
DCameraErrorCollector.java350 T[] array, T min) { in expectValuesGreaterOrEqual()
380 public <T extends Comparable<? super T>> void expectValuesInRange(String msg, T[] array, in expectValuesInRange()
393 public void expectValuesInRange(String msg, int[] array, int min, int max) { in expectValuesInRange()
610 public <T extends Comparable<? super T>> void checkArrayMonotonicityAndNotAllEqual(T[] array, in checkArrayMonotonicityAndNotAllEqual()
/cts/tests/tests/view/src/android/view/cts/
DViewGroup_LayoutParamsTest.java54 TypedArray array = mContext.getTheme().obtainStyledAttributes(R.style.Whatever, attrs); in testSetBaseAttributes() local
/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java186 private static boolean contains(int [] array, int target) { in contains()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DSphere.java152 private int max(int[] array) { in max()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUtil.java136 public static int findClosest(double[] array, double value) { in findClosest()
/cts/tests/tests/widget/src/android/widget/cts/util/
DXmlUtils.java1000 int[] array = new int[num]; in readThisIntArrayXml() local
1067 long[] array = new long[num]; in readThisLongArrayXml() local
1127 double[] array = new double[num]; in readThisDoubleArrayXml() local
1187 String[] array = new String[num]; in readThisStringArrayXml() local

12