HomeSort by relevance Sort by last modified time
    Searched refs:InputStream (Results 751 - 775 of 1058) sorted by null

<<31323334353637383940>>

  /external/apache-http/src/org/apache/commons/logging/
LogFactory.java 23 import java.io.InputStream;
504 InputStream is = getResourceAsStream(contextClassLoader,
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/
AbstractMessage.java 36 import java.io.InputStream;
681 public BuilderType mergeFrom(final InputStream input)
688 final InputStream input,
695 public boolean mergeDelimitedFrom(final InputStream input)
702 final InputStream input,
  /libcore/luni/src/main/java/org/apache/harmony/xml/
ExpatParser.java 20 import java.io.InputStream;
354 InputStream in = inputSource.getByteStream();
471 /*package*/ void parseDocument(InputStream in) throws IOException,
507 private void parseFragment(InputStream in)
744 * Opens an InputStream for the given URL.
746 /*package*/ static InputStream openUrl(String url) throws IOException {
  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_PeopleTest.java 41 import java.io.InputStream;
300 InputStream inputStream = context.getResources().openRawResource(
302 int size = inputStream.available();
304 inputStream.read(data);
307 InputStream photoStream = People.openContactPhotoInputStream(
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
ZipEntryTest.java 23 import java.io.InputStream;
29 public byte[] getAllBytesFromStream(InputStream is) throws IOException {
461 java.io.InputStream is = Support_Resources
  /external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/
SerializationTest.java 29 import java.io.InputStream;
206 public static Serializable getObjectFromStream(InputStream is) throws IOException,
607 InputStream in = ClassLoader.getSystemClassLoader()
  /external/protobuf/java/src/test/java/com/google/protobuf/
CodedInputStreamTest.java 40 import java.io.InputStream;
63 * An InputStream which limits the number of bytes it reads at a time.
74 public SmallBlockInputStream(InputStream in, int blockSize) {
112 // Try reading direct from an InputStream. We want to verify that it
117 InputStream rawInput = new ByteArrayInputStream(longerData);
146 // Make sure we get the same error when reading direct from an InputStream.
367 // Serialize and parse it. Make sure to parse from an InputStream, not
  /frameworks/base/core/java/android/net/http/
AndroidHttpClient.java 52 import java.io.InputStream;
219 public static InputStream getUngzippedContent(HttpEntity entity)
221 InputStream responseStream = entity.getContent();
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
MediaPlayerPerformance.java 45 import java.io.InputStream;
288 InputStream inStream = p.getInputStream();
306 InputStream in = p.getInputStream();
  /frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DefaultContainerService.java 50 import java.io.InputStream;
332 private static void copyToFile(InputStream inputStream, OutputStream out) throws IOException {
335 while ((bytesRead = inputStream.read(buffer)) >= 0) {
342 InputStream inputStream = new BufferedInputStream(new FileInputStream(srcFile));
344 copyToFile(inputStream, out);
346 try { inputStream.close(); } catch (IOException e) {}
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
BinaryHprofReader.java 23 import java.io.InputStream;
30 * BinaryHprofReader reader = new BinaryHprofReader(new BufferedInputStream(inputStream));
33 * inputStream.close();
72 * inputStream}
74 public BinaryHprofReader(InputStream inputStream) throws IOException {
75 this.in = new DataInputStream(inputStream);
262 private static void readFully(InputStream in, byte[] dst) throws IOException {
  /libcore/luni/src/main/java/java/net/
PlainSocketImpl.java 23 import java.io.InputStream;
215 @Override protected synchronized InputStream getInputStream() throws IOException {
220 private static class PlainSocketInputStream extends InputStream {
  /libcore/luni/src/main/java/java/nio/
SocketChannelImpl.java 22 import java.io.InputStream;
555 public InputStream getInputStream() throws IOException {
626 private static class SocketChannelInputStream extends InputStream {
  /libcore/luni/src/main/java/java/util/
Properties.java 22 import java.io.InputStream;
238 * Loads properties from the specified {@code InputStream}, assumed to be ISO-8859-1.
241 * @param in the {@code InputStream}
244 public synchronized void load(InputStream in) throws IOException {
482 * {@link #load(InputStream)} method.
561 * Loads the properties from an {@code InputStream} containing the
571 * this method returns the InputStream is not closed.
573 * @param in the InputStream containing the XML document.
578 public synchronized void loadFromXML(InputStream in) throws IOException,
  /libcore/luni/src/main/java/libcore/net/http/
HttpsURLConnectionImpl.java 20 import java.io.InputStream;
122 public InputStream getErrorStream() {
269 public InputStream getInputStream() throws IOException {
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
SSLSocketImpl.java 21 import java.io.InputStream;
69 protected InputStream input;
458 public InputStream getInputStream() throws IOException {
  /libcore/luni/src/test/java/libcore/java/lang/
OldRuntimeTest.java 25 import java.io.InputStream;
36 InputStream is;
490 InputStream lcIn =
  /packages/apps/Contacts/tests/src/com/android/contacts/
CallDetailActivityTest.java 46 import java.io.InputStream;
266 InputStream inputStream = null;
268 inputStream = assets.open(TEST_ASSET_NAME);
270 copyBetweenStreams(inputStream, outputStream);
273 Closeables.closeQuietly(inputStream);
282 public void copyBetweenStreams(InputStream in, OutputStream out) throws IOException {
  /bionic/libc/tools/zoneinfo/
ZoneCompactor.java 56 InputStream in = new FileInputStream(inFile);
  /cts/tests/tests/graphics/src/android/graphics/cts/
PictureTest.java 81 args = {java.io.InputStream.class}
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyGetFrameRateEvent.java 25 import java.io.InputStream;
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
ManifestTest.java 23 import java.io.InputStream;
126 * @tests java.util.jar.Manifest#Manifest(java.io.InputStream)
132 InputStream is = new ByteArrayInputStream(baos.toByteArray());
432 * @tests {@link java.util.jar.Manifest#read(java.io.InputStream)
436 InputStream is = new InputStreamImpl();
446 private class InputStreamImpl extends InputStream {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
URLClassLoaderTest.java 23 import java.io.InputStream;
132 InputStream is = ((URL) res.nextElement()).openStream();
361 java.io.InputStream is = res.openStream();
484 InputStream in = this.getClass()
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
ChannelsTest.java 23 import java.io.InputStream;
177 InputStream ins = Channels.newInputStream(rbChannel);
279 InputStream testins = Channels.newInputStream(null);
294 InputStream testins = Channels.newInputStream(readbc);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStore2Test.java 23 import java.io.InputStream;
464 * @tests java.security.KeyStore#load(java.io.InputStream, char[])
467 // Test for method void java.security.KeyStore.load(java.io.InputStream,
471 InputStream in = new ByteArrayInputStream(keyStore);
494 InputStream v1in = Support_Resources.getStream("hyts_ks.bks");
679 public void engineLoad(InputStream stream, char[] password)

Completed in 1175 milliseconds

<<31323334353637383940>>