/packages/apps/Email/src/org/apache/james/mime4j/util/ |
D | PositionInputStream.java | 28 private final InputStream inputStream; field in PositionInputStream 32 public PositionInputStream(InputStream inputStream) { in PositionInputStream() argument 33 this.inputStream = inputStream; in PositionInputStream() 41 return inputStream.available(); in available() 45 int b = inputStream.read(); in read() 52 inputStream.close(); in close() 56 inputStream.reset(); in reset() 61 return inputStream.markSupported(); in markSupported() 65 inputStream.mark(readlimit); in mark() 70 final long c = inputStream.skip(n); in skip() [all …]
|
D | PartialInputStream.java | 29 … public PartialInputStream(InputStream inputStream, long offset, long length) throws IOException { in PartialInputStream() argument 30 super(inputStream); in PartialInputStream() 31 inputStream.skip(offset); in PartialInputStream()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryFileDumper.java | 156 InputStream inputStream = null; in cacheWordList() local 173 inputStream = FileTransforms.getUncompressedStream( in cacheWordList() 179 inputStream = FileTransforms.getUncompressedStream( in cacheWordList() 183 inputStream = FileTransforms.getDecryptedStream( in cacheWordList() 187 inputStream = FileTransforms.getUncompressedStream(originalSourceStream); in cacheWordList() 190 inputStream = FileTransforms.getDecryptedStream(originalSourceStream); in cacheWordList() 193 inputStream = originalSourceStream; in cacheWordList() 196 checkMagicAndCopyFileTo(new BufferedInputStream(inputStream), outputStream); in cacheWordList() 220 if (null != inputStream) inputStream.close(); in cacheWordList()
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
D | RecognizerLogger.java | 214 public InputStream logInputStream(final InputStream inputStream, final int sampleRate) { in logInputStream() argument 220 return inputStream.available(); in logInputStream() 224 int rtn = inputStream.read(b, offset, length); in logInputStream() 230 int rtn = inputStream.read(b); in logInputStream() 236 int rtn = inputStream.read(); in logInputStream() 260 inputStream.close(); in logInputStream()
|
/packages/apps/Browser/src/com/android/browser/ |
D | WallpaperHandler.java | 183 InputStream inputStream = null; in openStream() local 186 inputStream = new ByteArrayInputStream(dataUri.getData()); in openStream() 189 inputStream = url.openStream(); in openStream() 191 return inputStream; in openStream()
|
/packages/apps/Email/src/org/apache/commons/io/input/ |
D | ClassLoaderObjectInputStream.java | 49 ClassLoader classLoader, InputStream inputStream) in ClassLoaderObjectInputStream() argument 51 super(inputStream); in ClassLoaderObjectInputStream()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | ContactsAsyncHelper.java | 92 InputStream inputStream = null; in handleMessage() local 94 inputStream = Contacts.openContactPhotoInputStream( in handleMessage() 100 if (inputStream != null) { in handleMessage() 101 args.result = Drawable.createFromStream(inputStream, args.uri.toString()); in handleMessage()
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | ThumbnailManager.java | 431 InputStream inputStream; 433 inputStream = mContext.getContentResolver().openInputStream(uri); 440 BitmapFactory.decodeStream(inputStream, null, options); 441 closeSilently(inputStream); 445 inputStream = mContext.getContentResolver().openInputStream(uri); 455 Bitmap result = BitmapFactory.decodeStream(inputStream, null, options); 456 closeSilently(inputStream);
|
/packages/apps/Phone/src/com/android/phone/ |
D | ContactsAsyncHelper.java | 214 InputStream inputStream = null; in handleMessage() local 216 inputStream = Contacts.openContactPhotoInputStream( in handleMessage() 222 if (inputStream != null) { in handleMessage() 223 args.photo = Drawable.createFromStream(inputStream, args.uri.toString()); in handleMessage()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | DownloadProviderFunctionalTest.java | 104 InputStream inputStream = mResolver.openInputStream(downloadUri); in getDownloadContents() local 106 return readStream(inputStream); in getDownloadContents() 108 inputStream.close(); in getDownloadContents()
|
D | AbstractDownloadProviderFunctionalTest.java | 256 protected String readStream(InputStream inputStream) throws IOException { in readStream() argument 257 BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream)); in readStream()
|
D | PublicApiFunctionalTest.java | 111 InputStream inputStream = mResolver.openInputStream(uri); in checkUriContent() local 113 assertEquals(FILE_CONTENT, readStream(inputStream)); in checkUriContent() 115 inputStream.close(); in checkUriContent()
|
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | SimpleCharStream.java | 40 protected java.io.Reader inputStream; field in SimpleCharStream 127 if ((i = inputStream.read(buffer, maxNextCharInd, in FillBuff() 130 inputStream.close(); in FillBuff() 260 inputStream = dstream; in SimpleCharStream() 283 inputStream = dstream; in ReInit()
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
D | SimpleCharStream.java | 40 protected java.io.Reader inputStream; field in SimpleCharStream 127 if ((i = inputStream.read(buffer, maxNextCharInd, in FillBuff() 130 inputStream.close(); in FillBuff() 260 inputStream = dstream; in SimpleCharStream() 283 inputStream = dstream; in ReInit()
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
D | SimpleCharStream.java | 40 protected java.io.Reader inputStream; field in SimpleCharStream 127 if ((i = inputStream.read(buffer, maxNextCharInd, in FillBuff() 130 inputStream.close(); in FillBuff() 260 inputStream = dstream; in SimpleCharStream() 283 inputStream = dstream; in ReInit()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | CallDetailActivityTest.java | 265 InputStream inputStream = null; in setActivityIntentForRealFileVoicemailEntry() local 267 inputStream = assets.open(TEST_ASSET_NAME); in setActivityIntentForRealFileVoicemailEntry() 269 copyBetweenStreams(inputStream, outputStream); in setActivityIntentForRealFileVoicemailEntry() 272 Closeables.closeQuietly(inputStream); in setActivityIntentForRealFileVoicemailEntry()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppSendFileInfo.java | 77 FileInputStream inputStream, int status, String dest) { in BluetoothOppSendFileInfo() argument 81 mInputStream = inputStream; in BluetoothOppSendFileInfo()
|
D | BluetoothOppObexClientSession.java | 353 InputStream inputStream = null; in sendFile() local 376 inputStream = putOperation.openInputStream(); in sendFile() 527 if (inputStream != null) { in sendFile() 528 inputStream.close(); in sendFile()
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
D | NoiseFieldRS.java | 124 InputStream inputStream = mRes.openRawResource(R.raw.bgmesh); in createBackgroundMesh() local 125 BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream)); in createBackgroundMesh() 135 inputStream.close(); in createBackgroundMesh()
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
D | PhaseBeamRS.java | 139 InputStream inputStream = mRes.openRawResource(R.raw.bgmesh); in createBackgroundMesh() local 140 BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream)); in createBackgroundMesh() 150 inputStream.close(); in createBackgroundMesh()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | AttachmentLoader.java | 110 public void readChunked(InputStream inputStream, OutputStream outputStream, int len) in readChunked() argument 121 int read = inputStream.read(bytes, 0, CHUNK_SIZE); in readChunked()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 494 final FileInputStream inputStream = new FileInputStream(photoFile); in saveUpdatedPhoto() local 499 while ((length = inputStream.read(buffer)) > 0) { in saveUpdatedPhoto() 505 inputStream.close(); in saveUpdatedPhoto()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 6287 final FileInputStream inputStream = descriptor.createInputStream(); in testOpenAssetFileMultiVCard() local 6288 String data = readToEnd(inputStream); in testOpenAssetFileMultiVCard() 6289 inputStream.close(); in testOpenAssetFileMultiVCard() 6304 final FileInputStream inputStream = descriptor.createInputStream(); in testOpenAssetFileSingleVCard() local 6305 final String data = readToEnd(inputStream); in testOpenAssetFileSingleVCard() 6306 inputStream.close(); in testOpenAssetFileSingleVCard() 6316 final FileInputStream inputStream = descriptor.createInputStream(); in testOpenAssetFileSingleVCard() local 6317 final String data = readToEnd(inputStream); in testOpenAssetFileSingleVCard() 6318 inputStream.close(); in testOpenAssetFileSingleVCard() 6924 private String readToEnd(FileInputStream inputStream) { in readToEnd() argument [all …]
|