HomeSort by relevance Sort by last modified time
    Searched full:inputstream (Results 276 - 300 of 2089) sorted by null

<<11121314151617181920>>

  /external/guava/guava/src/com/google/common/io/
CountingInputStream.java 23 import java.io.InputStream;
26 * An {@link InputStream} that counts the number of bytes read.
42 public CountingInputStream(InputStream in) {
LimitInputStream.java 24 import java.io.InputStream;
27 * An InputStream that limits the number of bytes which can be read.
44 public LimitInputStream(InputStream in, long limit) {
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
MetadataManager.java 23 import java.io.InputStream;
57 private static void close(InputStream in) {
68 InputStream source = PhoneNumberMatcher.class.getResourceAsStream(
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/
Util.java 23 import java.io.InputStream;
176 * Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int).
177 * InputStream assumes that you implement InputStream.read(int) and provides default
180 public static int readSingleByte(InputStream in) throws IOException {
200 public static void readFully(InputStream in, byte[] dst) throws IOException {
210 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount)
247 public static void skipAll(InputStream in) throws IOException {
264 public static long skipByReading(InputStream in, long byteCount) throws IOException
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Transport.java 20 import java.io.InputStream;
59 InputStream getTransferStream(CacheRequest cacheRequest) throws IOException;
63 InputStream responseBodyIn);
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/
StrictLineReaderTest.java 21 import java.io.InputStream;
31 InputStream refStream = createTestInputStream();
57 private InputStream createTestInputStream() {
  /external/sfntly/cpp/src/sfntly/data/
font_input_stream.cc 23 FontInputStream::FontInputStream(InputStream* is)
27 FontInputStream::FontInputStream(InputStream* is, size_t length)
32 // Do not close here, underlying InputStream will close themselves.
  /frameworks/base/core/tests/coretests/src/android/content/
AssetTest.java 24 import java.io.InputStream;
35 public static void verifyTextAsset(InputStream is) throws IOException {
64 InputStream is = mAssets.open("text.txt");
  /frameworks/base/services/java/com/android/server/
RandomBlock.java 26 import java.io.InputStream;
43 InputStream stream = null;
52 private static RandomBlock fromStream(InputStream in) throws IOException {
  /frameworks/opt/vcard/java/com/android/vcard/
VCardParser_V40.java 21 import java.io.InputStream;
74 public void parse(InputStream is) throws IOException, VCardException {
79 public void parseOne(InputStream is) throws IOException, VCardException {
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
PropertyNodesVerifier.java 25 import java.io.InputStream;
56 public void verify(InputStream is, int vcardType) throws IOException, VCardException {
61 public void verify(InputStream is, int vcardType, final VCardParser parser)
  /libcore/benchmarks/src/benchmarks/
BufferedZipFileBenchmark.java 24 import java.io.InputStream;
58 InputStream in = zipFile.getInputStream(entry);
71 InputStream in = new BufferedInputStream(zipFile.getInputStream(entry));
  /libcore/luni/src/main/java/javax/xml/parsers/
DocumentBuilder.java 24 import java.io.InputStream;
87 * Parse the content of the given <code>InputStream</code> as an XML
90 * <code>InputStream</code> is null.
92 * @param is InputStream containing the content to be parsed.
94 * <code>InputStream</code>
100 public Document parse(InputStream is)
103 throw new IllegalArgumentException("InputStream cannot be null");
111 * Parse the content of the given <code>InputStream</code> as an
114 * <code>InputStream</code> is null.
116 * @param is InputStream containing the content to be parsed
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
GZIPOutputStreamTest.java 22 import java.io.InputStream;
53 InputStream in = DeflaterOutputStreamTest.createInflaterStream(GZIPOutputStream.class, true);
61 InputStream in = DeflaterOutputStreamTest.createInflaterStream(GZIPOutputStream.class, false);
  /libcore/luni/src/test/java/tests/api/java/lang/
Process2Test.java 25 import java.io.InputStream;
52 InputStream is = process.getErrorStream();
71 InputStream is = erProcess.getErrorStream();
  /libcore/luni/src/test/java/tests/api/java/util/
PropertyResourceBundleTest.java 30 * java.util.PropertyResourceBundle#PropertyResourceBundle(java.io.InputStream)
33 // Test for method java.util.PropertyResourceBundle(java.io.InputStream)
82 java.io.InputStream propertiesStream = new java.io.ByteArrayInputStream(
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
CertificateStub.java 26 import java.io.InputStream;
53 * @see java.security.Certificate#decode(java.io.InputStream)
55 public void decode(InputStream stream) throws KeyException,
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
LoggingInputStream.java 24 import java.io.InputStream;
37 public LoggingInputStream(InputStream in) {
41 public LoggingInputStream(InputStream in, String tag, boolean dumpEmptyLines) {
  /packages/apps/Gallery/src/com/android/camera/gallery/
VideoObject.java 30 import java.io.InputStream;
72 public InputStream fullSizeImageData() {
74 InputStream input = mContentResolver.openInputStream(
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DownloadUtils.java 26 import java.io.InputStream;
46 public static void dump(JobContext jc, InputStream is, OutputStream os)
67 InputStream input = null;
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
TempFile.java 23 import java.io.InputStream;
31 * Gets an <code>InputStream</code> to read bytes from this temporary file.
41 InputStream getInputStream() throws IOException;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
BinaryXMLDescriber.java 24 import java.io.InputStream;
50 * InputStream, org.eclipse.core.runtime.content.IContentDescription)
53 public int describe(InputStream contents, IContentDescription description) throws IOException {
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
LiteralByteStringTest.java 37 import java.io.InputStream;
338 InputStream input = stringUnderTest.newInput();
339 assertEquals("InputStream.available() returns correct value",
346 assertEquals("InputStream.available() returns correct value",
348 assertTrue(classUnderTest + " must give the same bytes from the InputStream", stillEqual);
349 assertEquals(classUnderTest + " InputStream must now be exhausted", -1, input.read());
353 InputStream input = stringUnderTest.newInput();
357 assertEquals("InputStream.skip()", skipped1, nearEndIndex);
358 assertEquals("InputStream.available()",
360 assertTrue("InputStream.mark() is available", input.markSupported())
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
H264TrackImpl.java 14 import java.io.InputStream;
58 public H264TrackImpl(InputStream inputStream, String lang, long timescale) throws IOException {
67 parse(inputStream);
70 public H264TrackImpl(InputStream inputStream, String lang) throws IOException {
72 parse(inputStream);
75 public H264TrackImpl(InputStream inputStream) throws IOException {
76 parse(inputStream);
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java 44 import java.io.InputStream;
89 new BitmapDrawable(mContext.getResources(), (InputStream) null);
91 new BitmapDrawable((InputStream) null);
95 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
111 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
124 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
137 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
151 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
191 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
210 InputStream source = mContext.getResources().openRawResource(R.raw.testimage)
    [all...]

Completed in 1585 milliseconds

<<11121314151617181920>>