/frameworks/av/media/libstagefright/rtsp/ |
VideoSource.h | 57 virtual status_t read( function in class:android::VideoSource 64 // printf("VideoSource::read\n"); 78 // printf("VideoSource::read - returning buffer\n"); 79 // LOG(INFO)("VideoSource::read - returning buffer");
|
/frameworks/base/core/java/android/speech/srec/ |
MicrophoneInputStream.java | 57 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/base/core/java/com/android/internal/util/ |
BitwiseInputStream.java | 20 * An object that provides bitwise incremental read access to a byte array. 29 // The byte array being read from. 66 * Read some data and increment the current position. 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 " + 90 * Read data in bulk into a byte array and increment the current position. 92 * @param bits the amount of data to read 93 * @return newly allocated byte array of read dat [all...] |
/frameworks/base/core/jni/android/graphics/ |
Utils.cpp | 62 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { function in class:AssetStreamAdaptor 84 amount = fAsset->read(buffer, size); 86 SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount); 115 off64_t len = asset->read(data, size); 117 SkDebugf("---- copyAsset: asset->read(%d) returned %d\n", size, len);
|
/frameworks/base/libs/androidfw/ |
StreamingZipInflater.cpp | 114 mInflateState.avail_in = 0; // set when a chunk is read in 129 * a. if there is no input data to decode, read some into the input buffer 134 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { function in class:StreamingZipInflater 152 // if we don't have any data to decode, read some in. If we're working 192 // not try to read any further, so just wind things up. 211 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead)); 236 read(NULL, absoluteInputPosition); 238 read(NULL, absoluteInputPosition - mOutCurPosition);
|
/frameworks/base/media/java/android/media/videoeditor/ |
WaveformData.java | 79 * Read frame duration 83 audioGraphFileReadHandle.read(tempFrameDuration, 0, 4); 94 * Read count 98 audioGraphFileReadHandle.read(tempFramesCount, 0, 4); 111 mGains[i] = (short)audioGraphFileReadHandle.read();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifReader.java | 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader 73 if (buf.length == parser.read(buf)) { 76 Log.w(TAG, "Failed to read the compressed thumbnail"); 81 if (buf.length == parser.read(buf)) { 84 Log.w(TAG, "Failed to read the strip bytes");
|
/frameworks/native/libs/gui/ |
SensorEventQueue.cpp | 62 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { function in class:android::SensorEventQueue
|
/libcore/crypto/src/main/java/org/conscrypt/ |
ServerHello.java | 88 server_version[0] = (byte) in.read(); 89 server_version[1] = (byte) in.read(); 93 in.read(session_id, 0, size); 94 byte b0 = (byte) in.read(); 95 byte b1 = (byte) in.read(); 97 compression_method = (byte) in.read();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
MockDatagramChannel.java | 57 public int read(ByteBuffer arg0) throws IOException { method in class:MockDatagramChannel 61 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { method in class:MockDatagramChannel
|
MockSocketChannel.java | 53 public int read(ByteBuffer arg0) throws IOException { method in class:MockSocketChannel 57 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { method in class:MockSocketChannel
|
/libcore/luni/src/main/java/java/io/ |
LineNumberInputStream.java | 27 * When using {@code read}, line terminator sequences are always translated into 45 * {@code in}. Line numbers are counted for all data read from this stream. 81 * indicates how many bytes can be read before the mark is invalidated. 90 * the number of bytes that can be read from this stream before 112 * @return the byte read or -1 if the end of the filtered stream has been 119 public int read() throws IOException { method in class:LineNumberInputStream 122 currentChar = in.read(); 129 lastChar = in.read(); 143 * Returns the number of bytes actually read or -1 if no bytes have been 144 * read and the end of this stream has been reached 159 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:LineNumberInputStream [all...] |
LineNumberReader.java | 23 * time {@code '\r'}, {@code '\n'} or {@code "\r\n"} is read. The class has an 75 * indicates how many characters can be read before the mark is invalidated. 82 * the number of characters that can be read from this stream 108 * @return the character read or -1 if the end of the source reader has been 115 public int read() throws IOException { method in class:LineNumberReader 117 int ch = super.read(); 119 ch = super.read(); 137 * Returns the number of characters actually read or -1 if no characters 138 * have been read and the end of this reader has been reached. 148 public int read(char[] buffer, int offset, int count) throws IOException method in class:LineNumberReader 150 int read = super.read(buffer, offset, count); local [all...] |
/libcore/luni/src/main/java/java/sql/ |
DataTruncation.java | 36 private boolean read = false; field in class:DataTruncation 62 * @param read 63 * {@code true} if the truncation occurred on a read operation, 70 public DataTruncation(int index, boolean parameter, boolean read, 75 this.read = read; 91 * @param read 92 * true if the truncation occurred on a read operation, false 103 public DataTruncation(int index, boolean parameter, boolean read, 105 super(THE_REASON, read ? THE_SQLSTATE_READ : THE_SQLSTATE_WRITE [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
DatagramChannelTest.java | 30 dc.read(readOnly); 35 dc.read(new ByteBuffer[] { readOnly }); 40 dc.read(new ByteBuffer[] { readOnly }, 0, 1);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifReader.java | 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader 73 if (buf.length == parser.read(buf)) { 76 Log.w(TAG, "Failed to read the compressed thumbnail"); 81 if (buf.length == parser.read(buf)) { 84 Log.w(TAG, "Failed to read the strip bytes");
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
ImapMemoryLiteral.java | 40 int read = in.read(mData, pos, mData.length - pos); local 41 if (read < 0) { 44 pos += read;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifReader.java | 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader 73 if (buf.length == parser.read(buf)) { 76 Log.w(TAG, "Failed to read the compressed thumbnail"); 81 if (buf.length == parser.read(buf)) { 84 Log.w(TAG, "Failed to read the strip bytes");
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
ExifReader.java | 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader 73 if (buf.length == parser.read(buf)) { 76 Log.w(TAG, "Failed to read the compressed thumbnail"); 81 if (buf.length == parser.read(buf)) { 84 Log.w(TAG, "Failed to read the strip bytes");
|
/packages/apps/Mms/src/com/android/mms/exif/ |
ExifReader.java | 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader 73 if (buf.length == parser.read(buf)) { 76 Log.w(TAG, "Failed to read the compressed thumbnail"); 81 if (buf.length == parser.read(buf)) { 84 Log.w(TAG, "Failed to read the strip bytes");
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
MessageInfo.java | 27 public boolean read; field in class:MessageInfo 42 read = (in.readInt() != 0); 56 dest.writeInt(read ? 1 : 0); 64 read = isRead; 72 if (read != isRead) { 73 read = isRead; 81 return Objects.hashCode(read, starred, sender, senderEmail); 101 builder.append("[MessageInfo: read = "); 102 builder.append(read);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
CharSequenceReader.java | 23 * {@link Reader} implementation that can read from String, StringBuffer,
73 * Read a single character.
78 public int read() {
method in class:CharSequenceReader 87 * Read the sepcified number of characters into the array.
91 * @param length The maximum number of characters to read
92 * @return The number of characters read or -1 if there are
95 public int read(char[] array, int offset, int length) {
method in class:CharSequenceReader 108 int c = read();
|
ProxyInputStream.java | 30 * methods being called, such as read(byte[]) to read(byte[], int, int).
48 * Invokes the delegate's <code>read()</code> method.
49 * @return the byte read or -1 if the end of stream
52 public int read() throws IOException {
method in class:ProxyInputStream 53 return in.read();
57 * Invokes the delegate's <code>read(byte[])</code> method.
58 * @param bts the buffer to read the bytes into
59 * @return the number of bytes read or -1 if the end of stream
62 public int read(byte[] bts) throws IOException { method in class:ProxyInputStream 74 public int read(byte[] bts, int st, int end) throws IOException { method in class:ProxyInputStream [all...] |
ProxyReader.java | 30 * methods being called, such as read(char[]) to read(char[], int, int).
48 * Invokes the delegate's <code>read()</code> method.
49 * @return the character read or -1 if the end of stream
52 public int read() throws IOException {
method in class:ProxyReader 53 return in.read();
57 * Invokes the delegate's <code>read(char[])</code> method.
58 * @param chr the buffer to read the characters into
59 * @return the number of characters read or -1 if the end of stream
62 public int read(char[] chr) throws IOException { method in class:ProxyReader 74 public int read(char[] chr, int st, int end) throws IOException { method in class:ProxyReader [all...] |
TeeInputStream.java | 24 * InputStream proxy that transparently writes a copy of all bytes read
40 * The output stream that will receive a copy of all bytes read from the
53 * and copies all read bytes to the given {@link OutputStream}. The given
57 * @param branch output stream that will receive a copy of all bytes read
65 * and copies all read bytes to the given {@link OutputStream}. The given
70 * @param branch output stream that will receive a copy of all bytes read
103 * @throws IOException if the stream could not be read (or written)
105 public int read() throws IOException {
method in class:TeeInputStream 106 int ch = super.read();
114 * Reads bytes from the proxied input stream and writes the read bytes 123 public int read(byte[] bts, int st, int end) throws IOException { method in class:TeeInputStream 139 public int read(byte[] bts) throws IOException { method in class:TeeInputStream [all...] |