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

<<11121314151617181920>>

  /external/glide/library/src/main/java/com/bumptech/glide/
DrawableTypeRequest.java 20 import java.io.InputStream;
31 private final ModelLoader<ModelType, InputStream> streamModelLoader;
36 ModelLoader<A, InputStream> streamModelLoader,
54 DrawableTypeRequest(Class<ModelType> modelClass, ModelLoader<ModelType, InputStream> streamModelLoader,
106 private GenericTranscodeRequest<ModelType, InputStream, File> getDownloadOnlyRequest() {
107 return optionsApplier.apply(new GenericTranscodeRequest<ModelType, InputStream, File>(File.class, this,
108 streamModelLoader, InputStream.class, File.class, optionsApplier));
  /external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
MockSocketConnectionTest.java 18 import java.io.InputStream;
88 final InputStream in = a.getInputStream();
95 final InputStream in = a.getInputStream();
128 final InputStream in = a.getInputStream();
151 final InputStream in = a.getInputStream();
168 final InputStream in = a.getInputStream();
174 final InputStream in = a.getInputStream();
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
Analyzer.java 17 import java.io.InputStream;
139 public void analyzeClass(final InputStream input, final String name)
170 public int analyzeAll(final InputStream input, final String name)
206 final InputStream in = new FileInputStream(file);
240 private int analyzeZip(final InputStream input, final String name)
251 private int analyzeGzip(final InputStream input, final String name)
256 private int analyzePack200(final InputStream input, final String name)
  /packages/apps/UnifiedEmail/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 {
284 * Get the contents of an <code>InputStream</code> as a character arra
    [all...]
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/
LZMAInputStream.java 13 import java.io.InputStream;
37 public class LZMAInputStream extends InputStream {
49 private InputStream in;
181 public LZMAInputStream(InputStream in) throws IOException {
215 public LZMAInputStream(InputStream in, int memoryLimit)
289 public LZMAInputStream(InputStream in, long uncompSize, byte propsByte,
326 public LZMAInputStream(InputStream in, long uncompSize, byte propsByte,
364 public LZMAInputStream(InputStream in, long uncompSize,
371 private void initialize(InputStream in, long uncompSize, byte propsByte,
400 private void initialize(InputStream in, long uncompSize
    [all...]
  /external/mockwebserver/src/test/java/com/google/mockwebserver/
MockWebServerTest.java 22 import java.io.InputStream;
78 InputStream in = response.getBodyStream();
113 InputStream in = connection.getInputStream();
132 InputStream in = connection.getInputStream();
160 InputStream in = connection.getInputStream();
173 InputStream in = connection.getInputStream();
192 InputStream in = urlConnection.getInputStream();
203 InputStream in2 = urlConnection2.getInputStream();
227 InputStream responseBody = new ByteArrayInputStream("ABC".getBytes("UTF-8"));
231 InputStream in = server.getUrl("/").openConnection().getInputStream()
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
AbstractParser.java 36 import java.io.InputStream;
194 public MessageType parsePartialFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
207 public MessageType parsePartialFrom(InputStream input) throws InvalidProtocolBufferException {
212 public MessageType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
219 public MessageType parseFrom(InputStream input) throws InvalidProtocolBufferException {
225 InputStream input, ExtensionRegistryLite extensionRegistry)
237 InputStream limitedInput = new LimitedInputStream(input, size);
242 public MessageType parsePartialDelimitedFrom(InputStream input)
248 public MessageType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
255 public MessageType parseDelimitedFrom(InputStream input) throws InvalidProtocolBufferException
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
CertificateFactory.java 6 import java.io.InputStream;
50 private InputStream currentStream = null;
54 private InputStream currentCrlStream = null;
99 InputStream in)
120 InputStream in)
174 InputStream in)
206 InputStream pis;
269 InputStream inStream)
298 InputStream in)
330 InputStream pis
    [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
reader.h 246 template<typename InputStream>
247 void SkipWhitespace(InputStream& is) {
248 internal::StreamLocalCopy<InputStream> copy(is);
249 InputStream& s(copy.s);
386 \tparam InputStream Type of input stream, implementing Stream concept.
392 template <unsigned parseFlags, typename InputStream, typename Handler>
393 ParseResult Parse(InputStream& is, Handler& handler) {
425 /*! \tparam InputStream Type of input stream, implementing Stream concept
431 template <typename InputStream, typename Handler>
432 ParseResult Parse(InputStream& is, Handler& handler) {
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
JarInputStreamTest.java 22 import java.io.InputStream;
56 // Test for method java.util.jar.JarInputStream(java.io.InputStream)
57 InputStream is = new URL(jarName).openConnection().getInputStream();
75 InputStream is = Support_Resources.getStream("Broken_entry.jar");
97 InputStream is = new URL(jarName).openConnection().getInputStream();
131 InputStream is = new URL(jarName2).openConnection().getInputStream();
146 InputStream is = new URL(jarName).openConnection().getInputStream();
159 InputStream is = new URL(intJarName).openConnection()
175 InputStream is = new URL(modJarName).openConnection()
202 InputStream is = new URL(modJarName).openConnection(
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
NFS4StringPrep.java 13 import java.io.InputStream;
42 InputStream nfscsiFile = loader.getResourceAsStream("android/icu/dev/data/testdata/nfscsi.spp");
46 InputStream nfscssFile = loader.getResourceAsStream("android/icu/dev/data/testdata/nfscss.spp");
50 InputStream nfscisFile = loader.getResourceAsStream("android/icu/dev/data/testdata/nfscis.spp");
54 InputStream nfsmxpFile = loader.getResourceAsStream("android/icu/dev/data/testdata/nfsmxp.spp");
58 InputStream nfsmxsFile = loader.getResourceAsStream("android/icu/dev/data/testdata/nfsmxs.spp");
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
NFS4StringPrep.java 12 import java.io.InputStream;
41 InputStream nfscsiFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfscsi.spp");
45 InputStream nfscssFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfscss.spp");
49 InputStream nfscisFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfscis.spp");
53 InputStream nfsmxpFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfsmxp.spp");
57 InputStream nfsmxsFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfsmxs.spp");
  /external/oauth/core/src/main/java/net/oauth/http/
HttpMessage.java 20 import java.io.InputStream;
49 public HttpMessage(String method, URL url, InputStream body)
59 protected InputStream body = null;
100 public final InputStream getBody() throws IOException
103 InputStream raw = openBody();
111 protected InputStream openBody() throws IOException
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue99/
YamlBase64Test.java 20 import java.io.InputStream;
61 InputStream inputStream = YamlBase64Test.class
63 Map<String, Object> bean = (Map<String, Object>) yaml.load(inputStream);
66 inputStream.close();
70 InputStream input;
93 InputStream inputStream = YamlBase64Test.class
96 yaml.load(inputStream);
102 inputStream.close()
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ParserFactory.java 32 import java.io.InputStream;
59 InputStream stream = new FileInputStream(f);
63 public static XmlPullParser create(@NonNull InputStream stream, @Nullable String name)
69 private static XmlPullParser create(@NonNull InputStream stream, @Nullable String name,
98 private static InputStream readAndClose(@NonNull InputStream stream, @Nullable String name,
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
PropertyResourceBundleTest.java 23 import java.io.InputStream;
41 * java.util.PropertyResourceBundle#PropertyResourceBundle(java.io.InputStream)
45 InputStream propertiesStream = new ByteArrayInputStream(
59 new PropertyResourceBundle((InputStream) null);
150 InputStream propertiesStream = new ByteArrayInputStream(
172 MockResourceBundle(java.io.InputStream stream) throws IOException {
182 java.io.InputStream localStream = new java.io.ByteArrayInputStream(
  /libcore/ojluni/src/main/java/java/io/
BufferedInputStream.java 158 private InputStream getInIfOpen() throws IOException {
159 InputStream input = in;
184 public BufferedInputStream(InputStream in) {
200 public BufferedInputStream(InputStream in, int size) {
256 * method of <code>InputStream</code>.
303 * <code>{@link InputStream#read(byte[], int, int) read}</code> method of
304 * the <code>{@link InputStream}</code> class. As an additional
354 InputStream input = in;
362 * method of <code>InputStream</code>.
420 * method of <code>InputStream</code>
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
Message.java 23 import java.io.InputStream;
64 public Message(InputStream is) throws IOException {
173 * @see org.apache.james.mime4j.ContentHandler#body(org.apache.james.mime4j.BodyDescriptor, java.io.InputStream)
175 public void body(BodyDescriptor bd, InputStream is) throws IOException {
222 * @see org.apache.james.mime4j.ContentHandler#epilogue(java.io.InputStream)
224 public void epilogue(InputStream is) throws IOException {
235 * @see org.apache.james.mime4j.ContentHandler#preamble(java.io.InputStream)
237 public void preamble(InputStream is) throws IOException {
250 * @see org.apache.james.mime4j.ContentHandler#raw(java.io.InputStream)
252 public void raw(InputStream is) throws IOException
    [all...]
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java 28 import java.io.InputStream;
36 InputStream is = context.getAssets().open(asset);
59 InputStream is = null;
73 Log.e(TAG, "Cannot close InputStream: ", e);
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java 28 import java.io.InputStream;
36 InputStream is = context.getAssets().open(asset);
59 InputStream is = null;
73 Log.e(TAG, "Cannot close InputStream: ", e);
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
BitmapHelper.java 23 import java.io.InputStream;
40 public static Bitmap scaleBitmap(int scaleFactor, InputStream is) {
51 public static int findScaleFactor(int targetW, int targetH, InputStream is) {
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
AssetUtils.java 28 import java.io.InputStream;
36 InputStream is = context.getAssets().open(asset);
59 InputStream is = null;
73 Log.e(TAG, "Cannot close InputStream: ", e);
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
UnixSocketTest.java 21 import java.io.InputStream;
52 InputStream in = worker.getInputStream();
58 InputStream clientIn = pingClient.getInputStream();
  /external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
FileByFileV1DeltaApplier.java 23 import java.io.InputStream;
51 public void applyDelta(File oldBlob, InputStream deltaIn, OutputStream newBlobOut)
75 File oldBlob, File deltaFriendlyOldBlob, InputStream deltaIn, OutputStream newBlobOut)
  /external/desugar/java/com/google/devtools/build/android/desugar/
CoreLibraryRewriter.java 17 import java.io.InputStream;
38 public ClassReader reader(InputStream content) throws IOException {
108 PrefixingClassReader(InputStream content) throws IOException {

Completed in 2089 milliseconds

<<11121314151617181920>>