Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1Integer.java203 private byte[] convertPositiveToSigned(byte[] rawData) { in convertPositiveToSigned() argument
204 if ((rawData[0] & 0x80) != 0) { in convertPositiveToSigned()
205 byte[] data = new byte[rawData.length + 1]; in convertPositiveToSigned()
206 System.arraycopy(rawData, 0, data, 1, rawData.length); in convertPositiveToSigned()
209 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/tests/camera/src/android/hardware/cts/
DCameraTestCase.java175 public void onPictureTaken(byte[] rawData, Camera camera) { in takePicture()
178 if (rawData == null) { in takePicture()
DCameraTest.java301 public void onPictureTaken(byte [] rawData, Camera camera) { in onPictureTaken() argument
309 public void onPictureTaken(byte[] rawData, Camera camera) { in onPictureTaken() argument
311 mJpegData = rawData; in onPictureTaken()
312 if (rawData != null) { in onPictureTaken()
316 outStream.write(rawData); in onPictureTaken()
321 Log.v(TAG, "JpegPictureCallback rawDataLength = " + rawData.length); in onPictureTaken()
2805 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.java428 byte[] rawData = md.getMetaData(); in testPlayHlsStreamWithTimedId3()
443 int length = rawData.length; in testPlayHlsStreamWithTimedId3()
447 String data = new String(rawData, offset, length); in testPlayHlsStreamWithTimedId3()
D.goutputstream-9KZYJZ631 byte[] rawData = md.getMetaData();
646 int length = rawData.length;
650 String data = new String(rawData, offset, length);
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1689 private static void validateRaw16Data(byte[] rawData, int width, int height, int format, in validateRaw16Data() argument
1693 assertEquals("Raw data doesn't match", expectedSize, rawData.length); in validateRaw16Data()
1700 dumpFile(fileName, rawData); in validateRaw16Data()
1706 private static void validateY8Data(byte[] rawData, int width, int height, int format, in validateY8Data() argument
1710 assertEquals("Y8 data doesn't match", expectedSize, rawData.length); in validateY8Data()
1717 dumpFile(fileName, rawData); in validateY8Data()
1723 private static void validateRawPrivateData(byte[] rawData, int width, int height, in validateRawPrivateData() argument
1730 assertTrue("Opaque RAW size " + rawData.length + "out of normal bound [" + in validateRawPrivateData()
1732 expectedSizeMin <= rawData.length && rawData.length <= expectedSizeMax); in validateRawPrivateData()
1737 dumpFile(fileName, rawData); in validateRawPrivateData()