/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | EndianUtils.java | 301 return (short)( ( ( read( input ) & 0xff ) << 0 ) + in readSwappedShort() 302 ( ( read( input ) & 0xff ) << 8 ) ); in readSwappedShort() 315 int value1 = read( input ); in readSwappedUnsignedShort() 316 int value2 = read( input ); in readSwappedUnsignedShort() 348 int value1 = read( input ); in readSwappedInteger() 349 int value2 = read( input ); in readSwappedInteger() 350 int value3 = read( input ); in readSwappedInteger() 351 int value4 = read( input ); in readSwappedInteger() 369 int value1 = read( input ); in readSwappedUnsignedInteger() 370 int value2 = read( input ); in readSwappedUnsignedInteger() [all …]
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | CachedInputStream.java | 94 public int read() throws IOException { in read() method in CachedInputStream 96 int r = read(tmp, 0, 1); in read() 133 public int read(byte[] buffer, int offset, int count) throws IOException { in read() method in CachedInputStream 138 int reads = in.read(buffer, offset, count); in read() 158 int reads = in.read(buf, indexInBuf, toRead); in read() 167 reads = in.read(buffer, offset, count); in read() 183 private int copyMarkedBuffer(byte[] buffer, int offset, int read) { in copyMarkedBuffer() argument 185 while (read > 0 && mPos < mCount) { in copyMarkedBuffer() 194 int toRead = read > leftInBuffer ? leftInBuffer : read; in copyMarkedBuffer() 197 read -= toRead; in copyMarkedBuffer() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapMessage.java | 362 paramCount = is.read(); in readMessage() 420 private static void read(InputStream is, byte[] buffer) throws IOException { in read() method in SapMessage 425 tmpBytesRead = is.read(buffer, bytesRead, bytesToRead-bytesRead); in read() 441 is.read(); // Do not use the InputStream.skip as it fails for some stream types in skip() 461 paramId = is.read(); in parseParameters() 462 is.read(); // Skip the reserved byte in parseParameters() 463 paramLength = is.read(); in parseParameters() 464 paramLength = paramLength << 8 | is.read(); in parseParameters() 479 mMaxMsgSize = is.read(); in parseParameters() 480 mMaxMsgSize = mMaxMsgSize << 8 | is.read(); in parseParameters() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | MimeBoundaryInputStream.java | 66 int b = read(); in MimeBoundaryInputStream() 109 while (read() != -1) { in consume() 116 public int read() throws IOException { in read() method in MimeBoundaryInputStream 128 int b1 = s.read(); in read() 129 int b2 = s.read(); in read() 150 int b = s.read(); in matchBoundary() 165 int prev = s.read(); in matchBoundary() 166 int curr = s.read(); in matchBoundary() 173 } while ((curr = s.read()) != -1); in matchBoundary()
|
D | RootInputStream.java | 73 public int read() throws IOException { in read() method in RootInputStream 78 int b = is.read(); in read() 90 public int read(byte[] b, int off, int len) throws IOException { in read() method in RootInputStream 95 int n = is.read(b, off, len); in read() 108 public int read(byte[] b) throws IOException { in read() method in RootInputStream 109 return read(b, 0, b.length); in read()
|
D | CloseShieldInputStream.java | 50 public int read() throws IOException { in read() method in CloseShieldInputStream 52 return is.read(); in read() 107 public int read(byte b[]) throws IOException { in read() method in CloseShieldInputStream 109 return is.read(b); in read() 115 public int read(byte b[], int off, int len) throws IOException { in read() method in CloseShieldInputStream 117 return is.read(b, off, len); in read()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | PeekableInputStream.java | 37 public int read() throws IOException { in read() method in PeekableInputStream 39 return mIn.read(); in read() 48 mPeekedByte = read(); in peek() 55 public int read(byte[] b, int offset, int length) throws IOException { in read() method in PeekableInputStream 57 return mIn.read(b, offset, length); in read() 61 int r = mIn.read(b, offset + 1, length - 1); in read() 71 public int read(byte[] b) throws IOException { in read() method in PeekableInputStream 72 return read(b, 0, b.length); in read()
|
D | FixedLengthInputStream.java | 43 public int read() throws IOException { in read() method in FixedLengthInputStream 46 return mIn.read(); in read() 53 public int read(byte[] b, int offset, int length) throws IOException { in read() method in FixedLengthInputStream 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); in read() 68 public int read(byte[] b) throws IOException { in read() method in FixedLengthInputStream 69 return read(b, 0, b.length); in read()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | PeekableInputStream.java | 37 public int read() throws IOException { in read() method in PeekableInputStream 39 return mIn.read(); in read() 48 mPeekedByte = read(); in peek() 55 public int read(byte[] b, int offset, int length) throws IOException { in read() method in PeekableInputStream 57 return mIn.read(b, offset, length); in read() 61 int r = mIn.read(b, offset + 1, length - 1); in read() 71 public int read(byte[] b) throws IOException { in read() method in PeekableInputStream 72 return read(b, 0, b.length); in read()
|
D | FixedLengthInputStream.java | 42 public int read() throws IOException { in read() method in FixedLengthInputStream 45 return mIn.read(); in read() 52 public int read(byte[] b, int offset, int length) throws IOException { in read() method in FixedLengthInputStream 54 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); in read() 67 public int read(byte[] b) throws IOException { in read() method in FixedLengthInputStream 68 return read(b, 0, b.length); in read()
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | PduParser.java | 899 pduDataStream.read(partData, 0, dataLength); in parseParts() 966 int temp = pduDataStream.read(); in parseUnsignedInt() 974 temp = pduDataStream.read(); in parseUnsignedInt() 1002 int temp = pduDataStream.read(); in parseValueLength() 1030 int temp = pduDataStream.read(); in parseEncodedStringValue() 1089 int temp = pduDataStream.read(); in parseWapString() 1192 int temp = pduDataStream.read(); in getWapString() 1206 temp = pduDataStream.read(); in getWapString() 1225 int temp = pduDataStream.read(); in extractByteValue() 1245 int temp = pduDataStream.read(); in parseShortInteger() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduParser.java | 933 pduDataStream.read(partData, 0, dataLength); in parseParts() 1000 int temp = pduDataStream.read(); in parseUnsignedInt() 1008 temp = pduDataStream.read(); in parseUnsignedInt() 1036 int temp = pduDataStream.read(); in parseValueLength() 1065 int temp = pduDataStream.read(); in parseEncodedStringValue() 1124 int temp = pduDataStream.read(); in parseWapString() 1229 int temp = pduDataStream.read(); in getWapString() 1243 temp = pduDataStream.read(); in getWapString() 1262 int temp = pduDataStream.read(); in extractByteValue() 1282 int temp = pduDataStream.read(); in parseShortInteger() [all …]
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
D | WaveHeader.java | 181 public int read(InputStream in) throws IOException { in read() method in WaveHeader 212 if (id.charAt(i) != in.read()) throw new IOException( id + " tag not present"); in readId() 217 return in.read() | (in.read() << 8) | (in.read() << 16) | (in.read() << 24); in readInt() 221 return (short)(in.read() | (in.read() << 8)); in readShort()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
D | CountedDataInputStream.java | 45 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream 46 int r = in.read(b); in read() 52 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream 53 int r = in.read(b, off, len); in read() 59 public int read() throws IOException { in read() method in CountedDataInputStream 60 int r = in.read(); in read() 86 int r = read(b, off, len); in readOrThrow()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationViewState.java | 72 return (mvs != null && !mvs.read); in isUnread() 75 public void setReadState(Message m, boolean read) { in setReadState() argument 80 mvs.read = read; in setReadState() 136 if (mvs != null && !mvs.read) { in getUnreadMessageUris() 196 public boolean read; field in ConversationViewState.MessageViewState 213 dest.writeInt(read ? 1 : 0); in writeToParcel() 219 read = (source.readInt() != 0); in MessageViewState()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream 45 int r = in.read(b); in read() 51 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream 52 int r = in.read(b, off, len); in read() 58 public int read() throws IOException { in read() method in CountedDataInputStream 59 int r = in.read(); in read() 83 int r = read(b, off, len); in readOrThrow()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream 45 int r = in.read(b); in read() 51 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream 52 int r = in.read(b, off, len); in read() 58 public int read() throws IOException { in read() method in CountedDataInputStream 59 int r = in.read(); in read() 85 int r = read(b, off, len); in readOrThrow()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream 45 int r = in.read(b); in read() 51 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream 52 int r = in.read(b, off, len); in read() 58 public int read() throws IOException { in read() method in CountedDataInputStream 59 int r = in.read(); in read() 83 int r = read(b, off, len); in readOrThrow()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ReadWriteDraftMessageActionTest.java | 150 final Action read = calls.get(0).action; in testReadDraft() local 152 final Object result = read.executeAction(); in testReadDraft() 209 final Action read = calls.get(0).action; in testReadDraftForNewConversation() local 211 final Object result = read.executeAction(); in testReadDraftForNewConversation() 262 final Action read = calls.get(1).action; in testWriteAndReadDraft() local 264 result = read.executeAction(); in testWriteAndReadDraft() 381 final int read = inputStream.read(buffer); in testBugleDatabaseDraftOperations() local 382 assertEquals(read, text.getBytes().length); in testBugleDatabaseDraftOperations() 433 final int read = inputStream.read(buffer); in testBugleDatabaseDraftOperations() local 434 assertEquals(read, moreText.getBytes().length); in testBugleDatabaseDraftOperations()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
D | AutoCloseInputStream.java | 74 public int read() throws IOException { in read() method in AutoCloseInputStream 75 int n = in.read(); in read() 91 public int read(byte[] b) throws IOException { in read() method in AutoCloseInputStream 92 int n = in.read(b); in read() 110 public int read(byte[] b, int off, int len) throws IOException { in read() method in AutoCloseInputStream 111 int n = in.read(b, off, len); in read()
|
D | ProxyInputStream.java | 52 public int read() throws IOException { in read() method in ProxyInputStream 53 return in.read(); in read() 62 public int read(byte[] bts) throws IOException { in read() method in ProxyInputStream 63 return in.read(bts); in read() 74 public int read(byte[] bts, int st, int end) throws IOException { in read() method in ProxyInputStream 75 return in.read(bts, st, end); in read()
|
D | ProxyReader.java | 52 public int read() throws IOException { in read() method in ProxyReader 53 return in.read(); in read() 62 public int read(char[] chr) throws IOException { in read() method in ProxyReader 63 return in.read(chr); in read() 74 public int read(char[] chr, int st, int end) throws IOException { in read() method in ProxyReader 75 return in.read(chr, st, end); in read()
|
D | CountingInputStream.java | 56 public int read(byte[] b) throws IOException { in read() method in CountingInputStream 57 int found = super.read(b); in read() 73 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountingInputStream 74 int found = super.read(b, off, len); in read() 87 public int read() throws IOException { in read() method in CountingInputStream 88 int found = super.read(); in read()
|
D | TeeInputStream.java | 105 public int read() throws IOException { in read() method in TeeInputStream 106 int ch = super.read(); in read() 123 public int read(byte[] bts, int st, int end) throws IOException { in read() method in TeeInputStream 124 int n = super.read(bts, st, end); in read() 139 public int read(byte[] bts) throws IOException { in read() method in TeeInputStream 140 int n = super.read(bts); in read()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
D | PartialInputStream.java | 39 public int read() throws IOException { in read() method in PartialInputStream 41 return super.read(); in read() 46 public int read(byte b[]) throws IOException { in read() method in PartialInputStream 47 return read(b, 0, b.length); in read() 50 public int read(byte b[], int off, int len) throws IOException { in read() method in PartialInputStream 52 …return super.read(b, off, len); //To change body of overridden methods use File | Settings | Fi… in read()
|