Searched refs:read (Results 51 - 75 of 436) sorted by relevance

1234567891011>>

/frameworks/av/cmds/stagefright/
H A DSineSource.h19 virtual status_t read(
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h45 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
H A DPipeReader.h48 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
H A DAudioStreamInSource.h44 // This is an over-estimate, and could dupe the caller into making a blocking read()
48 virtual ssize_t read(void *buffer, size_t count);
/frameworks/av/media/mtp/
H A DMtpResponsePacket.cpp47 int MtpResponsePacket::read(struct usb_request *request) { function in class:android::MtpResponsePacket
/frameworks/base/cmds/interrupter/
H A Dinterrupter.c50 DEFINE_INTERCEPT(read, ssize_t, int, void*, size_t);
/frameworks/native/cmds/bugreport/
H A Dbugreport.c48 int length = read(s, buffer, sizeof(buffer));
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSectionRelTable.h43 static ELFSectionRelTable *read(Archiver &AR, ELFSectionHeaderTy const *sh);
/frameworks/rs/
H A DrsFifoSocket.h39 size_t read(void *data, size_t bytes);
/frameworks/base/obex/javax/obex/
H A DClientSession.java435 header.responseCode = mInput.read();
437 int length = ((mInput.read() << 8) | (mInput.read()));
446 int version = mInput.read();
448 int flags = mInput.read();
449 maxPacketSize = (mInput.read() << 8) + mInput.read();
459 bytesReceived = mInput.read(data);
461 bytesReceived += mInput.read(data, bytesReceived, data.length
469 bytesReceived = mInput.read(dat
[all...]
/frameworks/av/media/libmedia/
H A DICrypto.cpp146 reply.read(dstPtr, result);
175 data.read(uuid, sizeof(uuid));
186 data.read(uuid, sizeof(uuid));
193 data.read(opaqueData, opaqueSize);
232 data.read(key, sizeof(key));
235 data.read(iv, sizeof(iv));
239 data.read(srcData, totalSize);
246 data.read(
H A DSoundPoolThread.h55 const SoundPoolMsg read();
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp68 ssize_t AudioStreamInSource::read(void *buffer, size_t count) function in class:android::AudioStreamInSource
73 ssize_t bytesRead = mStream->read(mStream, buffer, count << mBitShift);
/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseInputStream.java20 * An object that provides bitwise incremental read access to a byte array.
29 // The byte array being read from.
71 * @param bits the amount of data to read (gte 0, lte 8)
72 * @return byte of read data (possibly partially filled, from lsb)
74 public int read(int bits) throws AccessException { method in class:BitwiseInputStream
78 throw new AccessException("illegal read " +
92 * @param bits the amount of data to read
93 * @return newly allocated byte array of read data
100 arr[i] = (byte)(read(increment) << (8 - increment));
/frameworks/compile/mclinker/include/mcld/LD/
H A DEhFrameReader.h35 /// read - read an .eh_frame section and create the corresponding
39 /// @return if we read all CIEs and FDEs successfully, return true. Otherwise,
42 bool read(Input& pInput, EhFrame& pEhFrame);
99 EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame);
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DInputStreamBuffer.java26 * Wrapper for {@link InputStream} that allows you to read bytes from it like a byte[]. An
91 * @param autoAdvance Determines the behavior when you need to read an index that is beyond
291 int read = -1;
293 read = mInputStream.read(mBuffer, mFilled, mBuffer.length - mFilled);
297 if (read != -1) {
298 mFilled = mFilled + read;
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java32 * opened FileDescriptor that can be used to read the data, as well as the
98 * Returns the FileDescriptor that can be used to read the data in the
143 * should be read to the end of the file.
218 public int read() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
220 int result = read(buffer, 0, 1);
225 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
229 int res = super.read(buffer, offset, count);
234 return super.read(buffer, offset, count);
238 public int read(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
239 return read(buffe
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DBitwiseStreamsTest.java44 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
58 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
72 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
89 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
110 assertEquals(valueArr[i], inStream.read(sizeArr[i]));
130 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
154 assertEquals(valueArr[i], inStream.read(sizeArr[i]));
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentStack.java100 public void read(DataInputStream in) throws IOException { method in class:DocumentStack
108 root.read(in);
113 doc.read(in);
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java431 * Utility method to read a line of data from the input stream
432 * @param is Inputstream to read
433 * @return number of bytes read
437 int read = 0;
443 int data = is.read();
450 buf[read] = (byte)data;
455 if (buf[read++]==(byte)'\n') {
457 return read;
464 return read;
469 * @param is Stream from which to read dat
[all...]
/frameworks/av/include/media/stagefright/
H A DJPEGSource.h35 virtual status_t read(
H A DMediaAdapter.h42 virtual status_t read(
55 // pushBuffer() will wait for the read() finish, and read() will have a
61 // Make sure the read() wait for the incoming buffer.
H A DSkipCutBuffer.h49 size_t read(char *dst, size_t num);
/frameworks/av/libvideoeditor/lvpp/
H A DDummyVideoSource.h41 virtual status_t read(
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.h40 ssize_t read(void *data, size_t size, sp<AMessage> *extra);

Completed in 619 milliseconds

1234567891011>>