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

<<21222324252627282930>>

  /external/protobuf/java/core/src/main/java/com/google/protobuf/
AbstractMessageLite.java 35 import java.io.InputStream;
235 public BuilderType mergeFrom(final InputStream input) throws IOException {
244 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException {
252 * An InputStream implementations which reads from some other InputStream
260 LimitedInputStream(InputStream in, int limit) {
308 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException {
314 final InputStream limitedInput = new LimitedInputStream(input, size);
320 public boolean mergeDelimitedFrom(final InputStream input) throws IOException {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDrawable.java 16 import java.io.InputStream;
34 private InputStream inputStream;
40 public static Drawable createFromStream(InputStream is, String srcName) {
51 public static Drawable createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName) {
56 public static Drawable createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName, BitmapFactory.Options opts) {
131 public InputStream getInputStream() {
132 return inputStream;
135 public void setInputStream(InputStream inputStream) {
    [all...]
  /libcore/ojluni/src/main/java/java/lang/
UNIXProcess.java 36 import java.io.InputStream;
61 private /* final */ InputStream stdout;
62 private /* final */ InputStream stderr;
198 public InputStream getInputStream() {
202 public InputStream getErrorStream() {
264 * This is tricky because we do not want the user-level InputStream to be
273 private static byte[] drainInputStream(InputStream in)
291 InputStream in = this.in;
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
HttpHelperTest.java 28 import java.io.InputStream;
114 InputStream getRemoteUrlStream(URL url) {
155 InputStream getRemoteUrlStream(URL url) {
228 InputStream getConnectionInputStream(HttpURLConnection conn) {
292 InputStream mInputStream = new ByteArrayInputStream(TEST_DATA.getBytes());
326 InputStream getRemoteUrlStream(URL url) {
343 InputStream getConnectionInputStream(HttpURLConnection conn) throws IOException {
  /external/javassist/src/main/javassist/
ClassPoolTail.java 41 public InputStream openClassfile(String classname) {
93 public InputStream openClassfile(String classname) throws NotFoundException {
96 InputStream is = jars[i].openClassfile(classname);
137 public InputStream openClassfile(String classname)
285 InputStream fin = openClassfile(classname);
307 InputStream fin = openClassfile(classname);
324 InputStream openClassfile(String classname)
331 InputStream ins = null;
384 public static byte[] readStream(InputStream fin) throws IOException {
419 public static void copyStream(InputStream fin, OutputStream fout
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
BufferedInputStreamTest.java 26 import java.io.InputStream;
88 private InputStream isBytes;
92 * java.io.BufferedInputStream(InputStream)
105 * java.io.BufferedInputStream(InputStream)
116 // Test for method java.io.BufferedInputStream(java.io.InputStream, int)
150 MockBufferedInputStream(InputStream is) throws IOException {
155 MockBufferedInputStream(InputStream is, int size) throws IOException {
194 InputStream in = new InputStream() {
260 InputStream in = new BufferedInputStream
    [all...]
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
InputStreamProvider.java 23 import java.io.InputStream;
36 public InputStream newStream() {
47 public abstract InputStream newStreamNotNull() throws IOException;
53 InputStream is = newStream();
105 InputStream is = null;
224 InputStream is = null;
239 public InputStream newStreamNotNull() throws IOException {
248 public InputStream newStreamNotNull() {
257 public InputStream newStreamNotNull() {
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
BinaryDictOffdeviceUtils.java 37 import java.io.InputStream;
108 public InputStream getStream(final File src) throws FileNotFoundException, IOException {
109 InputStream input = new BufferedInputStream(new FileInputStream(src));
126 public T process(@Nonnull final InputStream input)
132 public File process(@Nonnull final InputStream input) throws IOException,
154 public DictionaryHeader process(final InputStream input) throws IOException,
195 private static void readStreamExhaustively(final InputStream inputStream,
200 readBytesLastCycle = inputStream.read(outBuffer, readBytes,
209 public static void copy(final InputStream input, final OutputStream output) throws IOException
    [all...]
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
FileUtils.java 23 import java.io.InputStream;
109 public static boolean copyToFile(InputStream inputStream, File destFile) {
118 while ((bytesRead = inputStream.read(buffer)) >= 0) {
149 public static byte[] readInputStreamFully(InputStream is) {
  /cts/hostsidetests/jvmti/base/run-test-based-app/src/android/jvmti/cts/
JvmtiRunTestBasedTest.java 19 import java.io.InputStream;
68 InputStream expectedStream = getClass().getClassLoader()
79 private void compare(InputStream expectedStream, ByteArrayOutputStream resultStream)
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapColorSpaceTest.java 44 import java.io.InputStream;
169 try (InputStream in = mResources.getAssets().open("green-p3.png")) {
191 try (InputStream in = mResources.getAssets().open("prophoto-rgba16f.png")) {
213 try (InputStream in = mResources.getAssets().open("green-p3.png")) {
242 try (InputStream in = mResources.getAssets().open("green-srgb.png")) {
251 try (InputStream in = mResources.getAssets().open("green-p3.png")) {
272 try (InputStream in = mResources.getAssets().open(fileName)) {
310 try (InputStream in = mResources.getAssets().open(fileName)) {
346 try (InputStream in = mResources.getAssets().open(fileName)) {
386 try (InputStream in = mResources.getAssets().open(fileName))
    [all...]
  /cts/tools/vm-tests-tf/src/util/build/
ExecuteFile.java 24 import java.io.InputStream;
47 private InputStream inStream;
85 public void setIn(@Nonnull InputStream stream) {
180 InputStream localInStream = inStream;
243 public ThreadBytesStreamSucker(@Nonnull InputStream is, @Nonnull OutputStream os,
261 public ThreadCharactersStreamSucker(@Nonnull InputStream is, @Nonnull PrintStream ps,
  /dalvik/dx/junit-tests/com/android/dx/merge/
DexMergerTest.java 27 import java.io.InputStream;
67 try (InputStream in = getClass().getClassLoader().getResourceAsStream(path);
82 private static byte[] readEntireStream(InputStream inputStream) throws IOException {
87 while ((count = inputStream.read(buffer)) != -1) {
  /dalvik/dx/src/com/android/multidex/
Path.java 26 import java.io.InputStream;
65 private static byte[] readStream(InputStream in, ByteArrayOutputStream baos, byte[] readBuffer)
100 InputStream in = element.open(path);
  /external/apache-http/src/org/apache/http/impl/io/
ChunkedInputStream.java 35 import java.io.InputStream;
76 public class ChunkedInputStream extends InputStream {
147 * @see java.io.InputStream#read(byte[], int, int)
176 * @see java.io.InputStream#read(byte[])
288 * @param inStream The {@link InputStream} to exhaust.
291 static void exhaustInputStream(final InputStream inStream) throws IOException {
  /external/apache-http/src/org/apache/http/util/
EntityUtils.java 35 import java.io.InputStream;
69 InputStream instream = entity.getContent();
117 InputStream instream = entity.getContent();
  /external/conscrypt/common/src/main/java/org/conscrypt/
DefaultSSLContextImpl.java 23 import java.io.InputStream;
77 InputStream is = null;
110 InputStream is = null;
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlWireAdapter.java 27 import java.io.InputStream;
42 private final InputStream mInputStream;
54 * @param input the {@link InputStream} from the peer
57 public XmlWireAdapter(InputStream input, OutputStream output) {
  /external/guava/guava/src/com/google/common/io/
ByteStreams.java 34 import java.io.InputStream;
63 public static long copy(InputStream from, OutputStream to)
113 public static byte[] toByteArray(InputStream in) throws IOException {
126 InputStream in, int expectedSize) throws IOException {
531 * Wraps a {@link InputStream}, limiting the number of bytes which can be
536 * @return a length-limited {@link InputStream}
539 public static InputStream limit(InputStream in, long limit) {
548 LimitedInputStream(InputStream in, long limit) {
621 public static void readFully(InputStream in, byte[] b) throws IOException
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CharsetMatch.java 14 import java.io.InputStream;
39 * CAUTION: if the source of the byte data was an InputStream, a Reader
42 * the InputStream and create InputStreamReaders itself, based on the charset name.
47 InputStream inputStream = fInputStream;
49 if (inputStream == null) {
50 inputStream = new ByteArrayInputStream(fRawInput, 0, fRawLength);
54 inputStream.reset();
55 return new InputStreamReader(inputStream, getName());
228 private InputStream fInputStream = null; // User's input stream, or null if the use
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CharsetMatch.java 13 import java.io.InputStream;
38 * CAUTION: if the source of the byte data was an InputStream, a Reader
41 * the InputStream and create InputStreamReaders itself, based on the charset name.
48 InputStream inputStream = fInputStream;
50 if (inputStream == null) {
51 inputStream = new ByteArrayInputStream(fRawInput, 0, fRawLength);
55 inputStream.reset();
56 return new InputStreamReader(inputStream, getName());
240 private InputStream fInputStream = null; // User's input stream, or null if the use
    [all...]
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/
Pack200StreamsTest.java 23 import java.io.InputStream;
76 InputStream result = Pack200Streams.unpack(new NoCloseInputStream(
85 public NoCloseInputStream(InputStream in) {
  /external/jarjar/src/main/com/tonicsystems/jarjar/util/
IoUtil.java 31 public static void pipe(InputStream is, OutputStream out, byte[] buf) throws IOException {
41 InputStream in = new FileInputStream(from);
119 final InputStream is = inputZip.getInputStream(inputEntry);
  /external/javasqlite/src/main/java/SQLite/
Blob.java 6 * Internal class implementing java.io.InputStream on
10 class BlobR extends InputStream {
25 * Contruct InputStream from blob instance.
44 * Mark method; dummy to satisfy InputStream class.
51 * Reset method; dummy to satisfy InputStream class.
67 * Close this blob InputStream.
263 * Return InputStream for this blob
264 * @return InputStream
267 public InputStream getInputStream() {
268 return (InputStream) new BlobR(this)
    [all...]
  /external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
HttpsServiceConnectionSE.java 5 import java.io.InputStream;
108 public InputStream openInputStream() throws IOException {
112 public InputStream getErrorStream() {

Completed in 1595 milliseconds

<<21222324252627282930>>