| /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
| JarFileTest.java | 23 import java.io.InputStream; 219 InputStream is = new URL(jarDirUrl + "/jarlist.txt").openStream(); 263 InputStream is = jarFile.getInputStream(entry); 290 InputStream is = jarFile.getInputStream(jarFile.getEntry(JAR1_ENTRY1)); 354 InputStream is; 387 InputStream in = jar.getInputStream(entry); 419 private void readExactly(InputStream in, int numBytes) throws IOException { 522 * throw security Exception, but it will anytime before the inputStream got 537 InputStream in = jarFile.getInputStream(zipEntry); 620 InputStream is = jf.getInputStream(jf.getEntry(JAR1_ENTRY1)) [all...] |
| JarOutputStreamTest.java | 21 import java.io.InputStream; 43 // read by inputstream and being written to other file, 77 InputStream jis = jarURL.openStream();
|
| /libcore/luni/src/main/java/libcore/net/http/ |
| HttpEngine.java | 23 import java.io.InputStream; 75 @Override public InputStream getBody() throws IOException { 114 private InputStream socketIn; 126 private InputStream responseBodyIn; 165 private InputStream cachedResponseBody; 356 private void setResponse(ResponseHeaders headers, InputStream body) throws IOException { 403 public final InputStream getResponseBody() { 508 private void initContentStream(InputStream transferStream) throws IOException { 521 private InputStream getTransferStream() throws IOException {
|
| /external/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) { 354 * stream in a CodedInputStream and used {@link #readRawVarint32(InputStream)} 358 static int readRawVarint32(final InputStream input) throws IOException { 367 * Like {@link #readRawVarint32(InputStream)}, but expects that the caller 372 final InputStream input) throws IOException { 483 private final InputStream input; 517 private CodedInputStream(final InputStream input) { 548 * size limits only apply when reading from an {@code InputStream}, no [all...] |
| /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
| AddonsListFetcher.java | 35 import java.io.InputStream;
194 InputStream is = null;
243 protected int getXmlSchemaVersion(InputStream xml) {
345 protected String validateXml(InputStream xml, String url, int version,
397 InputStream xsdStream = SdkAddonsListConstants.getXsdStream(version);
418 protected Document getDocument(InputStream xml, ITaskMonitor monitor) {
|
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
| URLConnectionTest.java | 35 import java.io.InputStream; 351 InputStream in = uc2.getInputStream(); 406 } else if (obj instanceof InputStream) { 407 InputStream i = (InputStream) obj; 443 InputStream helloWorld2 = (InputStream) fileURLCon.getContent(new Class[] {InputStream.class}); 461 ((InputStream) fileURLCon.getContent(null)).read(ba, 0, 600); 468 ((InputStream) fileURLCon.getContent(new Class[] {})).read(ba, 0, 600) [all...] |
| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| BitmapRegionDecoderTest.java | 44 import java.io.InputStream; 120 InputStream is = obtainInputStream(RES_IDS[i]); 197 InputStream is1 = obtainInputStream(RES_IDS[i]); 199 InputStream is2 = obtainInputStream(RES_IDS[i]); 299 InputStream is = obtainInputStream(RES_IDS[0]); 361 private InputStream obtainInputStream(int resId) { 366 InputStream is = obtainInputStream(resId); 383 InputStream is = obtainInputStream(RES_IDS[idx]);
|
| /cts/tests/tests/media/src/android/media/cts/ |
| MediaScannerConnectionTest.java | 38 import java.io.InputStream; 53 InputStream in = null;
|
| /cts/tests/tests/os/src/android/os/cts/ |
| MemoryFileTest.java | 20 import java.io.InputStream; 114 InputStream in = mMemoryFile.getInputStream();
|
| /cts/tests/tests/security/src/android/security/cts/ |
| PackageSignatureTest.java | 33 import java.io.InputStream; 99 InputStream input = mContext.getResources().openRawResource(resId);
|
| /cts/tests/tests/webkit/src/android/webkit/cts/ |
| CacheManager_CacheResultTest.java | 35 import java.io.InputStream; 128 args = {InputStream.class}
|
| /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
| TestPlanTest.java | 27 import java.io.InputStream; 182 private InputStream getStringAsStream(String input) {
|
| /dalvik/dexgen/src/com/android/dexgen/util/ |
| ByteArray.java | 21 import java.io.InputStream; 264 * Gets a {@code InputStream} that reads from this instance, 270 * {@code InputStream} instancex 292 public class MyInputStream extends InputStream {
|
| /dalvik/dx/src/com/android/dx/cf/direct/ |
| ClassPathOpener.java | 24 import java.io.InputStream; 230 InputStream in = zip.getInputStream(one);
|
| /dalvik/dx/src/com/android/dx/util/ |
| ByteArray.java | 21 import java.io.InputStream; 264 * Gets a {@code InputStream} that reads from this instance, 270 * {@code InputStream} instancex 292 public class MyInputStream extends InputStream {
|
| /dalvik/tools/dexdeps/src/com/android/dexdeps/ |
| Main.java | 22 import java.io.InputStream; 147 InputStream zis = zipFile.getInputStream(entry);
|
| /development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
| CompressedTextureActivity.java | 22 import java.io.InputStream; 92 InputStream input = getResources().openRawResource(R.raw.androids);
|
| /development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
| DictionaryDatabase.java | 33 import java.io.InputStream; 205 InputStream inputStream = resources.openRawResource(R.raw.definitions); 206 BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
|
| /development/samples/Wiktionary/src/com/example/android/wiktionary/ |
| SimpleWikiHelper.java | 38 import java.io.InputStream; 191 InputStream inputStream = entity.getContent(); 197 while ((readBytes = inputStream.read(sBuffer)) != -1) {
|
| /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
| SimpleWikiHelper.java | 38 import java.io.InputStream; 198 InputStream inputStream = entity.getContent(); 204 while ((readBytes = inputStream.read(sBuffer)) != -1) {
|
| /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/module/ |
| LoginModuleUtilsTest.java | 21 import java.io.InputStream; 37 InputStream in = new ByteArrayInputStream(password_file_content
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
| ObjectInputStream2Test.java | 23 import java.io.InputStream; 166 public TestObjectInputStream(InputStream in) throws IOException {
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
| AuthenticatorTest.java | 20 import java.io.InputStream; 146 InputStream in = s.getInputStream();
|
| /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
| KeyStoreSpiTest.java | 24 import java.io.InputStream; 165 public void engineLoad(InputStream stream, char[] password) {
|
| /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
| PolicyQualifierInfoTest.java | 25 import java.io.InputStream; 113 // Test worker for decoding from InputStream 197 private static final InputStream getDerInputStream(int intVal) {
|