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

<<11121314151617181920>>

  /libcore/luni/src/test/java/libcore/java/io/
OldObjectOutputStreamPutFieldTest.java 21 import java.io.InputStream;
124 InputStream refStream = null;
  /libcore/luni/src/test/java/libcore/java/util/zip/
ZipFileTest.java 23 import java.io.InputStream;
48 InputStream is = zipFile.getInputStream(zipEntry);
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
HostnameVerifierTest.java 21 import java.io.InputStream;
52 InputStream in;
148 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT);
164 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT);
187 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8"));
209 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8"));
242 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8"));
279 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8"));
  /libcore/xml/src/main/java/org/xmlpull/v1/
XmlPullParser.java 6 import java.io.InputStream;
483 * @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)
493 * If setInput(InputStream, inputEncoding) was called with an inputEncoding
    [all...]
  /packages/apps/Browser/src/com/android/browser/homepages/
HomeProvider.java 32 import java.io.InputStream;
93 InputStream ins = context.getContentResolver()
  /packages/apps/Contacts/src/com/android/contacts/
NfcHandler.java 35 import java.io.InputStream;
87 InputStream vcardInputStream = resolver.openInputStream(shareUri);
  /packages/apps/Email/emailcommon/src/org/apache/commons/io/input/
NullInputStream.java 21 import java.io.InputStream;
24 * A functional, light weight {@link InputStream} that emulates
28 * object for testing with an {@link InputStream}
32 * large {@link InputStream} as it can emulate that
63 public class NullInputStream extends InputStream {
74 * Create an {@link InputStream} that emulates a specified size
84 * Create an {@link InputStream} that emulates a specified
110 * Return the size this {@link InputStream} emulates.
SwappedDataInputStream.java 22 import java.io.InputStream;
43 * @param input InputStream to read from
45 public SwappedDataInputStream( InputStream input )
87 * Delegates to {@link EndianUtils#readSwappedDouble(InputStream)}.
99 * Delegates to {@link EndianUtils#readSwappedFloat(InputStream)}.
153 * Delegates to {@link EndianUtils#readSwappedInteger(InputStream)}.
178 * Delegates to {@link EndianUtils#readSwappedLong(InputStream)}.
190 * Delegates to {@link EndianUtils#readSwappedShort(InputStream)}.
214 * Delegates to {@link EndianUtils#readSwappedUnsignedShort(InputStream)}.
  /packages/apps/Email/src/com/android/email/mail/store/imap/
ImapTempFileLiteral.java 34 import java.io.InputStream;
74 public InputStream getAsStream() {
  /packages/experimental/BugReportSender/src/com/android/bugreportsender/
BugReportPreviewActivity.java 12 import java.io.InputStream;
45 InputStream in = null;
  /packages/experimental/RpcPerformance/src/com/android/rpc_performance/
MiscService.java 29 import java.io.InputStream;
74 InputStream is = socket.getInputStream();
  /system/media/mca/filterfw/java/android/filterfw/basefilters/
InputStreamSource.java 31 import java.io.InputStream;
44 private InputStream mInputStream;
  /cts/tests/tests/graphics/src/android/graphics/cts/
MovieTest.java 23 import java.io.InputStream;
99 InputStream source = null;
121 private byte[] inputStreamToBytes(InputStream in) throws IOException {
142 InputStream is = getActivity().getResources().openRawResource(MOVIE);
153 args = {java.io.InputStream.class}
159 InputStream is = getActivity().getResources()
  /libcore/luni/src/main/java/java/util/jar/
JarFile.java 23 import java.io.InputStream;
67 JarFileInputStream(InputStream is, ZipEntry ze,
290 InputStream is = super.getInputStream(manifestEntry);
342 InputStream is = super.getInputStream(entry);
359 * Return an {@code InputStream} for reading the decompressed contents of
369 public InputStream getInputStream(ZipEntry ze) throws IOException {
388 InputStream in = super.getInputStream(ze);
  /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/
MimeStreamParser.java 28 import java.io.InputStream;
86 public void parse(InputStream is) throws IOException {
108 * {@link ContentHandler#raw(InputStream)} handler method only.
142 private void parseEntity(InputStream is) throws IOException {
200 private void parseMessage(InputStream is) throws IOException {
210 private void parseBodyPart(InputStream is) throws IOException {
227 private BodyDescriptor parseHeader(InputStream is) throws IOException {
  /libcore/luni/src/main/java/libcore/net/http/
HttpResponseCache.java 26 import java.io.InputStream;
112 InputStream body = newBodyInputStream(snapshot);
122 private InputStream newBodyInputStream(final DiskLruCache.Snapshot snapshot) {
343 public Entry(InputStream in) throws IOException {
433 private int readInt(InputStream in) throws IOException {
442 private Certificate[] readCertArray(InputStream in) throws IOException {
487 public CacheResponse newCacheResponse(final InputStream in) {
493 @Override public InputStream getBody() {
499 public SecureCacheResponse newSecureCacheResponse(final InputStream in) {
505 @Override public InputStream getBody()
    [all...]
HttpConnection.java 22 import java.io.InputStream;
54 private InputStream inputStream;
59 private InputStream sslInputStream;
136 IoUtils.closeQuietly(inputStream);
156 public InputStream getInputStream() throws IOException {
162 } else if (inputStream == null) {
170 inputStream = address.requiresTunnel
174 return inputStream;
246 InputStream in = getInputStream()
    [all...]
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/
SdkAddonSourceTest.java 29 import java.io.InputStream;
49 public Document _findAlternateToolsXml(InputStream xml) {
57 public int _getXmlSchemaVersion(InputStream xml) {
61 public String _validateXml(InputStream xml, String url, int version,
66 public Document _getDocument(InputStream xml, ITaskMonitor monitor) {
141 InputStream xmlStream = getTestResource("/com/android/sdklib/testdata/addon_sample_1.xml");
151 InputStream xmlStream = getTestResource("/com/android/sdklib/testdata/addon_sample_1.xml");
224 InputStream xmlStream = getTestResource("/com/android/sdklib/testdata/addon_sample_2.xml");
315 InputStream xmlStream = getTestResource("/com/android/sdklib/testdata/addon_sample_3.xml");
422 * which has the advantage that we can use {@link InputStream#reset()} on it
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/
X509CertFactoryImpl.java 26 import java.io.InputStream;
86 * @see java.security.cert.CertificateFactorySpi#engineGenerateCertificate(InputStream)
89 public Certificate engineGenerateCertificate(InputStream inStream)
119 * @see java.security.cert.CertificateFactorySpi#engineGenerateCertificates(InputStream)
123 engineGenerateCertificates(InputStream inStream)
230 * @see java.security.cert.CertificateFactorySpi#engineGenerateCRL(InputStream)
233 public CRL engineGenerateCRL(InputStream inStream)
261 * @see java.security.cert.CertificateFactorySpi#engineGenerateCRLs(InputStream)
264 public Collection<? extends CRL> engineGenerateCRLs(InputStream inStream)
369 * @see java.security.cert.CertificateFactorySpi#engineGenerateCertPath(InputStream)
    [all...]
  /frameworks/base/core/tests/utillib/src/coretestutils/http/
MockWebServer.java 24 import java.io.InputStream;
155 InputStream in = new BufferedInputStream(s.getInputStream());
209 private RecordedRequest readRequest(InputStream in, int sequenceNumber) throws IOException {
296 InputStream body = response.getBody();
362 private void transfer(int length, InputStream in, OutputStream out) throws IOException {
378 private String readAsciiUntilCrlf(InputStream in) throws IOException {
393 private void readEmptyLine(InputStream in) throws IOException {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertificateFactorySpiTest.java 27 import java.io.InputStream;
258 public Certificate engineGenerateCertificate(InputStream inStream)
261 throw new CertificateException("InputStream null");
266 public Collection engineGenerateCertificates(InputStream inStream)
269 throw new CertificateException("InputStream null");
274 public CRL engineGenerateCRL(InputStream inStream) throws CRLException {
276 throw new CRLException("InputStream null");
281 public Collection engineGenerateCRLs(InputStream inStream)
284 throw new CRLException("InputStream null");
  /libcore/luni/src/main/java/java/lang/
ProcessManager.java 24 import java.io.InputStream;
235 private final InputStream errorStream;
238 private final InputStream inputStream;
251 this.inputStream = new ProcessInputStream(in);
261 IoUtils.closeQuietly(inputStream);
277 public InputStream getErrorStream() {
281 public InputStream getInputStream() {
282 return this.inputStream;
  /libcore/luni/src/main/java/javax/xml/parsers/
SAXParser.java 24 import java.io.InputStream;
109 * <p>Parse the content of the given {@link java.io.InputStream}
114 * @param is InputStream containing the content to be parsed.
117 * @throws IllegalArgumentException If the given InputStream is null.
120 * <code>InputStream</code>.
124 public void parse(InputStream is, HandlerBase hb)
127 throw new IllegalArgumentException("InputStream cannot be null");
135 * <p>Parse the content of the given {@link java.io.InputStream}
140 * @param is InputStream containing the content to be parsed.
144 * @throws IllegalArgumentException If the given <code>InputStream</code> i
    [all...]
  /libcore/luni/src/main/java/libcore/net/url/
JarURLConnectionImpl.java 25 import java.io.InputStream;
54 private InputStream jarInput;
142 final InputStream is = jarFileURL.openConnection().getInputStream();
215 public InputStream getInputStream() throws IOException {
217 throw new IllegalStateException("JarURLConnection InputStream has been closed");
372 protected JarURLConnectionInputStream(InputStream in, JarFile file) {
  /libcore/luni/src/test/java/tests/api/java/lang/
ProcessManagerTest.java 27 import java.io.InputStream;
134 InputStream in = process.getInputStream();
142 InputStream in = process.getErrorStream();
179 InputStream in;
207 InputStream in = process.getInputStream();

Completed in 1350 milliseconds

<<11121314151617181920>>