HomeSort by relevance Sort by last modified time
    Searched full:inputstream (Results 51 - 75 of 2089) sorted by null

1 23 4 5 6 7 8 91011>>

  /sdk/testapps/libsAndJarTest/lib1/src/com/android/tests/javaprojecttest/lib1/
Lib1.java 5 import java.io.InputStream;
11 InputStream input = Lib1.class.getResourceAsStream("Lib1.txt");
  /sdk/testapps/libsAndJarTest/lib2/src/com/android/tests/javaprojecttest/lib2/
Lib2.java 5 import java.io.InputStream;
11 InputStream input = Lib2.class.getResourceAsStream("Lib2.txt");
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/
VCardParserTests.java 27 import java.io.InputStream;
93 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_simple_1);
103 parser.parse(inputStream);
106 inputStream.close();
111 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_nest);
131 parser.parse(inputStream);
134 inputStream.close();
139 * Tests if {@link VCardParser#parse(InputStream)} parses the whole vCard file an
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
LimitInputStreamTest.java 21 import java.io.InputStream;
30 InputStream bin = new ByteArrayInputStream(big);
31 InputStream lin = new LimitInputStream(bin, 2);
61 InputStream bin = new ByteArrayInputStream(big);
62 InputStream lin = new LimitInputStream(bin, 2);
82 InputStream bin = new ByteArrayInputStream(big);
83 InputStream lin = new LimitInputStream(bin, 2);
100 InputStream bin = new ByteArrayInputStream(big);
101 InputStream lin = new LimitInputStream(bin, 2);
112 InputStream lin = new LimitInputStream(new UnmarkableInputStream(), 2)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
AACTrackImpl.java 28 import java.io.InputStream;
76 private BufferedInputStream inputStream;
83 public AACTrackImpl(InputStream inputStream, String lang) throws IOException {
85 parse(inputStream);
88 public AACTrackImpl(InputStream inputStream) throws IOException {
89 parse(inputStream);
92 private void parse(InputStream inputStream) throws IOException
    [all...]
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLX509CertificateFactory.java 20 import java.io.InputStream;
63 public T generateItem(InputStream inStream) throws ParsingException {
117 public Collection<? extends T> generateItems(InputStream inStream)
202 protected abstract T fromX509PemInputStream(InputStream pbis) throws ParsingException;
204 protected abstract T fromX509DerInputStream(InputStream pbis) throws ParsingException;
206 protected abstract List<? extends T> fromPkcs7PemInputStream(InputStream is)
209 protected abstract List<? extends T> fromPkcs7DerInputStream(InputStream is)
216 public OpenSSLX509Certificate fromX509PemInputStream(InputStream is)
222 public OpenSSLX509Certificate fromX509DerInputStream(InputStream is)
229 fromPkcs7PemInputStream(InputStream is) throws ParsingException
    [all...]
  /external/chromium_org/android_webview/native/
input_stream_impl.h 18 class InputStreamImpl : public InputStream {
24 const InputStream* input_stream);
26 // |stream| should be an instance of the InputStream Java class.
34 // InputStream implementation.
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
RawResourceLoaderTest.java 11 import java.io.InputStream;
33 InputStream is = rawResourceLoader.getValue(R.raw.raw_resource);
39 InputStream is = rawResourceLoader.getValue(R.raw.raw_no_ext);
43 private static String readString(InputStream is) throws IOException {
  /frameworks/base/core/java/android/content/
ContentInsertHandler.java 24 import java.io.InputStream;
32 * insert data from InputStream to ContentResolver
34 * @param in InputStream
38 public void insert(ContentResolver contentResolver, InputStream in)
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AssetManagerTest.java 13 import java.io.InputStream;
75 InputStream inputStream;
78 inputStream = assetManager.open(testPath);
79 fileContents = Strings.fromStream(inputStream);
83 inputStream = assetManager.open(testPath);
84 fileContents = Strings.fromStream(inputStream);
  /external/smack/src/org/jivesoftware/smack/compression/
JzlibInputOutputStream.java 18 import java.io.InputStream;
55 public InputStream getInputStream(InputStream inputStream) throws SecurityException, NoSuchMethodException,
57 Constructor<?> constructor = ziClass.getConstructor(InputStream.class);
58 Object in = constructor.newInstance(inputStream);
62 return (InputStream) in;
  /libcore/luni/src/main/java/javax/xml/transform/stream/
StreamSource.java 23 import java.io.InputStream;
31 * <p><em>Note:</em> Due to their internal use of either a {@link Reader} or {@link InputStream} instance,
49 * {@link #setInputStream(java.io.InputStream inputStream)} or
52 * create an empty source {@link java.io.InputStream} using
53 * {@link java.io.InputStream#InputStream() new InputStream()}.</p>
69 * @param inputStream A valid InputStream reference to an XML stream
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
EOLConvertingInputStream.java 23 import java.io.InputStream;
27 * InputStream which converts <code>\r</code>
34 public class EOLConvertingInputStream extends InputStream {
57 * instance converting bytes in the given <code>InputStream</code>.
60 * @param in the <code>InputStream</code> to read from.
62 public EOLConvertingInputStream(InputStream _in) {
69 * instance converting bytes in the given <code>InputStream</code>.
71 * @param _in the <code>InputStream</code> to read from.
75 public EOLConvertingInputStream(InputStream _in, int _size, Callback _callback) {
111 * @see java.io.InputStream#read()
    [all...]
AbstractContentHandler.java 23 import java.io.InputStream;
49 * @see org.apache.james.mime4j.ContentHandler#body(org.apache.james.mime4j.BodyDescriptor, java.io.InputStream)
51 public void body(BodyDescriptor bd, InputStream is) throws IOException {
73 * @see org.apache.james.mime4j.ContentHandler#epilogue(java.io.InputStream)
75 public void epilogue(InputStream is) throws IOException {
85 * @see org.apache.james.mime4j.ContentHandler#preamble(java.io.InputStream)
87 public void preamble(InputStream is) throws IOException {
109 * @see org.apache.james.mime4j.ContentHandler#raw(java.io.InputStream)
111 public void raw(InputStream is) throws IOException {
RootInputStream.java 23 import java.io.InputStream;
26 * <code>InputStream</code> used by the parser to wrap the original user
35 class RootInputStream extends InputStream {
36 private InputStream is = null;
46 public RootInputStream(InputStream is) {
61 * Truncates this <code>InputStream</code>. After this call any
71 * @see java.io.InputStream#read()
88 * @see java.io.InputStream#read(byte[], int, int)
106 * @see java.io.InputStream#read(byte[])
  /libcore/luni/src/main/java/libcore/net/url/
FtpURLInputStream.java 21 import java.io.InputStream;
26 * This class associates a given inputStream with a control socket. This ensures
29 class FtpURLInputStream extends InputStream {
31 private InputStream is; // Actual input stream
35 public FtpURLInputStream(InputStream is, Socket controlSocket) {
  /packages/apps/Email/src/com/android/email/
FixedLengthInputStream.java 20 import java.io.InputStream;
23 * A filtering InputStream that stops allowing reads after the given length has been read. This
27 public class FixedLengthInputStream extends InputStream {
28 private final InputStream mIn;
32 public FixedLengthInputStream(InputStream in, int length) {
PeekableInputStream.java 20 import java.io.InputStream;
23 * A filtering InputStream that allows single byte "peeks" without consuming the byte. The
27 public class PeekableInputStream extends InputStream {
28 private final InputStream mIn;
32 public PeekableInputStream(InputStream in) {
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
PartialInputStream.java 23 import java.io.InputStream;
29 public PartialInputStream(InputStream inputStream, long offset, long length) throws IOException {
30 super(inputStream);
31 inputStream.skip(offset);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
ImageLoader.java 39 import java.io.InputStream;
56 * @param inputStream
64 public Image loadImage(BlenderInputStream inputStream, int startPosition, boolean flipY) {
66 inputStream.setPosition(startPosition);
67 Image result = this.loadImage(inputStream, ImageType.AWT, flipY);
70 inputStream.setPosition(startPosition);
71 result = this.loadImage(inputStream, ImageType.TGA, flipY);
75 inputStream.setPosition(startPosition);
76 result = this.loadImage(inputStream, ImageType.DDS, flipY);
89 * @param inputStream
    [all...]
  /libcore/luni/src/main/java/libcore/io/
Streams.java 22 import java.io.InputStream;
35 * Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int).
36 * InputStream assumes that you implement InputStream.read(int) and provides default
39 public static int readSingleByte(InputStream in) throws IOException {
59 public static void readFully(InputStream in, byte[] dst) throws IOException {
69 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOException {
93 public static byte[] readFully(InputStream in) throws IOException {
104 public static byte[] readFullyNoClose(InputStream in) throws IOException
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
ANTLRInputStream.java 32 /** A kind of ReaderStream that pulls from an InputStream.
39 public ANTLRInputStream(InputStream input) throws IOException {
43 public ANTLRInputStream(InputStream input, int size) throws IOException {
47 public ANTLRInputStream(InputStream input, String encoding) throws IOException {
51 public ANTLRInputStream(InputStream input, int size, String encoding) throws IOException {
55 public ANTLRInputStream(InputStream input,
  /external/guava/guava/src/com/google/common/io/
MultiInputStream.java 20 import java.io.InputStream;
24 * An {@link InputStream} that concatenates multiple substreams. At most
30 final class MultiInputStream extends InputStream {
32 private Iterator<? extends InputSupplier<? extends InputStream>> it;
33 private InputStream in;
41 Iterator<? extends InputSupplier<? extends InputStream>> it)
  /external/jmonkeyengine/engine/src/android/com/jme3/asset/plugins/
AndroidLocator.java 6 import java.io.InputStream;
18 private InputStream in;
21 public AndroidAssetInfo(com.jme3.asset.AssetManager assetManager, AssetKey<?> key, String assetPath, InputStream in) {
28 public InputStream openStream() {
31 InputStream in2 = in;
47 InputStream in = androidManager.open(assetPath);
  /libcore/luni/src/main/java/java/util/
PropertyResourceBundle.java 21 import java.io.InputStream;
25 * {@code PropertyResourceBundle} loads resources from an {@code InputStream}. All resources are
39 * properties file from the specified {@code InputStream}.
42 * the {@code InputStream}.
45 * {@code InputStream}.
47 public PropertyResourceBundle(InputStream stream) throws IOException {

Completed in 856 milliseconds

1 23 4 5 6 7 8 91011>>