/frameworks/av/media/mtp/ |
MtpDevHandle.cpp | 43 int MtpDevHandle::read(void *data, size_t len) { function in class:android::MtpDevHandle 44 return ::read(mFd, data, len);
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
TableHelper.java | 30 void read(); method in interface:TableHelper.CursorReader
|
/frameworks/base/core/java/android/app/backup/ |
BackupDataInputStream.java | 28 * 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> 52 * Read one byte of entity data from the stream, returning it as 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 68 * Read up to {@code size} bytes of data into a byte array, beginning at position 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 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/android/content/pm/ |
LimitedLengthInputStream.java | 9 * 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);
|
MacAuthenticatedInputStream.java | 62 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);
|
/frameworks/base/core/java/com/android/internal/util/ |
SizedInputStream.java | 26 * 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/jni/soundpool/ |
SoundPoolThread.cpp | 38 const SoundPoolMsg SoundPoolThread::read() { function in class:android::SoundPoolThread 84 SoundPoolMsg msg = read();
|
/frameworks/base/obex/javax/obex/ |
ObexPacket.java | 35 * @param is the input stream to read from. 36 * @return the OBEX packet read. 37 * @throws IOException if an IO exception occurs during read. 39 public static ObexPacket read(InputStream is) throws IOException { method in class:ObexPacket 40 int headerId = is.read(); 41 return read(headerId, is); 45 * Read the remainder of an OBEX packet, with a specified headerId. 46 * @param headerId the headerId already read from the stream. 47 * @param is the stream to read from, assuming 1 byte have already been read 51 public static ObexPacket read(int headerId, InputStream is) throws IOException { method in class:ObexPacket [all...] |
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/ |
RemoteInputStream.java | 24 int read() throws IOException; method in interface:RemoteInputStream 26 byte[] read(int off, int len) throws IOException; method in interface:RemoteInputStream
|
/frameworks/rs/ |
rsFifoSocket.cpp | 76 size_t FifoSocket::read(void *data, size_t bytes) { function in class:android::renderscript::FifoSocket 81 //ALOGE("read %p %i", data, bytes); 84 //ALOGE("read ret %i bytes %i", ret, bytes);
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
RingBuffer.cpp | 68 ssize_t RingBuffer::read(sensors_event_t *ev, size_t size) { function in class:android::RingBuffer
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
BrokenInputStream.java | 24 * IOException after having read a specified number of bytes. Used for 41 public int read() throws IOException { method in class:BrokenInputStream 47 return stream.read();
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldStringBufferInputStreamTest.java | 28 // Test for method int java.io.StringBufferInputStream.read() 31 sbis.read(buf, 0, -1); 37 sbis.read(buf, -1, 1); 43 sbis.read(buf, 10, 1);
|
OldStringReaderTest.java | 42 sr.read(buf, 0, -1); 48 sr.read(buf, -1, 1); 54 sr.read(buf, 1, testString.length());
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherInputStreamTest.java | 33 * javax.crypto.CipherInputStream#read(byte[] b, int off, int len) 39 stream.read(new byte[1], 1, 0);
|
/libcore/ojluni/src/main/java/java/io/ |
ByteArrayInputStream.java | 31 * may be read from the stream. An internal 33 * be supplied by the <code>read</code> method. 50 * only bytes that can ever be read from the 52 * the next byte to be read. 57 * The index of the next character to read from the input stream buffer. 60 * The next byte to be read from the input stream buffer 87 * can ever be read from the input stream buffer. 120 * @param offset the offset in the buffer of the first byte to read. 121 * @param length the maximum number of bytes to read from the buffer. 137 * This <code>read</code> metho 143 public synchronized int read() { method in class:ByteArrayInputStream 176 public synchronized int read(byte b[], int off, int len) { method in class:ByteArrayInputStream [all...] |
FilterInputStream.java | 75 * simply performs <code>in.read()</code> and returns the result. 82 public int read() throws IOException { method in class:FilterInputStream 83 return in.read(); 92 * <code>read(b, 0, b.length)</code> and returns 94 * <i>not</i> do <code>in.read(b)</code> instead; 99 * @param b the buffer into which the data is read. 100 * @return the total number of bytes read into the buffer, or 104 * @see java.io.FilterInputStream#read(byte[], int, int) 106 public int read(byte b[]) throws IOException { method in class:FilterInputStream 107 return read(b, 0, b.length) 132 public int read(byte b[], int off, int len) throws IOException { method in class:FilterInputStream [all...] |
FilterReader.java | 64 public int read() throws IOException { method in class:FilterReader 65 return in.read(); 73 public int read(char cbuf[], int off, int len) throws IOException { method in class:FilterReader 74 return in.read(cbuf, off, len); 87 * Tells whether this stream is ready to be read.
|
InputStreamReader.java | 40 * <p> Each invocation of one of an InputStreamReader's read() methods may 41 * cause one or more bytes to be read from the underlying byte-input stream. 43 * be read ahead from the underlying stream than are necessary to satisfy the 44 * current read operation. 162 * @return The character read, or -1 if the end of the stream has been 167 public int read() throws IOException { method in class:InputStreamReader 168 return sd.read(); 176 * @param length Maximum number of characters to read 178 * @return The number of characters read, or -1 if the end of the 183 public int read(char cbuf[], int offset, int length) throws IOException method in class:InputStreamReader [all...] |
StringBufferInputStream.java | 30 * which the bytes read are supplied by the contents of a string. 31 * Applications can also read bytes from a byte array by using a 49 * The string from which bytes are read. 54 * The index of the next character to read from the input stream buffer. 68 * Creates a string input stream to read data from the specified string. 84 * The <code>read</code> method of 91 public synchronized int read() { method in class:StringBufferInputStream 99 * The <code>read</code> method of 104 * @param b the buffer into which the data is read. 106 * @param len the maximum number of bytes read 111 public synchronized int read(byte b[], int off, int len) { method in class:StringBufferInputStream [all...] |
/libcore/ojluni/src/main/java/java/nio/channels/ |
AsynchronousSocketChannel.java | 55 * They support concurrent reading and writing, though at most one read operation 57 * If a thread initiates a read operation before a previous read operation has 96 * <p> The {@link #read(ByteBuffer,long,TimeUnit,Object,CompletionHandler) read} 99 * a read or write operation. If the timeout elapses before an operation completes 103 * cannot guarantee that bytes have not been read from the channel then it puts 105 * attempt to initiate a {@code read} operation causes an unspecified runtime 227 * The effect on an outstanding read operation is system dependent and 229 * socket receive buffer that has not been read, or data arrives subsequently 401 public abstract <A> void read(ByteBuffer dst, method in class:AsynchronousSocketChannel 416 public final <A> void read(ByteBuffer dst, method in class:AsynchronousSocketChannel 420 read(dst, 0L, TimeUnit.MILLISECONDS, attachment, handler); method 430 public abstract Future<Integer> read(ByteBuffer dst); method in class:AsynchronousSocketChannel 509 public abstract <A> void read(ByteBuffer[] dsts, method in class:AsynchronousSocketChannel [all...] |
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
UserDefinedFileAttributeView.java | 45 * {@link #read read} and {@link #write write} methods to read the value into 62 * java.nio.file.Files#getAttribute getAttribute} method may be used to read 94 * denies read access to the file. 115 * denies read access to the file. 120 * Read the value of a user-defined attribute into a buffer. 124 * the buffer is insufficient to read the complete attribute value. The 132 * Suppose we want to read a file's MIME type that is stored as a user-defined 139 * view.read(name, buf) 165 int read(String name, ByteBuffer dst) throws IOException; method in interface:UserDefinedFileAttributeView [all...] |
/libcore/ojluni/src/main/java/java/security/ |
DigestInputStream.java | 42 * {@link #read() read} methods. 46 * {@code read} methods 112 * input stream, blocking until the byte is actually read. If the 115 * with this stream, passing it the byte read. 117 * @return the byte read. 123 public int read() throws IOException { method in class:DigestInputStream 124 int ch = in.read(); 137 * read. If the digest function is on (see 142 * @param b the array into which the data is read 160 public int read(byte[] b, int off, int len) throws IOException { method in class:DigestInputStream [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
DataTruncation.java | 35 * <P>The SQLstate for a <code>DataTruncation</code> during read is <code>01004</code>. 44 * to 01004 when <code>read</code> is set to <code>true</code> and 22001 45 * when <code>read</code> is set to <code>false</code>, 56 * @param read true if a read was truncated 61 boolean read, int dataSize, 63 super("Data truncation", read == true?"01004":"22001"); 66 this.read = read; 75 * to 01004 when <code>read</code> is set to <code>true</code> and 2200 171 private boolean read; field in class:DataTruncation [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
CheckedInputStream.java | 33 * An input stream that also maintains a checksum of the data being read. 55 * @return the byte read, or -1 if the end of the stream is reached. 58 public int read() throws IOException { method in class:CheckedInputStream 59 int b = in.read(); 69 * bytes are read and <code>0</code> is returned. 70 * @param buf the buffer into which the data is read 72 * @param len the maximum number of bytes read 73 * @return the actual number of bytes read, or -1 if the end 81 public int read(byte[] buf, int off, int len) throws IOException { method in class:CheckedInputStream 82 len = in.read(buf, off, len) [all...] |