Searched refs:read (Results 26 - 50 of 251) sorted by relevance

1234567891011

/packages/services/Car/car-support-lib/src/android/support/car/media/
H A DCarAudioRecord.java62 * @return Number of bytes read. Returns {@link android.media.AudioRecord#ERROR} on error.
65 public abstract int read(byte[] audioData, int offsetInBytes, int sizeInBytes) method in class:CarAudioRecord
H A DCarAudioRecordEmbedded.java82 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) method in class:CarAudioRecordEmbedded
84 return mAudioRecord.read(audioData, offsetInBytes, sizeInBytes);
/packages/apps/Camera2/src/com/android/camera/exif/
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);
H A DExifReader.java44 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/Dialer/java/com/android/dialer/callcomposer/camera/exif/
H A DCountedDataInputStream.java45 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream
46 int r = in.read(b);
52 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream
53 int r = in.read(b, off, len);
59 public int read() throws IOException { method in class:CountedDataInputStream
60 int r = in.read();
86 int r = read(b, off, len);
H A DExifReader.java38 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, IOException { method in class:ExifReader
66 if (buf.length != parser.read(buf)) {
67 LogUtil.i("ExifReader.read", "Failed to read the compressed thumbnail");
72 if (buf.length != parser.read(buf)) {
73 LogUtil.i("ExifReader.read", "Failed to read the strip bytes");
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
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);
H A DExifReader.java44 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/Messaging/src/com/android/messaging/util/exif/
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();
85 int r = read(b, off, len);
H A DExifReader.java45 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/UnifiedEmail/src/org/apache/commons/io/
H A DEndianUtils.java109 // ========================================== Swapping read/write routines
128 * @return the value read
141 * @return the value read
167 * @return the value read
182 * @return the value read
217 * @return the value read
249 * @return the value read
271 * @return the value read
295 * @return the value just read
301 return (short)( ( ( read( inpu
478 private static int read(InputStream input) method in class:EndianUtils
[all...]
/packages/apps/Gallery2/jni_jpegstream/src/
H A Dinputstream_wrapper.h27 virtual int32_t read(int32_t length, int32_t offset);
31 // Call this in JNI_OnLoad to cache read/skip method IDs
H A Djpeg_reader.h38 * be set to the dimensions of the bitmap to be read.
40 * ***This method will result in the jpeg file header being read
53 * ***This method will result in bytes being read from the InputStream***
58 int32_t read(int8_t * bytes, int32_t offset, int32_t count);
61 * Updates the environment pointer. Call this before read or reset
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
H A DNullInputStream.java38 * reads a byte and leaves the array unchanged in the read
119 * Return the number of bytes that can be read.
121 * @return The number of bytes that can be read.
178 * @throws IOException if trying to read past the end of file.
180 public int read() throws IOException { method in class:NullInputStream
194 * @param bytes The byte array to read into
195 * @return The number of bytes read or <code>-1</code>
200 * @throws IOException if trying to read past the end of file.
202 public int read(byte[] bytes) throws IOException { method in class:NullInputStream
203 return read(byte
219 public int read(byte[] bytes, int offset, int length) throws IOException { method in class:NullInputStream
[all...]
H A DNullReader.java38 * reads a character and leaves the array unchanged in the read
162 * @throws IOException if trying to read past the end of file.
164 public int read() throws IOException { method in class:NullReader
178 * @param chars The character array to read into
179 * @return The number of characters read or <code>-1</code>
184 * @throws IOException if trying to read past the end of file.
186 public int read(char[] chars) throws IOException { method in class:NullReader
187 return read(chars, 0, chars.length);
193 * @param chars The character array to read into.
195 * @param length The number of characters to read
203 public int read(char[] chars, int offset, int length) throws IOException { method in class:NullReader
[all...]
H A DCharSequenceReader.java23 * {@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();
H A DSwappedDataInputStream.java28 * When read, values will be changed from little endian to big
43 * @param input InputStream to read from
52 * @return the true if the byte read is zero, otherwise false
63 * Invokes the delegate's <code>read()</code> method.
64 * @return the byte read or -1 if the end of stream
71 return (byte)in.read();
76 * @return the byte read or -1 if the end of stream
88 * @return the read long
100 * @return the read long
111 * Invokes the delegate's <code>read(byt
[all...]
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
H A DCachedInputStream.java37 private int mPos = 0; // current read position inside the chunk buffers
39 private int mMarkPos = -1; // marked read position in chunk buffers
42 private byte[] tmp = new byte[1]; // tmp buffer used in read()
94 public int read() throws IOException { method in class:CachedInputStream
96 int r = read(tmp, 0, 1);
133 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:CachedInputStream
138 int reads = in.read(buffer, offset, count);
158 int reads = in.read(buf, indexInBuf, toRead);
167 reads = in.read(buffer, offset, count);
183 private int copyMarkedBuffer(byte[] buffer, int offset, int read) { argument
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
H A DJPEGInputStream.java91 public int read() throws IOException { method in class:JPEGInputStream
92 read(mTmpBuffer, 0, 1);
97 public int read(byte[] buffer) throws IOException { method in class:JPEGInputStream
98 return read(buffer, 0, buffer.length);
102 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:JPEGInputStream
172 throw new IllegalArgumentException("Bad arguments to read");
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationViewState.java72 return (mvs != null && !mvs.read);
75 public void setReadState(Message m, boolean read) { argument
80 mvs.read = read;
129 * {@link #setReadState(Message, boolean)}. Returns an empty set for read conversations.
136 if (mvs != null && !mvs.read) {
196 public boolean read; field in class:ConversationViewState.MessageViewState
213 dest.writeInt(read ? 1 : 0);
219 read = (source.readInt() != 0);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
H A DEOLConvertingInputStream.java60 * @param in the <code>InputStream</code> to read from.
71 * @param _in the <code>InputStream</code> to read from.
93 int b = in.read();
111 * @see java.io.InputStream#read()
113 public int read() throws IOException { method in class:EOLConvertingInputStream
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
H A DBase64InputStream.java58 public int read() throws IOException { method in class:Base64InputStream
82 switch (i = s.read()) {
/packages/apps/Camera2/src/com/android/camera/util/
H A DFileUtil.java53 * @param file The file to read
55 * @throws java.io.IOException if the content of the {@code File} could not be read
64 offset += stream.read(data, offset, length - offset);
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DIOUtils.java49 while ((r = from.read(buf)) != -1) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DMD5Calculator.java36 while ((byteCount = in.read(bytes)) > 0) {

Completed in 3311 milliseconds

1234567891011