/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/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) {
|
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/server/ |
URLDumper.java | 69 InputStream is = url.openStream();
|
/prebuilts/jdk/jdk8/darwin-x86/sample/scripting/scriptpad/src/com/sun/sample/scriptpad/ |
Main.java | 76 InputStream is = Main.class.getResourceAsStream("/resources/" + name); 79 // evaluate the script in the InputStream
|
/prebuilts/jdk/jdk8/linux-x86/sample/nio/server/ |
URLDumper.java | 69 InputStream is = url.openStream();
|
/prebuilts/jdk/jdk8/linux-x86/sample/scripting/scriptpad/src/com/sun/sample/scriptpad/ |
Main.java | 76 InputStream is = Main.class.getResourceAsStream("/resources/" + name); 79 // evaluate the script in the InputStream
|
/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)) {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
MediaStoreThumbFetcher.java | 15 import java.io.InputStream; 18 * A DataFetcher that retrieves an {@link java.io.InputStream} for a local Uri that may or may not be for a resource 24 public class MediaStoreThumbFetcher implements DataFetcher<InputStream> { 31 private final DataFetcher<InputStream> defaultFetcher; 35 private InputStream inputStream; 37 public MediaStoreThumbFetcher(Context context, Uri mediaStoreUri, DataFetcher<InputStream> defaultFetcher, 42 MediaStoreThumbFetcher(Context context, Uri mediaStoreUri, DataFetcher<InputStream> defaultFetcher, int width, 53 public InputStream loadData(Priority priority) throws Exception { 57 inputStream = fetcher.open(context, mediaStoreUri) [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/ |
GifBitmapWrapperResourceDecoder.java | 16 import java.io.InputStream; 20 * from an {@link InputStream} or a {@link android.os.ParcelFileDescriptor ParcelFileDescriptor}. 30 private final ResourceDecoder<InputStream, GifDrawable> gifDecoder; 37 ResourceDecoder<InputStream, GifDrawable> gifDecoder, BitmapPool bitmapPool) { 43 ResourceDecoder<InputStream, GifDrawable> gifDecoder, BitmapPool bitmapPool, ImageTypeParser parser, 80 InputStream bis = streamFactory.build(source.getStream(), bytes); 91 // We can only reset the buffered InputStream, so to start from the beginning of the stream, we need to 99 private GifBitmapWrapper decodeGifWrapper(InputStream bis, int width, int height) throws IOException { 139 public InputStream build(InputStream is, byte[] buffer) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory4Test.java | 30 import java.io.InputStream; 73 * java.security.cert.CertificateFactory#generateCertificate(java.io.InputStream) 78 // java.security.cert.CertificateFactory.generateCertificate(java.io.InputStream) 92 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer"); 104 * java.security.cert.CertificateFactory#generateCertificates(java.io.InputStream) 112 InputStream is = certUrl.openStream(); 127 * java.security.cert.CertificateFactory#generateCRL(java.io.InputStream) 134 InputStream is = certUrl.openStream(); 148 * java.security.cert.CertificateFactory#generateCRLs(java.io.InputStream) 155 InputStream is = certUrl.openStream() [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
ResultSet.java | 32 import java.io.InputStream; 436 * <code>InputStream.available</code> 448 java.io.InputStream getAsciiStream(int columnIndex) throws SQLException; 466 * <code>InputStream.available</code> 484 java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException; 497 * <code>InputStream.available</code> 509 java.io.InputStream getBinaryStream(int columnIndex) [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...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
TarBackupReaderTest.java | 70 import java.io.InputStream; 102 InputStream inputStream = mContext.getResources().openRawResource( 104 InputStream tarInputStream = PerformAdbRestoreTask.parseBackupFileHeaderAndReturnTarStream( 105 inputStream, "123"); 119 InputStream inputStream = mContext.getResources().openRawResource( 121 InputStream tarInputStream = PerformAdbRestoreTask.parseBackupFileHeaderAndReturnTarStream( 122 inputStream, null); 137 InputStream inputStream = mContext.getResources().openRawResource [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
RemoteManagerTest.java | 38 import java.io.InputStream; 75 InputStream data = new ByteArrayInputStream(buf.getBytes()); 94 InputStream data = new ByteArrayInputStream(buf.getBytes()); 113 InputStream data = new ByteArrayInputStream(buf.getBytes()); 129 InputStream data = new ByteArrayInputStream(buf.getBytes()); 147 InputStream data = new ByteArrayInputStream(buf.getBytes()); 165 InputStream data = new ByteArrayInputStream(buf.getBytes()); 182 InputStream data = new ByteArrayInputStream(buf.getBytes()); 199 InputStream data = new ByteArrayInputStream(buf.getBytes()); 220 InputStream data = new ByteArrayInputStream(buf.getBytes()) [all...] |