HomeSort by relevance Sort by last modified time
    Searched refs:InputStream (Results 151 - 175 of 846) sorted by null

1 2 3 4 5 67 8 91011>>

  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/
FileWrapper.java 25 import java.io.InputStream;
88 public InputStream getContents() throws StreamException {
96 public void setContents(InputStream source) throws StreamException {
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
ASN1StreamParser.java 5 import java.io.InputStream;
9 private final InputStream _in;
12 private static int findLimit(InputStream in)
23 InputStream in)
29 InputStream in,
  /external/protobuf/java/src/main/java/com/google/protobuf/
Message.java 37 import java.io.InputStream;
295 Builder mergeFrom(InputStream input) throws IOException;
296 Builder mergeFrom(InputStream input,
299 boolean mergeDelimitedFrom(InputStream input)
301 boolean mergeDelimitedFrom(InputStream input,
  /frameworks/base/core/java/android/speech/srec/
UlawEncoderInputStream.java 25 import java.io.InputStream;
28 * InputStream which transforms 16 bit pcm data to ulaw data.
33 public final class UlawEncoderInputStream extends InputStream {
39 private InputStream mIn;
131 * Create an InputStream which takes 16 bit pcm data and produces ulaw data.
132 * @param in InputStream containing 16 bit pcm data.
135 public UlawEncoderInputStream(InputStream in, int max) {
177 InputStream in = mIn;
  /frameworks/base/tests/CoreTests/android/core/
IOUtil.java 19 import java.io.InputStream;
30 * returns the content of an InputStream as a String.
36 public static String read(InputStream a) throws IOException {
66 * returns the content of an InputStream as a String. It reads x characters.
73 public static String read(InputStream a, int x) throws IOException {
107 public static String skipRead(InputStream a) throws IOException {
139 * reads characters from a InputStream, skips back y characters and continues
142 * @param a the InputStream.
148 public static String markRead(InputStream a, int x, int y) throws IOException {
  /libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarInputStreamTest.java 24 import java.io.InputStream;
57 * @tests java.util.jar.JarInputStream#JarInputStream(java.io.InputStream)
60 // Test for method java.util.jar.JarInputStream(java.io.InputStream)
61 InputStream is = null;
101 InputStream is = new URL(jarName2).openConnection()
125 InputStream is = new URL(jarName).openConnection().getInputStream();
159 InputStream is = new URL(jarName).openConnection().getInputStream();
192 InputStream is = new URL(intJarName).openConnection().getInputStream();
207 InputStream is = new URL(modJarName).openConnection().getInputStream();
233 InputStream is = new URL(modJarName).openConnection(
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JDKX509CertificateFactory.java 14 import java.io.InputStream;
44 private InputStream currentStream = null;
48 private InputStream currentCrlStream = null;
93 InputStream in)
114 InputStream in)
168 InputStream in)
232 InputStream inStream)
251 InputStream inStream)
324 InputStream inStream)
344 InputStream inStream
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 27 import java.io.InputStream;
89 args = {java.io.InputStream.class, java.security.MessageDigest.class}
95 InputStream is = new ByteArrayInputStream(myMessage);
96 InputStream dis = new DigestInputStream(is, md);
116 args = {java.io.InputStream.class, java.security.MessageDigest.class}
119 InputStream dis = new DigestInputStream(null, null);
140 InputStream is = new ByteArrayInputStream(myMessage);
179 InputStream is = new ByteArrayInputStream(myMessage);
220 InputStream is = new ByteArrayInputStream(myMessage);
245 * <code>InputStream</code> not set. <code>read()</code> mus
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/
IOUtils.java 25 import java.io.InputStream;
82 // NOTE: This class is focussed on InputStream, OutputStream, Reader and
168 * Unconditionally close an <code>InputStream</code>.
170 * Equivalent to {@link InputStream#close()}, except any exceptions will be ignored.
173 * @param input the InputStream to close, may be null or already closed
175 public static void closeQuietly(InputStream input) {
206 * Get the contents of an <code>InputStream</code> as a <code>byte[]</code>.
211 * @param input the <code>InputStream</code> to read from
216 public static byte[] toByteArray(InputStream input) throws IOException {
283 * Get the contents of an <code>InputStream</code> as a character array
    [all...]
  /libcore/support/src/test/java/tests/support/resource/
Support_Resources.java 26 import java.io.InputStream;
38 public static InputStream getStream(String name) {
40 InputStream result = Support_Resources.class.getResourceAsStream(path);
100 InputStream in = Support_Resources.getStream(folder == null ? file
119 public static void copyLocalFileto(File dest, InputStream in)
137 InputStream in = new URL(url).openStream();
153 public static InputStream getResourceStream(String name) {
155 InputStream is = Support_Resources.class.getResourceAsStream(name);
176 InputStream input = getResourceStream(name);
218 InputStream xml = Support_Resources.class.getResourceAsStream(path)
    [all...]
  /libcore/luni/src/main/java/javax/sql/
RowSet.java 20 import java.io.InputStream;
277 * with the ASCII data in the supplied {@code java.io.InputStream} value.
278 * Data is read from the {@code InputStream} until end-of-file is reached.
290 public void setAsciiStream(int parameterIndex, InputStream theInputStream,
295 * ASCII data in the supplied java.io.InputStream value. Data is read from
296 * the InputStream until end-of-file is reached.
302 * an InputStream containing the ASCII data to set into the
308 public void setAsciiStream(int parameterIndex, InputStream theInputStream)
313 * ASCII data in the supplied java.io.InputStream value. Data is read from
314 * the InputStream until end-of-file is reached
    [all...]
  /external/oauth/core/src/main/java/net/oauth/http/
HttpMessage.java 20 import java.io.InputStream;
49 public HttpMessage(String method, URL url, InputStream body)
59 protected InputStream body = null;
100 public final InputStream getBody() throws IOException
103 InputStream raw = openBody();
111 protected InputStream openBody() throws IOException
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
ClassLoaderTest.java 20 import java.io.InputStream;
171 java.io.InputStream is = null;
185 // Test for method java.io.InputStream
189 java.io.InputStream is = null;
206 java.io.InputStream is = cl.getResourceAsStream("hyts_Foo.c");
229 InputStream in = this.getClass().getClassLoader().getResourceAsStream(
264 InputStream is = getResourceAsStream(path + "A.class");
PublicClassLoader.java 22 import java.io.InputStream;
62 InputStream is = getResourceAsStream("/" + classFileName);
93 public InputStream getResourceAsStream(String name) {
  /packages/apps/Email/src/org/apache/james/mime4j/message/
Message.java 23 import java.io.InputStream;
64 public Message(InputStream is) throws IOException {
172 * @see org.apache.james.mime4j.ContentHandler#body(org.apache.james.mime4j.BodyDescriptor, java.io.InputStream)
174 public void body(BodyDescriptor bd, InputStream is) throws IOException {
221 * @see org.apache.james.mime4j.ContentHandler#epilogue(java.io.InputStream)
223 public void epilogue(InputStream is) throws IOException {
234 * @see org.apache.james.mime4j.ContentHandler#preamble(java.io.InputStream)
236 public void preamble(InputStream is) throws IOException {
249 * @see org.apache.james.mime4j.ContentHandler#raw(java.io.InputStream)
251 public void raw(InputStream is) throws IOException {
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
LocalServerSocketTest.java 19 import java.io.InputStream;
85 InputStream serverInStream = serverSocket.getInputStream();
91 InputStream clientInStream = clientSocket.getInputStream();
  /external/emma/core/java12/com/vladium/util/
ResourceLoader.java 12 import java.io.InputStream;
59 public static InputStream getResourceAsStream (final String name)
100 public static InputStream getResourceAsStream (final String name, final ClassLoader loader)
  /frameworks/base/core/java/android/util/
Base64InputStream.java 21 import java.io.InputStream;
24 * An InputStream that does Base64 decoding on the data read through
39 * An InputStream that performs Base64 decoding on the data read
42 * @param in the InputStream to read the source data from
46 public Base64InputStream(InputStream in, int flags) {
52 * wrapped InputStream.
54 * @param in the InputStream to read the source data from
61 public Base64InputStream(InputStream in, int flags, boolean encode) {
  /frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/
PropertyNodesVerifier.java 24 import java.io.InputStream;
55 public void verify(InputStream is, int vcardType) throws IOException, VCardException {
60 public void verify(InputStream is, int vcardType, final VCardParser parser)
  /frameworks/base/graphics/java/android/graphics/
Picture.java 19 import java.io.InputStream;
105 public static Picture createFromStream(InputStream stream) {
142 private static native int nativeCreateFromStream(InputStream stream,
  /libcore/luni/src/main/java/javax/crypto/
CipherInputStream.java 22 import java.io.InputStream;
26 * This class wraps an {@code InputStream} and a cipher so that {@code read()}
27 * methods return data that are read from the underlying {@code InputStream} and
46 * InputStream} and a cipher.
57 public CipherInputStream(InputStream is, Cipher c) {
64 * InputStream} without a cipher.
71 protected CipherInputStream(InputStream is) {
  /libcore/luni/src/main/java/javax/xml/parsers/
DocumentBuilder.java 24 import java.io.InputStream;
87 * Parse the content of the given <code>InputStream</code> as an XML
90 * <code>InputStream</code> is null.
92 * @param is InputStream containing the content to be parsed.
94 * <code>InputStream</code>
100 public Document parse(InputStream is)
103 throw new IllegalArgumentException("InputStream cannot be null");
111 * Parse the content of the given <code>InputStream</code> as an
114 * <code>InputStream</code> is null.
116 * @param is InputStream containing the content to be parsed
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1Type.java 26 import java.io.InputStream;
102 public final Object decode(InputStream in) throws IOException {
112 public final void verify(InputStream in) throws IOException {
  /libcore/luni/src/test/java/libcore/java/net/
OldUnixSocketTest.java 21 import java.io.InputStream;
48 InputStream in = worker.getInputStream();
54 InputStream clientIn = pingClient.getInputStream();
  /libcore/luni/src/test/java/tests/api/java/lang/
Process2Test.java 29 import java.io.InputStream;
83 InputStream is = process.getErrorStream();
102 InputStream is = erProcess.getErrorStream();

Completed in 886 milliseconds

1 2 3 4 5 67 8 91011>>