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

123

/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:__anon595
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.java73 * @param inputStream The input stream.
75 public TestConferenceEventPackageParser(InputStream inputStream) { argument
76 mInputStream = inputStream;
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DLayoutPullParser.java69 private LayoutPullParser(@NonNull InputStream inputStream) { argument
72 setInput(inputStream, null);
/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.java56 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/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
H A DKeyChainSnapshotDeserializer.java71 * Deserializes a {@link KeyChainSnapshot} instance from the XML in the {@code inputStream}.
77 public static KeyChainSnapshot deserialize(InputStream inputStream) argument
80 return deserializeInternal(inputStream);
86 private static KeyChainSnapshot deserializeInternal(InputStream inputStream) throws IOException, argument
89 parser.setInput(inputStream, OUTPUT_ENCODING);
/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.java232 InputStream inputStream) {
233 ArrayMap<String, IpConfiguration> networks = readIpConfigurations(inputStream);
249 InputStream inputStream) {
253 in = new DataInputStream(inputStream);
231 readIpAndProxyConfigurations( InputStream inputStream) argument
248 readIpConfigurations( InputStream inputStream) argument
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
H A DFrameTimingStats.java68 public FrameTimingStats(DataInputStream inputStream) throws IOException { argument
70 update(inputStream);
73 public void update(DataInputStream inputStream) throws IOException { argument
75 mStats[i] = inputStream.readLong();
/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/main/java/androidx/emoji/text/
H A DMetadataListReader.java67 * @param inputStream InputStream to read emoji metadata from
69 static MetadataList read(InputStream inputStream) throws IOException { argument
70 final OpenTypeReader openTypeReader = new InputStreamOpenTypeReader(inputStream);
76 final int numRead = inputStream.read(buffer.array());
107 try (InputStream inputStream = assetManager.open(assetPath)) {
108 return read(inputStream);
246 * @param inputStream InputStream to read from
248 InputStreamOpenTypeReader(final InputStream inputStream) { argument
249 mInputStream = inputStream;
H A DMetadataRepo.java101 * @param inputStream InputStream to read emoji metadata from
104 @NonNull final InputStream inputStream) throws IOException {
105 return new MetadataRepo(typeface, MetadataListReader.read(inputStream));
103 create(@onNull final Typeface typeface, @NonNull final InputStream inputStream) argument
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DMusicPlayerFragment.java242 * @param inputStream The {@link InputStream} which should be read.
246 private static String inputStreamToString(InputStream inputStream) { argument
248 byte[] bytes = new byte[inputStream.available()];
249 inputStream.read(bytes, 0, bytes.length);
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DMusicPlayerFragment.java242 * @param inputStream The {@link InputStream} which should be read.
246 private static String inputStreamToString(InputStream inputStream) { argument
248 byte[] bytes = new byte[inputStream.available()];
249 inputStream.read(bytes, 0, bytes.length);
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dcod_main.h87 unsigned char *inputStream; member in struct:__anon541

Completed in 435 milliseconds

123