Home
last modified time | relevance | path

Searched refs:rawData (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9537/
Dpoc.cpp201 UCHAR *rawData = (UCHAR *)malloc(rawDataSize); in main() local
202 if (!rawData) { in main()
208 UCHAR *writePtr = rawData; in main()
220 codec->decodeFrames(rawData, rawDataSize); in main()
221 free(rawData); in main()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1Integer.java204 private byte[] convertPositiveToSigned(byte[] rawData) { in convertPositiveToSigned() argument
205 if ((rawData[0] & 0x80) != 0) { in convertPositiveToSigned()
206 byte[] data = new byte[rawData.length + 1]; in convertPositiveToSigned()
207 System.arraycopy(rawData, 0, data, 1, rawData.length); in convertPositiveToSigned()
210 return rawData; in convertPositiveToSigned()
/cts/tests/sensor/src/android/hardware/cts/accessories/
DHidCommand.kt151 val rawData = ByteArray(dataList.size) in readData() constant
155 rawData[i] = d.toByte() in readData()
157 return rawData in readData()
/cts/libs/input/src/com/android/cts/input/
DVirtualInputDevice.java128 byte[] rawData = new byte[data.size()]; in readData()
134 rawData[i] = (byte) d; in readData()
136 return rawData; in readData()
/cts/tests/camera/src/android/hardware/cts/
DCameraPerformanceTestHelper.java177 public void onPictureTaken(byte[] rawData, Camera camera) { in takePicture()
180 assertNotNull("Empty jpeg data", rawData); in takePicture()
DCameraTest.java340 public void onPictureTaken(byte [] rawData, Camera camera) { in onPictureTaken() argument
348 public void onPictureTaken(byte[] rawData, Camera camera) { in onPictureTaken() argument
350 mJpegData = rawData; in onPictureTaken()
351 if (rawData != null) { in onPictureTaken()
355 outStream.write(rawData); in onPictureTaken()
360 Log.v(TAG, "JpegPictureCallback rawDataLength = " + rawData.length); in onPictureTaken()
2835 public void onPictureTaken(byte[] rawData, Camera camera) { in onPictureTaken() argument
/cts/tests/tests/media/player/src/android/media/player/cts/
DStreamingMediaPlayerTest.java405 byte[] rawData = md.getMetaData(); in testPlayHlsStreamWithTimedId3()
420 int length = rawData.length; in testPlayHlsStreamWithTimedId3()
424 String data = new String(rawData, offset, length); in testPlayHlsStreamWithTimedId3()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothQualityReportTest.java410 byte[] rawData = {0}; in invalidRawData()
414 rawData = ByteBuffer.allocate(BQRParameters.mBqrCommonSize - 1).array(); in invalidRawData()
417 rawData = in invalidRawData()
425 rawData = in invalidRawData()
433 rawData = in invalidRawData()
441 rawData = in invalidRawData()
450 final byte[] data = rawData; in invalidRawData()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2834 private static void validateRaw16Data(byte[] rawData, int width, int height, int format, in validateRaw16Data() argument
2838 assertEquals("Raw data doesn't match", expectedSize, rawData.length); in validateRaw16Data()
2845 dumpFile(fileName, rawData); in validateRaw16Data()
2851 private static void validateY8Data(byte[] rawData, int width, int height, int format, in validateY8Data() argument
2855 assertEquals("Y8 data doesn't match", expectedSize, rawData.length); in validateY8Data()
2862 dumpFile(fileName, rawData); in validateY8Data()
2868 private static void validateRawPrivateData(byte[] rawData, int width, int height, in validateRawPrivateData() argument
2875 assertTrue("Opaque RAW size " + rawData.length + "out of normal bound [" + in validateRawPrivateData()
2877 expectedSizeMin <= rawData.length && rawData.length <= expectedSizeMax); in validateRawPrivateData()
2882 dumpFile(fileName, rawData); in validateRawPrivateData()