HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 26 - 50 of 994) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/
BaseMediaInfoAtom.java 7 import java.nio.ByteBuffer;
29 protected void getContent(ByteBuffer byteBuffer) {
30 writeVersionAndFlags(byteBuffer);
31 byteBuffer.putShort(graphicsMode);
32 IsoTypeWriter.writeUInt16(byteBuffer, opColorR);
33 IsoTypeWriter.writeUInt16(byteBuffer,opColorG );
34 IsoTypeWriter.writeUInt16(byteBuffer,opColorB );
35 byteBuffer.putShort(balance);
36 byteBuffer.putShort(reserved)
    [all...]
TimeCodeBox.java 21 import java.nio.ByteBuffer;
41 public void _parseDetails(ByteBuffer content) {
49 protected void getContent(ByteBuffer byteBuffer) {
50 _writeReservedAndDataReferenceIndex(byteBuffer);
51 byteBuffer.put(data);
52 _writeChildBoxes(byteBuffer);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/
UnknownEntry.java 21 import java.nio.ByteBuffer;
27 private ByteBuffer content;
32 public ByteBuffer getContent() {
36 public void setContent(ByteBuffer content) {
37 this.content = (ByteBuffer) content.duplicate().rewind();
41 public void parse(ByteBuffer byteBuffer) {
42 this.content = (ByteBuffer) byteBuffer.duplicate().rewind();
46 public ByteBuffer get()
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
UnknownBox.java 22 import java.nio.ByteBuffer;
29 ByteBuffer data;
41 public void _parseDetails(ByteBuffer content) {
47 protected void getContent(ByteBuffer byteBuffer) {
49 byteBuffer.put(data);
52 public ByteBuffer getData() {
56 public void setData(ByteBuffer data) {
CompositionShiftLeastGreatestAtom.java 5 import java.nio.ByteBuffer;
42 public void _parseDetails(ByteBuffer content) {
52 protected void getContent(ByteBuffer byteBuffer) {
53 writeVersionAndFlags(byteBuffer);
54 byteBuffer.putInt(compositionOffsetToDisplayOffsetShift);
55 byteBuffer.putInt(leastDisplayOffset);
56 byteBuffer.putInt(greatestDisplayOffset);
57 byteBuffer.putInt(displayStartTime);
58 byteBuffer.putInt(displayEndTime)
    [all...]
HintMediaHeaderBox.java 22 import java.nio.ByteBuffer;
62 public void _parseDetails(ByteBuffer content) {
73 protected void getContent(ByteBuffer byteBuffer) {
74 writeVersionAndFlags(byteBuffer);
75 IsoTypeWriter.writeUInt16(byteBuffer, maxPduSize);
76 IsoTypeWriter.writeUInt16(byteBuffer, avgPduSize);
77 IsoTypeWriter.writeUInt32(byteBuffer, maxBitrate);
78 IsoTypeWriter.writeUInt32(byteBuffer, avgBitrate);
79 IsoTypeWriter.writeUInt32(byteBuffer, 0)
    [all...]
ItemProtectionBox.java 23 import java.nio.ByteBuffer;
47 public void _parseDetails(ByteBuffer content) {
55 protected void getContent(ByteBuffer byteBuffer) {
56 writeVersionAndFlags(byteBuffer);
57 IsoTypeWriter.writeUInt16(byteBuffer, getBoxes().size());
58 writeChildBoxes(byteBuffer);
ProgressiveDownloadInformationBox.java 7 import java.nio.ByteBuffer;
27 protected void getContent(ByteBuffer byteBuffer) {
28 writeVersionAndFlags(byteBuffer);
30 IsoTypeWriter.writeUInt32(byteBuffer, entry.getRate());
31 IsoTypeWriter.writeUInt32(byteBuffer, entry.getInitialDelay());
44 public void _parseDetails(ByteBuffer content) {
SoundMediaHeaderBox.java 22 import java.nio.ByteBuffer;
42 public void _parseDetails(ByteBuffer content) {
49 protected void getContent(ByteBuffer byteBuffer) {
50 writeVersionAndFlags(byteBuffer);
51 IsoTypeWriter.writeFixedPont88(byteBuffer, balance);
52 IsoTypeWriter.writeUInt16(byteBuffer, 0);
MovieHeaderBox.java 23 import java.nio.ByteBuffer;
103 public void _parseDetails(ByteBuffer content) {
163 protected void getContent(ByteBuffer byteBuffer) {
164 writeVersionAndFlags(byteBuffer);
166 IsoTypeWriter.writeUInt64(byteBuffer, creationTime);
167 IsoTypeWriter.writeUInt64(byteBuffer, modificationTime);
168 IsoTypeWriter.writeUInt32(byteBuffer, timescale);
169 IsoTypeWriter.writeUInt64(byteBuffer, duration);
171 IsoTypeWriter.writeUInt32(byteBuffer, creationTime)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
SubtitleSampleEntry.java 6 import java.nio.ByteBuffer;
36 public void _parseDetails(ByteBuffer content) {
45 protected void getContent(ByteBuffer byteBuffer) {
46 _writeReservedAndDataReferenceIndex(byteBuffer);
47 IsoTypeWriter.writeUtf8String(byteBuffer, namespace);
48 IsoTypeWriter.writeUtf8String(byteBuffer, schemaLocation);
49 IsoTypeWriter.writeUtf8String(byteBuffer, imageMimeType);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
ASCIICharsetEncoderTest.java 20 import java.nio.ByteBuffer;
85 ByteBuffer out = ByteBuffer.allocate(10);
91 out = ByteBuffer.allocate(10);
109 ByteBuffer bb = encoder.encode(cb);
127 ByteBuffer bb = ByteBuffer.allocate(0x10);
140 ByteBuffer out = ByteBuffer.allocate(0x10);
162 ByteBuffer out = ByteBuffer.allocate(0x10)
    [all...]
  /external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/
TestUtils.java 7 import java.nio.ByteBuffer;
19 * Returns a new direct ByteBuffer of the given size with random (but reproducible) data.
21 public static ByteBuffer newRandomBuffer(int size) {
25 ByteBuffer data = ByteBuffer.allocateDirect(size);
  /external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/
ValidationTestUtilTest.java 11 import java.nio.ByteBuffer;
23 String input, boolean isInputValid, ByteBuffer expectedData, int expectedHandlesCount) {
43 ByteBuffer expected = ByteBuffer.allocateDirect(0);
51 ByteBuffer expected = ByteBuffer.allocateDirect(0);
59 ByteBuffer expected = ByteBuffer.allocateDirect(17);
73 ByteBuffer expected = ByteBuffer.allocateDirect(15)
    [all...]
ValidationTestUtil.java 10 import java.nio.ByteBuffer;
25 private final ByteBuffer mData;
29 public ByteBuffer getData() {
41 private Data(ByteBuffer data, int handlesCount, String errorMessage) {
58 private static Data buildData(ByteBuffer data, int handlesCount, String errorMessage) {
59 ByteBuffer copiedData = null;
61 copiedData = ByteBuffer.allocateDirect(data.limit());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
SinkChannelTest.java 22 import java.nio.ByteBuffer;
46 private ByteBuffer buffer;
48 private ByteBuffer positionedBuffer;
55 buffer = ByteBuffer.wrap("bytes".getBytes(ISO8859_1));
56 positionedBuffer = ByteBuffer.wrap("12345bytes".getBytes(ISO8859_1));
68 * @tests java.nio.channels.Pipe.SinkChannel#write(ByteBuffer)
71 ByteBuffer[] bufArray = { buffer, positionedBuffer };
82 for (ByteBuffer buf : bufArray) {
86 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE)
    [all...]
SourceChannelTest.java 20 import java.nio.ByteBuffer;
42 private ByteBuffer buffer;
44 private ByteBuffer positionedBuffer;
51 buffer = ByteBuffer.wrap("bytes".getBytes(ISO8859_1));
52 positionedBuffer = ByteBuffer.wrap("12345bytes".getBytes(ISO8859_1));
64 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer)
68 sink.write(ByteBuffer.allocate(1));
69 int count = source.read(ByteBuffer.allocate(10));
74 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer)
77 ByteBuffer nullBuf = null
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
AbstractTrackEncryptionBox.java 7 import java.nio.ByteBuffer;
41 ByteBuffer b = ByteBuffer.wrap(default_KID);
51 public void _parseDetails(ByteBuffer content) {
60 protected void getContent(ByteBuffer byteBuffer) {
61 writeVersionAndFlags(byteBuffer);
62 IsoTypeWriter.writeUInt24(byteBuffer, defaultAlgorithmId);
63 IsoTypeWriter.writeUInt8(byteBuffer, defaultIvSize);
64 byteBuffer.put(default_KID)
    [all...]
  /frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
BufferPool.java 19 import java.nio.ByteBuffer;
28 private final ByteBuffer[] mBuffers;
35 mBuffers = new ByteBuffer[maxBuffers];
38 public ByteBuffer acquire(int needed) {
48 return ByteBuffer.allocate(chooseCapacity(mInitialBufferSize, needed));
59 public void release(ByteBuffer buffer) {
67 public ByteBuffer grow(ByteBuffer buffer, int needed) {
70 final ByteBuffer oldBuffer = buffer;
72 buffer = ByteBuffer.allocate(capacity)
    [all...]
  /libcore/luni/src/test/java/libcore/io/
OsTest.java 29 import java.nio.ByteBuffer;
146 ByteBuffer byteBuffer = ByteBuffer.wrap(contents);
148 byteBuffer.position(0);
149 int written = Libcore.os.write(fd, byteBuffer);
151 assertEquals(written, byteBuffer.position());
153 byteBuffer.position(4);
154 written = Libcore.os.write(fd, byteBuffer);
156 assertEquals(written + 4, byteBuffer.position())
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/
TrackFragmentBaseMediaDecodeTimeBox.java 23 import java.nio.ByteBuffer;
40 protected void getContent(ByteBuffer byteBuffer) {
41 writeVersionAndFlags(byteBuffer);
43 IsoTypeWriter.writeUInt64(byteBuffer, baseMediaDecodeTime);
45 IsoTypeWriter.writeUInt32(byteBuffer, baseMediaDecodeTime);
51 public void _parseDetails(ByteBuffer content) {
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/vodafone/
CoverUriBox.java 23 import java.nio.ByteBuffer;
50 public void _parseDetails(ByteBuffer content) {
56 protected void getContent(ByteBuffer byteBuffer) {
57 writeVersionAndFlags(byteBuffer);
58 byteBuffer.put(Utf8.convert(coverUri));
59 byteBuffer.put((byte) 0);
LyricsUriBox.java 23 import java.nio.ByteBuffer;
51 public void _parseDetails(ByteBuffer content) {
57 protected void getContent(ByteBuffer byteBuffer) {
58 writeVersionAndFlags(byteBuffer);
59 byteBuffer.put(Utf8.convert(lyricsUri));
60 byteBuffer.put((byte) 0);
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
IsoTypeWriter.java 18 import java.nio.ByteBuffer;
22 public static void writeUInt64(ByteBuffer bb, long u) {
26 public static void writeUInt32(ByteBuffer bb, long u) {
31 public static void writeUInt32BE(ByteBuffer bb, long u) {
39 public static void writeUInt24(ByteBuffer bb, int i) {
47 public static void writeUInt16(ByteBuffer bb, int i) {
53 public static void writeUInt16BE(ByteBuffer bb, int i) {
59 public static void writeUInt8(ByteBuffer bb, int i) {
65 public static void writeFixedPont1616(ByteBuffer bb, double v) {
73 public static void writeFixedPont88(ByteBuffer bb, double v)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
AppleLosslessSpecificBox.java 7 import java.nio.ByteBuffer;
124 public void _parseDetails(ByteBuffer content) {
140 protected void getContent(ByteBuffer byteBuffer) {
141 writeVersionAndFlags(byteBuffer);
142 IsoTypeWriter.writeUInt32(byteBuffer, maxSamplePerFrame);
143 IsoTypeWriter.writeUInt8(byteBuffer, unknown1);
144 IsoTypeWriter.writeUInt8(byteBuffer, sampleSize);
145 IsoTypeWriter.writeUInt8(byteBuffer, historyMult);
146 IsoTypeWriter.writeUInt8(byteBuffer, initialHistory);
    [all...]

Completed in 334 milliseconds

12 3 4 5 6 7 8 91011>>