Searched refs:read (Results 1 - 25 of 456) sorted by relevance

1234567891011>>

/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSection.hxx34 ELFSection<Bitwidth>::read(Archiver &AR, function in class:ELFSection
46 return ELFSectionStrTabTy::read(AR, sh);
49 return ELFSectionSymTabTy::read(AR, owner, sh);
52 return ELFSectionProgBitsTy::read(AR, owner, sh);
55 return ELFSectionNoBitsTy::read(AR, sh);
59 return ELFSectionRelTableTy::read(AR, sh);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothInputStream.java50 * reached. Blocks until one byte has been read, the end of the source
53 * @return the byte read or -1 if the end of stream has been reached.
58 public int read() throws IOException { method in class:BluetoothInputStream
60 int ret = mSocket.read(b, 0, 1);
73 * the byte array in which to store the bytes read.
76 * read from this stream.
79 * @return the number of bytes actually read or -1 if the end of the stream
89 public int read(byte[] b, int offset, int length) throws IOException { method in class:BluetoothInputStream
96 return mSocket.read(b, offset, length);
/frameworks/base/core/java/android/content/pm/
H A DMacAuthenticatedInputStream.java62 public int read() throws IOException { method in class:MacAuthenticatedInputStream
63 final int b = super.read();
71 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:MacAuthenticatedInputStream
72 int numRead = super.read(buffer, offset, count);
H A DLimitedLengthInputStream.java9 * A class that limits the amount of data that is read from an InputStream. When
17 * The end of the stream where we don't want to allow more data to be read.
58 public synchronized int read() throws IOException { method in class:LimitedLengthInputStream
64 return super.read();
68 public int read(byte[] buffer, int offset, int byteCount) throws IOException { method in class:LimitedLengthInputStream
84 final int numRead = super.read(buffer, offset, byteCount);
91 public int read(byte[] buffer) throws IOException { method in class:LimitedLengthInputStream
92 return read(buffer, 0, buffer.length);
/frameworks/base/core/tests/coretests/src/android/net/
H A DLocalSocketTest.java46 // Test trivial read and write
49 assertEquals(42, ls1.getInputStream().read());
62 assertEquals(42, ls1.getInputStream().read());
71 assertEquals(1, ls.getInputStream().read());
77 countRead = ls.getInputStream().read(buffer, 1, 15);
87 ls.getInputStream().read(buffer, 1, 16);
115 ls.getInputStream().read(buffer, -1, 15);
122 ls.getInputStream().read(buffer, 0, -1);
128 // Try read of length 0
130 countRead = ls1.getInputStream().read(buffe
[all...]
/frameworks/base/core/java/android/service/persistentdata/
H A DIPersistentDataBlockService.aidl31 byte[] read();
/frameworks/compile/libbcc/lib/Support/
H A DInputFile.cpp26 ssize_t InputFile::read(void *pBuf, size_t count) { function in class:InputFile
33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf);
38 ssize_t read_size = ::read(mFD, pBuf, count);
43 // If the errno is EAGAIN or EINTR, then we try to read again.
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java89 // get the size to read.
93 // create the initial buffer and read it.
95 int read = stream.read(buffer);
98 if (read == intSize) {
102 // check if there is more to read (read() does not necessarily read all that
105 if (read + avail > buffer.length) {
108 byte[] moreBuffer = new byte[read
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInputStream.java28 * is called, the current entity's header has already been read from the underlying
33 * source, nor read more than {@link #size()} bytes from the stream.</p>
54 * are read from the stream, the output of this method is undefined.
56 * @return The byte read, or undefined if the end of the stream has been reached.
58 public int read() throws IOException { method in class:BackupDataInputStream
71 * @param b Byte array into which the data will be read
74 * @param size The number of bytes to read in this operation. If insufficient
76 * will be read as is available.
77 * @return The number of bytes of data read, or zero if all of the entity's
78 * data has already been read
80 public int read(byte[] b, int offset, int size) throws IOException { method in class:BackupDataInputStream
93 public int read(byte[] b) throws IOException { method in class:BackupDataInputStream
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DSizedInputStream.java26 * bytes have been read.
44 public int read() throws IOException { method in class:SizedInputStream
49 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:SizedInputStream
56 final int n = mWrapped.read(buffer, byteOffset, byteCount);
/frameworks/base/media/java/android/media/
H A DAmrInputStream.java49 // helper for bytewise read()
63 public int read() throws IOException { method in class:AmrInputStream
64 int rtn = read(mOneByte, 0, 1);
69 public int read(byte[] b) throws IOException { method in class:AmrInputStream
70 return read(b, 0, b.length);
74 public int read(byte[] b, int offset, int length) throws IOException { method in class:AmrInputStream
85 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i);
H A DResampleInputStream.java49 // helper for bytewise read()
71 public int read() throws IOException { method in class:ResampleInputStream
72 int rtn = read(mOneByte, 0, 1);
77 public int read(byte[] b) throws IOException { method in class:ResampleInputStream
78 return read(b, 0, b.length);
82 public int read(byte[] b, int offset, int length) throws IOException { method in class:ResampleInputStream
95 // read until we have enough data for at least one output sample
103 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DByteBufferInputStream.java31 public int read() { method in class:ByteBufferInputStream
39 public int read(byte[] bytes, int off, int len) { method in class:ByteBufferInputStream
H A DCountedDataInputStream.java44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream
45 int r = in.read(b);
51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream
52 int r = in.read(b, off, len);
58 public int read() throws IOException { method in class:CountedDataInputStream
59 int r = in.read();
83 int r = read(b, off, len);
/frameworks/native/libs/gui/
H A DLayerState.cpp45 status_t layer_state_t::read(const Parcel& input) function in class:android::layer_state_t
64 input.read(crop);
65 input.read(transparentRegion);
74 status_t ComposerState::read(const Parcel& input) { function in class:android::ComposerState
76 return state.read(input);
93 status_t DisplayState::read(const Parcel& input) { function in class:android::DisplayState
99 input.read(viewport);
100 input.read(frame);
/frameworks/av/media/mtp/
H A DMtpEventPacket.h37 // read our buffer with the given request
38 int read(struct usb_request *request);
H A DMtpRequestPacket.h35 int read(int fd);
H A DMtpResponsePacket.h37 // read our buffer with the given request
38 int read(struct usb_request *request);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDurable.java25 public void read(DataInputStream in) throws IOException; method in interface:Durable
/frameworks/compile/libbcc/include/bcc/Support/
H A DInputFile.h30 ssize_t read(void *pBuf, size_t count);
/frameworks/multidex/library/test/src/android/support/multidex/
H A DZipUtilTest.java75 int read = raf.read(dirData, off, length);
79 length -= read;
80 off += read;
122 int read = in.read(buffer);
123 while (read != -1) {
124 out.write(buffer, 0, read);
125 read = in.read(buffe
[all...]
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSection.h36 static ELFSection *read(Archiver &AR, ELFObjectTy *,
H A DELFSectionNoBits.h32 static ELFSectionNoBits *read(Archiver &AR, ELFSectionHeaderTy const *sh);
/frameworks/ex/framesequence/jni/
H A DStream.cpp28 jmethodID read; member in struct:__anon1156
51 size_t read = doRead(mPeekBuffer + mPeekOffset, size - peek_remaining); local
53 mPeekSize = peek_remaining + read;
60 size_t Stream::read(void* buffer, size_t size) { function in class:Stream
101 gInputStreamClassInfo.read, mByteArray, 0, requested);
122 gInputStreamClassInfo.read = env->GetMethodID(inputStreamClazz, "read", "([BII)I");
124 if (!gInputStreamClassInfo.read || !gInputStreamClassInfo.reset) {
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProviderTest.java42 int count = in.read(buf);
44 assertEquals(-1, in.read());
60 int count = in.read(buf);
75 int count = in.read(buf);
77 assertEquals(-1, in.read());

Completed in 742 milliseconds

1234567891011>>