Searched refs:read (Results 26 - 50 of 456) sorted by relevance

1234567891011>>

/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp90 config(config), read(0), draw(0), cnx(cnx), version(version) {
94 read = NULL;
98 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { argument
99 this->read = read;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsHeader.java132 int id = inStream.read();
133 int length = inStream.read();
139 concatRef.refNumber = inStream.read();
140 concatRef.msgCount = inStream.read();
141 concatRef.seqNumber = inStream.read();
150 concatRef.refNumber = (inStream.read() << 8) | inStream.read();
151 concatRef.msgCount = inStream.read();
152 concatRef.seqNumber = inStream.read();
161 portAddrs.destPort = inStream.read();
[all...]
/frameworks/av/media/libstagefright/timedtext/test/
H A DTimedTextSRTSource_test.cpp120 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
126 // read edge cases
127 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
133 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
139 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
145 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
152 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options);
161 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options);
165 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options);
173 err = mSource->read(
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DUlawEncoderInputStream.java141 public int read(byte[] buf, int offset, int length) throws IOException { method in class:UlawEncoderInputStream
146 int n = mIn.read(mBuf, mBufCount, Math.min(length * 2, mBuf.length - mBufCount));
163 public int read(byte[] buf) throws IOException { method in class:UlawEncoderInputStream
164 return read(buf, 0, buf.length);
168 public int read() throws IOException { method in class:UlawEncoderInputStream
169 int n = read(mOneByte, 0, 1);
H A DWaveHeader.java177 * @param in {@link java.io.InputStream} to read from.
181 public int read(InputStream in) throws IOException { method in class:WaveHeader
212 if (id.charAt(i) != in.read()) throw new IOException( id + " tag not present");
217 return in.read() | (in.read() << 8) | (in.read() << 16) | (in.read() << 24);
221 return (short)(in.read() | (in.read() << 8));
H A DMicrophoneInputStream.java57 public int read() throws IOException { method in class:MicrophoneInputStream
64 public int read(byte[] b) throws IOException { method in class:MicrophoneInputStream
70 public int read(byte[] b, int offset, int length) throws IOException { method in class:MicrophoneInputStream
/frameworks/av/media/mtp/
H A DMtpRequestPacket.cpp39 int MtpRequestPacket::read(int fd) { function in class:android::MtpRequestPacket
40 int ret = ::read(fd, mBuffer, mBufferSize);
42 // file read error
H A DMtpDeviceInfo.h47 bool read(MtpDataPacket& packet);
H A DMtpStorageInfo.h42 bool read(MtpDataPacket& packet);
/frameworks/base/core/java/android/service/persistentdata/
H A DPersistentDataBlockManager.java36 * Clients can read the currently written block by invoking
37 * {@link PersistentDataBlockManager#read()}.
71 public byte[] read() { method in class:PersistentDataBlockManager
73 return sService.read();
/frameworks/av/include/media/nbaio/
H A DLibsndfileSource.h46 virtual ssize_t read(void *buffer, size_t count);
H A DMonoPipeReader.h50 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
/frameworks/av/media/img_utils/include/img_utils/
H A DInput.h43 * count argument will be read. Bytes will be written into the given buffer starting
46 * Returns the number of bytes read, or NOT_ENOUGH_DATA if at the end of the file. If an
49 virtual ssize_t read(uint8_t* buf, size_t offset, size_t count) = 0;
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java54 * Creates an input stream for the <code>Operation</code> to read from
65 * Returns the number of bytes that can be read (or skipped over) from this
69 * @return the number of bytes that can be read from this input stream
85 * @return the byte read from the input stream or -1 if it reaches the end of
90 public synchronized int read() throws IOException { method in class:PrivateInputStream
101 public int read(byte[] b) throws IOException { method in class:PrivateInputStream
102 return read(b, 0, b.length);
106 public synchronized int read(byte[] b, int offset, int length) throws IOException { method in class:PrivateInputStream
H A DServerSession.java94 int requestType = mInput.read();
130 * just going to read the packet and send a not implemented
133 int length = mInput.read();
134 length = (length << 8) + mInput.read();
136 mInput.read();
151 * Handles a ABORT request from a client. This method will read the rest of
164 int length = mInput.read();
165 length = (length << 8) + mInput.read();
170 mInput.read();
282 * Handles a SETPATH request from a client. This method will read th
[all...]
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSectionStrTab.h39 static ELFSectionStrTab *read(Archiver &AR, ELFSectionHeaderTy const *sh);
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSectionNoBits.hxx30 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { function in class:ELFSectionNoBits
/frameworks/rs/
H A DrsFifo.h40 size_t virtual read(void *data, size_t bytes, bool doWait = true, uint64_t timeToWait = 0) = 0;
/frameworks/base/core/tests/coretests/src/android/content/
H A DAssetTest.java41 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) {
51 readCount = is.read(buffer, 0, buffer.length);
55 readCount = is.read(buffer, buffer.length, 0);
/frameworks/base/core/java/com/android/internal/util/
H A DProcFileReader.java40 /** Flag when last read token finished current line. */
51 // read enough to answer hasMoreData
64 final int read = mStream.read(mBuffer, mTail, length);
65 if (read != -1) {
66 mTail += read;
68 return read;
76 // TODO: consider moving to read pointer, but for now traceview says
/frameworks/native/libs/gui/
H A DBufferItem.cpp150 FlattenableUtils::read(buffer, size, flags);
171 FlattenableUtils::read(buffer, size, mCrop);
172 FlattenableUtils::read(buffer, size, mTransform);
173 FlattenableUtils::read(buffer, size, mScalingMode);
174 FlattenableUtils::read(buffer, size, mTimestamp);
175 FlattenableUtils::read(buffer, size, mIsAutoTimestamp);
176 FlattenableUtils::read(buffer, size, mFrameNumber);
177 FlattenableUtils::read(buffer, size, mSlot);
178 FlattenableUtils::read(buffer, size, mIsDroppable);
179 FlattenableUtils::read(buffe
[all...]
H A DSensor.cpp386 FlattenableUtils::read(buffer, size, mVersion);
387 FlattenableUtils::read(buffer, size, mHandle);
388 FlattenableUtils::read(buffer, size, mType);
389 FlattenableUtils::read(buffer, size, mMinValue);
390 FlattenableUtils::read(buffer, size, mMaxValue);
391 FlattenableUtils::read(buffer, size, mResolution);
392 FlattenableUtils::read(buffer, size, mPower);
393 FlattenableUtils::read(buffer, size, mMinDelay);
394 FlattenableUtils::read(buffer, size, mFifoReservedEventCount);
395 FlattenableUtils::read(buffe
[all...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DLimitedLengthInputStreamTest.java89 assertEquals(length, is.read(temp, 0, temp.length));
94 assertEquals(-1, is.read(temp, 0, temp.length));
124 assertEquals(TEST_STRING1.length, is.read(temp, 0, TEST_STRING1.length + 10));
139 assertEquals(length, is.read(temp));
144 assertEquals(-1, is.read(temp));
171 assertEquals(TEST_STRING1[offset + i], is.read());
174 assertEquals(-1, is.read());
/frameworks/volley/src/com/android/volley/toolbox/
H A DDiskBasedCache.java324 while (pos < length && ((count = in.read(bytes, pos, length - pos)) != -1)) {
328 throw new IOException("Expected " + length + " bytes, read " + pos + " bytes");
379 * @param is The InputStream to read from.
446 public int read() throws IOException { method in class:DiskBasedCache.CountingInputStream
447 int result = super.read();
455 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:DiskBasedCache.CountingInputStream
456 int result = super.read(buffer, offset, count);
472 * Simple wrapper around {@link InputStream#read()} that throws EOFException
475 private static int read(InputStream is) throws IOException { method in class:DiskBasedCache
476 int b = is.read();
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java576 * extended with byte-wise reversed endianness read/write
980 int paramBits = inStream.read(8) * 8;
984 bData.messageType = inStream.read(4);
985 bData.messageId = inStream.read(8) << 8;
986 bData.messageId |= inStream.read(8);
987 bData.hasUserDataHeader = (inStream.read(1) == 1);
1004 int subparamLen = inStream.read(8); // SUBPARAM_LEN
1023 int paramBits = inStream.read(8) * 8;
1025 bData.userData.msgEncoding = inStream.read(5);
1031 bData.userData.msgType = inStream.read(
[all...]

Completed in 649 milliseconds

1234567891011>>