/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpeg_hook.cpp | 91 int32_t bytesRead = src->inStream->read(src->inStream->getBufferSize(), 0); in Mgr_fill_input_buffer_fcn() 97 bytesRead = src->inStream->forceReadEOI(); in Mgr_fill_input_buffer_fcn() 103 src->mgr.next_input_byte = reinterpret_cast<JOCTET*>(src->inStream->getBufferPtr()); in Mgr_fill_input_buffer_fcn() 132 int64_t actual = src->inStream->skip(skip); in Mgr_skip_input_data_fcn() 138 actual = src->inStream->skip(skip); in Mgr_skip_input_data_fcn() 156 int32_t MakeSrc(j_decompress_ptr cinfo, JNIEnv *env, jobject inStream){ in MakeSrc() argument 178 s->inStream = new InputStreamWrapper(); in MakeSrc() 179 if(s->inStream->init(env, inStream)) { in MakeSrc() 187 s->inStream->updateEnv(env); in UpdateSrcEnv() 193 if (s->inStream != NULL) { in CleanSrc() [all …]
|
D | jpeg_hook.h | 60 InputStreamWrapper *inStream; member 64 int32_t MakeSrc(j_decompress_ptr cinfo, JNIEnv *env, jobject inStream);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | DictDecoder.java | 145 FileInputStream inStream = null; in getDictionaryBuffer() local 148 inStream = new FileInputStream(file); in getDictionaryBuffer() 149 buffer = inStream.getChannel().map(FileChannel.MapMode.READ_ONLY, in getDictionaryBuffer() 152 if (inStream != null) { in getDictionaryBuffer() 153 inStream.close(); in getDictionaryBuffer() 174 FileInputStream inStream = null; in getDictionaryBuffer() local 176 inStream = new FileInputStream(file); in getDictionaryBuffer() 178 inStream.read(array); in getDictionaryBuffer() 181 if (inStream != null) { in getDictionaryBuffer() 182 inStream.close(); in getDictionaryBuffer()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | Rfc822Output.java | 233 InputStream inStream = null; in writeOneAttachment() local 237 inStream = new ByteArrayInputStream(attachment.mContentBytes); in writeOneAttachment() 244 inStream = context.getContentResolver().openInputStream(cachedFileUri); in writeOneAttachment() 247 inStream = null; in writeOneAttachment() 254 if (inStream == null) { in writeOneAttachment() 257 inStream = context.getContentResolver().openInputStream(fileUri); in writeOneAttachment() 265 IOUtils.copy(inStream, base64Out); in writeOneAttachment()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | SendRequest.java | 105 ParcelFileDescriptor.AutoCloseInputStream inStream = null; in readPduFromContentUri() 109 inStream = new ParcelFileDescriptor.AutoCloseInputStream(pduFd); in readPduFromContentUri() 112 final int bytesRead = inStream.read(readBuf, 0, maxSize+1); in readPduFromContentUri() 129 if (inStream != null) { in readPduFromContentUri() 131 inStream.close(); in readPduFromContentUri()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | ClipStorageReader.java | 48 FileInputStream inStream = new FileInputStream(file); in ClipStorageReader() local 49 mScanner = new Scanner(inStream); in ClipStorageReader() 60 FileLock lock = inStream.getChannel().lock(0L, Long.MAX_VALUE, true); in ClipStorageReader()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
D | ExifInterface.java | 103 private void readExif(InputStream inStream) throws IOException { in readExif() argument 104 if (inStream == null) { in readExif() 109 d = new ExifReader(this).read(inStream); in readExif()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 792 ParcelFileDescriptor.AutoCloseInputStream inStream = null; in readPduFromContentUri() 796 inStream = new ParcelFileDescriptor.AutoCloseInputStream(pduFd); in readPduFromContentUri() 799 int bytesRead = inStream.read(tempBody, 0, maxSize+1); in readPduFromContentUri() 813 if (inStream != null) { in readPduFromContentUri() 815 inStream.close(); in readPduFromContentUri()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 659 final InputStream inStream = 662 inStream.close(); 679 final InputStream inStream = 682 inStream.close();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | SaveImage.java | 251 InputStream inStream = null; in getExifData() local 253 inStream = mContext.getContentResolver().openInputStream(source); in getExifData() 254 exif.readExif(inStream); in getExifData() 260 Utils.closeSilently(inStream); in getExifData()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapServer.java | 105 public SapServer(Handler serviceHandler, Context context, InputStream inStream, in SapServer() argument 111 mRfcommIn = new BufferedInputStream(inStream); in SapServer()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 735 public void readExif(InputStream inStream) throws IOException { in readExif() argument 736 if (inStream == null) { in readExif() 741 d = new ExifReader(this).read(inStream); in readExif()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifInterface.java | 735 public void readExif(InputStream inStream) throws IOException { in readExif() argument 736 if (inStream == null) { in readExif() 741 d = new ExifReader(this).read(inStream); in readExif()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifInterface.java | 738 public void readExif(InputStream inStream) throws IOException { in readExif() argument 739 if (inStream == null) { in readExif() 744 d = new ExifReader(this).read(inStream); in readExif()
|