/packages/apps/Email/src/org/apache/james/mime4j/util/ |
PartialInputStream.java | 23 import java.io.InputStream;
29 public PartialInputStream(InputStream inputStream, long offset, long length) throws IOException {
30 super(inputStream);
31 inputStream.skip(offset);
|
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetFileDescriptor_AutoCloseInputStreamTest.java | 126 AssetFileDescriptor.AutoCloseInputStream inputStream = null; 127 inputStream = new AssetFileDescriptor.AutoCloseInputStream(mAssetFileDes); 128 assertEquals(FILE_LENGTH, inputStream.available()); 129 assertEquals(FILE_DATA[0], inputStream.read()); 131 int readBytes = inputStream.read(readFromFile); 134 readFromFile[readBytes] = (byte) inputStream.read(); 139 inputStream.mark(FILE_LENGTH); 140 assertEquals(5, inputStream.skip(5)); 141 readBytes = inputStream.read(readFromFile, OFFSET, READ_LENGTH); 143 readFromFile[readBytes] = (byte) inputStream.read() [all...] |
AssetManagerTest.java | 20 import java.io.InputStream; 110 InputStream inputStream = mAssets.open(fileName); 111 assertNotNull(inputStream); 113 assertContextEquals(expect, inputStream); 114 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER); 115 assertNotNull(inputStream); 116 assertContextEquals(expect, inputStream); 177 private void assertContextEquals(final String expect, final InputStream inputStream) [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/ |
AbstractContentHandler.java | 23 import java.io.InputStream;
49 * @see org.apache.james.mime4j.ContentHandler#body(org.apache.james.mime4j.BodyDescriptor, java.io.InputStream)
51 public void body(BodyDescriptor bd, InputStream is) throws IOException {
73 * @see org.apache.james.mime4j.ContentHandler#epilogue(java.io.InputStream)
75 public void epilogue(InputStream is) throws IOException {
85 * @see org.apache.james.mime4j.ContentHandler#preamble(java.io.InputStream)
87 public void preamble(InputStream is) throws IOException {
109 * @see org.apache.james.mime4j.ContentHandler#raw(java.io.InputStream)
111 public void raw(InputStream is) throws IOException {
|
RootInputStream.java | 23 import java.io.InputStream;
26 * <code>InputStream</code> used by the parser to wrap the original user
35 class RootInputStream extends InputStream {
36 private InputStream is = null;
46 public RootInputStream(InputStream is) {
61 * Truncates this <code>InputStream</code>. After this call any
71 * @see java.io.InputStream#read()
88 * @see java.io.InputStream#read(byte[], int, int)
106 * @see java.io.InputStream#read(byte[])
|
/external/guava/src/com/google/common/io/ |
MultiInputStream.java | 19 import java.io.InputStream; 24 * An {@link InputStream} that concatenates multiple substreams. At most 30 final class MultiInputStream extends InputStream { 32 private Iterator<? extends InputSupplier<? extends InputStream>> it; 33 private InputStream in; 41 Iterator<? extends InputSupplier<? extends InputStream>> it)
|
/libcore/luni/src/main/java/java/util/ |
PropertyResourceBundle.java | 21 import java.io.InputStream; 25 * {@code PropertyResourceBundle} loads resources from an {@code InputStream}. All resources are 39 * properties file from the specified {@code InputStream}. 42 * the {@code InputStream}. 45 * {@code InputStream}. 47 public PropertyResourceBundle(InputStream stream) throws IOException {
|
/packages/apps/Email/src/org/apache/commons/io/input/ |
ClassLoaderObjectInputStream.java | 20 import java.io.InputStream;
44 * @param inputStream the InputStream to work on
49 ClassLoader classLoader, InputStream inputStream)
51 super(inputStream);
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/io/ |
MacInputStream.java | 5 import java.io.InputStream; 15 InputStream stream,
|
/frameworks/base/core/java/android/util/ |
Base64InputStream.java | 21 import java.io.InputStream; 24 * An InputStream that does Base64 decoding on the data read through 39 * An InputStream that performs Base64 decoding on the data read 42 * @param in the InputStream to read the source data from 46 public Base64InputStream(InputStream in, int flags) { 52 * wrapped InputStream. 54 * @param in the InputStream to read the source data from 61 public Base64InputStream(InputStream in, int flags, boolean encode) {
|
/frameworks/base/media/java/android/media/ |
AmrInputStream.java | 22 import java.io.InputStream; 30 public final class AmrInputStream extends InputStream 42 private InputStream mInputStream; 57 * @param inputStream InputStream containing 16 bit PCM. 59 public AmrInputStream(InputStream inputStream) { 60 mInputStream = inputStream;
|
ResampleInputStream.java | 22 import java.io.InputStream; 30 public final class ResampleInputStream extends InputStream 39 private InputStream mInputStream; 57 * @param inputStream InputStream containing 16 bit PCM. 62 public ResampleInputStream(InputStream inputStream, int rateIn, int rateOut) { 68 mInputStream = inputStream;
|
/packages/apps/Email/src/com/android/email/mail/ |
Body.java | 20 import java.io.InputStream; 24 public InputStream getInputStream() throws MessagingException;
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
BERTaggedObjectParser.java | 4 import java.io.InputStream; 11 private InputStream _contentStream; 18 InputStream contentStream) 81 private ASN1EncodableVector rLoadVector(InputStream in)
|
ConstructedOctetStream.java | 3 import java.io.InputStream; 7 extends InputStream 12 private InputStream _currentStream;
|
/frameworks/base/graphics/java/android/graphics/ |
Movie.java | 19 import java.io.InputStream; 45 public static native Movie decodeStream(InputStream is); 50 InputStream is; 60 private static Movie decodeTempStream(InputStream is) {
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLStreamedInput.java | 21 import java.io.InputStream; 25 * the bytes from another InputStream. 29 private InputStream in; 31 public SSLStreamedInput(InputStream in) {
|
/cts/tools/signature-tools/src/signature/io/html/ |
TemplateStore.java | 19 import java.io.InputStream; 32 InputStream modelStream = TemplateStore.class.getClassLoader() 38 InputStream stream = TemplateStore.class.getClassLoader()
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleInputStream.java | 4 import java.io.InputStream; 7 * An implementation of {@code InputStream} that should serve as the 12 public class Support_ASimpleInputStream extends InputStream {
|
/packages/apps/Email/src/com/android/exchange/ |
MockParserStream.java | 21 import java.io.InputStream; 24 * MockParserStream is an InputStream that feeds pre-generated data into various EasParser 30 public class MockParserStream extends InputStream {
|
/packages/apps/Email/src/org/apache/james/mime4j/message/ |
BinaryBody.java | 23 import java.io.InputStream;
35 * Gets a <code>InputStream</code> which reads the bytes of the
41 InputStream getInputStream() throws IOException;
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
BugReportParser.java | 7 import java.io.InputStream; 21 public static String extractSystemLogs(InputStream in, String section) throws IOException { 24 // open a reader around the provided inputstream.
|
/libcore/luni/src/main/java/java/net/ |
CacheResponse.java | 20 import java.io.InputStream; 26 * InputStream} to access the response body and a {@code Map} for the response headers. 31 * Returns an {@code InputStream} to access the response body. 33 * @return an {@code InputStream} which can be used to fetch the response 39 public abstract InputStream getBody() throws IOException;
|
/libcore/luni/src/test/java/tests/api/java/io/ |
InputStreamTest.java | 25 import java.io.InputStream; 29 @TestTargetClass(InputStream.class) 36 private InputStream is; 38 class MockInputStream extends java.io.InputStream { 60 * @tests java.io.InputStream#InputStream() 64 notes = "Verifies constructor InputStream(). Since this constructor does nothing, this test is intentionally kept basic.", 65 method = "InputStream", 70 InputStream myIS = new MockInputStream(); 78 * @tests java.io.InputStream#available( [all...] |
/packages/apps/Email/src/com/android/email/mail/internet/ |
BinaryTempFileBody.java | 33 import java.io.InputStream; 39 * and writeTo one time. After writeTo is called, or the InputStream returned from 60 public InputStream getInputStream() throws MessagingException { 70 InputStream in = getInputStream(); 79 public BinaryTempFileBodyInputStream(InputStream in) {
|