/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | 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");
|
H A D | ByteBufferInputStream.java | 31 public int read() { method in class:ByteBufferInputStream 39 public int read(byte[] bytes, int off, int len) { method in class:ByteBufferInputStream
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | 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");
|
H A D | ByteBufferInputStream.java | 31 public int read() { method in class:ByteBufferInputStream 39 public int read(byte[] bytes, int off, int len) { method in class:ByteBufferInputStream
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
H A D | 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");
|
H A D | ByteBufferInputStream.java | 31 public int read() { method in class:ByteBufferInputStream 39 public int read(byte[] bytes, int off, int len) { method in class:ByteBufferInputStream
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
H A D | ClosedInputStream.java | 22 * Closed input stream. This stream returns -1 to all attempts to read 44 public int read() { method in class:ClosedInputStream
|
H A D | AutoCloseInputStream.java | 32 * releasing resources once the last byte has been read) do not do that. 52 * This method is automatically called by the read methods when the end 72 * @throws IOException if the stream could not be read or closed 74 public int read() throws IOException { method in class:AutoCloseInputStream 75 int n = in.read(); 88 * @return number of bytes read, or -1 if no more bytes are available 89 * @throws IOException if the stream could not be read or closed 91 public int read(byte[] b) throws IOException { method in class:AutoCloseInputStream 92 int n = in.read(b); 106 * @param len maximum number of bytes to read 110 public int read(byte[] b, int off, int len) throws IOException { method in class:AutoCloseInputStream [all...] |
H A D | DemuxInputStream.java | 66 * @return the byte read from stream 70 public int read() method in class:DemuxInputStream 76 return input.read();
|
H A D | 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 byte 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...] |
H A D | CharSequenceReader.java | 23 * {@link Reader} implementation that can read from String, StringBuffer, 78 public int read() { method in class:CharSequenceReader 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();
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | FakeInputStream.java | 33 public int read() { method in class:FakeInputStream 44 public int read(byte[] buffer, int offset, int length) { method in class:FakeInputStream
|
/packages/apps/Email/provider_src/com/android/email/ |
H A D | FixedLengthInputStream.java | 23 * A filtering InputStream that stops allowing reads after the given length has been read. This 24 * is used to allow a client to read directly from an underlying protocol stream without reading 25 * past where the protocol handler intended the client to read. 43 public int read() throws IOException { method in class:FixedLengthInputStream 46 return mIn.read(); 53 public int read(byte[] b, int offset, int length) throws IOException { method in class:FixedLengthInputStream 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); 68 public int read(byte[] b) throws IOException { method in class:FixedLengthInputStream 69 return read(b, 0, b.length);
|
H A D | PeekableInputStream.java | 25 * and a subsequent read will still return the peeked byte. 37 public int read() throws IOException { method in class:PeekableInputStream 39 return mIn.read(); 48 mPeekedByte = read(); 55 public int read(byte[] b, int offset, int length) throws IOException { method in class:PeekableInputStream 57 return mIn.read(b, offset, length); 61 int r = mIn.read(b, offset + 1, length - 1); 71 public int read(byte[] b) throws IOException { method in class:PeekableInputStream 72 return read(b, 0, b.length);
|
/packages/apps/Exchange/src/com/android/exchange/ |
H A D | MockParserStream.java | 40 public int read() throws IOException { method in class:MockParserStream
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
H A D | inputstream_wrapper.cpp | 23 int32_t InputStreamWrapper::read(int32_t length, int32_t offset) { function in class:InputStreamWrapper 58 // Acts like a read call that returns the End Of Image marker for a JPEG file.
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
H A D | ByteBufferInputStream.java | 31 public int read() { method in class:ByteBufferInputStream 39 public int read(byte[] bytes, int off, int len) { method in class:ByteBufferInputStream
|
H A D | ExifReader.java | 45 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader 74 if (buf.length == parser.read(buf)) { 77 Log.w(TAG, "Failed to read the compressed thumbnail"); 82 if (buf.length == parser.read(buf)) { 85 Log.w(TAG, "Failed to read the strip bytes");
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
H A D | MicrophoneInputStream.java | 76 public int read() throws IOException { method in class:MicrophoneInputStream 77 throw new UnsupportedOperationException("Single byte read."); 81 public int read(byte[] b, int offset, int length) throws IOException { method in class:MicrophoneInputStream 84 final int ret = mAudioRecord.read(b, offset, length); 87 throw new IOException("AudioRecord.read returned: " + ret);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
H A D | RootInputStream.java | 44 * @param in the stream to read from. 52 * (the number of <code>\r\n</code> read so far plus 1). 62 * call to {@link #read()}, {@link #read(byte[]) or 63 * {@link #read(byte[], int, int)} will return 71 * @see java.io.InputStream#read() 73 public int read() throws IOException { method in class:RootInputStream 78 int b = is.read(); 88 * @see java.io.InputStream#read(byte[], int, int) 90 public int read(byt method in class:RootInputStream 108 public int read(byte[] b) throws IOException { method in class:RootInputStream [all...] |
/packages/services/Telephony/src/com/android/phone/common/mail/ |
H A D | PeekableInputStream.java | 25 * and a subsequent read will still return the peeked byte. 37 public int read() throws IOException { method in class:PeekableInputStream 39 return mIn.read(); 48 mPeekedByte = read(); 55 public int read(byte[] b, int offset, int length) throws IOException { method in class:PeekableInputStream 57 return mIn.read(b, offset, length); 61 int r = mIn.read(b, offset + 1, length - 1); 71 public int read(byte[] b) throws IOException { method in class:PeekableInputStream 72 return read(b, 0, b.length);
|
/packages/services/Telephony/src/org/apache/james/mime4j/ |
H A D | RootInputStream.java | 44 * @param in the stream to read from. 52 * (the number of <code>\r\n</code> read so far plus 1). 62 * call to {@link #read()}, {@link #read(byte[]) or 63 * {@link #read(byte[], int, int)} will return 71 * @see java.io.InputStream#read() 73 public int read() throws IOException { method in class:RootInputStream 78 int b = is.read(); 88 * @see java.io.InputStream#read(byte[], int, int) 90 public int read(byt method in class:RootInputStream 108 public int read(byte[] b) throws IOException { method in class:RootInputStream [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | LoggingInputStream.java | 54 * Collect chars as read, and log them when EOL reached. 57 public int read() throws IOException { method in class:LoggingInputStream 58 int oneByte = super.read(); 64 * Collect chars as read, and log them when EOL reached. 67 public int read(byte[] b, int offset, int length) throws IOException { method in class:LoggingInputStream 68 int bytesRead = super.read(b, offset, length);
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | Base64InputStream.java | 24 * Without the included changes, the final bytes of the input stream will be read here and thrown
28 * the remainder of the stream untouched (to be read by the Parser that created the
69 public int read() throws IOException {
method in class:Base64InputStream 93 switch (i = s.read()) {
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
H A D | EmailContentSetupUtils.java | 88 // Default starred, read, (backword compatibility) 96 boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) { 102 message.mFlagRead = read; 95 setupMessage(String name, long accountId, long mailboxId, boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) argument
|