| /sdk/layoutopt/libs/uix/src/com/android/layoutopt/uix/ |
| LayoutAnalyzer.java | 26 import java.io.InputStream; 96 private void loadRule(GroovyShell shell, String name, InputStream stream) { 125 InputStream in = null; 146 public LayoutAnalysis analyze(InputStream stream) { 150 private LayoutAnalysis analyze(String name, InputStream stream) {
|
| /libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
| SAXParserTest.java | 23 import java.io.InputStream; 133 private InputStream getResource(String name) { 209 // InputStream is = new FileInputStream(list_wf[i]); 226 // InputStream is = new FileInputStream(list_wf[i]); 434 InputStream in = null; 484 InputStream in = null; 496 * @test javax.xml.parsers.SAXParser#parse(java.io.InputStream, 507 InputStream is = new FileInputStream(list_wf[i]); 515 InputStream is = new FileInputStream(list_nwf[i]); 525 parser.parse((InputStream) null, dh) [all...] |
| /development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
| BitmapDecode.java | 27 import java.io.InputStream; 51 private static byte[] streamToBytes(InputStream is) { 68 java.io.InputStream is;
|
| AlphaBitmap.java | 26 import java.io.InputStream; 64 InputStream is = context.getResources().openRawResource(R.drawable.app_sample_code);
|
| /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
| JarEntryTest.java | 22 import java.io.InputStream; 134 InputStream in = jarFile.getInputStream(jarEntry1); 157 InputStream in = jarFile.getInputStream(jarEntry);
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
| ProcessBuilderTest.java | 21 import java.io.InputStream; 155 InputStream in = process.getInputStream(); 156 InputStream err = process.getErrorStream();
|
| /libcore/luni/src/main/java/java/util/zip/ |
| GZIPInputStream.java | 22 import java.io.InputStream; 37 * InputStream is = ... 76 * the {@code InputStream} to read data from. 80 public GZIPInputStream(InputStream is) throws IOException { 89 * the {@code InputStream} to read data from. 95 public GZIPInputStream(InputStream is, int size) throws IOException {
|
| /libcore/luni/src/main/java/javax/security/cert/ |
| X509Certificate.java | 21 import java.io.InputStream; 53 constructor = cl.getConstructor(new Class[] {InputStream.class}); 74 public static final X509Certificate getInstance(InputStream inStream)
|
| /libcore/luni/src/test/java/libcore/java/io/ |
| OldBufferedInputStreamTest.java | 26 import java.io.InputStream; 60 testBufferedInputStream(InputStream is) throws IOException { 65 testBufferedInputStream(InputStream is, int size) throws IOException {
|
| /libcore/luni/src/test/java/libcore/java/util/jar/ |
| OldJarFileTest.java | 21 import java.io.InputStream; 120 InputStream is = jf.getInputStream(jf.getEntry(entryName)); 133 InputStream in = jf.getInputStream(new JarEntry("invalid")); 142 // InputStream returned in any way, exception can be thrown in case 155 // InputStream returned in any way, exception can be thrown in case
|
| /libcore/luni/src/test/java/libcore/java/util/zip/ |
| OldZipInputStreamTest.java | 24 import java.io.InputStream; 38 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip"); 150 public Mock_ZipInputStream(InputStream arg0) {
|
| /packages/apps/Gallery/src/com/android/camera/gallery/ |
| BaseImage.java | 32 import java.io.InputStream; 107 public InputStream fullSizeImageData() { 109 InputStream input = mContentResolver.openInputStream(mUri);
|
| UriImage.java | 31 import java.io.InputStream; 53 private InputStream getInputStream() { 107 public InputStream fullSizeImageData() {
|
| /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
| UrlOpener.java | 39 import java.io.InputStream; 87 * @return Returns an {@link InputStream} holding the URL content. 93 static InputStream openUrl(String url, ITaskMonitor monitor) 108 private static InputStream openWithHttpClient(String url, ITaskMonitor monitor)
|
| /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/ |
| SdkRepoSourceTest.java | 32 import java.io.InputStream;
56 public Pair<Document, String> _findAlternateToolsXml(InputStream xml) throws IOException {
80 public int _getXmlSchemaVersion(InputStream xml) {
84 public String _validateXml(InputStream xml, String url, int version,
89 public Document _getDocument(InputStream xml, ITaskMonitor monitor) {
169 InputStream xmlStream = getTestResource(
199 InputStream xmlStream = getTestResource(
276 InputStream xmlStream = getTestResource(
355 InputStream xmlStream = getTestResource(
433 InputStream xmlStream = getTestResource( [all...] |
| /external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
| PreferencesTest.java | 21 import java.io.InputStream; 40 InputStream in; 217 InputStream in = new ByteArrayInputStream(source); 242 static class MockInputStream extends InputStream { 252 InputStream wrapper; 269 public MockInputStream(InputStream in) {
|
| /frameworks/base/core/java/android/net/http/ |
| Request.java | 20 import java.io.InputStream; 80 private InputStream mBodyProvider; 105 * @param bodyProvider InputStream providing HTTP body, null if none 112 InputStream bodyProvider, int bodyLength, 277 InputStream is = entity.getContent(); 281 InputStream nis = null; 487 * Supply an InputStream that provides the body of a request. It's 489 * returned by that InputStream, but the client needs to know up 490 * front, and I'm not sure how to get this out of the InputStream 494 private void setBodyProvider(InputStream bodyProvider, int bodyLength) [all...] |
| /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
| VCardVerifier.java | 39 import java.io.InputStream; 85 private InputStream mInputStream; 137 final InputStream inputStream = 139 if (inputStream == null) { 142 setInputStream(inputStream); 145 private void setInputStream(InputStream inputStream) { 149 AndroidTestCase.fail("InputStream is already set"); 151 mInputStream = inputStream; [all...] |
| /packages/apps/Exchange/src/com/android/exchange/adapter/ |
| Parser.java | 32 import java.io.InputStream; 63 private InputStream in; 163 public Parser(InputStream in) throws IOException { 188 protected InputStream getInput() { 359 * @param in the InputStream associated with this parser 362 public void setInput(InputStream in, boolean initialize) throws IOException { 379 void resetInput(InputStream in) {
|
| /packages/providers/DownloadProvider/tests/src/tests/http/ |
| MockWebServer.java | 26 import java.io.InputStream; 150 InputStream in = new BufferedInputStream(s.getInputStream()); 203 private RecordedRequest readRequest(InputStream in, int sequenceNumber) throws IOException { 302 private void transfer(int length, InputStream in, OutputStream out) throws IOException { 318 private String readAsciiUntilCrlf(InputStream in) throws IOException { 333 private void readEmptyLine(InputStream in) throws IOException {
|
| /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
| TestPackageRepo.java | 26 import java.io.InputStream; 102 InputStream createStreamFromFile(File xmlFile) throws FileNotFoundException {
|
| /development/samples/Home/src/com/example/android/home/ |
| Wallpaper.java | 34 import java.io.InputStream; 98 InputStream stream = getResources().openRawResource(IMAGE_IDS[position]);
|
| /development/samples/TtsEngine/src/com/example/android/ttsengine/ |
| CheckVoiceData.java | 26 import java.io.InputStream; 136 InputStream is = getAssets().open(lang + ".freq"); 148 // The asset InputStream was non null, and therefore this
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
| BufferedInputStreamTest.java | 26 import java.io.InputStream; 45 * @tests java.io.BufferedInputStream(InputStream) 58 * @tests java.io.BufferedInputStream(InputStream) 69 // Test for method java.io.BufferedInputStream(java.io.InputStream, int) 102 MockBufferedInputStream(InputStream is) throws IOException { 107 MockBufferedInputStream(InputStream is, int size) throws IOException { 146 InputStream in = new InputStream() { 212 InputStream in = new BufferedInputStream( 277 InputStream in = new BufferedInputStream [all...] |
| /external/apache-harmony/support/src/test/java/tests/util/ |
| SerializationTester.java | 25 import java.io.InputStream; 158 InputStream input = null;
|