/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
HttpConnection.java | 23 import java.io.InputStream; 52 private InputStream inputStream; 56 private InputStream sslInputStream; 92 closeQuietly(inputStream); 130 public InputStream getInputStream() throws IOException { 136 } else if (inputStream == null) { 144 inputStream = address.requiresTunnel 148 return inputStream; 205 InputStream in = getInputStream() [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactoryTest.java | 39 import java.io.InputStream; 141 args = {java.io.InputStream.class, android.graphics.Rect.class, 145 InputStream is = obtainInputStream(); 159 args = {java.io.InputStream.class} 162 InputStream is = obtainInputStream(); 239 private InputStream obtainInputStream() { 258 InputStream is = obtainInputStream();
|
/libcore/luni/src/main/java/javax/crypto/ |
CipherInputStream.java | 22 import java.io.InputStream; 26 * This class wraps an {@code InputStream} and a cipher so that {@code read()} 27 * methods return data that are read from the underlying {@code InputStream} and 46 * InputStream} and a cipher. 57 public CipherInputStream(InputStream is, Cipher c) { 64 * InputStream} without a cipher. 71 protected CipherInputStream(InputStream is) {
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
ClassLoaderTest.java | 20 import java.io.InputStream; 171 java.io.InputStream is = null; 185 // Test for method java.io.InputStream 189 java.io.InputStream is = null; 206 java.io.InputStream is = cl.getResourceAsStream("hyts_Foo.c"); 229 InputStream in = this.getClass().getClassLoader().getResourceAsStream( 264 InputStream is = getResourceAsStream(path + "A.class");
|
/packages/apps/Email/src/org/apache/commons/io/input/ |
CountingInputStream.java | 20 import java.io.InputStream;
40 * @param in the InputStream to delegate to
42 public CountingInputStream(InputStream in) {
54 * @see java.io.InputStream#read(byte[])
71 * @see java.io.InputStream#read(byte[], int, int)
85 * @see java.io.InputStream#read()
100 * @see java.io.InputStream#skip(long)
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
MimeStreamParser.java | 29 import java.io.InputStream;
87 public void parse(InputStream is) throws IOException {
109 * {@link ContentHandler#raw(InputStream)} handler method only.
143 private void parseEntity(InputStream is) throws IOException {
201 private void parseMessage(InputStream is) throws IOException {
211 private void parseBodyPart(InputStream is) throws IOException {
228 private BodyDescriptor parseHeader(InputStream is) throws IOException {
|
ContentHandler.java | 23 import java.io.InputStream;
128 void preamble(InputStream is) throws IOException;
137 void epilogue(InputStream is) throws IOException;
166 void body(BodyDescriptor bd, InputStream is) throws IOException;
176 void raw(InputStream is) throws IOException;
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_seek_synch.cpp | 140 pVars->inputStream.pBuffer = pExt->pInputBuffer; 141 pVars->inputStream.usedBits = (pExt->inputBufferUsedLength << 3); // in bits 144 pVars->inputStream.inputBufferCurrentLength = (pExt->inputBufferCurrentLength); // in bits 146 err = pvmp3_header_sync(&pVars->inputStream); 153 uint32 temp = getNbits(&pVars->inputStream, 21); 155 pVars->inputStream.usedBits -= 21 + SYNC_WORD_LNGTH; 193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength) 199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength) 202 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3; 208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3) [all...] |
/libcore/luni/src/main/java/java/io/ |
BufferedInputStream.java | 21 * Wraps an existing {@link InputStream} and <em>buffers</em> the input. 38 * The buffer containing the current bytes read from the target InputStream. 71 * @param in the {@code InputStream} the buffer reads from. 73 public BufferedInputStream(InputStream in) { 85 * @param in the {@code InputStream} the buffer reads from. 89 public BufferedInputStream(InputStream in, int size) { 100 * plus those available in the source stream, but see {@link InputStream#available} for 108 InputStream localIn = in; // 'in' could be invalidated by close() 129 InputStream localIn = in; 136 private int fillbuf(InputStream localIn, byte[] localBuf [all...] |
/external/apache-http/src/org/apache/http/conn/ |
EofSensorInputStream.java | 33 import java.io.InputStream; 65 public class EofSensorInputStream extends InputStream 73 protected InputStream wrappedStream; 103 public EofSensorInputStream(final InputStream in, 133 // non-javadoc, see base class InputStream 152 // non-javadoc, see base class InputStream 171 // non-javadoc, see base class InputStream 189 // non-javadoc, see base class InputStream 208 // non-javadoc, see base class InputStream
|
BasicManagedEntity.java | 34 import java.io.InputStream; 98 public InputStream getContent() throws IOException { 154 public boolean eofDetected(InputStream wrapped) 172 public boolean streamClosed(InputStream wrapped) 190 public boolean streamAbort(InputStream wrapped)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
FileMock.java | 41 import java.io.InputStream; 78 public InputStream getContents() throws CoreException { 82 public InputStream getContents(boolean force) throws CoreException { 89 public void appendContents(InputStream source, int updateFlags, IProgressMonitor monitor) 94 public void appendContents(InputStream source, boolean force, boolean keepHistory, 99 public void create(InputStream source, boolean force, IProgressMonitor monitor) 104 public void create(InputStream source, int updateFlags, IProgressMonitor monitor) 170 public void setContents(InputStream source, int updateFlags, IProgressMonitor monitor) 180 public void setContents(InputStream source, boolean force, boolean keepHistory,
|
/external/apache-http/src/org/apache/http/entity/ |
BasicHttpEntity.java | 35 import java.io.InputStream; 49 private InputStream content; 78 public InputStream getContent() 116 public void setContent(final InputStream instream) { 126 InputStream instream = getContent();
|
/external/guava/src/com/google/common/io/ |
Resources.java | 23 import java.io.InputStream; 44 * Returns a factory that will supply instances of {@link InputStream} that 50 public static InputSupplier<InputStream> newInputStreamSupplier( 53 return new InputSupplier<InputStream>() { 54 public InputStream getInput() throws IOException {
|
/external/svox/picolanginstaller/src/com/svox/langpack/installer/ |
InstallerActivity.java | 6 import java.io.InputStream; 60 InputStream stream = langPackFd.createInputStream(); 71 private boolean unzipLangPack(InputStream stream) { 116 public InputStream stream; 118 public unzipper(InputStream is) {
|
/libcore/luni/src/main/java/java/util/jar/ |
JarInputStream.java | 22 import java.io.InputStream; 59 * @see ZipInputStream#ZipInputStream(InputStream) 61 public JarInputStream(InputStream stream, boolean verify) 108 * @see ZipInputStream#ZipInputStream(InputStream) 110 public JarInputStream(InputStream stream) throws IOException {
|
/libcore/luni/src/main/java/java/util/zip/ |
GZIPInputStream.java | 22 import java.io.InputStream; 59 * the {@code InputStream} to read data from. 63 public GZIPInputStream(InputStream is) throws IOException { 72 * the {@code InputStream} to read data from. 78 public GZIPInputStream(InputStream is, int size) throws IOException {
|
/libcore/luni/src/main/java/org/apache/harmony/nio/internal/ |
IOUtil.java | 21 import java.io.InputStream; 46 public static int readInputStreamReader(InputStream in, ByteBuffer bytes, 76 InputStream in, ByteBuffer bytes, CharBuffer chars, 118 * Refill the buffer from wrapped InputStream. 120 private static void fillBuf(InputStream in, ByteBuffer bytes,
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldResponseCacheTest.java | 24 import java.io.InputStream; 108 InputStream is = httpCon.getInputStream(); 153 InputStream is = httpCon.getInputStream(); 209 InputStream is = null; 217 public InputStream getBody() {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 27 import java.io.InputStream; 89 args = {java.io.InputStream.class, java.security.MessageDigest.class} 95 InputStream is = new ByteArrayInputStream(myMessage); 96 InputStream dis = new DigestInputStream(is, md); 116 args = {java.io.InputStream.class, java.security.MessageDigest.class} 119 InputStream dis = new DigestInputStream(null, null); 140 InputStream is = new ByteArrayInputStream(myMessage); 179 InputStream is = new ByteArrayInputStream(myMessage); 220 InputStream is = new ByteArrayInputStream(myMessage); 245 * <code>InputStream</code> not set. <code>read()</code> mus [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/ |
ProcessManagerTest.java | 30 import java.io.InputStream; 162 InputStream in = process.getInputStream(); 170 InputStream in = process.getErrorStream(); 213 InputStream in; 248 InputStream in = process.getInputStream();
|
ProcessTest.java | 26 import java.io.InputStream; 60 InputStream is = proc.getInputStream(); 105 InputStream is = proc.getInputStream(); 221 public InputStream getErrorStream() { 226 public InputStream getInputStream() {
|
/sdk/layoutopt/libs/uix/src/com/android/layoutopt/uix/ |
LayoutAnalyzer.java | 26 import java.io.InputStream; 96 private void loadRule(GroovyShell shell, String name, InputStream stream) { 125 InputStream in = null; 146 public LayoutAnalysis analyze(InputStream stream) { 150 private LayoutAnalysis analyze(String name, InputStream stream) {
|
/sdk/layoutopt/libs/uix/src/com/android/layoutopt/uix/xml/ |
XmlDocumentBuilder.java | 38 import java.io.InputStream; 103 public Document parse(InputStream inputStream) throws SAXException, IOException { 105 return mBuilder.parse(inputStream); 108 parser.parse(new InputSource(inputStream));
|
/packages/apps/Email/src/org/apache/commons/io/ |
IOUtils.java | 25 import java.io.InputStream;
82 // NOTE: This class is focussed on InputStream, OutputStream, Reader and
168 * Unconditionally close an <code>InputStream</code>.
170 * Equivalent to {@link InputStream#close()}, except any exceptions will be ignored.
173 * @param input the InputStream to close, may be null or already closed
175 public static void closeQuietly(InputStream input) {
206 * Get the contents of an <code>InputStream</code> as a <code>byte[]</code>.
211 * @param input the <code>InputStream</code> to read from
216 public static byte[] toByteArray(InputStream input) throws IOException {
283 * Get the contents of an <code>InputStream</code> as a character array [all...] |