/packages/services/Car/car-support-lib/src/android/support/car/media/ |
H A D | CarAudioRecord.java | 62 * @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 D | CarAudioRecordEmbedded.java | 82 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 D | CountedDataInputStream.java | 44 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 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");
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
H A D | CountedDataInputStream.java | 45 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 D | ExifReader.java | 38 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 D | CountedDataInputStream.java | 44 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 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");
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
H A D | CountedDataInputStream.java | 44 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 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/UnifiedEmail/src/org/apache/commons/io/ |
H A D | EndianUtils.java | 109 // ========================================== 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 D | inputstream_wrapper.h | 27 virtual int32_t read(int32_t length, int32_t offset); 31 // Call this in JNI_OnLoad to cache read/skip method IDs
|
H A D | jpeg_reader.h | 38 * 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 D | NullInputStream.java | 38 * 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 D | NullReader.java | 38 * 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 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();
|
H A D | SwappedDataInputStream.java | 28 * 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 D | CachedInputStream.java | 37 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 D | JPEGInputStream.java | 91 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 D | ConversationViewState.java | 72 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 D | EOLConvertingInputStream.java | 60 * @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 D | Base64InputStream.java | 58 public int read() throws IOException { method in class:Base64InputStream 82 switch (i = s.read()) {
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | FileUtil.java | 53 * @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 D | IOUtils.java | 49 while ((r = from.read(buf)) != -1) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | MD5Calculator.java | 36 while ((byteCount = in.read(bytes)) > 0) {
|