| /frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
| VCardParserTests.java | 27 import java.io.InputStream; 93 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_simple_1); 103 parser.parse(inputStream); 106 inputStream.close(); 111 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_nest); 131 parser.parse(inputStream); 134 inputStream.close(); 139 * Tests if {@link VCardParser#parse(InputStream)} parses the whole vCard file an [all...] |
| /libcore/luni/src/main/java/java/io/ |
| ByteArrayInputStream.java | 23 * A specialized {@link InputStream } for reading the contents of a byte array. 27 public class ByteArrayInputStream extends InputStream { 196 * Skips {@code byteCount} bytes in this InputStream. Subsequent
|
| LineNumberInputStream.java | 24 * Wraps an existing {@link InputStream} and counts the line terminators 44 * Constructs a new {@code LineNumberInputStream} on the {@link InputStream} 53 public LineNumberInputStream(InputStream in) {
|
| StringBufferInputStream.java | 23 * A specialized {@link InputStream} that reads bytes from a {@code String} in 29 public class StringBufferInputStream extends InputStream {
|
| /libcore/luni/src/main/java/java/util/jar/ |
| Manifest.java | 22 import java.io.InputStream; 94 * {@code InputStream} to parse for attributes. 98 public Manifest(InputStream is) throws IOException { 116 Manifest(InputStream is, boolean readChunks) throws IOException { 193 * The {@code InputStream} to read from. 197 public void read(InputStream is) throws IOException {
|
| /libcore/luni/src/main/java/java/util/zip/ |
| ZipFile.java | 26 import java.io.InputStream; 246 public InputStream getInputStream(ZipEntry entry) throws IOException { 253 // Create an InputStream at the right part of the file. 378 static class RAFStream extends InputStream { 429 public ZipInflaterInputStream(InputStream is, Inflater inf, int bsize, ZipEntry entry) { 447 // explicitly checks that the InputStream returned from ZipFile.getInputStream
|
| /libcore/luni/src/test/java/libcore/java/text/ |
| AttributedCharacterIteratorAttributeTest.java | 22 import java.io.InputStream;
|
| /libcore/luni/src/test/java/libcore/java/util/zip/ |
| ZipInputStreamTest.java | 22 import java.io.InputStream;
|
| ZipOutputStreamTest.java | 22 import java.io.InputStream;
|
| /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/contenttype/parser/ |
| ContentTypeParser.java | 129 public ContentTypeParser(java.io.InputStream stream) { 132 public ContentTypeParser(java.io.InputStream stream, String encoding) { 141 public void ReInit(java.io.InputStream stream) { 144 public void ReInit(java.io.InputStream stream, String encoding) {
|
| /packages/apps/Email/src/com/android/email/mail/transport/ |
| MailTransport.java | 31 import java.io.InputStream; 77 private InputStream mIn; 305 public InputStream getInputStream() { 341 InputStream in = getInputStream();
|
| /packages/apps/VoiceDialer/src/com/android/voicedialer/ |
| RecognizerLogger.java | 33 import java.io.InputStream; 209 * InputStream wrapper which will log the contents to a WAV file. 210 * @param inputStream 214 public InputStream logInputStream(final InputStream inputStream, final int sampleRate) { 217 return new InputStream() { 220 return inputStream.available(); 224 int rtn = inputStream.read(b, offset, length); 230 int rtn = inputStream.read(b) [all...] |
| /packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
| ServiceBase.java | 30 import java.io.InputStream;
|
| /sdk/assetstudio/src/com/android/assetstudiolib/ |
| GraphicGenerator.java | 24 import java.io.InputStream; 218 InputStream is = GraphicGenerator.class.getResourceAsStream(relativePath); 231 InputStream is = GraphicGenerator.class.getResourceAsStream( 245 InputStream is = GraphicGenerator.class.getResourceAsStream(
|
| /external/mockwebserver/src/main/java/com/google/mockwebserver/ |
| MockWebServer.java | 24 import java.io.InputStream; 269 InputStream in = new BufferedInputStream(socket.getInputStream()); 307 private boolean processOneRequest(InputStream in, OutputStream out, Socket socket) 332 private RecordedRequest readRequest(InputStream in, int sequenceNumber) throws IOException { 435 private void transfer(int length, InputStream in, OutputStream out) throws IOException { 451 private String readAsciiUntilCrlf(InputStream in) throws IOException { 466 private void readEmptyLine(InputStream in) throws IOException {
|
| /frameworks/base/tests/CoreTests/android/core/ |
| TestWebServer.java | 432 * @param is Inputstream to read 435 private int readOneLine(InputStream is) { 473 private int readData(InputStream is, int length) { 494 * @param is Inputstream to read 497 private int parseStatusLine(InputStream is) { 564 * @param is Inputstream to read 567 private int parseHeader(InputStream is) { 602 * @param is Inputstream to read 605 private int readHeaders(InputStream is) { 623 * @param is Inputstream to rea [all...] |
| /libcore/support/src/test/java/tests/http/ |
| MockWebServer.java | 23 import java.io.InputStream; 268 InputStream in = new BufferedInputStream(socket.getInputStream()); 306 private boolean processOneRequest(InputStream in, OutputStream out, Socket socket) 331 private RecordedRequest readRequest(InputStream in, int sequenceNumber) throws IOException { 434 private void transfer(int length, InputStream in, OutputStream out) throws IOException { 450 private String readAsciiUntilCrlf(InputStream in) throws IOException { 465 private void readEmptyLine(InputStream in) throws IOException {
|
| /libcore/support/src/test/java/tests/support/ |
| Support_TestWebServer.java | 392 * @param is Inputstream to read 395 private int readOneLine(InputStream is) { 433 private int readData(InputStream is, int length) { 453 * @param is Inputstream to read 456 private int parseStatusLine(InputStream is) { 521 * @param is Inputstream to read 524 private int parseHeader(InputStream is) { 559 * @param is Inputstream to read 562 private int readHeaders(InputStream is) { 580 * @param is Inputstream to rea [all...] |
| /libcore/luni/src/test/java/libcore/java/net/ |
| OldURLTest.java | 24 import java.io.InputStream; 259 InputStream output = (InputStream) fileURL.getContent(); 325 InputStream is; 330 is = (InputStream) u.getContent(new Class[] { Object.class }); 697 InputStream is = null; 701 is = (InputStream) u.getContent(new Class[] {InputStream.class}); 710 is = (InputStream) u.getContent(new Class[] { 711 String.class, InputStream.class}) [all...] |
| /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
| SdkSource.java | 38 import java.io.InputStream;
131 protected abstract InputStream getXsdStream(int version);
143 protected abstract Document findAlternateToolsXml(@Nullable InputStream xml)
286 InputStream xml = fetchUrl(url, monitor.createSubMonitor(1), exception);
544 private InputStream fetchUrl(String urlString, ITaskMonitor monitor, Exception[] outException) {
547 InputStream is = null;
594 protected String validateXml(InputStream xml, String url, int version,
647 protected int getXmlSchemaVersion(InputStream xml) {
750 InputStream xsdStream = getXsdStream(version);
[all...] |
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
| JarURLConnectionTest.java | 24 import java.io.InputStream; 161 InputStream in = connection.getInputStream(); 226 InputStream is = conn.getInputStream(); 257 InputStream is =juc.getInputStream(); 314 InputStream is = url.openStream();
|
| /external/javassist/src/main/javassist/tools/web/ |
| Webserver.java | 189 InputStream in = new BufferedInputStream(clnt.getInputStream()); 210 private String readLine(InputStream in) throws IOException { 220 private int skipLine(InputStream in) throws IOException { 236 public void doReply(InputStream in, OutputStream out, String cmd) 292 InputStream fin
|
| /frameworks/base/telephony/java/com/android/internal/telephony/test/ |
| ModelInterpreter.java | 25 import java.io.InputStream; 52 InputStream inStream; 54 LineReader (InputStream s) 146 InputStream in; 167 ModelInterpreter (InputStream in, OutputStream out)
|
| /libcore/luni/src/test/java/tests/security/cert/ |
| CertificateFactorySpiTest.java | 32 import java.io.InputStream; 247 * Test for <code>engineGenerateCertPath(InputStream)</code> method. 249 * with the data read from the <code>InputStream</code> 266 * Test for <code>engineGenerateCertPath(InputStream)</code> method. 268 * with the data read from the <code>InputStream</code> 287 * Test for <code>engineGenerateCertPath(InputStream, String)</code> 289 * initializes it with the data read from the <code>InputStream</code> 313 * Test for <code>engineGenerateCertPath(InputStream, String)</code> 315 * initializes it with the data read from the <code>InputStream</code> 395 public Certificate engineGenerateCertificate(InputStream inStream [all...] |
| /packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
| MimeUtility.java | 40 import java.io.InputStream; 263 InputStream in = part.getBody().getInputStream(); 357 public static InputStream getInputStreamForContentTransferEncoding(InputStream in, 375 public static Body decodeBody(InputStream in, String contentTransferEncoding)
|