/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | BearerData.java | 182 private static boolean decodeMessageId(BearerData bData, BitwiseInputStream inStream) in decodeMessageId() argument 186 int paramBits = inStream.read(8) * 8; in decodeMessageId() 190 inStream.skip(4); // skip messageType in decodeMessageId() 191 bData.messageId = inStream.read(8) << 8; in decodeMessageId() 192 bData.messageId |= inStream.read(8); in decodeMessageId() 193 bData.hasUserDataHeader = (inStream.read(1) == 1); in decodeMessageId() 194 inStream.skip(3); in decodeMessageId() 201 inStream.skip(paramBits); in decodeMessageId() 205 private static boolean decodeReserved(BitwiseInputStream inStream, int subparamId) in decodeReserved() argument 208 int subparamLen = inStream.read(8); // SUBPARAM_LEN in decodeReserved() [all …]
|
D | SmsHeader.java | 138 ByteArrayInputStream inStream = new ByteArrayInputStream(data); in fromByteArray() local 140 while (inStream.available() > 0) { in fromByteArray() 149 int id = inStream.read(); in fromByteArray() 150 int length = inStream.read(); in fromByteArray() 156 concatRef.refNumber = inStream.read(); in fromByteArray() 157 concatRef.msgCount = inStream.read(); in fromByteArray() 158 concatRef.seqNumber = inStream.read(); in fromByteArray() 167 concatRef.refNumber = (inStream.read() << 8) | inStream.read(); in fromByteArray() 168 concatRef.msgCount = inStream.read(); in fromByteArray() 169 concatRef.seqNumber = inStream.read(); in fromByteArray() [all …]
|
/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/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/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSmsPdu.java | 762 ByteArrayInputStream inStream = new ByteArrayInputStream(data); in getTableFromByteArray() local 766 while (inStream.available() > 0) { in getTableFromByteArray() 767 int id = inStream.read(); in getTableFromByteArray() 768 int length = inStream.read(); in getTableFromByteArray() 771 tableValue[1] = inStream.read(); in getTableFromByteArray() 774 tableValue[0] = inStream.read(); in getTableFromByteArray() 777 inStream.skip(length); in getTableFromByteArray()
|
/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 | 901 ParcelFileDescriptor.AutoCloseInputStream inStream = null; in readPduBytesFromContentUri() 905 inStream = new ParcelFileDescriptor.AutoCloseInputStream(pduFd); in readPduBytesFromContentUri() 906 int bytesRead = inStream.read(pduData, 0, pduData.length); in readPduBytesFromContentUri() 915 if (inStream != null) { in readPduBytesFromContentUri() 917 inStream.close(); in readPduBytesFromContentUri()
|
/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 | 107 public SapServer(Handler serviceHandler, Context context, InputStream inStream, in SapServer() argument 113 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()
|