Home
last modified time | relevance | path

Searched refs:getAsByteArray (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DContentValuesTest.java396 assertSame(expected, mContentValues.getAsByteArray("byte[]")); in testPutByteArray()
489 assertSame(expected, mContentValues.getAsByteArray("byte[]")); in testGetAsByteArray()
492 assertNull(mContentValues.getAsByteArray(null)); in testGetAsByteArray()
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/
DSharedPrefsProvider.kt71 val bytes = values.getAsByteArray(COLUMN_NAME) in update()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java129 private static byte[] getAsByteArray(int resId, int offset, int extra) { in getAsByteArray() method in ImageDecoderTest
158 static byte[] getAsByteArray(int resId) { in getAsByteArray() method in ImageDecoderTest
159 return getAsByteArray(resId, 0, 0); in getAsByteArray()
163 byte[] buffer = getAsByteArray(resId); in getAsByteBufferWrap()
168 byte[] buffer = getAsByteArray(resId); in getAsDirectByteBuffer()
222 resId -> ImageDecoder.createSource(getAsByteArray(resId)),
892 byte[] bytes = getAsByteArray(R.raw.basi6a16); in testEarlyIncomplete()
987 byte[] bytes = getAsByteArray(record.resId); in testOnPartialImage()
1047 byte[] bytes = getAsByteArray(R.drawable.png_test); in testCorruptException()
1070 byte[] bytes = getAsByteArray(R.drawable.png_test); in testPartialImageThrowException()
[all …]
DBitmapFactoryTest.java820 byte[] bytes = ImageDecoderTest.getAsByteArray(dng.resId); in testDng()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java777 private byte[] getAsByteArray() { in getAsByteArray() method
793 byte[] array = getAsByteArray(); in getAsDirectByteBuffer()
814 byte[] array = getAsByteArray(); in testByteBuffer()
824 byte[] array = getAsByteArray(); in testReadOnlyByteBuffer()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java302 byte[] expected = expectedValues.getAsByteArray(columnName); in verifyBlobColumn()