Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/res/cts/
DAssetManager_AssetInputStreamTest.java76 int dataLength = 10; in testReadMethods() local
77 byte[] data = new byte[dataLength]; in testReadMethods()
79 assertEquals(dataLength, ret); in testReadMethods()
80 for (int i = 0; i < dataLength; i++) { in testReadMethods()
83 data = new byte[len - dataLength]; in testReadMethods()
84 assertEquals(len - dataLength, mAssetInputStream.read(data)); in testReadMethods()
85 for (int i = 0; i < len - dataLength; i++) { in testReadMethods()
86 assertEquals(bytes[i + dataLength], data[i]); in testReadMethods()
93 ret = mAssetInputStream.read(data, offset, dataLength); in testReadMethods()
94 assertEquals(dataLength, ret); in testReadMethods()
[all …]
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java224 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/tests/media/src/android/media/cts/
DAudioTrackTest.java1080 int dataLength = -10; in testWriteByteNegativeSize() local
1081 assertTrue(TEST_NAME, track.write(data, OFFSET_DEFAULT, dataLength) in testWriteByteNegativeSize()
1104 int dataLength = -10; in testWriteShortNegativeSize() local
1105 assertTrue(TEST_NAME, track.write(data, OFFSET_DEFAULT, dataLength) in testWriteShortNegativeSize()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dgbemu.js230 var dataLength = data.length;
231 if (dataLength > 0) {
234 var remainder = dataLength % 3;
239 while (index < dataLength) {
267 var dataLength = data.length;
268 if (dataLength > 3 && dataLength % 4 == 0) {
271 while (index < dataLength) {
Dpdfjs.js3738 var length = what.length, dataLength = data.length;
3741 while (offset < dataLength) {
30514 var dataLength = width * height * this.components.length;
30515 var data = new Uint8Array(dataLength);
30725 var dataLength = lbox - headerSize;
30738 this.parseCodestream(data, position, position + dataLength);
30742 position += dataLength;
31363 function parseTilePackets(context, data, offset, dataLength) {
31411 while (position < dataLength) {
31486 dataLength: codedDataLength
[all …]
/cts/tools/dex-tools/dex/
Dclasses.out.dex127080 byte[] dataLength