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

<<31323334353637383940>>

  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
CodedInputStream.java 34 import java.io.InputStream;
52 * Create a new CodedInputStream wrapping the given InputStream.
54 public static CodedInputStream newInstance(final InputStream input) {
409 * stream in a CodedInputStream and used {@link #readRawVarint32(InputStream)}
413 static int readRawVarint32(final InputStream input) throws IOException {
422 * Like {@link #readRawVarint32(InputStream)}, but expects that the caller
427 final int firstByte, final InputStream input) throws IOException {
538 private final InputStream input;
572 private CodedInputStream(final InputStream input) {
603 * size limits only apply when reading from an {@code InputStream}, no
    [all...]
Message.java 37 import java.io.InputStream;
227 Builder mergeFrom(InputStream input) throws IOException;
228 Builder mergeFrom(InputStream input,
231 boolean mergeDelimitedFrom(InputStream input)
233 boolean mergeDelimitedFrom(InputStream input,
  /external/smali/dexlib/src/main/java/org/jf/dexlib/
DexFile.java 288 InputStream inputStream = null;
308 inputStream = new BufferedInputStream(zipFile.getInputStream(zipEntry));
310 inputStream.mark(8);
312 magic[i] = (byte)inputStream.read();
314 inputStream.reset();
325 inputStream = new FileInputStream(file);
348 byte[] odexHeaderBytes = FileUtils.readStream(inputStream, 40);
358 FileUtils.readStream(inputStream, odexHeader.dexOffset - 40);
361 in = new ByteArrayInput(FileUtils.readStream(inputStream, odexHeader.dexLength))
    [all...]
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/
SyncAdapter.java 41 import java.io.InputStream;
140 InputStream stream = null;
146 // Makes sure that the InputStream is closed after the app is
201 public void updateLocalFeedData(final InputStream stream, final SyncResult syncResult)
296 private InputStream downloadUrl(final URL url) throws IOException {
  /development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
SyncAdapter.java 41 import java.io.InputStream;
140 InputStream stream = null;
146 // Makes sure that the InputStream is closed after the app is
201 public void updateLocalFeedData(final InputStream stream, final SyncResult syncResult)
296 private InputStream downloadUrl(final URL url) throws IOException {
  /development/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java 40 import java.io.InputStream;
216 InputStream stream = null;
237 // Makes sure that the InputStream is closed after the app is
265 private InputStream downloadUrl(String urlString) throws IOException {
274 InputStream stream = conn.getInputStream();
  /external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/
OidTest.java 180 * Oid constructors Oid(byte[] oid) and Oid(InputStream oid)
207 // Testing: Oid(InputStream oid)
255 * - Oid(InputStream oid): oid object is created,
292 * @tests org.ieft.jgss.Oid#Oid(java.io.InputStream)
298 new Oid((java.io.InputStream) null);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
JarURLConnectionTest.java 24 import java.io.InputStream;
161 InputStream in = connection.getInputStream();
226 InputStream is = conn.getInputStream();
257 InputStream is =juc.getInputStream();
314 InputStream is = url.openStream();
  /external/javassist/src/main/javassist/tools/web/
Webserver.java 189 InputStream in = new BufferedInputStream(clnt.getInputStream());
210 private String readLine(InputStream in) throws IOException {
220 private int skipLine(InputStream in) throws IOException {
236 public void doReply(InputStream in, OutputStream out, String cmd)
292 InputStream fin
  /external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
OGGLoader.java 50 import java.io.InputStream;
67 private static class JOggInputStream extends InputStream {
241 private InputStream readToStream(boolean seekable,float streamDuration){
249 private AudioData load(InputStream in, boolean readStream, boolean streamCache) throws IOException{
293 InputStream in = null;
  /frameworks/base/core/java/android/os/
MemoryFile.java 23 import java.io.InputStream;
165 * Creates a new InputStream for reading from the memory file.
167 @return InputStream
169 public InputStream getInputStream() {
256 private class MemoryInputStream extends InputStream {
  /frameworks/base/graphics/java/android/graphics/
BitmapRegionDecoder.java 23 import java.io.InputStream;
109 * if {@link InputStream#markSupported is.markSupported()} returns true,
113 public static BitmapRegionDecoder newInstance(InputStream is,
146 InputStream stream = null;
269 InputStream is, byte[] storage, boolean isShareable);
  /frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java 40 import java.io.InputStream;
216 InputStream stream = null;
237 // Makes sure that the InputStream is closed after the app is
265 private InputStream downloadUrl(String urlString) throws IOException {
274 InputStream stream = conn.getInputStream();
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLX509Certificate.java 20 import java.io.InputStream;
59 public static OpenSSLX509Certificate fromX509DerInputStream(InputStream is)
85 public static List<OpenSSLX509Certificate> fromPkcs7DerInputStream(InputStream is)
114 public static OpenSSLX509Certificate fromX509PemInputStream(InputStream is)
132 public static List<OpenSSLX509Certificate> fromPkcs7PemInputStream(InputStream is)
  /libcore/luni/src/main/java/java/io/
InputStream.java 42 * <h3>Subclassing InputStream</h3>
54 public abstract class InputStream extends Object implements Closeable {
60 public InputStream() {
94 * <p>The default implementation of this method in {@code InputStream} always returns 0.
117 * Sets a mark position in this InputStream. The parameter {@code readlimit}
  /libcore/luni/src/main/java/java/sql/
SQLOutput.java 20 import java.io.InputStream;
192 * java.io.InputStream} object
196 public void writeAsciiStream(InputStream theStream) throws SQLException;
202 * the stream of bytes to write, as a {@code java.io.InputStream}
207 public void writeBinaryStream(InputStream theStream) throws SQLException;
  /libcore/luni/src/test/java/libcore/java/net/
SocketTest.java 20 import java.io.InputStream;
158 @Override protected InputStream getInputStream() throws IOException { return null; }
214 InputStream in = socket.getInputStream();
277 InputStream in = socket.getInputStream();
309 InputStream in = socket.getInputStream();
  /libcore/luni/src/test/java/libcore/java/security/cert/
X509CRLTest.java 25 import java.io.InputStream;
77 final InputStream is = Support_Resources.getStream(name);
92 final InputStream is = Support_Resources.getStream(name);
107 final InputStream ris = Support_Resources.getStream(name);
125 final InputStream ris = Support_Resources.getStream(name);
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLServerSocketTest.java 25 import java.io.InputStream;
395 InputStream inputStream = new ByteArrayInputStream(bytes);
398 keyStore.load(inputStream, PASSWORD.toCharArray());
399 inputStream.close();
  /external/protobuf/java/src/main/java/com/google/protobuf/micro/
CodedInputStreamMicro.java 34 import java.io.InputStream;
50 * Create a new CodedInputStream wrapping the given InputStream.
52 public static CodedInputStreamMicro newInstance(final InputStream input) {
328 * stream in a CodedInputStream and used {@link #readRawVarint32(InputStream)}
332 static int readRawVarint32(final InputStream input) throws IOException {
439 private final InputStream input;
470 private CodedInputStreamMicro(final InputStream input) {
500 * size limits only apply when reading from an {@code InputStream}, not
621 "InputStream#read(byte[]) returned invalid result: " + bufferSize +
622 "\nThe InputStream implementation is buggy.")
    [all...]
  /frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DefaultContainerService.java 57 import java.io.InputStream;
453 private static void copyToFile(InputStream inputStream, OutputStream out) throws IOException {
456 while ((bytesRead = inputStream.read(buffer)) >= 0) {
465 InputStream inStream = null;
468 final InputStream is = new FileInputStream(new File(pPackageURI.getPath()));
524 private final InputStream mInStream;
530 public ApkContainer(InputStream inStream, ContainerEncryptionParams encryptionParams)
570 public InputStream getInputStream() {
574 private InputStream getDecryptedStream(InputStream inStream
    [all...]
  /external/chromium_org/third_party/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.
362 // Serialize and parse it. Make sure to parse from an InputStream, not
  /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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
GraphReader.java 21 import java.io.InputStream;
463 public void parseInput(InputStream inputStream, CommandStack commandStack)
467 reader.parse(new InputSource(inputStream));
567 InputStream inputStream = context.getApplicationContext().getResources()
571 reader.parseInput(inputStream, commands);
  /frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
MediaPlayerProxyTestCase.java 29 import java.io.InputStream;
536 InputStream inputStream = null;
538 inputStream = assets.open(assetFilename);
540 copyBetweenStreams(inputStream, outputStream);
545 Closeables.closeQuietly(inputStream);
553 public void copyBetweenStreams(InputStream in, OutputStream out) throws IOException {

Completed in 1883 milliseconds

<<31323334353637383940>>