Home
last modified time | relevance | path

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

123

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java99 Drawable[] array = new Drawable[]{mBitmapDrawable, mColorDrawable}; in testConstructor() local
117 Drawable[] array = new Drawable[0]; in testInflate() local
172 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testFindDrawableByLayerId() local
194 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testAccessId() local
210 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testSetIdIndexTooLow() local
217 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testSetIdIndexTooHigh() local
224 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testGetIdIndexTooLow() local
231 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testGetIdIndexTooHigh() local
238 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testGetNumberOfLayers() local
256 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testAccessDrawable() 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/renderscript/src/android/renderscript/cts/
DRSUtils.java70 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()
DSamplerTest.java55 boolean contains(Sampler.Value[] array, Sampler.Value val) { in contains()
DScriptGroupTest.java367 int[] array = new int[ARRAY_SIZE * 4]; in testBuilder2PointWiseKernelToKernelDependency() local
419 int[] array = new int[ARRAY_SIZE * 4]; in testBuilder2GatherScatterAcrossKernelsViaGlobals() local
478 int[] array = new int[ARRAY_SIZE * 4]; in testBuilder2KernelOutputToGlobal() local
540 float[] array = new float[ARRAY_SIZE * 4]; in testBuilder2InvokeToKernelDependency() local
DReduceTest.java142 short[] array = new short[len]; in createInputArrayHalf() local
150 float[] array = new float[len]; in createInputArrayFloat() local
158 int[] array = new int[len]; in createInputArrayInt() local
166 int[] array = new int[len]; in createInputArrayInt() local
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDeviceInfoStore.java180 public void addArrayResult(String name, int[] array) throws IOException { in addArrayResult()
194 public void addArrayResult(String name, long[] array) throws IOException { in addArrayResult()
208 public void addArrayResult(String name, float[] array) throws IOException { in addArrayResult()
220 public void addArrayResult(String name, double[] array) throws IOException { in addArrayResult()
237 public void addArrayResult(String name, boolean[] array) throws IOException { in addArrayResult()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DDeviceInfoStore.java180 public void addArrayResult(String name, int[] array) throws IOException { in addArrayResult()
194 public void addArrayResult(String name, long[] array) throws IOException { in addArrayResult()
208 public void addArrayResult(String name, float[] array) throws IOException { in addArrayResult()
220 public void addArrayResult(String name, double[] array) throws IOException { in addArrayResult()
237 public void addArrayResult(String name, boolean[] array) throws IOException { in addArrayResult()
/cts/tests/tests/util/src/android/util/cts/
DArraySetTest.java140 private static <E> void compareSets(HashSet<E> set, ArraySet<E> array) { in compareSets()
180 private static <E> void validateArraySet(ArraySet<E> array) { in validateArraySet()
196 private static <E> void dump(HashSet<E> set, ArraySet<E> array) { in dump()
219 private static <E> void confirmNullOutOfBounds(ArraySet<E> array) { in confirmNullOutOfBounds()
DArrayMapTest.java165 private static void compareMaps(HashMap map, ArrayMap array) { in compareMaps()
239 private static void validateArrayMap(ArrayMap array) { in validateArrayMap()
316 private static void dump(Map map, ArrayMap array) { in dump()
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceResultTest.java100 int[] array = new int[size]; in createArray() local
110 private static boolean isSorted(int[] array) { in isSorted()
/cts/tests/tests/media/src/android/media/cts/
DIvfWriter.java161 private static void lay16Bits(byte[] array, int index, int value){ in lay16Bits()
175 private static void lay32Bits(byte[] array, int index, int value){ in lay32Bits()
190 private static void lay64bits(byte[] array, int index, long value){ in lay64bits()
/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.java150 short[] array = StaticNonce.returnShortArray(); in test_returnShortArray() local
162 String[] array = StaticNonce.returnStringArray(); in test_returnStringArray() local
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStream.java194 private static boolean areEnterExitPairedMessages(@NonNull ImeEventArray array, in areEnterExitPairedMessages()
247 ImeEventArray(ImeEvent[] array, int length) { in ImeEventArray()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCommonDatabaseUtils.java62 private static void fillArray(Cursor cursor, String[] array) { in fillArray()
/cts/tests/tests/preference/src/android/preference/cts/
DListPreferenceTest.java58 private synchronized String[] convertToStringArray(CharSequence[] array) { in convertToStringArray()
/cts/tests/tests/view/src/android/view/cts/
DView_BaseSavedStateTest.java81 BaseSavedState[] array = BaseSavedState.CREATOR.newArray(size); in testCreator() local
DViewGroup_LayoutParamsTest.java68 TypedArray array = mContext.getTheme().obtainStyledAttributes(R.style.Whatever, attrs); in testSetBaseAttributes() local
DAbsSavedStateTest.java89 AbsSavedState[] array = AbsSavedState.CREATOR.newArray(size); in testCreator() local
/cts/tests/camera/utils/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()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DSphere.java152 private int max(int[] array) { in max()
/cts/tests/tests/appop/src/android/app/appops/cts/
DHistoricalAppopsTest.kt368 val array = arrayOfNulls<HistoricalOps>(1) in <lambda>() constant
432 val array = arrayOfNulls<HistoricalOps>(1) in <lambda>() constant

123