HomeSort by relevance Sort by last modified time
    Searched refs:inputStream (Results 51 - 75 of 270) sorted by null

1 23 4 5 6 7 8 91011

  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
AC3TrackImpl.java 10 import java.io.InputStream;
35 private InputStream inputStream;
41 public AC3TrackImpl(InputStream fin, String lang) throws IOException {
46 public AC3TrackImpl(InputStream fin) throws IOException {
50 private void parse(InputStream fin) throws IOException {
51 inputStream = fin;
133 inputStream.mark(100);
134 if (100 != inputStream.read(data, 0, 100)) {
137 inputStream.reset(); // Rewin
    [all...]
EC3TrackImpl.java 12 import java.io.InputStream;
35 private BufferedInputStream inputStream;
40 public EC3TrackImpl(InputStream fin, String lang) throws IOException {
45 public EC3TrackImpl(InputStream fin) throws IOException {
49 private void parse(InputStream fin) throws IOException {
50 inputStream = new BufferedInputStream(fin);
53 inputStream.mark(10000);
66 long skipped = inputStream.skip(bsi.frameSize);
71 inputStream.reset();
171 inputStream.mark(200)
    [all...]
H264TrackImpl.java 14 import java.io.InputStream;
58 public H264TrackImpl(InputStream inputStream, String lang, long timescale) throws IOException {
67 parse(inputStream);
70 public H264TrackImpl(InputStream inputStream, String lang) throws IOException {
72 parse(inputStream);
75 public H264TrackImpl(InputStream inputStream) throws IOException {
76 parse(inputStream);
    [all...]
  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_framedecoder.cpp 173 pVars->inputStream.pBuffer = pExt->pInputBuffer;
176 pVars->inputStream.usedBits = pExt->inputBufferUsedLength << 3;
177 pVars->inputStream.inputBufferCurrentLength = pExt->inputBufferCurrentLength;
180 errorCode = pvmp3_decode_header(&pVars->inputStream,
225 sent_crc = getUpTo17bits(&pVars->inputStream, 16);
242 errorCode = pvmp3_get_side_info(&pVars->inputStream,
282 if ((uint32)pVars->predicted_frame_size > pVars->inputStream.inputBufferCurrentLength)
506 ancillary_data_lenght -= pVars->inputStream.usedBits;
511 pVars->inputStream.usedBits += ancillary_data_lenght;
533 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3
    [all...]
  /external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/
InBandBytestreamSession.java 17 import java.io.InputStream;
67 private IBBInputStream inputStream;
99 this.inputStream = new IQIBBInputStream();
103 this.inputStream = new MessageIBBInputStream();
110 public InputStream getInputStream() {
111 return this.inputStream;
119 return this.inputStream.readTimeout;
126 this.inputStream.readTimeout = timeout;
168 this.inputStream.closeInternal();
169 this.inputStream.cleanup();
    [all...]
  /frameworks/base/drm/java/android/drm/
DrmUtils.java 25 import java.io.InputStream;
46 FileInputStream inputStream = new FileInputStream(file);
47 BufferedInputStream bufferedStream = new BufferedInputStream(inputStream);
59 quietlyDispose(inputStream);
83 private static void quietlyDispose(InputStream stream) {
  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
Exif.java 22 import java.io.InputStream;
29 * @param inputStream The input stream will not be closed for you.
34 public static int getOrientation(final InputStream inputStream, final long byteSize) {
35 if (inputStream == null) {
66 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DrawableTest.java 29 import java.io.InputStream;
137 InputStream source = null;
161 FileInputStream inputStream = null;
181 inputStream = new FileInputStream(imageFile);
182 assertNotNull(Drawable.createFromStream(inputStream, "Sample"));
191 if (null != inputStream) {
192 inputStream.close();
205 FileInputStream inputStream = null;
209 assertNull(Drawable.createFromResourceStream(null, null, inputStream, "test.bmp"));
226 inputStream = new FileInputStream(imageFile)
    [all...]
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
VoicemailProviderHelper.java 24 import java.io.InputStream;
104 * The inputStream is owned by the caller and must be closed by it as usual after the call has
110 public void setVoicemailContent(Uri voicemailUri, InputStream inputStream, String mimeType)
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRDebugTreeParser.h 47 - (void) recoverFromMismatchedToken:(id<ANTLRIntStream>)inputStream
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/
DesignerPlugin.java 28 import java.io.InputStream;
92 * @param inputStream the input stream to be read from
96 public static String readFile(InputStream inputStream, Charset charset) {
97 if (inputStream == null) {
100 Closeable closeMe = inputStream;
102 final InputStreamReader isr = new InputStreamReader(inputStream, charset);
  /packages/apps/Browser/src/com/android/browser/
WallpaperHandler.java 33 import java.io.InputStream;
87 InputStream inputstream = null; local
95 inputstream = openStream();
96 if (inputstream != null) {
97 if (!inputstream.markSupported()) {
98 inputstream = new BufferedInputStream(inputstream, BUFFER_SIZE);
100 inputstream.mark(BUFFER_SIZE);
106 new BufferedInputStream(inputstream), null, options)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactPhotoUtils.java 38 import java.io.InputStream;
94 final InputStream imageStream = context.getContentResolver().openInputStream(uri);
149 InputStream inputStream = null;
153 inputStream = context.getContentResolver().openInputStream(
159 while ((length = inputStream.read(buffer)) > 0) {
168 Closeables.closeQuietly(inputStream);
  /external/proguard/src/proguard/gui/
ReTraceRunnable.java 73 InputStream oldIn = System.in;
77 ByteArrayInputStream inputStream =
83 System.setIn(inputStream);
  /external/smack/src/org/jivesoftware/smack/compression/
Java7ZlibInputOutputStream.java 19 import java.io.InputStream;
64 public InputStream getInputStream(InputStream inputStream) {
65 return new InflaterInputStream(inputStream, new Inflater(), 512) {
67 * Provide a more InputStream compatible version. A return value of 1 means that it is likely to read one
78 * InputStream.available, which breaks kXML2.
  /frameworks/base/media/java/android/media/
AmrInputStream.java 21 import java.io.InputStream;
29 public final class AmrInputStream extends InputStream
41 private InputStream mInputStream;
56 * @param inputStream InputStream containing 16 bit PCM.
58 public AmrInputStream(InputStream inputStream) {
59 mInputStream = inputStream;
ResampleInputStream.java 21 import java.io.InputStream;
29 public final class ResampleInputStream extends InputStream
38 private InputStream mInputStream;
56 * @param inputStream InputStream containing 16 bit PCM.
61 public ResampleInputStream(InputStream inputStream, int rateIn, int rateOut) {
67 mInputStream = inputStream;
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
ExifReader.java 22 import java.io.InputStream;
38 * Parses the inputStream and and returns the EXIF data in an
44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException,
46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
  /packages/apps/Camera2/src/com/android/camera/exif/
ExifReader.java 22 import java.io.InputStream;
38 * Parses the inputStream and and returns the EXIF data in an
44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException,
46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
  /packages/apps/Exchange/src/com/android/exchange/adapter/
ItemOperationsParser.java 21 import java.io.InputStream;
35 public ItemOperationsParser(final InputStream in, final OutputStream out, final long size,
101 * @param inputStream the InputStream we're reading the attachment from
107 public static void readChunked(final InputStream inputStream, final OutputStream outputStream,
116 final int read = inputStream.read(bytes, 0, CHUNK_SIZE);
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
ExifReader.java 22 import java.io.InputStream;
38 * Parses the inputStream and and returns the EXIF data in an
44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException,
46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
  /packages/apps/Launcher3/src/com/android/gallery3d/exif/
ExifReader.java 22 import java.io.InputStream;
38 * Parses the inputStream and and returns the EXIF data in an
44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException,
46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
  /packages/apps/Mms/src/com/android/mms/exif/
ExifReader.java 22 import java.io.InputStream;
38 * Parses the inputStream and and returns the EXIF data in an
44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException,
46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
  /packages/apps/InCallUI/src/com/android/incallui/
ContactsAsyncHelper.java 33 import java.io.InputStream;
188 InputStream inputStream = null;
191 inputStream = Contacts.openContactPhotoInputStream(
197 if (inputStream != null) {
198 args.photo = Drawable.createFromStream(inputStream,
215 if (inputStream != null) {
217 inputStream.close();
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
AttachmentUtils.java 35 import java.io.InputStream;
185 InputStream inputStream = null;
197 inputStream = new FileInputStream(fileDescriptor.getFileDescriptor());
207 inputStream = context.getContentResolver().openInputStream(attachment.contentUri);
213 int len = inputStream.read(bytes);
246 if (inputStream != null) {
247 inputStream.close();

Completed in 633 milliseconds

1 23 4 5 6 7 8 91011