HomeSort by relevance Sort by last modified time
    Searched full:inputstream (Results 151 - 175 of 2007) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/guava/guava/src/com/google/common/io/
ByteStreams.java 30 import java.io.InputStream;
113 public static long copy(InputSupplier<? extends InputStream> from,
116 InputStream in = from.getInput();
142 public static long copy(InputSupplier<? extends InputStream> from,
145 InputStream in = from.getInput();
166 public static long copy(InputStream from,
188 public static long copy(InputStream from, OutputStream to)
234 public static byte[] toByteArray(InputStream in) throws IOException {
241 * Returns the data from a {@link InputStream} factory as a byte array.
247 InputSupplier<? extends InputStream> supplier) throws IOException
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
RawResourceTest.java 25 import java.io.InputStream;
38 final InputStream is = mResources.openRawResource(R.raw.text);
42 static void verifyTextAsset(final InputStream is) throws IOException {
AssetFileDescriptor_AutoCloseOutputStreamTest.java 71 FileInputStream inputStream = mAssetFileDes.createInputStream();
73 assertEquals(FILE_DATA[i], inputStream.read());
76 assertEquals(FILE_DATA[i], inputStream.read());
78 assertEquals(FILE_END, inputStream.read());
  /cts/tests/tests/net/src/android/net/cts/
LocalServerSocketTest.java 19 import java.io.InputStream;
45 InputStream serverInStream = serverSocket.getInputStream();
51 InputStream clientInStream = clientSocket.getInputStream();
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
PEMUtil.java 4 import java.io.InputStream;
26 InputStream in)
55 InputStream in)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
PEMUtil.java 4 import java.io.InputStream;
28 InputStream in)
57 InputStream in)
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/util/
BookmarkUtils.java 15 import java.io.InputStream;
47 InputStream faviconStream = (InputStream) (new URL(
  /external/ganymed-ssh2/examples/
StdoutAndStderr.java 7 import java.io.InputStream;
45 InputStream stdout = new StreamGobbler(sess.getStdout());
46 InputStream stderr = new StreamGobbler(sess.getStderr());
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/
StreamForwarder.java 8 import java.io.InputStream;
24 InputStream is;
31 StreamForwarder(Channel c, StreamForwarder sibling, Socket s, InputStream is, OutputStream os, String mode)
  /external/jmonkeyengine/engine/src/core/com/jme3/util/blockparser/
BlockLanguageParser.java 4 import java.io.InputStream;
40 private void load(InputStream in) throws IOException{
87 public static List<Statement> parse(InputStream in) throws IOException {
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/
StrictLineReader.java 23 import java.io.InputStream;
28 * Buffers input from an {@link InputStream} for reading lines.
49 private final InputStream in;
56 * {@code InputStream} throws an {@code IOException}, end may remain as either pos or -1.
65 * @param in the {@code InputStream} to read data from.
71 public StrictLineReader(InputStream in, Charset charset) {
78 * @param in the {@code InputStream} to read data from.
86 public StrictLineReader(InputStream in, int capacity, Charset charset) {
103 * Closes the reader by closing the underlying {@code InputStream} and
106 * @throws IOException for errors when closing the underlying {@code InputStream}
    [all...]
  /frameworks/base/core/java/android/content/pm/
LimitedLengthInputStream.java 5 import java.io.InputStream;
9 * A class that limits the amount of data that is read from an InputStream. When
32 public LimitedLengthInputStream(InputStream in, long offset, long length) throws IOException {
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLBIOInputStream.java 21 import java.io.InputStream;
25 * InputStream. It allows an OpenSSL API to read directly from something more
31 public OpenSSLBIOInputStream(InputStream is) {
  /libcore/luni/src/main/java/java/security/cert/
CertificateFactory.java 20 import java.io.InputStream;
193 public final Certificate generateCertificate(InputStream inStream)
211 * {@code InputStream}. The default encoding scheme is applied.
214 * {@code InputStream} with encoded data.
219 public final CertPath generateCertPath(InputStream inStream) throws CertificateException {
229 * {@code inputStream}, assuming the given {@code encoding} from
237 public final CertPath generateCertPath(InputStream inputStream, String encoding)
239 return spiImpl.engineGenerateCertPath(inputStream, encoding);
271 public final Collection<? extends Certificate> generateCertificates(InputStream inStream
    [all...]
CertificateFactorySpi.java 20 import java.io.InputStream;
50 public abstract Certificate engineGenerateCertificate(InputStream inStream)
64 engineGenerateCertificates(InputStream inStream) throws CertificateException;
76 public abstract CRL engineGenerateCRL(InputStream inStream)
90 engineGenerateCRLs(InputStream inStream) throws CRLException;
93 * Generates a {@code CertPath} from the provided {@code InputStream}. The
102 public CertPath engineGenerateCertPath(InputStream inStream)
109 * {@code inputStream}, assuming the given {@code encoding} from
117 public CertPath engineGenerateCertPath(InputStream inStream, String encoding)
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
TextBody.java 26 import java.io.InputStream;
52 * Returns an InputStream that reads this body's text in UTF-8 format.
55 public InputStream getInputStream() throws MessagingException {
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
RecognizerLogger.java 33 import java.io.InputStream;
209 * InputStream wrapper which will log the contents to a WAV file.
210 * @param inputStream
214 public InputStream logInputStream(final InputStream inputStream, final int sampleRate) {
217 return new InputStream() {
220 return inputStream.available();
224 int rtn = inputStream.read(b, offset, length);
230 int rtn = inputStream.read(b)
    [all...]
  /cts/libs/deviceutil/src/android/provider/cts/
FileCopyHelper.java 24 import java.io.InputStream;
63 InputStream source = mContext.getResources().openRawResource(resId);
71 InputStream source = mContext.getResources().openRawResource(resId);
76 private void copyFile(InputStream source, OutputStream target) throws IOException {
  /developers/samples/android/background/alarms/Scheduler/src/com/example/android/scheduler/
SampleSchedulingService.java 13 import java.io.InputStream;
98 InputStream stream = null;
116 * @return An InputStream retrieved from a successful HttpURLConnection.
119 private InputStream downloadUrl(String urlString) throws IOException {
129 InputStream stream = conn.getInputStream();
134 * Reads an InputStream and converts it to a String.
135 * @param stream InputStream containing HTML from www.google.com.
136 * @return String version of InputStream.
139 private String readIt(InputStream stream) throws IOException {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertificateFactorySpiTest.java 27 import java.io.InputStream;
258 public Certificate engineGenerateCertificate(InputStream inStream)
261 throw new CertificateException("InputStream null");
266 public Collection engineGenerateCertificates(InputStream inStream)
269 throw new CertificateException("InputStream null");
274 public CRL engineGenerateCRL(InputStream inStream) throws CRLException {
276 throw new CRLException("InputStream null");
281 public Collection engineGenerateCRLs(InputStream inStream)
284 throw new CRLException("InputStream null");
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
LocalStreamForwarder.java 8 import java.io.InputStream;
37 * @return An <code>InputStream</code> object.
40 public InputStream getInputStream() throws IOException
64 * be sent. Pending input (InputStream) can still be read. If the shutdown
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
BlenderLoader.java 181 BlenderInputStream inputStream = new BlenderInputStream(assetInfo.openStream(), assetInfo.getManager());
187 blenderContext.setBlenderVersion(inputStream.getVersionNumber());
189 blenderContext.setInputStream(inputStream);
193 blenderContext.putHelper(ArmatureHelper.class, new ArmatureHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
194 blenderContext.putHelper(TextureHelper.class, new TextureHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
195 blenderContext.putHelper(MeshHelper.class, new MeshHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
196 blenderContext.putHelper(ObjectHelper.class, new ObjectHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
197 blenderContext.putHelper(CurvesHelper.class, new CurvesHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
198 blenderContext.putHelper(LightHelper.class, new LightHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
199 blenderContext.putHelper(CameraHelper.class, new CameraHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/asset/
AssetInfo.java 35 import java.io.InputStream;
39 * a means to read the asset data through an InputStream.
67 * Implementations of this method should return an {@link InputStream}
75 public abstract InputStream openStream();
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Dispatcher.java 21 import java.io.InputStream;
64 private final InputStream in;
66 RealResponseBody(HttpURLConnection connection, InputStream in) {
79 @Override public InputStream byteStream() throws IOException {
  /libcore/benchmarks/src/benchmarks/
XmlParseBenchmark.java 43 ByteArrayInputStream inputStream;
59 inputStream = new ByteArrayInputStream(xmlBytes);
60 inputStream.mark(xmlBytes.length);
88 inputStream.reset();
90 saxParser.parse(inputStream, elementCounterSaxHandler);
107 inputStream.reset();
108 Document document = documentBuilder.parse(inputStream);
137 inputStream.reset();
139 xmlPullParser.setInput(inputStream, "UTF-8");

Completed in 3375 milliseconds

1 2 3 4 5 67 8 91011>>