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

1 2 3 4 5 6 78 91011>>

  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Dispatcher.java 21 import java.io.InputStream;
64 private final InputStream in;
66 RealResponseBody(HttpURLConnection connection, InputStream in) {
79 @Override public InputStream byteStream() throws IOException {
  /libcore/benchmarks/src/benchmarks/
XmlParseBenchmark.java 43 ByteArrayInputStream inputStream;
59 inputStream = new ByteArrayInputStream(xmlBytes);
60 inputStream.mark(xmlBytes.length);
88 inputStream.reset();
90 saxParser.parse(inputStream, elementCounterSaxHandler);
107 inputStream.reset();
108 Document document = documentBuilder.parse(inputStream);
137 inputStream.reset();
139 xmlPullParser.setInput(inputStream, "UTF-8");
  /libcore/luni/src/main/java/java/security/cert/
CertificateFactorySpi.java 20 import java.io.InputStream;
50 public abstract Certificate engineGenerateCertificate(InputStream inStream)
64 engineGenerateCertificates(InputStream inStream) throws CertificateException;
76 public abstract CRL engineGenerateCRL(InputStream inStream)
90 engineGenerateCRLs(InputStream inStream) throws CRLException;
93 * Generates a {@code CertPath} from the provided {@code InputStream}. The
102 public CertPath engineGenerateCertPath(InputStream inStream)
109 * {@code inputStream}, assuming the given {@code encoding} from
117 public CertPath engineGenerateCertPath(InputStream inStream, String encoding)
  /libcore/luni/src/main/java/java/util/zip/
DeflaterInputStream.java 22 import java.io.InputStream;
27 * An {@code InputStream} filter to compress data. Callers read
46 * @param in the source {@code InputStream}
48 public DeflaterInputStream(InputStream in) {
57 * @param in the source {@code InputStream}
60 public DeflaterInputStream(InputStream in, Deflater deflater) {
69 * @param in the source {@code InputStream}
73 public DeflaterInputStream(InputStream in, Deflater deflater, int bufferSize) {
167 * {@link InputStream#available()}, and violates the <a
  /libcore/luni/src/test/java/libcore/io/
StrictLineReaderTest.java 24 import java.io.InputStream;
25 import java.io.InputStream;
35 InputStream refStream = createTestInputStream();
64 private InputStream createTestInputStream() {
  /libcore/luni/src/test/java/libcore/java/io/
FilterInputStreamNullSourceTest.java 23 import java.io.InputStream;
49 InputStream in = new CipherInputStream(null, new NullCipher());
105 private void assertReadsFailWithIoException(InputStream in) throws IOException {
121 private void assertReadsFailWithNullPointerException(InputStream in) throws IOException {
  /sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/
TemplatedInputStream.java 20 import java.io.InputStream;
26 public class TemplatedInputStream extends InputStream {
28 private final InputStream mIn;
34 public TemplatedInputStream(InputStream in, Map<String, String> map) {
  /libcore/luni/src/main/java/java/io/
InputStreamReader.java 41 private InputStream in;
50 * Constructs a new {@code InputStreamReader} on the {@link InputStream}
58 public InputStreamReader(InputStream in) {
63 * Constructs a new InputStreamReader on the InputStream {@code in}. The
69 * the InputStream from which to read characters.
77 public InputStreamReader(InputStream in, final String charsetName)
96 * Constructs a new InputStreamReader on the InputStream {@code in} and
100 * the source InputStream from which to read characters.
104 public InputStreamReader(InputStream in, CharsetDecoder dec) {
113 * Constructs a new InputStreamReader on the InputStream {@code in} an
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
CertificateFactory.java 4 import java.io.InputStream;
43 private InputStream currentStream = null;
47 private InputStream currentCrlStream = null;
92 InputStream in)
113 InputStream in)
167 InputStream in)
229 InputStream inStream)
248 InputStream inStream)
319 InputStream inStream)
339 InputStream inStream
    [all...]
  /external/chromium_org/android_webview/browser/net/
android_stream_reader_url_request_job_unittest.cc 21 using android_webview::InputStream;
44 // Some of the classes will DCHECK on a null InputStream (which is desirable).
47 // InputStream.
48 class NotImplInputStream : public InputStream {
72 virtual scoped_ptr<InputStream> OpenInputStream(
75 return make_scoped_ptr<InputStream>(new NotImplInputStream());
85 android_webview::InputStream* stream,
92 android_webview::InputStream* stream,
102 virtual scoped_ptr<InputStream> OpenInputStream(
105 return make_scoped_ptr<InputStream>(NULL)
    [all...]
  /frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
AsmAnalyzerTest.java 32 import java.io.InputStream;
73 Map<String, InputStream> filesFound = new TreeMap<String, InputStream>();
104 Map<String, InputStream> filesFound = new TreeMap<String, InputStream>();
123 Map<String, InputStream> filesFound = new TreeMap<String, InputStream>();
186 Map<String, InputStream> filesFound = new TreeMap<String, InputStream>();
212 Map<String, InputStream> filesFound = new TreeMap<String, InputStream>()
    [all...]
  /libcore/luni/src/main/java/java/sql/
PreparedStatement.java 20 import java.io.InputStream;
147 * {@code InputStream}, which has a specified number of bytes.
151 * InputStream} until end-of-file is reached or the specified number of
158 * the ASCII {@code InputStream} carrying the data to which the
161 * the number of bytes in the {@code InputStream} to copy to the
166 public void setAsciiStream(int parameterIndex, InputStream theInputStream,
188 * binary {@code InputStream}, which has a specified number of bytes.
197 * the binary {@code InputStream} carrying the data to update the
200 * the number of bytes in the {@code InputStream} to copy to the
205 public void setBinaryStream(int parameterIndex, InputStream theInputStream
    [all...]
  /cts/tools/dex-tools/test/dex/reader/util/
JavaSource.java 20 import java.io.InputStream;
53 public InputStream openInputStream() {
MemoryByteCode.java 20 import java.io.InputStream;
53 public InputStream openInputStream() {
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
ResultReporter.java 22 import java.io.InputStream;
45 InputStream input = new FileInputStream(reportFile);
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
TestPackageDefTest.java 20 import java.io.InputStream;
36 InputStream getFileStream(File dir, String fileName) {
  /developers/build/prebuilts/gradle/NetworkConnect/NetworkConnectSample/src/main/java/com/example/android/networkconnect/
MainActivity.java 32 import java.io.InputStream;
119 InputStream stream = null;
137 * @return An InputStream retrieved from a successful HttpURLConnection.
140 private InputStream downloadUrl(String urlString) throws IOException {
150 InputStream stream = conn.getInputStream();
155 /** Reads an InputStream and converts it to a String.
156 * @param stream InputStream containing HTML from targeted site.
162 private String readIt(InputStream stream, int len) throws IOException, UnsupportedEncodingException {
  /developers/samples/android/connectivity/network/NetworkConnect/NetworkConnectSample/src/main/java/com/example/android/networkconnect/
MainActivity.java 32 import java.io.InputStream;
119 InputStream stream = null;
137 * @return An InputStream retrieved from a successful HttpURLConnection.
140 private InputStream downloadUrl(String urlString) throws IOException {
150 InputStream stream = conn.getInputStream();
155 /** Reads an InputStream and converts it to a String.
156 * @param stream InputStream containing HTML from targeted site.
162 private String readIt(InputStream stream, int len) throws IOException, UnsupportedEncodingException {
  /development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
MainActivity.java 32 import java.io.InputStream;
119 InputStream stream = null;
137 * @return An InputStream retrieved from a successful HttpURLConnection.
140 private InputStream downloadUrl(String urlString) throws IOException {
150 InputStream stream = conn.getInputStream();
155 /** Reads an InputStream and converts it to a String.
156 * @param stream InputStream containing HTML from targeted site.
162 private String readIt(InputStream stream, int len) throws IOException, UnsupportedEncodingException {
  /development/tools/mkstubs/tests/data/
TestTemplateClass.java 21 import java.io.InputStream;
30 public class TestTemplateClass<T extends InputStream, U> {
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
CheckedInputStreamTest.java 22 import java.io.InputStream;
44 * @tests java.util.zip.CheckedInputStream#CheckedInputStream(java.io.InputStream,
48 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt");
63 InputStream inEmp = new FileInputStream("empty.txt");
72 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt");
97 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt");
113 InputStream checkInput = Support_Resources
130 InputStream checkInput = Support_Resources
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/
EnvironmentHelper.java 22 import java.io.InputStream;
36 public static InputStream PropertiesToInputStream(Properties p) {
  /external/apache-harmony/support/src/test/java/tests/support/
Support_HttpConnector.java 21 import java.io.InputStream;
35 public InputStream getInputStream() throws IOException;
Support_HttpSocket.java 21 import java.io.InputStream;
38 public InputStream getInputStream() throws IOException {
Support_Socket.java 21 import java.io.InputStream;
29 public InputStream getInputStream() throws IOException;

Completed in 657 milliseconds

1 2 3 4 5 6 78 91011>>