/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
H A D | PositionInputStream.java | 28 private final InputStream inputStream;
field in class:PositionInputStream 32 public PositionInputStream(InputStream inputStream) {
argument 33 this.inputStream = inputStream;
41 return inputStream.available();
45 int b = inputStream.read();
52 inputStream.close();
56 inputStream.reset();
61 return inputStream.markSupported();
65 inputStream [all...] |
H A D | PartialInputStream.java | 29 public PartialInputStream(InputStream inputStream, long offset, long length) throws IOException {
argument 30 super(inputStream);
31 inputStream.skip(offset);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
H A D | ClassLoaderObjectInputStream.java | 44 * @param inputStream the InputStream to work on
49 ClassLoader classLoader, InputStream inputStream)
51 super(inputStream);
48 ClassLoaderObjectInputStream( ClassLoader classLoader, InputStream inputStream) argument
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | WallpaperHandler.java | 188 InputStream inputStream = null; 191 inputStream = new ByteArrayInputStream(dataUri.getData()); 194 inputStream = url.openStream(); 196 return inputStream;
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | ContactPhotoUtils.java | 149 InputStream inputStream = null; 153 inputStream = context.getContentResolver().openInputStream( 159 while ((length = inputStream.read(buffer)) > 0) { 168 Closeables.closeQuietly(inputStream);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifReader.java | 38 * Parses the inputStream and and returns the EXIF data in an 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, argument 46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
|
H A D | ExifParser.java | 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) argument 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 239 protected static ExifParser parse(InputStream inputStream, int options, ExifInterface iRef) argument 241 return new ExifParser(inputStream, options, iRef); 252 protected static ExifParser parse(InputStream inputStream, ExifInterface iRef) argument 254 return new ExifParser(inputStream, OPTION_IFD_0 | OPTION_IFD_1 752 private boolean seekTiffData(InputStream inputStream) throw argument [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | ItemOperationsParser.java | 101 * @param inputStream the InputStream we're reading the attachment from 107 public static void readChunked(final InputStream inputStream, final OutputStream outputStream, argument 116 final int read = inputStream.read(bytes, 0, CHUNK_SIZE);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifReader.java | 38 * Parses the inputStream and and returns the EXIF data in an 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, argument 46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
|
H A D | ExifParser.java | 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) argument 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 239 protected static ExifParser parse(InputStream inputStream, int options, ExifInterface iRef) argument 241 return new ExifParser(inputStream, options, iRef); 252 protected static ExifParser parse(InputStream inputStream, ExifInterface iRef) argument 254 return new ExifParser(inputStream, OPTION_IFD_0 | OPTION_IFD_1 752 private boolean seekTiffData(InputStream inputStream) throw argument [all...] |
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
H A D | ExifReader.java | 38 * Parses the inputStream and and returns the EXIF data in an 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, argument 46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
|
H A D | ExifParser.java | 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) argument 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 239 protected static ExifParser parse(InputStream inputStream, int options, ExifInterface iRef) argument 241 return new ExifParser(inputStream, options, iRef); 252 protected static ExifParser parse(InputStream inputStream, ExifInterface iRef) argument 254 return new ExifParser(inputStream, OPTION_IFD_0 | OPTION_IFD_1 752 private boolean seekTiffData(InputStream inputStream) throw argument [all...] |
/packages/apps/Mms/src/com/android/mms/exif/ |
H A D | ExifReader.java | 38 * Parses the inputStream and and returns the EXIF data in an 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, argument 46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
|
H A D | ExifParser.java | 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) argument 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 239 protected static ExifParser parse(InputStream inputStream, int options, ExifInterface iRef) argument 241 return new ExifParser(inputStream, options, iRef); 252 protected static ExifParser parse(InputStream inputStream, ExifInterface iRef) argument 254 return new ExifParser(inputStream, OPTION_IFD_0 | OPTION_IFD_1 752 private boolean seekTiffData(InputStream inputStream) throw argument [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | ContactsAsyncHelper.java | 188 InputStream inputStream = null; 191 inputStream = Contacts.openContactPhotoInputStream( 197 if (inputStream != null) { 198 args.photo = Drawable.createFromStream(inputStream, 215 if (inputStream != null) { 217 inputStream.close();
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | AttachmentUtils.java | 185 InputStream inputStream = null; 197 inputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); 207 inputStream = context.getContentResolver().openInputStream(attachment.contentUri); 213 int len = inputStream.read(bytes); 246 if (inputStream != null) { 247 inputStream.close();
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
H A D | RecognizerLogger.java | 210 * @param inputStream 214 public InputStream logInputStream(final InputStream inputStream, final int sampleRate) { argument 220 return inputStream.available(); 224 int rtn = inputStream.read(b, offset, length); 230 int rtn = inputStream.read(b); 236 int rtn = inputStream.read(); 260 inputStream.close();
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | ContactsAsyncHelper.java | 215 InputStream inputStream = null; 218 inputStream = Contacts.openContactPhotoInputStream( 224 if (inputStream != null) { 225 args.photo = Drawable.createFromStream(inputStream, 246 if (inputStream != null) { 248 inputStream.close();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | BinaryDictionaryFileDumper.java | 250 InputStream inputStream = null; 275 inputStream = FileTransforms.getUncompressedStream(decryptedStream); 279 inputStream = FileTransforms.getUncompressedStream(decryptedStream); 284 inputStream = FileTransforms.getDecryptedStream(uncompressedStream); 287 inputStream = FileTransforms.getUncompressedStream(originalSourceStream); 290 inputStream = FileTransforms.getDecryptedStream(originalSourceStream); 293 inputStream = originalSourceStream; 296 bufferedInputStream = new BufferedInputStream(inputStream); 329 closeCloseableAndReportAnyException(inputStream);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | ContactsAsyncHelper.java | 92 InputStream inputStream = null; 94 inputStream = Contacts.openContactPhotoInputStream( 100 if (inputStream != null) { 101 args.result = Drawable.createFromStream(inputStream, args.uri.toString());
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | ThumbnailManager.java | 454 InputStream inputStream; 456 inputStream = mContext.getContentResolver().openInputStream(uri); 463 BitmapFactory.decodeStream(inputStream, null, options); 464 closeSilently(inputStream); 468 inputStream = mContext.getContentResolver().openInputStream(uri); 478 Bitmap result = BitmapFactory.decodeStream(inputStream, null, options); 479 closeSilently(inputStream);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppSendFileInfo.java | 81 FileInputStream inputStream, int status) { 85 mInputStream = inputStream; 80 BluetoothOppSendFileInfo(String fileName, String type, long length, FileInputStream inputStream, int status) argument
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | DownloadProviderFunctionalTest.java | 108 InputStream inputStream = mResolver.openInputStream(downloadUri); 110 return readStream(inputStream); 112 inputStream.close();
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | EmlAttachmentProvider.java | 285 InputStream inputStream = null; 290 inputStream = new FileInputStream(oldFilePath); 306 final int len = inputStream.read(data); 351 if (inputStream != null) { 352 inputStream.close();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
H A D | SimpleCharStream.java | 40 protected java.io.Reader inputStream; field in class:SimpleCharStream 127 if ((i = inputStream.read(buffer, maxNextCharInd, 130 inputStream.close(); 260 inputStream = dstream; 283 inputStream = dstream;
|