/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
FakeInputStream.java | 19 import java.io.InputStream; 25 public class FakeInputStream extends InputStream {
|
/sdk/testapps/javaProjectTest/javaProject2/libs/ |
basicJar_not_in_classpath.jar | |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
Structure.java | 79 * @param inputStream 90 public Structure(BlenderInputStream inputStream, String[] names, String[] types, BlenderContext blenderContext) throws BlenderFileException { 91 int nameIndex = inputStream.readShort(); 94 int fieldsAmount = inputStream.readShort(); 101 int typeIndex = inputStream.readShort(); 102 nameIndex = inputStream.readShort(); 111 * @param inputStream 117 public void fill(BlenderInputStream inputStream) throws BlenderFileException { 118 int position = inputStream.getPosition(); 119 inputStream.setPosition(position - 8 - inputStream.getPointerSize()) [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VCardVerifier.java | 38 import java.io.InputStream; 83 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...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 23 import java.io.InputStream; 78 InputStream source = null; 100 private byte[] inputStreamToBytes(InputStream in) throws IOException { 115 InputStream is = getActivity().getResources().openRawResource(MOVIE); 126 InputStream is = getActivity().getResources()
|
/frameworks/base/core/java/android/webkit/ |
PluginData.java | 19 import java.io.InputStream; 40 private InputStream mStream; 73 InputStream stream, 86 * @return An InputStream instance with the plugin content. 93 public InputStream getInputStream() {
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
PartSource.java | 34 import java.io.InputStream; 62 * Gets a new InputStream for reading this source. This method can be 66 * @return a new InputStream 68 * @throws IOException if an error occurs when creating the InputStream 70 InputStream createInputStream() throws IOException;
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidDataInputStreamTest.java | 24 import java.io.InputStream; 108 public static String read(InputStream a) throws IOException { 119 public static String read(InputStream a, int x) throws IOException { 128 public static String skipRead(InputStream a) throws IOException { 140 public static String markRead(InputStream a, int x, int y) throws IOException {
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.java | 22 import java.io.InputStream; 32 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); 53 java.io.InputStream in = new InflaterInputStream(new ByteArrayInputStream(bytes)); 66 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); 89 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data));
|
/packages/apps/Email/src/org/apache/james/mime4j/message/ |
MemoryBinaryBody.java | 25 import java.io.InputStream;
50 * Use the given InputStream to build the TemporyFileBinaryBody
52 * @param is the InputStream to use as source
55 public MemoryBinaryBody(InputStream is) throws IOException {
82 public InputStream getInputStream() throws IOException {
|
TempFileBinaryBody.java | 23 import java.io.InputStream;
49 * Use the given InputStream to build the TemporyFileBinaryBody
51 * @param is the InputStream to use as source
54 public TempFileBinaryBody(InputStream is) throws IOException {
81 public InputStream getInputStream() throws IOException {
|
Message.java | 23 import java.io.InputStream;
64 public Message(InputStream is) throws IOException {
173 * @see org.apache.james.mime4j.ContentHandler#body(org.apache.james.mime4j.BodyDescriptor, java.io.InputStream)
175 public void body(BodyDescriptor bd, InputStream is) throws IOException {
222 * @see org.apache.james.mime4j.ContentHandler#epilogue(java.io.InputStream)
224 public void epilogue(InputStream is) throws IOException {
235 * @see org.apache.james.mime4j.ContentHandler#preamble(java.io.InputStream)
237 public void preamble(InputStream is) throws IOException {
250 * @see org.apache.james.mime4j.ContentHandler#raw(java.io.InputStream)
252 public void raw(InputStream is) throws IOException { [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
Compress.java | 25 import java.io.InputStream; 40 public static InputStream getUncompressedStream(final InputStream in) throws IOException { 64 final InputStream input = inFilename.equals(STDIN_OR_STDOUT) ? System.in 92 final InputStream input = inFilename.equals(STDIN_OR_STDOUT) ? System.in
|
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthInputStream.java | 35 import java.io.InputStream; 48 * through the {@link InputStream#mark} and {@link InputStream#reset} calls to 62 * support {@link InputStream#mark} and {@link InputStream#reset}. That choice 71 public class ContentLengthInputStream extends InputStream { 136 * @see java.io.InputStream#read() 151 * Does standard {@link InputStream#read(byte[], int, int)} behavior, but 185 * @see java.io.InputStream#read(byte[]) 197 * @see InputStream#skip(long [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifParser.java | 22 import java.io.InputStream; 30 * InputStream, the caller can request which IFD's to read via 31 * {@link #parse(InputStream, int)} with given options. 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 234 * Parses the the given InputStream with the given option [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTest.java | 29 import java.io.InputStream; 137 InputStream source = null; 161 FileInputStream inputStream = null; 181 inputStream = new FileInputStream(imageFile); 182 assertNotNull(Drawable.createFromStream(inputStream, "Sample")); 191 if (null != inputStream) { 192 inputStream.close(); 205 FileInputStream inputStream = null; 209 assertNull(Drawable.createFromResourceStream(null, null, inputStream, "test.bmp")); 226 inputStream = new FileInputStream(imageFile) [all...] |
/frameworks/base/docs/html/training/basics/network-ops/ |
connecting.jd | 22 <li><a href="#stream">Convert the InputStream to a String</a></li> 148 // an InputStream. Finally, the InputStream is converted into a string, which is 190 java.io.InputStream}.</li> 192 <li>The {@link java.io.InputStream} is passed to the <code>readIt()</code> 205 After you call {@code connect()}, you can get an {@link java.io.InputStream} of the data 213 the data as an {@link java.io.InputStream}.</p> 217 // the web page content as a InputStream, which it returns as 220 InputStream is = null; 238 // Convert the InputStream into a strin [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
EC3TrackImpl.java | 12 import java.io.InputStream; 35 private BufferedInputStream inputStream; 40 public EC3TrackImpl(InputStream fin, String lang) throws IOException { 45 public EC3TrackImpl(InputStream fin) throws IOException { 49 private void parse(InputStream fin) throws IOException { 50 inputStream = new BufferedInputStream(fin); 53 inputStream.mark(10000); 66 long skipped = inputStream.skip(bsi.frameSize); 71 inputStream.reset(); 171 inputStream.mark(200) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 26 import java.io.InputStream; 91 InputStream is = new ByteArrayInputStream(myMessage); 92 InputStream dis = new DigestInputStream(is, md); 109 InputStream dis = new DigestInputStream(null, null); 124 InputStream is = new ByteArrayInputStream(myMessage); 157 InputStream is = new ByteArrayInputStream(myMessage); 192 InputStream is = new ByteArrayInputStream(myMessage); 217 * <code>InputStream</code> not set. <code>read()</code> must 234 fail("InputStream not set. read() must not work"); 252 InputStream is = new ByteArrayInputStream(myMessage) [all...] |
/frameworks/base/docs/html/sdk/api_diff/9/changes/ |
java.sql.PreparedStatement.html | 86 <A NAME="java.sql.PreparedStatement.setAsciiStream_added(int, java.io.InputStream)"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/PreparedStatement.html#setAsciiStream(int, java.io.InputStream)" target="_top"><code>setAsciiStream</code></A>(<code>int,</nobr> InputStream<nobr><nobr></code>)</nobr> 93 <A NAME="java.sql.PreparedStatement.setAsciiStream_added(int, java.io.InputStream, long)"></A> 94 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/PreparedStatement.html#setAsciiStream(int, java.io.InputStream, long)" target="_top"><code>setAsciiStream</code></A>(<code>int,</nobr> InputStream<nobr>,</nobr> long<nobr><nobr></code>)</nobr> 100 <A NAME="java.sql.PreparedStatement.setBinaryStream_added(int, java.io.InputStream)"></A> 101 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/PreparedStatement.html#setBinaryStream(int, java.io.InputStream)" target="_top"><code>setBinaryStream</code></A>(<code>int,</nobr> InputStream<nobr><nobr></code>)</nobr> 107 <A NAME="java.sql.PreparedStatement.setBinaryStream_added(int, java.io.InputStream, long)"></A [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 27 import java.io.InputStream; 84 InputStream is = new ByteArrayInputStream(myMessage); 85 InputStream dis = new DigestInputStream(is, md); 102 InputStream dis = new DigestInputStream(null, null); 117 InputStream is = new ByteArrayInputStream(myMessage); 150 InputStream is = new ByteArrayInputStream(myMessage); 185 InputStream is = new ByteArrayInputStream(myMessage); 210 * <code>InputStream</code> not set. <code>read()</code> must 228 fail("InputStream not set. read() must not work"); 246 InputStream is = new ByteArrayInputStream(myMessage) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
PropertyResourceBundleTest.java | 23 import java.io.InputStream; 41 * @tests java.util.PropertyResourceBundle#PropertyResourceBundle(java.io.InputStream) 45 InputStream propertiesStream = new ByteArrayInputStream( 59 new PropertyResourceBundle((InputStream) null); 150 InputStream propertiesStream = new ByteArrayInputStream( 172 MockResourceBundle(java.io.InputStream stream) throws IOException { 182 java.io.InputStream localStream = new java.io.ByteArrayInputStream(
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory3Test.java | 25 import java.io.InputStream; 84 * Test for <code>generateCertificate(InputStream inStream)</code> method 100 * Test for <code>generateCertificates(InputStream inStream)</code> method 145 * <code>generateCertPath(InputStream inStream, String encoding)</code> 153 InputStream fis = Support_Resources 165 * Test for <code>generateCertPath(InputStream inStream)</code> method 181 InputStream fis = Support_Resources
|
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 24 import java.io.InputStream; 37 public static InputStream getStream(String name) { 91 InputStream in = Support_Resources.getStream(src); 104 public static void copyLocalFileTo(File dest, InputStream in) throws IOException { 120 InputStream in = new URL(url).openStream(); 136 public static InputStream getResourceStream(String name) { 137 InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream(name);
|
/external/apache-http/src/org/apache/http/entity/ |
InputStreamEntity.java | 35 import java.io.InputStream; 39 * A streamed entity obtaining content from an {@link InputStream InputStream}. 51 private final InputStream content; 55 public InputStreamEntity(final InputStream instream, long length) { 72 public InputStream getContent() throws IOException { 80 InputStream instream = this.content;
|