/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_seek_synch.cpp | 140 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_frame_synch() 141 pVars->inputStream.usedBits = (pExt->inputBufferUsedLength << 3); // in bits in pvmp3_frame_synch() 144 pVars->inputStream.inputBufferCurrentLength = (pExt->inputBufferCurrentLength); // in bits in pvmp3_frame_synch() 146 err = pvmp3_header_sync(&pVars->inputStream); in pvmp3_frame_synch() 153 uint32 temp = getNbits(&pVars->inputStream, 21); in pvmp3_frame_synch() 155 pVars->inputStream.usedBits -= 21 + SYNC_WORD_LNGTH; in pvmp3_frame_synch() 193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength) in pvmp3_frame_synch() 199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength) in pvmp3_frame_synch() 202 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3; in pvmp3_frame_synch() 208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3); in pvmp3_frame_synch() [all …]
|
D | pvmp3_get_side_info.cpp | 114 ERROR_CODE pvmp3_get_side_info(tmp3Bits *inputStream, in pvmp3_get_side_info() argument 128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection); in pvmp3_get_side_info() 134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection); in pvmp3_get_side_info() 142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection); in pvmp3_get_side_info() 153 … si->ch[ch].gran[gr].part2_3_length = getbits_crc(inputStream, 12, crc, info->error_protection); in pvmp3_get_side_info() 154 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); in pvmp3_get_side_info() 163 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); in pvmp3_get_side_info() 195 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); in pvmp3_get_side_info() 207 tmp = getbits_crc(inputStream, 3, crc, info->error_protection); in pvmp3_get_side_info() 216 si->main_data_begin = getbits_crc(inputStream, 8, crc, info->error_protection); in pvmp3_get_side_info() [all …]
|
D | pvmp3_decode_header.cpp | 115 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream, in pvmp3_decode_header() argument 128 if (inputStream->inputBufferCurrentLength < ((SYNC_WORD_LNGTH + 21) >> 3)) in pvmp3_decode_header() 136 temp = getUpTo17bits(inputStream, SYNC_WORD_LNGTH); in pvmp3_decode_header() 139 err = pvmp3_header_sync(inputStream); in pvmp3_decode_header() 147 temp = getNbits(inputStream, 21); // to avoid multiple bitstream accesses in pvmp3_decode_header()
|
D | pvmp3_framedecoder.cpp | 173 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_framedecoder() 176 pVars->inputStream.usedBits = pExt->inputBufferUsedLength << 3; in pvmp3_framedecoder() 177 pVars->inputStream.inputBufferCurrentLength = pExt->inputBufferCurrentLength; in pvmp3_framedecoder() 180 errorCode = pvmp3_decode_header(&pVars->inputStream, in pvmp3_framedecoder() 225 sent_crc = getUpTo17bits(&pVars->inputStream, 16); in pvmp3_framedecoder() 242 errorCode = pvmp3_get_side_info(&pVars->inputStream, in pvmp3_framedecoder() 282 if ((uint32)pVars->predicted_frame_size > pVars->inputStream.inputBufferCurrentLength) in pvmp3_framedecoder() 506 ancillary_data_lenght -= pVars->inputStream.usedBits; in pvmp3_framedecoder() 511 pVars->inputStream.usedBits += ancillary_data_lenght; in pvmp3_framedecoder() 533 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3; in pvmp3_framedecoder() [all …]
|
D | pvmp3_crc.cpp | 123 uint32 getbits_crc(tmp3Bits *inputStream, /* bit stream structure */ in getbits_crc() argument 128 uint32 bits = getNbits(inputStream, neededBits); in getbits_crc()
|
D | pvmp3_decode_header.h | 89 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream,
|
D | pvmp3_seek_synch.h | 94 ERROR_CODE pvmp3_header_sync(tmp3Bits *inputStream);
|
D | pvmp3_get_side_info.h | 89 ERROR_CODE pvmp3_get_side_info(tmp3Bits *inputStream,
|
D | pvmp3_crc.h | 84 uint32 getbits_crc(tmp3Bits *inputStream,
|
D | s_tmp3dec_file.h | 96 tmp3Bits inputStream; member
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardParserTests.java | 93 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_simple_1); in testSimple() local 103 parser.parse(inputStream); in testSimple() 106 inputStream.close(); in testSimple() 111 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_nest); in testNest() local 131 parser.parse(inputStream); in testNest() 134 inputStream.close(); in testNest() 144 InputStream inputStream = in testParseOne() local 180 parser.parse(inputStream); in testParseOne() 183 inputStream.close(); in testParseOne() 186 inputStream = getContext().getResources().openRawResource(R.raw.v21_multiple_entry); in testParseOne() [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | ImageUtils.java | 103 InputStream inputStream = null; in createLocalBitmap() local 107 inputStream = openInputStream(resolver, uri); in createLocalBitmap() 108 if (bounds == null || inputStream == null) { in createLocalBitmap() 114 final Bitmap decodedBitmap = decodeStream(inputStream, null, opts); in createLocalBitmap() 133 if (inputStream != null) { in createLocalBitmap() 134 inputStream.close(); in createLocalBitmap() 229 InputStream inputStream = null; in getImageBounds() local 233 inputStream = openInputStream(resolver, uri); in getImageBounds() 234 if (inputStream == null) { in getImageBounds() 237 decodeStream(inputStream, null, opts); in getImageBounds() [all …]
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/ |
D | AdbUtils.java | 61 public static boolean configureConnection(InputStream inputStream, OutputStream outputStream, in configureConnection() argument 68 int read = inputStream.read(buf); in configureConnection()
|
D | ConnectionHandler.java | 46 public SocketPipeThread(InputStream inputStream, OutputStream outputStream) { in SocketPipeThread() argument 47 mInputStream = inputStream; in SocketPipeThread()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmUtils.java | 46 FileInputStream inputStream = new FileInputStream(file); in readBytes() local 47 BufferedInputStream bufferedStream = new BufferedInputStream(inputStream); in readBytes() 59 quietlyDispose(inputStream); in readBytes()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | GraphReader.java | 42 InputStream inputStream = context.getResources().openRawResource(resourceId); in readGraphResource() local 43 InputStreamReader reader = new InputStreamReader(inputStream); in readGraphResource()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VCardVerifier.java | 137 final InputStream inputStream = in setInputResourceId() local 139 if (inputStream == null) { in setInputResourceId() 142 setInputStream(inputStream); in setInputResourceId() 145 private void setInputStream(InputStream inputStream) { in setInputStream() argument 151 mInputStream = inputStream; in setInputStream()
|
/frameworks/volley/src/com/android/volley/toolbox/ |
D | HurlStack.java | 135 InputStream inputStream; in entityFromConnection() local 137 inputStream = connection.getInputStream(); in entityFromConnection() 139 inputStream = connection.getErrorStream(); in entityFromConnection() 141 entity.setContent(inputStream); in entityFromConnection()
|
/frameworks/base/media/java/android/media/ |
D | AmrInputStream.java | 58 public AmrInputStream(InputStream inputStream) { in AmrInputStream() argument 59 mInputStream = inputStream; in AmrInputStream()
|
D | ResampleInputStream.java | 61 public ResampleInputStream(InputStream inputStream, int rateIn, int rateOut) { in ResampleInputStream() argument 67 mInputStream = inputStream; in ResampleInputStream()
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | FileFilter.java | 78 InputStream inputStream = null; in loadTestExpectations() local 140 if (inputStream != null) { in loadTestExpectations() 141 inputStream.close(); in loadTestExpectations()
|
D | FsUtils.java | 262 public static void closeInputStream(InputStream inputStream) { in closeInputStream() argument 264 if (inputStream != null) { in closeInputStream() 265 inputStream.close(); in closeInputStream()
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
D | SafeSaxTest.java | 172 private static void pureSaxTest(InputStream inputStream) throws IOException, SAXException { in pureSaxTest() argument 175 Xml.parse(inputStream, Xml.Encoding.UTF_8, new YouTubeContentHandler(videoAdapter)); in pureSaxTest() 180 private static void saxyModelTest(InputStream inputStream) throws IOException, SAXException { in saxyModelTest() argument 183 Xml.parse(inputStream, Xml.Encoding.UTF_8, newContentHandler(videoAdapter)); in saxyModelTest() 188 private static void saxyModelTest(InputStream inputStream, ContentHandler contentHandler) in saxyModelTest() argument 191 Xml.parse(inputStream, Xml.Encoding.UTF_8, contentHandler); in saxyModelTest()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | VideoEditorHelper.java | 129 FileInputStream inputStream = null; in getBitmap() local 139 inputStream = new FileInputStream(flPtr); in getBitmap() 140 final Bitmap srcBitmap = BitmapFactory.decodeStream(inputStream); in getBitmap() 144 inputStream.close(); in getBitmap()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | AutomaticActivity.java | 157 FileInputStream inputStream = new FileInputStream(inputFile); in beginTest() local 161 while (inputStream.read(buffer) != -1) { in beginTest() 165 inputStream.close(); in beginTest()
|