HomeSort by relevance Sort by last modified time
    Searched refs:InputStream (Results 176 - 200 of 1058) sorted by null

1 2 3 4 5 6 78 91011>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
FileStorage.java 30 import java.io.InputStream;
58 public InputStream getContents() throws CoreException {
59 InputStream stream = null;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
LayoutDevicesXsd.java 23 import java.io.InputStream;
119 public static InputStream getXsdStream() {
125 InputStream xsdStream = getXsdStream();
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/repository/
RepoConstants.java 19 import java.io.InputStream;
130 * @return An {@link InputStream} object for the local XSD file or
135 protected static InputStream getXsdStream(String rootElement, int version) {
138 InputStream stream = null;
  /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;
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidPushbackInputStreamTest.java 21 import java.io.InputStream;
58 public static String read(InputStream a) throws IOException {
69 public static String read(InputStream a, int x) throws IOException {
78 public static String skipRead(InputStream a) throws IOException {
90 public static String markRead(InputStream a, int x, int y) throws IOException {
  /libcore/luni/src/test/java/libcore/java/util/zip/
DeflaterInputStreamTest.java 22 import java.io.InputStream;
32 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data));
53 java.io.InputStream in = new InflaterInputStream(new ByteArrayInputStream(bytes));
66 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data));
89 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data));
OldZipFileTest.java 28 import java.io.InputStream;
38 public byte[] getAllBytesFromStream(InputStream is) throws IOException {
61 InputStream in;
67 * Android delivers empty InputStream, RI no InputStream at all. The
91 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt"));
92 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt"));
131 // Test for method java.io.InputStream
134 InputStream is = null;
164 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip")
    [all...]
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/repository/
ValidateAddonXmlTest.java 24 import java.io.InputStream;
59 InputStream xsdStream = SdkAddonConstants.getXsdStream(version);
99 /** Validate a valid sample using namespace version 1 using an InputStream */
101 InputStream xmlStream = this.getClass().getResourceAsStream(
111 /** Validate a valid sample using namespace version 2 using an InputStream */
113 InputStream xmlStream = this.getClass().getResourceAsStream(
123 /** Validate a valid sample using namespace version 2 using an InputStream */
125 InputStream xmlStream = this.getClass().getResourceAsStream(
  /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...]
  /external/apache-harmony/support/src/test/java/tests/support/resource/
Support_Resources.java 24 import java.io.InputStream;
37 public static InputStream getStream(String name) {
91 InputStream in = Support_Resources.getStream(src);
104 public static void copyLocalFileTo(File dest, InputStream in) throws IOException {
120 InputStream in = new URL(url).openStream();
136 public static InputStream getResourceStream(String name) {
137 InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream(name);
  /packages/apps/Email/emailcommon/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/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/apache-harmony/luni/src/test/api/common/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");
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
PropertyResourceBundleTest.java 23 import java.io.InputStream;
41 * @tests java.util.PropertyResourceBundle#PropertyResourceBundle(java.io.InputStream)
45 InputStream propertiesStream = new ByteArrayInputStream(
59 new PropertyResourceBundle((InputStream) null);
150 InputStream propertiesStream = new ByteArrayInputStream(
172 MockResourceBundle(java.io.InputStream stream) throws IOException {
182 java.io.InputStream localStream = new java.io.ByteArrayInputStream(
  /external/mockwebserver/src/test/java/com/google/mockwebserver/
MockWebServerTest.java 21 import java.io.InputStream;
49 InputStream in = connection.getInputStream();
68 InputStream in = connection.getInputStream();
86 InputStream in = connection.getInputStream();
105 InputStream in = urlConnection.getInputStream();
116 InputStream in2 = urlConnection2.getInputStream();
  /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/main/java/java/nio/channels/
Channels.java 21 import java.io.InputStream;
55 * the channel to be wrapped by an InputStream.
56 * @return an InputStream that takes bytes from the given byte channel.
58 public static InputStream newInputStream(ReadableByteChannel channel) {
91 * @param inputStream
95 public static ReadableByteChannel newChannel(InputStream inputStream) {
96 return new InputStreamChannel(inputStream);
204 private static class ChannelInputStream extends InputStream {
288 private final InputStream inputStream
    [all...]
  /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/message/
Message.java 23 import java.io.InputStream;
64 public Message(InputStream is) throws IOException {
173 * @see org.apache.james.mime4j.ContentHandler#body(org.apache.james.mime4j.BodyDescriptor, java.io.InputStream)
175 public void body(BodyDescriptor bd, InputStream is) throws IOException {
222 * @see org.apache.james.mime4j.ContentHandler#epilogue(java.io.InputStream)
224 public void epilogue(InputStream is) throws IOException {
235 * @see org.apache.james.mime4j.ContentHandler#preamble(java.io.InputStream)
237 public void preamble(InputStream is) throws IOException {
250 * @see org.apache.james.mime4j.ContentHandler#raw(java.io.InputStream)
252 public void raw(InputStream is) throws IOException {
    [all...]
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/
AddonsListFetcherTest.java 27 import java.io.InputStream;
46 public int _getXmlSchemaVersion(InputStream xml) {
50 public String _validateXml(InputStream xml, String url, int version,
55 public Document _getDocument(InputStream xml, ITaskMonitor monitor) {
81 InputStream xmlStream =
129 * which has the advantage that we can use {@link InputStream#reset()} on it
138 InputStream xmlStream = this.getClass().getResourceAsStream(filename);
  /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();
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_PhotoTest.java 31 import java.io.InputStream;
73 InputStream input = getInstrumentation().getTargetContext().getResources()
78 protected byte[] readInputStreamFully(InputStream is) {
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
UnixSocketTest.java 21 import java.io.InputStream;
52 InputStream in = worker.getInputStream();
58 InputStream clientIn = pingClient.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)
  /external/javassist/src/main/javassist/
URLClassPath.java 76 public InputStream openClassfile(String classname) {
104 InputStream is = con.getInputStream();
137 InputStream s = con.getInputStream();

Completed in 1234 milliseconds

1 2 3 4 5 6 78 91011>>