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()
207 UCHAR *writePtr = rawData; in main()
219 codec->decodeFrames(rawData, rawDataSize); in main()
220 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/suite/audio_quality/lib/src/
DBuiltinProcessing.cpp57 int16_t* rawData = reinterpret_cast<int16_t*>(data->getData()); in rms_mva() local
60 energy += (rawData[i] * rawData[i]); in rms_mva()
/cts/libs/input/src/com/android/cts/input/
DVirtualInputDevice.java124 byte[] rawData = new byte[data.size()]; in readData()
130 rawData[i] = (byte) d; in readData()
132 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.java339 public void onPictureTaken(byte [] rawData, Camera camera) { in onPictureTaken() argument
347 public void onPictureTaken(byte[] rawData, Camera camera) { in onPictureTaken() argument
349 mJpegData = rawData; in onPictureTaken()
350 if (rawData != null) { in onPictureTaken()
354 outStream.write(rawData); in onPictureTaken()
359 Log.v(TAG, "JpegPictureCallback rawDataLength = " + rawData.length); in onPictureTaken()
2826 public void onPictureTaken(byte[] rawData, Camera camera) { in onPictureTaken() argument
/cts/tests/tests/permission/src/android/permission/cts/
DCameraPermissionTest.java45 public void onPictureTaken(byte [] rawData, Camera camera) { } in onPictureTaken() argument
/cts/tests/tests/media/src/android/media/cts/
DStreamingMediaPlayerTest.java432 byte[] rawData = md.getMetaData(); in testPlayHlsStreamWithTimedId3()
447 int length = rawData.length; in testPlayHlsStreamWithTimedId3()
451 String data = new String(rawData, offset, length); in testPlayHlsStreamWithTimedId3()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2214 private static void validateRaw16Data(byte[] rawData, int width, int height, int format, in validateRaw16Data() argument
2218 assertEquals("Raw data doesn't match", expectedSize, rawData.length); in validateRaw16Data()
2225 dumpFile(fileName, rawData); in validateRaw16Data()
2231 private static void validateY8Data(byte[] rawData, int width, int height, int format, in validateY8Data() argument
2235 assertEquals("Y8 data doesn't match", expectedSize, rawData.length); in validateY8Data()
2242 dumpFile(fileName, rawData); in validateY8Data()
2248 private static void validateRawPrivateData(byte[] rawData, int width, int height, in validateRawPrivateData() argument
2255 assertTrue("Opaque RAW size " + rawData.length + "out of normal bound [" + in validateRawPrivateData()
2257 expectedSizeMin <= rawData.length && rawData.length <= expectedSizeMax); in validateRawPrivateData()
2262 dumpFile(fileName, rawData); in validateRawPrivateData()