HomeSort by relevance Sort by last modified time
    Searched refs:InputStream (Results 451 - 475 of 2666) sorted by null

<<11121314151617181920>>

  /external/vogar/src/vogar/monitor/
HostMonitor.java 22 import java.io.InputStream;
57 InputStream in = new BufferedInputStream(socket.getInputStream());
84 private boolean checkStream(InputStream in) throws IOException {
94 public boolean followStream(InputStream in) throws IOException {
  /frameworks/base/core/java/com/android/internal/util/
ProcFileReader.java 21 import java.io.InputStream;
35 private final InputStream mStream;
43 public ProcFileReader(InputStream stream) throws IOException {
47 public ProcFileReader(InputStream stream, int bufferSize) throws IOException {
  /frameworks/base/graphics/java/android/graphics/
BitmapRegionDecoder.java 23 import java.io.InputStream;
109 * if {@link InputStream#markSupported is.markSupported()} returns true,
113 public static BitmapRegionDecoder newInstance(InputStream is,
146 InputStream stream = null;
275 InputStream is, byte[] storage, boolean isShareable);
  /frameworks/base/tools/aapt2/io/
BigBufferInputStream.h 26 class BigBufferInputStream : public InputStream {
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
HprofBinaryToAscii.java 26 import java.io.InputStream;
89 DataInputStream inputStream = null;
91 inputStream = new DataInputStream(new BufferedInputStream(new FileInputStream(file)));
92 return BinaryHprof.readMagic(inputStream) != null;
96 closeQuietly(inputStream);
104 InputStream inputStream = null;
106 inputStream = new BufferedInputStream(new FileInputStream(file));
107 return read(inputStream);
109 closeQuietly(inputStream);
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ByteArrayInputStreamTest.java 22 import java.io.InputStream;
27 private InputStream is;
35 InputStream bis = new ByteArrayInputStream(fileString.getBytes());
46 InputStream bis = new ByteArrayInputStream(zz, 0, 100);
SequenceInputStreamTest.java 22 import java.io.InputStream;
36 * 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 * 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...]
  /libcore/luni/src/test/java/libcore/java/io/
FilterInputStreamNullSourceTest.java 23 import java.io.InputStream;
49 InputStream in = new CipherInputStream(null, new NullCipher());
105 private void assertReadsFailWithIoException(InputStream in) throws IOException {
121 private void assertReadsFailWithNullPointerException(InputStream in) throws IOException {
OldAndroidBufferedInputStreamTest.java 22 import java.io.InputStream;
82 public static String read(InputStream a) throws IOException {
93 public static String skipRead(InputStream a) throws IOException {
105 public static String read(InputStream a, int x) throws IOException {
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherInputStreamTest.java 25 import java.io.InputStream;
84 protected MeasuringInputStream(InputStream in) {
113 InputStream cin = new CipherInputStream(in, cipher);
121 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher);
134 InputStream in = new CipherInputStream(
146 InputStream in = new CipherInputStream(
158 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher);
166 InputStream in = new CipherInputStream(new ByteArrayInputStream(rc4CipherText), cipher);
174 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher);
178 private byte[] readAll(InputStream in) throws IOException
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 27 import java.io.InputStream;
84 InputStream is = new ByteArrayInputStream(myMessage);
85 InputStream dis = new DigestInputStream(is, md);
102 InputStream dis = new DigestInputStream(null, null);
117 InputStream is = new ByteArrayInputStream(myMessage);
150 InputStream is = new ByteArrayInputStream(myMessage);
185 InputStream is = new ByteArrayInputStream(myMessage);
210 * <code>InputStream</code> not set. <code>read()</code> must
228 fail("InputStream not set. read() must not work");
246 InputStream is = new ByteArrayInputStream(myMessage)
    [all...]
  /libcore/luni/src/test/java/tests/security/
CertificateFactoryTest.java 19 import java.io.InputStream;
  /libcore/luni/src/test/java/tests/security/cert/
CertificateFactory4Test.java 28 import java.io.InputStream;
55 * java.security.cert.CertificateFactory#generateCertificate(java.io.InputStream)
60 // java.security.cert.CertificateFactory.generateCertificate(java.io.InputStream)
74 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer");
86 * java.security.cert.CertificateFactory#generateCertificates(java.io.InputStream)
94 InputStream is = certUrl.openStream();
109 * java.security.cert.CertificateFactory#generateCRL(java.io.InputStream)
116 InputStream is = certUrl.openStream();
130 * java.security.cert.CertificateFactory#generateCRLs(java.io.InputStream)
137 InputStream is = certUrl.openStream()
    [all...]
  /libcore/ojluni/src/main/java/java/util/zip/
DeflaterInputStream.java 30 import java.io.InputStream;
77 public DeflaterInputStream(InputStream in) {
90 public DeflaterInputStream(InputStream in, Deflater defl) {
104 public DeflaterInputStream(InputStream in, Deflater defl, int bufLen) {
InflaterInputStream.java 30 import java.io.InputStream;
83 public InflaterInputStream(InputStream in, Inflater inf, int size) {
100 public InflaterInputStream(InputStream in, Inflater inf) {
111 public InflaterInputStream(InputStream in) {
265 * @see java.io.InputStream#mark(int)
266 * @see java.io.InputStream#reset()
280 * @see java.io.InputStream#reset()
294 * @see java.io.InputStream#mark(int)
  /libcore/ojluni/src/main/java/javax/crypto/
CipherInputStream.java 28 import java.io.InputStream;
35 * A CipherInputStream is composed of an InputStream and a Cipher so
37 * underlying InputStream but have been additionally processed by the
47 * java.io.FilterInputStream and java.io.InputStream. This class has
62 * @see java.io.InputStream
76 private InputStream input;
155 * Constructs a CipherInputStream from an InputStream and a
163 public CipherInputStream(InputStream is, Cipher c) {
170 * Constructs a CipherInputStream from an InputStream without
177 protected CipherInputStream(InputStream is)
    [all...]
  /libcore/ojluni/src/main/java/javax/security/cert/
X509Certificate.java 32 import java.io.InputStream;
91 * InputStream inStream = new FileInputStream("fileName-of-cert");
169 * public <subClass>(InputStream inStream) ...
179 public static final X509Certificate getInstance(InputStream inStream)
194 * public <subClass>(InputStream inStream) ...
226 if (value instanceof InputStream) {
227 params = new Class<?>[] { InputStream.class };
  /libcore/support/src/test/java/tests/support/
Support_Configuration.java 22 import java.io.InputStream;
Support_GetLocal.java 25 import java.io.InputStream;
42 InputStream in = Support_GetLocal.class.getResourceAsStream(url);
62 InputStream in = new URL(url).openStream();
80 InputStream in = new URL(url).openStream();
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
JPEGInputStream.java 23 import java.io.InputStream;
35 public JPEGInputStream(InputStream in) {
39 public JPEGInputStream(InputStream in, int format) {
182 native private int setup(Point dimens, InputStream in, int format);
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/
CopyUtils.java 21 import java.io.InputStream;
31 * copying between sources (<code>InputStream</code>, <code>Reader</code>,
65 * Imagine that an InputStream's read() is a very expensive operation, which
68 * {@link java.io.InputStream#read(byte[] b, int off, int len)} requests on the
69 * underlying InputStream, to fill an internal buffer, from which further
75 * {@link InputStream#read(byte[] b, int off, int len)} requests. Having two
84 * 1 copy InputStream OutputStream (primitive)
87 * 3 copy InputStream Writer 2
186 * Copy bytes from an <code>InputStream</code> to an
188 * @param input the <code>InputStream</code> to read fro
    [all...]
EndianUtils.java 21 import java.io.InputStream;
292 * Reads a "short" value from an InputStream. The value is
294 * @param input source InputStream
298 public static short readSwappedShort(InputStream input)
306 * Reads a unsigned short (16-bit) from an InputStream. The value is
308 * @param input source InputStream
312 public static int readSwappedUnsignedShort(InputStream input)
339 * Reads a "int" value from an InputStream. The value is
341 * @param input source InputStream
345 public static int readSwappedInteger(InputStream input
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
QuotedPrintableInputStream.java 23 import java.io.InputStream;
37 public class QuotedPrintableInputStream extends InputStream {
40 private InputStream stream;
45 public QuotedPrintableInputStream(InputStream stream) {
  /tools/apksig/src/test/java/com/android/apksig/internal/util/
Resources.java 20 import java.io.InputStream;
42 try (InputStream in = cls.getResourceAsStream(resourceName)) {
52 try (InputStream in = cls.getResourceAsStream(resourceName)) {
64 try (InputStream in = cls.getResourceAsStream(resourceName)) {
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
TarUtilTest.java 28 import java.io.InputStream;
54 InputStream logTarGz = getClass().getResourceAsStream(EMMA_METADATA_RESOURCE_PATH);
74 InputStream logTarGz = getClass().getResourceAsStream(EMMA_METADATA_RESOURCE_PATH);
94 InputStream logTarGz = getClass().getResourceAsStream(EMMA_METADATA_RESOURCE_PATH);

Completed in 1532 milliseconds

<<11121314151617181920>>