/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9561/ |
D | poc.cpp | 22 #define SIZE 16 macro 29 const int32_t offset = SIZE - LENGTH; in main() 30 uint8_t* p_bytes = (uint8_t *)malloc(SIZE); in main() 34 memset(p_bytes, DEFAULT_VALUE, SIZE); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9563/ |
D | poc.cpp | 22 #define SIZE 16 macro 29 const int32_t offset = SIZE - LENGTH; in main() 30 uint8_t* p_bytes = (uint8_t *)malloc(SIZE); in main() 34 memset(p_bytes, DEFAULT_VALUE, SIZE); in main()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ComposeShaderTest.java | 45 private static final int SIZE = 255; field in ComposeShaderTest 50 LinearGradient blueGradient = new LinearGradient(0, 0, SIZE, 0, in testPorterDuff() 52 LinearGradient redGradient = new LinearGradient(0, 0, 0, SIZE, in testPorterDuff() 56 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testPorterDuff() 62 for (int y = 0; y < SIZE; y++) { in testPorterDuff() 63 for (int x = 0; x < SIZE; x++) { in testPorterDuff() 83 LinearGradient blueGradient = new LinearGradient(0, 0, SIZE, 0, in testBlendMode() 85 LinearGradient redGradient = new LinearGradient(0, 0, 0, SIZE, in testBlendMode() 89 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testBlendMode() 95 for (int y = 0; y < SIZE; y++) { in testBlendMode() [all …]
|
D | SweepGradientTest.java | 48 private static final int SIZE = 200; field in SweepGradientTest 49 private static final int CENTER = SIZE / 2; 61 mBitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in setup() 72 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in test2Colors() 82 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testColorArray() 94 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testMultiColor()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2207/ |
D | poc.cpp | 20 #define SIZE 16 macro 27 uint8_t data_len = SIZE * 6; in main() 28 uint8_t *data = (uint8_t *)malloc(SIZE); in main()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | small_structs.rscript | 72 #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/transition/src/android/transition/cts/ |
D | SharedElementCallbackTest.java | 48 final int SIZE = 10; in testSnapshot() local 50 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Bitmap.Config.ARGB_8888, true, cs); in testSnapshot() 59 RectF screenBounds = new RectF(0, 0, SIZE, SIZE); in testSnapshot()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorIndexOutOfBoundsExceptionTest.java | 26 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/openglperf2/jni/primitive/shaderperf/ |
D | ShaderPerfRenderer.cpp | 124 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/media/ |
D | MediaStoreAudioTestHelper.java | 103 public static final int SIZE = 2737870; field in MediaStoreAudioTestHelper.Audio1 127 values.put(Media.SIZE, SIZE); in getContentValues() 167 public static final int SIZE = 2737321; field in MediaStoreAudioTestHelper.Audio2 190 values.put(Media.SIZE, SIZE); in getContentValues()
|
D | MediaStore_Audio_Playlists_MembersTest.java | 79 Members.SIZE, 108 Members.SIZE, 260 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Members.SIZE))); in testStoreAudioPlaylistsMembersExternal() 305 assertEquals(Audio2.SIZE, c.getInt(c.getColumnIndex(Members.SIZE))); in testStoreAudioPlaylistsMembersExternal()
|
D | MediaStore_Video_MediaTest.java | 145 values.put(Media.SIZE, numBytes); in testStoreVideoMediaExternal() 175 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreVideoMediaExternal() 423 assertEquals(20716, c.getLong(c.getColumnIndex(VideoColumns.SIZE))); in testMetadata()
|
D | MediaStore_Audio_MediaTest.java | 142 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreAudioMedia()
|
D | MediaStore_Audio_Genres_MembersTest.java | 151 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Members.SIZE))); in testStoreAudioGenresMembersExternal()
|
D | MediaStoreNotificationTest.java | 108 values.put(MediaStore.Images.Media.SIZE, 32); in testSimple()
|
D | MediaStore_Images_MediaTest.java | 257 values.put(Media.SIZE, numBytes); in testStoreImagesMediaExternal() 286 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreImagesMediaExternal() 559 assertEquals(107704, c.getLong(c.getColumnIndex(ImageColumns.SIZE)));
|
D | MediaStorePlacementTest.java | 107 values.put(MediaColumns.SIZE, 0); in testIgnored()
|
D | MediaStorePendingTest.java | 467 values.put(MediaColumns.SIZE, file.length()); in testMatchingColumns()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | HotwordDetectedResultTest.java | 61 + HotwordDetectedResult.getMaxBundleSize() * Byte.SIZE; in testHotwordDetectedResult_totalSize() 63 assertThat(totalSize <= Utils.MAX_HOTWORD_DETECTED_RESULT_SIZE * Byte.SIZE).isTrue(); in testHotwordDetectedResult_totalSize()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 726 final int SIZE = 1024 * 1024; in testOpenProxyFileDescriptor_largeRead() local 728 new TestProxyFileDescriptorCallback(SIZE, "abcdefghijklmnopqrstuvwxyz"); in testOpenProxyFileDescriptor_largeRead() 729 final byte[] bytes = new byte[SIZE]; in testOpenProxyFileDescriptor_largeRead() 742 final int SIZE = 1024 * 1024; in testOpenProxyFileDescriptor_largeWrite() local 744 new TestProxyFileDescriptorCallback(SIZE, "abcdefghijklmnopqrstuvwxyz"); in testOpenProxyFileDescriptor_largeWrite() 745 final byte[] bytes = new byte[SIZE]; in testOpenProxyFileDescriptor_largeWrite() 746 for (int i = 0; i < SIZE; i++) { in testOpenProxyFileDescriptor_largeWrite()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageReaderTest.java | 1031 final Size SIZE = mStaticInfo.getAvailableSizesForFormatChecked(FORMAT, in discardFreeBuffersTestByCamera() local 1035 createDefaultImageReader(SIZE, FORMAT, MAX_NUM_IMAGES, mListener); in discardFreeBuffersTestByCamera() 1045 validateImage(SIZE, FORMAT, NUM_FRAME_VERIFIED, REPEATING); in discardFreeBuffersTestByCamera() 1046 validateCaptureResult(FORMAT, SIZE, listener, NUM_FRAME_VERIFIED); in discardFreeBuffersTestByCamera() 1052 validateImage(SIZE, FORMAT, NUM_FRAME_VERIFIED, REPEATING); in discardFreeBuffersTestByCamera() 1053 validateCaptureResult(FORMAT, SIZE, listener, NUM_FRAME_VERIFIED); in discardFreeBuffersTestByCamera() 1070 validateImage(SIZE, FORMAT, /*captureCount*/1, SINGLE); in discardFreeBuffersTestByCamera()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 349 for (int i = 0; i < Integer.SIZE; i++) { in compareKeyFlags() 368 for (int i = 0; i < Integer.SIZE; i++) { in compareMotionFlags()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 2117 private final int[] mCounts = new int[ActivityCallback.SIZE]; 2118 private final int[] mFirstIndexes = new int[ActivityCallback.SIZE]; 2119 private final int[] mLastIndexes = new int[ActivityCallback.SIZE];
|
D | CommandSession.java | 1040 public static final int SIZE = sValues.length;
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 689 mediaStoreUri, MediaStore.MediaColumns.SIZE))); in testDownload_mediaScanned()
|