/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
BinaryTempFileBody.java | 33 import java.io.InputStream; 39 * and writeTo one time. After writeTo is called, or the InputStream returned from 61 public InputStream getInputStream() throws MessagingException { 72 InputStream in = getInputStream(); 81 public BinaryTempFileBodyInputStream(InputStream in) {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SequenceInputStreamTest.java | 22 import java.io.InputStream; 36 * @tests java.io.SequenceInputStream#SequenceInputStream(java.io.InputStream, 37 * java.io.InputStream) 40 // Test for method java.io.SequenceInputStream(java.io.InputStream, 41 // java.io.InputStream) 46 * @tests SequenceInputStream#SequenceInputStream(java.io.InputStream, 47 * java.io.InputStream) 57 //will not throw NullPointerException if the first InputStream is not null 58 InputStream is = new ByteArrayInputStream(s1.getBytes("UTF-8")); 69 InputStream streams[] = new InputStream[2] [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/audio/plugins/ |
WAVLoader.java | 44 import java.io.InputStream; 126 private AudioData load(InputStream inputStream, boolean stream) throws IOException{ 127 this.in = new LittleEndien(inputStream); 177 InputStream inputStream = null; 179 inputStream = info.openStream(); 180 data = load(inputStream, ((AudioKey)info.getKey()).isStream()); 182 inputStream = null; 186 if (inputStream != null) [all...] |
/external/chromium_org/android_webview/browser/net/ |
android_stream_reader_url_request_job.h | 20 class InputStream; 35 // A request job that reads data from a Java InputStream. 45 virtual scoped_ptr<android_webview::InputStream> OpenInputStream( 60 android_webview::InputStream* stream, 66 android_webview::InputStream* stream, 100 CreateStreamReader(android_webview::InputStream* stream); 107 scoped_ptr<android_webview::InputStream> input_stream);
|
/external/smack/src/org/jivesoftware/smack/compression/ |
Java7ZlibInputOutputStream.java | 19 import java.io.InputStream; 64 public InputStream getInputStream(InputStream inputStream) { 65 return new InflaterInputStream(inputStream, new Inflater(), 512) { 67 * Provide a more InputStream compatible version. A return value of 1 means that it is likely to read one 78 * InputStream.available, which breaks kXML2.
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
ItemOperationsParser.java | 21 import java.io.InputStream; 35 public ItemOperationsParser(final InputStream in, final OutputStream out, final long size, 101 * @param inputStream the InputStream we're reading the attachment from 107 public static void readChunked(final InputStream inputStream, final OutputStream outputStream, 116 final int read = inputStream.read(bytes, 0, CHUNK_SIZE);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
FileBlockHeader.java | 79 * @param inputStream
86 public FileBlockHeader(BlenderInputStream inputStream, BlenderContext blenderContext) throws BlenderFileException {
87 inputStream.alignPosition(4);
88 code = inputStream.readByte() << 24 | inputStream.readByte() << 16
89 | inputStream.readByte() << 8 | inputStream.readByte();
90 size = inputStream.readInt();
91 oldMemoryAddress = inputStream.readPointer();
92 sdnaIndex = inputStream.readInt(); [all...] |
/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...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
InflaterInputStreamTest.java | 23 import java.io.InputStream; 40 MyInflaterInputStream(InputStream in) { 44 MyInflaterInputStream(InputStream in, Inflater infl) { 48 MyInflaterInputStream(InputStream in, Inflater infl, int size) { 58 * @tests java.util.zip.InflaterInputStream#InflaterInputStream(java.io.InputStream) 65 InputStream infile = Support_Resources 80 * @tests java.util.zip.InflaterInputStream#InflaterInputStream(java.io.InputStream, 85 InputStream infile = Support_Resources.getStream("hyts_construOD.bin"); 95 * @tests java.util.zip.InflaterInputStream#InflaterInputStream(java.io.InputStream, 101 InputStream infile = Support_Resources.getStream("hyts_construODI.bin") [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarInputStreamTest.java | 20 import java.io.InputStream; 56 * @tests java.util.jar.JarInputStream#JarInputStream(java.io.InputStream) 59 // Test for method java.util.jar.JarInputStream(java.io.InputStream) 60 InputStream is = new URL(jarName).openConnection().getInputStream(); 77 InputStream is = Support_Resources.getStream("Broken_entry.jar"); 99 InputStream is = new URL(jarName).openConnection().getInputStream(); 136 InputStream is = new URL(jarName2).openConnection().getInputStream(); 154 InputStream is = new URL(jarName).openConnection().getInputStream(); 167 InputStream is = new URL(intJarName).openConnection() 183 InputStream is = new URL(modJarName).openConnection( [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractParser.java | 36 import java.io.InputStream; 196 public MessageType parsePartialFrom(InputStream input, 209 public MessageType parsePartialFrom(InputStream input) 214 public MessageType parseFrom(InputStream input, 221 public MessageType parseFrom(InputStream input) 227 InputStream input, 240 InputStream limitedInput = new LimitedInputStream(input, size); 244 public MessageType parsePartialDelimitedFrom(InputStream input) 250 InputStream input, 257 public MessageType parseDelimitedFrom(InputStream input [all...] |
/external/javasqlite/src/main/java/SQLite/ |
Blob.java | 6 * Internal class implementing java.io.InputStream on 10 class BlobR extends InputStream { 25 * Contruct InputStream from blob instance. 44 * Mark method; dummy to satisfy InputStream class. 51 * Reset method; dummy to satisfy InputStream class. 67 * Close this blob InputStream. 263 * Return InputStream for this blob 264 * @return InputStream 267 public InputStream getInputStream() { 268 return (InputStream) new BlobR(this) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
LimitedLengthInputStreamTest.java | 24 import java.io.InputStream; 30 private InputStream mTestStream1; 42 InputStream is = new LimitedLengthInputStream(mTestStream1, -1, TEST_STRING1.length); 52 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, -1); 62 InputStream is = new LimitedLengthInputStream(null, 0, 1); 72 InputStream is = new LimitedLengthInputStream(mTestStream1, Long.MAX_VALUE - 1, 88 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); 123 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, TEST_STRING1.length + 10); 138 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); 168 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length) [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
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...] |
/libcore/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 25 import java.io.InputStream; 37 public static InputStream getStream(String name) { 40 InputStream result = Support_Resources.class.getResourceAsStream(path); 112 InputStream in = Support_Resources.getStream(folder == null ? file 131 public static void copyLocalFileto(File dest, InputStream in) throws IOException { 141 private static int copy(InputStream in, OutputStream out) throws IOException { 154 InputStream in = new URL(url).openStream(); 170 public static InputStream getResourceStream(String name) { 171 InputStream is = Support_Resources.class.getResourceAsStream(name); 189 InputStream xml = Support_Resources.class.getResourceAsStream(path) [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
Impl_RowSet.java | 20 import java.io.InputStream; 109 public void setAsciiStream(int parameterIndex, InputStream theInputStream, 117 public void setBinaryStream(int parameterIndex, InputStream theInputStream, 289 public InputStream getAsciiStream(int columnIndex) throws SQLException { 293 public InputStream getAsciiStream(String columnName) throws SQLException { 315 public InputStream getBinaryStream(int columnIndex) throws SQLException { 319 public InputStream getBinaryStream(String columnName) throws SQLException { 527 public InputStream getUnicodeStream(int columnIndex) throws SQLException { 531 public InputStream getUnicodeStream(String columnName) throws SQLException { 615 public void updateAsciiStream(int columnIndex, InputStream x, int length [all...] |
/libcore/luni/src/main/java/libcore/io/ |
StrictLineReader.java | 22 import java.io.InputStream; 28 * Buffers input from an {@link InputStream} for reading lines. 49 private final InputStream in; 56 * {@code InputStream} throws an {@code IOException}, end may remain as either pos or -1. 65 * @param in the {@code InputStream} to read data from. 68 public StrictLineReader(InputStream in) { 75 * @param in the {@code InputStream} to read data from. 80 public StrictLineReader(InputStream in, int capacity) { 87 * @param in the {@code InputStream} to read data from. 93 public StrictLineReader(InputStream in, Charset charset) [all...] |
/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/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
SimpleCharStream.java | 40 protected java.io.Reader inputStream; 127 if ((i = inputStream.read(buffer, maxNextCharInd, 130 inputStream.close(); 260 inputStream = dstream; 283 inputStream = dstream; 309 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 315 public SimpleCharStream(java.io.InputStream dstream, int startline, 321 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 327 public SimpleCharStream(java.io.InputStream dstream, int startline, 333 public SimpleCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingExceptio [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
SimpleCharStream.java | 40 protected java.io.Reader inputStream; 127 if ((i = inputStream.read(buffer, maxNextCharInd, 130 inputStream.close(); 260 inputStream = dstream; 283 inputStream = dstream; 309 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 315 public SimpleCharStream(java.io.InputStream dstream, int startline, 321 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 327 public SimpleCharStream(java.io.InputStream dstream, int startline, 333 public SimpleCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingExceptio [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
SimpleCharStream.java | 40 protected java.io.Reader inputStream; 127 if ((i = inputStream.read(buffer, maxNextCharInd, 130 inputStream.close(); 260 inputStream = dstream; 283 inputStream = dstream; 309 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 315 public SimpleCharStream(java.io.InputStream dstream, int startline, 321 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 327 public SimpleCharStream(java.io.InputStream dstream, int startline, 333 public SimpleCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingExceptio [all...] |
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/ |
AccessPrivateDataTest.java | 61 FileInputStream inputStream = new FileInputStream(privateFilePath); 62 inputStream.read(); 63 inputStream.close(); 91 DataInputStream inputStream = new DataInputStream(new FileInputStream(publicFilePath)); 92 int otherAppUid = (int)inputStream.readInt(); 93 inputStream.close();
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActionBarShareActionProviderActivity.java | 33 import java.io.InputStream; 95 InputStream inputStream = null; 98 inputStream = getResources().openRawResource(R.raw.robot); 104 while ((length = inputStream.read(buffer)) > 0){ 114 inputStream.close();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/ |
CipherInputStream.java | 5 import java.io.InputStream; 11 * A CipherInputStream is composed of an InputStream and a BufferedBlockCipher so 13 * underlying InputStream but have been additionally processed by the 37 * Constructs a CipherInputStream from an InputStream and a 41 InputStream is, 53 InputStream is,
|
/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
|