/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
BlenderInputStream.java | 39 import java.io.InputStream;
47 public class BlenderInputStream extends InputStream {
71 protected InputStream inputStream;
75 * @param inputStream
82 public BlenderInputStream(InputStream inputStream, AssetManager assetManager) throws BlenderFileException {
84 this.inputStream = inputStream;
87 size = inputStream.available(); [all...] |
FileBlockHeader.java | 79 * @param inputStream
86 public FileBlockHeader(BlenderInputStream inputStream, BlenderContext blenderContext) throws BlenderFileException {
87 inputStream.alignPosition(4);
88 code = inputStream.readByte() << 24 | inputStream.readByte() << 16
89 | inputStream.readByte() << 8 | inputStream.readByte();
90 size = inputStream.readInt();
91 oldMemoryAddress = inputStream.readPointer();
92 sdnaIndex = inputStream.readInt(); [all...] |
/libcore/luni/src/main/java/java/net/ |
CacheResponse.java | 20 import java.io.InputStream; 26 * InputStream} to access the response body and a {@code Map} for the response headers. 31 * Returns an {@code InputStream} to access the response body. 33 * @return an {@code InputStream} which can be used to fetch the response 39 public abstract InputStream getBody() throws IOException;
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidByteArrayInputStreamTest.java | 21 import java.io.InputStream; 44 public static String read(InputStream a) throws IOException { 55 public static String read(InputStream a, int x) throws IOException { 64 public static String skipRead(InputStream a) throws IOException { 76 public static String markRead(InputStream a, int x, int y) throws IOException {
|
OldAndroidPushbackInputStreamTest.java | 21 import java.io.InputStream; 58 public static String read(InputStream a) throws IOException { 69 public static String read(InputStream a, int x) throws IOException { 78 public static String skipRead(InputStream a) throws IOException { 90 public static String markRead(InputStream a, int x, int y) throws IOException {
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldJarInputStreamTest.java | 24 import java.io.InputStream; 35 InputStream is = new BufferedInputStream(new ByteArrayInputStream(new byte[0])); 47 public Mock_JarInputStream(InputStream in) throws IOException { 59 InputStream is = Support_Resources.getStream("Broken_entry.jar"); 67 InputStream is = Support_Resources.getStream("Broken_entry_data.jar");
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 22 import java.io.InputStream; 44 InputStream in = new CipherInputStream( 53 InputStream in = new CipherInputStream(new ByteArrayInputStream(cipherText), cipher); 61 InputStream in = new CipherInputStream(new ByteArrayInputStream(cipherText), cipher); 65 private byte[] readAll(InputStream in) throws IOException {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
BinaryTempFileBody.java | 33 import java.io.InputStream; 39 * and writeTo one time. After writeTo is called, or the InputStream returned from 60 public InputStream getInputStream() throws MessagingException { 70 InputStream in = getInputStream(); 79 public BinaryTempFileBodyInputStream(InputStream in) {
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifReader.java | 22 import java.io.InputStream; 38 * Parses the inputStream and and returns the EXIF data in an 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, 46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/ |
ExifXmlDataTestCase.java | 26 import java.io.InputStream; 33 private InputStream mImageInputStream; 34 private InputStream mXmlInputStream; 55 protected InputStream getImageInputStream() { 96 protected InputStream reopenFileStream() throws Exception {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SequenceInputStreamTest.java | 22 import java.io.InputStream; 36 * @tests java.io.SequenceInputStream#SequenceInputStream(java.io.InputStream, 37 * java.io.InputStream) 40 // Test for method java.io.SequenceInputStream(java.io.InputStream, 41 // java.io.InputStream) 46 * @tests SequenceInputStream#SequenceInputStream(java.io.InputStream, 47 * java.io.InputStream) 57 //will not throw NullPointerException if the first InputStream is not null 58 InputStream is = new ByteArrayInputStream(s1.getBytes("UTF-8")); 69 InputStream streams[] = new InputStream[2] [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/audio/plugins/ |
WAVLoader.java | 44 import java.io.InputStream; 126 private AudioData load(InputStream inputStream, boolean stream) throws IOException{ 127 this.in = new LittleEndien(inputStream); 177 InputStream inputStream = null; 179 inputStream = info.openStream(); 180 data = load(inputStream, ((AudioKey)info.getKey()).isStream()); 182 inputStream = null; 186 if (inputStream != null) [all...] |
/external/smack/src/org/jivesoftware/smack/compression/ |
Java7ZlibInputOutputStream.java | 19 import java.io.InputStream; 64 public InputStream getInputStream(InputStream inputStream) { 65 return new InflaterInputStream(inputStream, new Inflater(), 512) { 67 * Provide a more InputStream compatible version. A return value of 1 means that it is likely to read one 78 * InputStream.available, which breaks kXML2.
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
UrlInterceptResponse.cpp | 40 JavaInputStreamWrapper(JNIEnv* env, jobject inputStream) 41 : m_inputStream(env->NewGlobalRef(inputStream)) 44 ScopedLocalRef<jclass> inputStreamClass(env, env->FindClass("java/io/InputStream")); 91 jfieldID inputStream = env->GetFieldID(javaResponse.get(), "mInputStream", "Ljava/io/InputStream;"); 92 LOG_ALWAYS_FATAL_IF(!inputStream); 94 ScopedLocalRef<jobject> stream(env, env->GetObjectField(response, inputStream));
|
/libcore/luni/src/main/java/java/nio/channels/ |
Channels.java | 21 import java.io.InputStream; 55 * the channel to be wrapped by an InputStream. 56 * @return an InputStream that takes bytes from the given byte channel. 58 public static InputStream newInputStream(ReadableByteChannel channel) { 91 * @param inputStream 95 public static ReadableByteChannel newChannel(InputStream inputStream) { 96 return new InputStreamChannel(inputStream); 204 private static class ChannelInputStream extends InputStream { 288 private final InputStream inputStream [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
InflaterInputStreamTest.java | 23 import java.io.InputStream; 40 MyInflaterInputStream(InputStream in) { 44 MyInflaterInputStream(InputStream in, Inflater infl) { 48 MyInflaterInputStream(InputStream in, Inflater infl, int size) { 58 * @tests java.util.zip.InflaterInputStream#InflaterInputStream(java.io.InputStream) 65 InputStream infile = Support_Resources 80 * @tests java.util.zip.InflaterInputStream#InflaterInputStream(java.io.InputStream, 85 InputStream infile = Support_Resources.getStream("hyts_construOD.bin"); 95 * @tests java.util.zip.InflaterInputStream#InflaterInputStream(java.io.InputStream, 101 InputStream infile = Support_Resources.getStream("hyts_construODI.bin") [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarInputStreamTest.java | 20 import java.io.InputStream; 56 * @tests java.util.jar.JarInputStream#JarInputStream(java.io.InputStream) 59 // Test for method java.util.jar.JarInputStream(java.io.InputStream) 60 InputStream is = new URL(jarName).openConnection().getInputStream(); 77 InputStream is = Support_Resources.getStream("Broken_entry.jar"); 99 InputStream is = new URL(jarName).openConnection().getInputStream(); 136 InputStream is = new URL(jarName2).openConnection().getInputStream(); 154 InputStream is = new URL(jarName).openConnection().getInputStream(); 167 InputStream is = new URL(intJarName).openConnection() 183 InputStream is = new URL(modJarName).openConnection( [all...] |
/frameworks/base/media/java/android/drm/mobile1/ |
DrmRawContent.java | 92 * The member to save the original InputStream data. 97 * The member to save the original InputStream data length. 131 public DrmRawContent(InputStream inRawdata, int len, String mimeTypeStr) throws DrmException, IOException { 192 * Get one InputStream object to read decrypted content. 196 * @return the InputStream object of decrypted media content. 198 public InputStream getContentInputStream(DrmRights rights) { 244 * This class provide a InputStream to the DRM media content. 246 class DrmInputStream extends InputStream 280 * @see java.io.InputStream#available() 301 * @see java.io.InputStream#read( [all...] |
/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...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
LimitedLengthInputStreamTest.java | 24 import java.io.InputStream; 30 private InputStream mTestStream1; 42 InputStream is = new LimitedLengthInputStream(mTestStream1, -1, TEST_STRING1.length); 52 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, -1); 62 InputStream is = new LimitedLengthInputStream(null, 0, 1); 72 InputStream is = new LimitedLengthInputStream(mTestStream1, Long.MAX_VALUE - 1, 88 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); 123 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, TEST_STRING1.length + 10); 138 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); 168 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length) [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldZipFileTest.java | 28 import java.io.InputStream; 38 public byte[] getAllBytesFromStream(InputStream is) throws IOException { 61 InputStream in; 67 * Android delivers empty InputStream, RI no InputStream at all. The 91 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt")); 92 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt")); 131 // Test for method java.io.InputStream 134 InputStream is = null; 164 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip") [all...] |
/libcore/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 25 import java.io.InputStream; 37 public static InputStream getStream(String name) { 40 InputStream result = Support_Resources.class.getResourceAsStream(path); 112 InputStream in = Support_Resources.getStream(folder == null ? file 131 public static void copyLocalFileto(File dest, InputStream in) throws IOException { 141 private static int copy(InputStream in, OutputStream out) throws IOException { 154 InputStream in = new URL(url).openStream(); 170 public static InputStream getResourceStream(String name) { 171 InputStream is = Support_Resources.class.getResourceAsStream(name); 189 InputStream xml = Support_Resources.class.getResourceAsStream(path) [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
Impl_RowSet.java | 20 import java.io.InputStream; 109 public void setAsciiStream(int parameterIndex, InputStream theInputStream, 117 public void setBinaryStream(int parameterIndex, InputStream theInputStream, 289 public InputStream getAsciiStream(int columnIndex) throws SQLException { 293 public InputStream getAsciiStream(String columnName) throws SQLException { 315 public InputStream getBinaryStream(int columnIndex) throws SQLException { 319 public InputStream getBinaryStream(String columnName) throws SQLException { 527 public InputStream getUnicodeStream(int columnIndex) throws SQLException { 531 public InputStream getUnicodeStream(String columnName) throws SQLException { 615 public void updateAsciiStream(int columnIndex, InputStream x, int length [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
StrictLineReader.java | 23 import java.io.InputStream; 31 * Buffers input from an {@link InputStream} for reading lines. 52 private final InputStream in; 58 // {@code InputStream} throws an {@code IOException}, end may remain as either pos or -1. 66 * @param in the {@code InputStream} to read data from. 69 public StrictLineReader(InputStream in) { 76 * @param in the {@code InputStream} to read data from. 81 public StrictLineReader(InputStream in, int capacity) { 88 * @param in the {@code InputStream} to read data from. 94 public StrictLineReader(InputStream in, Charset charset) [all...] |
/libcore/luni/src/main/java/libcore/io/ |
StrictLineReader.java | 22 import java.io.InputStream; 28 * Buffers input from an {@link InputStream} for reading lines. 49 private final InputStream in; 56 * {@code InputStream} throws an {@code IOException}, end may remain as either pos or -1. 65 * @param in the {@code InputStream} to read data from. 68 public StrictLineReader(InputStream in) { 75 * @param in the {@code InputStream} to read data from. 80 public StrictLineReader(InputStream in, int capacity) { 87 * @param in the {@code InputStream} to read data from. 93 public StrictLineReader(InputStream in, Charset charset) [all...] |