/external/glide/testutil/src/main/java/com/bumptech/glide/testutil/ |
TestResourceUtil.java | 3 import java.io.InputStream; 14 * Returns an InputStream for the given test class and sub-path. 20 public static InputStream openResource(Class testClass, String subPath) {
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
CloseShieldInputStream.java | 22 import java.io.InputStream; 26 * InputStream that shields its underlying input stream from 32 public class CloseShieldInputStream extends InputStream { 35 * Underlying InputStream 37 private InputStream is; 39 public CloseShieldInputStream(InputStream is) { 43 public InputStream getUnderlyingStream() { 48 * @see java.io.InputStream#read() 56 * @see java.io.InputStream#available() 65 * Set the underlying InputStream to nul [all...] |
/packages/services/Telephony/src/org/apache/james/mime4j/ |
CloseShieldInputStream.java | 22 import java.io.InputStream; 26 * InputStream that shields its underlying input stream from 32 public class CloseShieldInputStream extends InputStream { 35 * Underlying InputStream 37 private InputStream is; 39 public CloseShieldInputStream(InputStream is) { 43 public InputStream getUnderlyingStream() { 48 * @see java.io.InputStream#read() 56 * @see java.io.InputStream#available() 65 * Set the underlying InputStream to nul [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
StreamOverflowException.java | 6 * Exception thrown when too much data is written to an InputStream
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/ |
GifBitmapWrapperStreamResourceDecoder.java | 8 import java.io.InputStream; 12 * {@link com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapper} from {@link java.io.InputStream} data. 14 public class GifBitmapWrapperStreamResourceDecoder implements ResourceDecoder<InputStream, GifBitmapWrapper> { 23 public Resource<GifBitmapWrapper> decode(InputStream source, int width, int height) throws IOException {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
DemuxInputStream.java | 20 import java.io.InputStream; 30 extends InputStream 32 private InheritableThreadLocal<InputStream> m_streams = new InheritableThreadLocal<InputStream>(); 38 * @return the InputStream that was previously active 40 public InputStream bindStream( InputStream input ) 42 InputStream oldValue = getStream(); 56 InputStream input = getStream(); 73 InputStream input = getStream() [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DEROctetStringParser.java | 4 import java.io.InputStream; 17 public InputStream getOctetStream()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
DnaBlockData.java | 57 * @param inputStream
64 public DnaBlockData(BlenderInputStream inputStream, BlenderContext blenderContext) throws BlenderFileException {
68 identifier = inputStream.readByte() << 24 | inputStream.readByte() << 16
69 | inputStream.readByte() << 8 | inputStream.readByte();
76 identifier = inputStream.readByte() << 24 | inputStream.readByte() << 16
77 | inputStream.readByte() << 8 | inputStream.readByte(); [all...] |
/external/proguard/src/proguard/io/ |
FileDataEntry.java | 36 private InputStream inputStream; 66 public InputStream getInputStream() throws IOException 68 if (inputStream == null) 70 inputStream = new BufferedInputStream(new FileInputStream(file)); 73 return inputStream; 79 inputStream.close(); 80 inputStream = null;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/ |
MediaStoreStreamLoader.java | 10 import java.io.InputStream; 18 * {@link java.io.InputStream} data. 20 public class MediaStoreStreamLoader implements ModelLoader<Uri, InputStream> { 22 private final ModelLoader<Uri, InputStream> uriLoader; 24 public MediaStoreStreamLoader(Context context, ModelLoader<Uri, InputStream> uriLoader) { 30 public DataFetcher<InputStream> getResourceFetcher(Uri model, int width, int height) {
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/ |
UrlAssetInfo.java | 8 import java.io.InputStream; 20 private InputStream in; 27 InputStream in = conn.getInputStream(); 37 private UrlAssetInfo(AssetManager assetManager, AssetKey key, URL url, InputStream in) throws IOException { 48 public InputStream openStream() { 51 InputStream in2 = in;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
BrokenInputStream.java | 20 import java.io.InputStream; 23 * Implements an InputStream what wraps another InputStream and throws an 27 public class BrokenInputStream extends InputStream { 29 private InputStream stream; 33 public BrokenInputStream(InputStream stream, int offset) {
|
/packages/apps/Browser/src/com/android/browser/ |
WallpaperHandler.java | 33 import java.io.InputStream; 87 InputStream inputstream = null; local 95 inputstream = openStream(); 96 if (inputstream != null) { 97 if (!inputstream.markSupported()) { 98 inputstream = new BufferedInputStream(inputstream, BUFFER_SIZE); 100 inputstream.mark(BUFFER_SIZE); 106 new BufferedInputStream(inputstream), null, options) [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
ByteUtils.java | 37 import java.io.InputStream; 49 * Takes an InputStream and returns the complete byte content of it 51 * @param inputStream 58 public static byte[] getByteContent(InputStream inputStream) 67 while ((byteCount = inputStream.read(buffer)) > 0) { 111 * Read in a short from an InputStream 113 * @param inputStream 114 * The InputStream used to read the short 115 * @return A short, which is the next 2 bytes converted from the InputStream [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificateFactorySpi.java | 25 import java.io.InputStream; 64 public Certificate engineGenerateCertificate(InputStream inStream) 67 throw new CertificateException("Incorrect inputstream"); 72 public Collection engineGenerateCertificates(InputStream inStream) 75 throw new CertificateException("Incorrect inputstream"); 80 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { 82 throw new CRLException("Incorrect inputstream"); 87 public Collection engineGenerateCRLs(InputStream inStream) 90 throw new CRLException("Incorrect inputstream"); 95 public CertPath engineGenerateCertPath(InputStream inStream [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificateFactorySpi.java | 26 import java.io.InputStream; 66 public Certificate engineGenerateCertificate(InputStream inStream) 69 throw new CertificateException("Incorrect inputstream"); 75 public Collection engineGenerateCertificates(InputStream inStream) 78 throw new CertificateException("Incorrect inputstream"); 83 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { 85 throw new CRLException("Incorrect inputstream"); 91 public Collection engineGenerateCRLs(InputStream inStream) 94 throw new CRLException("Incorrect inputstream"); 99 public CertPath engineGenerateCertPath(InputStream inStream [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParser.java | 21 import java.io.InputStream; 34 * <p>Parses a whole InputStream as a vCard file and lets registered {@link VCardInterpreter} 37 * <p>This method reads a whole InputStream. If you just want to parse one vCard entry inside 38 * a vCard file with multiple entries, try {@link #parseOne(InputStream)}.</p> 43 public abstract void parse(InputStream is) throws IOException, VCardException; 46 * <p>Parses the first vCard entry in InputStream and lets registered {@link VCardInterpreter} 74 public abstract void parseOne(InputStream is) throws IOException, VCardException; 78 * {@link #parse(InputStream)} 81 public void parse(InputStream is, VCardInterpreter interpreter)
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
ImageVideoWrapperEncoder.java | 7 import java.io.InputStream; 12 * writing data from the wrapper's {@link java.io.InputStream} and falling back to the wrapper's 13 * {@link android.os.ParcelFileDescriptor} if the {@link java.io.InputStream} isn't available. 16 private final Encoder<InputStream> streamEncoder; 20 public ImageVideoWrapperEncoder(Encoder<InputStream> streamEncoder,
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
StreamBitmapDataLoadProvider.java | 15 import java.io.InputStream; 19 * {@link android.graphics.Bitmap}s using {@link java.io.InputStream} data. 21 public class StreamBitmapDataLoadProvider implements DataLoadProvider<InputStream, Bitmap> { 40 public ResourceDecoder<InputStream, Bitmap> getSourceDecoder() { 45 public Encoder<InputStream> getSourceEncoder() {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
GifDrawableLoadProvider.java | 14 import java.io.InputStream; 17 * An {@link com.bumptech.glide.provider.DataLoadProvider} that loads an {@link java.io.InputStream} into 20 public class GifDrawableLoadProvider implements DataLoadProvider<InputStream, GifDrawable> { 39 public ResourceDecoder<InputStream, GifDrawable> getSourceDecoder() { 44 public Encoder<InputStream> getSourceEncoder() {
|
/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...] |
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/ |
FileTransforms.java | 20 import java.io.InputStream; 30 public static InputStream getDecryptedStream(InputStream in) { 35 public static InputStream getUncompressedStream(InputStream in) throws IOException {
|
/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...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManagerTest.java | 33 import java.io.InputStream; 51 InputStream inputStream = mAssets.open(fileName); 52 assertNotNull(inputStream); 54 assertContextEquals(expect, inputStream); 55 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER); 56 assertNotNull(inputStream); 57 assertContextEquals(expect, inputStream); 118 private void assertContextEquals(final String expect, final InputStream inputStream) [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
RecipientOperator.java | 3 import java.io.InputStream; 27 public InputStream getInputStream(InputStream dataIn)
|