Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dsmall_structs.rs72 #define CHAR_ARRAY_TEST(SIZE) \
73 typedef struct char_array_##SIZE { char bytes[SIZE]; } \
74 char_array_##SIZE; \
76 char_array_##SIZE RS_KERNEL \
77 modify_char_array_##SIZE(char_array_##SIZE in) { \
78 for (int i = 0; i < SIZE; ++i) { \
84 void verify_char_array_##SIZE(rs_allocation alloc) { \
86 struct char_array_##SIZE *elem = \
87 (struct char_array_##SIZE *) rsGetElementAt(alloc, i); \
88 for (int j = 0; j < SIZE; ++j) { \
/cts/tests/tests/database/src/android/database/cts/
DCursorIndexOutOfBoundsExceptionTest.java26 int SIZE = 99; in testConstructors() local
28 String expected2 = "Index " + INDEX + " requested, with a size of " + SIZE; in testConstructors()
44 throw new CursorIndexOutOfBoundsException(INDEX, SIZE); in testConstructors()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java43 private static final int SIZE = 200; field in SweepGradientTest
44 private static final int CENTER = SIZE / 2;
56 mBitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in setup()
67 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in test2Colors()
77 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testColorArray()
89 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testMultiColor()
DComposeShaderTest.java43 private static final int SIZE = 255; field in ComposeShaderTest
48 LinearGradient blueGradient = new LinearGradient(0, 0, SIZE, 0, in testPorterDuff()
50 LinearGradient redGradient = new LinearGradient(0, 0, 0, SIZE, in testPorterDuff()
54 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testPorterDuff()
60 for (int y = 0; y < SIZE; y++) { in testPorterDuff()
61 for (int x = 0; x < SIZE; x++) { in testPorterDuff()
/cts/tests/openglperf2/jni/primitive/shaderperf/
DShaderPerfRenderer.cpp124 const int SIZE = 256; in setUp() local
125 uint32_t* m = new uint32_t[SIZE]; in setUp()
128 for (int i = 0; i < SIZE; i++) { in setUp()
134 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, SIZE, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, m); in setUp()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreAudioTestHelper.java103 public static final int SIZE = 2737870; field in MediaStoreAudioTestHelper.Audio1
127 values.put(Media.SIZE, SIZE); in getContentValues()
181 public static final int SIZE = 2737321; field in MediaStoreAudioTestHelper.Audio2
206 values.put(Media.SIZE, SIZE); in getContentValues()
DMediaStore_Audio_MediaTest.java103 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreAudioMedia()
145 assertEquals(Audio2.SIZE, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreAudioMedia()
DMediaStore_Video_MediaTest.java100 values.put(Media.SIZE, numBytes); in testStoreVideoMediaExternal()
136 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreVideoMediaExternal()
161 values.put(Media.SIZE, 86854); in testStoreVideoMediaExternal()
190 assertEquals(86854, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreVideoMediaExternal()
DMediaStore_Audio_Playlists_MembersTest.java59 Members.SIZE,
89 Members.SIZE,
225 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Members.SIZE))); in testStoreAudioPlaylistsMembersExternal()
269 assertEquals(Audio2.SIZE, c.getInt(c.getColumnIndex(Members.SIZE))); in testStoreAudioPlaylistsMembersExternal()
DMediaStore_Images_MediaTest.java242 values.put(Media.SIZE, numBytes); in testStoreImagesMediaExternal()
273 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreImagesMediaExternal()
295 values.put(Media.SIZE, 86854); in testStoreImagesMediaExternal()
319 assertEquals(86854, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreImagesMediaExternal()
DMediaStore_Audio_Genres_MembersTest.java126 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Members.SIZE))); in testStoreAudioGenresMembersExternal()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java654 final int SIZE = 1024 * 1024; in testOpenProxyFileDescriptor_largeRead() local
656 new TestProxyFileDescriptorCallback(SIZE, "abcdefghijklmnopqrstuvwxyz"); in testOpenProxyFileDescriptor_largeRead()
657 final byte[] bytes = new byte[SIZE]; in testOpenProxyFileDescriptor_largeRead()
670 final int SIZE = 1024 * 1024; in testOpenProxyFileDescriptor_largeWrite() local
672 new TestProxyFileDescriptorCallback(SIZE, "abcdefghijklmnopqrstuvwxyz"); in testOpenProxyFileDescriptor_largeWrite()
673 final byte[] bytes = new byte[SIZE]; in testOpenProxyFileDescriptor_largeWrite()
674 for (int i = 0; i < SIZE; i++) { in testOpenProxyFileDescriptor_largeWrite()
/cts/tests/camera/src/android/hardware/camera2/cts/
DImageReaderTest.java790 final Size SIZE = mStaticInfo.getAvailableSizesForFormatChecked(FORMAT, in discardFreeBuffersTestByCamera() local
795 createDefaultImageReader(SIZE, FORMAT, MAX_NUM_IMAGES, mListener); in discardFreeBuffersTestByCamera()
804 validateImage(SIZE, FORMAT, NUM_FRAME_VERIFIED, REPEATING); in discardFreeBuffersTestByCamera()
805 validateCaptureResult(FORMAT, SIZE, listener, NUM_FRAME_VERIFIED); in discardFreeBuffersTestByCamera()
811 validateImage(SIZE, FORMAT, NUM_FRAME_VERIFIED, REPEATING); in discardFreeBuffersTestByCamera()
812 validateCaptureResult(FORMAT, SIZE, listener, NUM_FRAME_VERIFIED); in discardFreeBuffersTestByCamera()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...