Searched refs:dataLength (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetManager_AssetInputStreamTest.java | 80 int dataLength = 10; in testReadMethods() local 81 byte[] data = new byte[dataLength]; in testReadMethods() 83 assertEquals(dataLength, ret); in testReadMethods() 84 for (int i = 0; i < dataLength; i++) { in testReadMethods() 87 data = new byte[len - dataLength]; in testReadMethods() 88 assertEquals(len - dataLength, mAssetInputStream.read(data)); in testReadMethods() 89 for (int i = 0; i < len - dataLength; i++) { in testReadMethods() 90 assertEquals(bytes[i + dataLength], data[i]); in testReadMethods() 97 ret = mAssetInputStream.read(data, offset, dataLength); in testReadMethods() 98 assertEquals(dataLength, ret); in testReadMethods() [all …]
|
/cts/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/ |
D | IcmpMessage.java | 37 int dataLength = length - 8; in IcmpMessage() local 38 data = new byte[dataLength]; in IcmpMessage() 39 int len = stream.read(data, 0, dataLength); in IcmpMessage() 40 if (len != dataLength) { in IcmpMessage() 41 throw new IOException("Expected " + dataLength + " data bytes, received " + len); in IcmpMessage()
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
D | AudioProtocol.java | 224 int dataLength = len - 4; in handleDownload() local 225 ByteBuffer data = ByteBuffer.allocate(dataLength); in handleDownload() 226 read(mInput, data, dataLength); in handleDownload() 228 Log.d(TAG, "downloaded data id " + id + " len " + dataLength); in handleDownload()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 297 int dataLength = 0; in onImageAvailable() local 298 ret = AImage_getPlaneData(img, /*planeIdx*/0, &data, &dataLength); in onImageAvailable() 299 if (ret != AMEDIA_OK || data == nullptr || dataLength <= 0) { in onImageAvailable() 301 __FUNCTION__, img, ret, data, dataLength); in onImageAvailable() 313 fwrite(data, 1, dataLength, file); in onImageAvailable()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackTest.java | 1195 int dataLength = -10; in testWriteByteNegativeSize() local 1196 assertTrue(TEST_NAME, track.write(data, OFFSET_DEFAULT, dataLength) in testWriteByteNegativeSize() 1219 int dataLength = -10; in testWriteShortNegativeSize() local 1220 assertTrue(TEST_NAME, track.write(data, OFFSET_DEFAULT, dataLength) in testWriteShortNegativeSize()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 127080 byte[] dataLength
|