Searched defs:inputStream (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_decode_header.cpp38 tbits *inputStream, bit stream
115 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream, argument
128 if (inputStream->inputBufferCurrentLength < ((SYNC_WORD_LNGTH + 21) >> 3))
136 temp = getUpTo17bits(inputStream, SYNC_WORD_LNGTH);
139 err = pvmp3_header_sync(inputStream);
147 temp = getNbits(inputStream, 21); // to avoid multiple bitstream accesses
H A Dpvmp3_get_side_info.cpp114 ERROR_CODE pvmp3_get_side_info(tmp3Bits *inputStream, argument
128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection);
134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection);
142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection);
153 si->ch[ch].gran[gr].part2_3_length = getbits_crc(inputStream, 12, crc, info->error_protection);
154 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
163 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
195 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
207 tmp = getbits_crc(inputStream, 3, crc, info->error_protection);
216 si->main_data_begin = getbits_crc(inputStream,
[all...]
H A Dpvmp3_crc.cpp44 tbits *inputStream, bit stream structure
123 uint32 getbits_crc(tmp3Bits *inputStream, /* bit stream structure */ argument
128 uint32 bits = getNbits(inputStream, neededBits);
H A Ds_tmp3dec_file.h96 tmp3Bits inputStream; member in struct:__anon600
H A Dpvmp3_seek_synch.cpp140 pVars->inputStream.pBuffer = pExt->pInputBuffer;
141 pVars->inputStream.usedBits = (pExt->inputBufferUsedLength << 3); // in bits
144 pVars->inputStream.inputBufferCurrentLength = (pExt->inputBufferCurrentLength); // in bits
146 err = pvmp3_header_sync(&pVars->inputStream);
153 uint32 temp = getNbits(&pVars->inputStream, 21);
155 pVars->inputStream.usedBits -= 21 + SYNC_WORD_LNGTH;
193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength)
199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength)
202 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3;
208 int32 offset = pVars->inputStream
282 pvmp3_header_sync(tmp3Bits *inputStream) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifReader.java38 * 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);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DTestConferenceEventPackageParser.java74 * @param inputStream The input stream.
76 public TestConferenceEventPackageParser(InputStream inputStream) { argument
77 mInputStream = inputStream;
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/
H A DUtils.java37 * @param inputStream The {@link InputStream} which should be read.
41 public static String inputStreamToString(InputStream inputStream) { argument
43 byte[] bytes = new byte[inputStream.available()];
44 inputStream.read(bytes, 0, bytes.length);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/
H A DUtils.java37 * @param inputStream The {@link InputStream} which should be read.
41 public static String inputStreamToString(InputStream inputStream) { argument
43 byte[] bytes = new byte[inputStream.available()];
44 inputStream.read(bytes, 0, bytes.length);
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java34 * @param inputStream The input stream will not be closed for you.
39 public static int getOrientation(final InputStream inputStream, final long byteSize) { argument
40 if (inputStream == null) {
71 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false);
H A DInputStreamBuffer.java85 * @param inputStream The input stream to wrap. The input stream will not be closed by the
97 public InputStreamBuffer(final InputStream inputStream, int bufferSize, argument
99 mInputStream = inputStream;
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java29 * @param inputStream The input stream will not be closed for you.
34 public static int getOrientation(final InputStream inputStream, final long byteSize) { argument
35 if (inputStream == null) {
66 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false);
H A DInputStreamBuffer.java85 * @param inputStream The input stream to wrap. The input stream will not be closed by the
97 public InputStreamBuffer(final InputStream inputStream, int bufferSize, argument
99 mInputStream = inputStream;
/frameworks/base/media/java/android/media/
H A DAmrInputStream.java55 * @param inputStream InputStream containing 16 bit PCM.
57 public AmrInputStream(InputStream inputStream) { argument
58 mInputStream = inputStream;
H A DResampleInputStream.java54 * @param inputStream InputStream containing 16 bit PCM.
59 public ResampleInputStream(InputStream inputStream, int rateIn, int rateOut) { argument
65 mInputStream = inputStream;
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DURLFetcher.java134 public static String inputStreamToString(InputStream inputStream, int length, long sizeLimit) argument
140 BufferedInputStream bis = new BufferedInputStream(inputStream);
/frameworks/ex/framesequence/jni/
H A DStream.h76 JavaInputStream(JNIEnv* env, jobject inputStream, jbyteArray byteArray) : argument
78 mInputStream(inputStream),
/frameworks/base/services/core/java/com/android/server/net/
H A DIpConfigStore.java192 InputStream inputStream) {
196 in = new DataInputStream(inputStream);
191 readIpAndProxyConfigurations( InputStream inputStream) argument
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
H A DGenerationalClassUtil.java96 InputStream inputStream = null;
98 inputStream = FileUtils.openInputStream(file);
99 Serializable item = fromInputStream(inputStream);
111 IOUtils.closeQuietly(inputStream);
128 InputStream inputStream = null;
130 inputStream = zipFile.getInputStream(entry);
131 Serializable item = fromInputStream(inputStream);
143 IOUtils.closeQuietly(inputStream);
149 private static Serializable fromInputStream(InputStream inputStream) argument
151 ObjectInputStream in = new ObjectInputStream(inputStream);
[all...]
/frameworks/support/emoji/core/src/android/support/text/emoji/
H A DMetadataRepo.java99 * @param inputStream InputStream to read emoji metadata from
102 @NonNull final InputStream inputStream) throws IOException {
103 return new MetadataRepo(typeface, MetadataListReader.read(inputStream));
101 create(@onNull final Typeface typeface, @NonNull final InputStream inputStream) argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dcod_main.h87 unsigned char *inputStream; member in struct:__anon547
/frameworks/base/core/java/android/os/
H A DRecoverySystem.java346 private static boolean verifyPackageCompatibility(InputStream inputStream) throws IOException { argument
348 ZipInputStream zis = new ZipInputStream(inputStream);
379 InputStream inputStream = zip.getInputStream(entry);
380 return verifyPackageCompatibility(inputStream);
396 try (InputStream inputStream = new FileInputStream(compatibilityFile)) {
397 return verifyPackageCompatibility(inputStream);
H A DZygoteProcess.java78 final DataInputStream inputStream; field in class:ZygoteProcess.ZygoteState
84 private ZygoteState(LocalSocket socket, DataInputStream inputStream, argument
87 this.inputStream = inputStream;
227 private static String getAbiList(BufferedWriter writer, DataInputStream inputStream) argument
239 int numBytes = inputStream.readInt();
241 inputStream.readFully(bytes);
278 final DataInputStream inputStream = zygoteState.inputStream;
297 result.pid = inputStream
[all...]
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/
H A DBTtraffic.java216 private void doListening(InputStream inputStream, OutputStream outputStream) argument
221 readBytesIntoBuffer(inputStream, byteBuffer, 4);
226 readBytesIntoBuffer(inputStream, byteBuffer, length);
233 void readBytesIntoBuffer(InputStream inputStream, ByteBuffer byteBuffer, int numToRead) argument
242 int count = inputStream.read(byteBuffer.array(), position, remaining);
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DProxyServer.java226 private String getLine(InputStream inputStream) throws IOException { argument
228 int byteBuffer = inputStream.read();
234 byteBuffer = inputStream.read();

Completed in 8164 milliseconds

12