Searched refs:inputStream (Results 1 - 15 of 15) sorted by relevance

/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DHprofBinaryToAscii.java89 DataInputStream inputStream = null;
91 inputStream = new DataInputStream(new BufferedInputStream(new FileInputStream(file)));
92 return BinaryHprof.readMagic(inputStream) != null;
96 closeQuietly(inputStream);
104 InputStream inputStream = null;
106 inputStream = new BufferedInputStream(new FileInputStream(file));
107 return read(inputStream);
109 closeQuietly(inputStream);
118 InputStream inputStream = null;
120 inputStream
137 read(InputStream inputStream) argument
[all...]
H A DBinaryHprofReader.java30 * BinaryHprofReader reader = new BinaryHprofReader(new BufferedInputStream(inputStream));
33 * inputStream.close();
72 * inputStream}
74 public BinaryHprofReader(InputStream inputStream) throws IOException { argument
75 this.in = new DataInputStream(inputStream);
/libcore/luni/src/main/java/javax/xml/transform/stream/
H A DStreamSource.java49 * {@link #setInputStream(java.io.InputStream inputStream)} or
69 * @param inputStream A valid InputStream reference to an XML stream.
71 public StreamSource(InputStream inputStream) { argument
72 setInputStream(inputStream);
85 * @param inputStream A valid InputStream reference to an XML stream.
88 public StreamSource(InputStream inputStream, String systemId) { argument
89 setInputStream(inputStream);
151 * @param inputStream A valid InputStream reference to an XML stream.
153 public void setInputStream(InputStream inputStream) { argument
154 this.inputStream
266 private InputStream inputStream; field in class:StreamSource
[all...]
/libcore/luni/src/main/java/java/nio/channels/
H A DChannels.java91 * @param inputStream
95 public static ReadableByteChannel newChannel(InputStream inputStream) { argument
96 return new InputStreamChannel(inputStream);
288 private final InputStream inputStream; field in class:Channels.InputStreamChannel
290 InputStreamChannel(InputStream inputStream) { argument
291 if (inputStream == null) {
294 this.inputStream = inputStream;
306 readCount = inputStream.read(bytes);
318 inputStream
[all...]
/libcore/luni/src/main/java/java/sql/
H A DPreparedStatement.java761 * from {@code inputStream}.
766 * @param inputStream the {@code InputStream}
770 public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException; argument
798 * from {@code inputStream}.
803 * @param inputStream the {@code InputStream}
807 public void setAsciiStream(int parameterIndex, InputStream inputStream, long length) throws SQLException; argument
811 * from {@code inputStream}.
816 * @param inputStream the {@code InputStream}
820 public void setBinaryStream(int parameterIndex, InputStream inputStream, long length) throws SQLException; argument
837 * from {@code inputStream}
845 setAsciiStream(int parameterIndex, InputStream inputStream) argument
857 setBinaryStream(int parameterIndex, InputStream inputStream) argument
905 setBlob(int parameterIndex, InputStream inputStream) argument
[all...]
H A DResultSet.java2137 public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException; argument
2144 public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException; argument
2235 public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException; argument
2242 public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException; argument
H A DCallableStatement.java1437 * Sets the named parameter to the next {@code length} bytes from the given {@code inputStream}.
1440 public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException; argument
1564 * Sets the named parameter to the next {@code length} bytes from the given {@code inputStream}.
1576 * Sets the named parameter to the next {@code length} bytes from the given {@code inputStream}.
1612 * Sets the named parameter to the bytes from the given {@code inputStream}.
1615 public void setBlob(String parameterName, InputStream inputStream) throws SQLException; argument
/libcore/luni/src/main/java/libcore/net/http/
H A DHttpConnection.java54 private InputStream inputStream; field in class:HttpConnection
136 IoUtils.closeQuietly(inputStream);
162 } else if (inputStream == null) {
170 inputStream = address.requiresTunnel
174 return inputStream;
/libcore/luni/src/main/java/java/lang/
H A DProcessManager.java238 private final InputStream inputStream; field in class:ProcessManager.ProcessImpl
251 this.inputStream = new ProcessInputStream(in);
261 IoUtils.closeQuietly(inputStream);
282 return this.inputStream;
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlPullParser.java483 * @param inputStream contains a raw byte input stream of possibly
486 * @param inputEncoding if not null it MUST be used as encoding for inputStream
488 void setInput(InputStream inputStream, String inputEncoding) argument
/libcore/luni/src/main/java/libcore/net/url/
H A DFtpURLConnection.java81 private InputStream inputStream; field in class:FtpURLConnection
252 inputStream = new FtpURLInputStream(
302 return inputStream;
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DSSLServerSocketTest.java446 InputStream inputStream = new ByteArrayInputStream(bytes);
449 keyStore.load(inputStream, PASSWORD.toCharArray());
450 inputStream.close();
H A DHandshakeCompletedEventTest.java544 InputStream inputStream = new ByteArrayInputStream(bytes);
547 keyStore.load(inputStream, PASSWORD.toCharArray());
548 inputStream.close();
H A DSSLSessionTest.java631 InputStream inputStream = new ByteArrayInputStream(bytes);
634 keyStore.load(inputStream, PASSWORD.toCharArray());
635 inputStream.close();
H A DSSLSocketTest.java600 InputStream inputStream = new ByteArrayInputStream(bytes);
603 keyStore.load(inputStream, PASSWORD.toCharArray());
604 inputStream.close();

Completed in 178 milliseconds