/libcore/luni/src/test/java/libcore/java/util/zip/ |
GZIPInputStreamTest.java | 22 import java.io.InputStream; 63 InputStream in = new GZIPInputStream(new ByteArrayInputStream(bytes));
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppRfcommTransport.java | 38 import java.io.InputStream; 66 public InputStream openInputStream() throws IOException {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapRfcommTransport.java | 40 import java.io.InputStream; 65 public InputStream openInputStream() throws IOException {
|
/packages/apps/Camera/src/com/android/camera/ |
Exif.java | 27 import java.io.InputStream; 36 InputStream is = new ByteArrayInputStream(jpeg);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/extensions/ |
ExtensionsFactory.java | 24 import java.io.InputStream; 51 final InputStream fileStream = context.getAssets().open(EXTENSIONS_PROPERTIES);
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
SettingsParser.java | 22 import java.io.InputStream; 35 public SettingsParser(InputStream in) throws IOException {
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
IImage.java | 22 import java.io.InputStream; 49 public abstract InputStream fullSizeImageData();
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
Exif.java | 24 import java.io.InputStream; 32 public static int getOrientation(InputStream is) {
|
/packages/apps/InCallUI/src/com/android/incallui/ |
ContactsAsyncHelper.java | 33 import java.io.InputStream; 188 InputStream inputStream = null; 191 inputStream = Contacts.openContactPhotoInputStream( 197 if (inputStream != null) { 198 args.photo = Drawable.createFromStream(inputStream, 215 if (inputStream != null) { 217 inputStream.close();
|
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/ |
SmilXmlParser.java | 21 import java.io.InputStream; 49 public SMILDocument parse(InputStream in) throws IOException, SAXException {
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
ImageAttachmentRequest.java | 15 import java.io.InputStream; 100 public InputStream createInputStream() throws IOException {
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
AttachmentUtils.java | 35 import java.io.InputStream; 185 InputStream inputStream = null; 197 inputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); 207 inputStream = context.getContentResolver().openInputStream(attachment.contentUri); 213 int len = inputStream.read(bytes); 246 if (inputStream != null) { 247 inputStream.close();
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
NullInputStream.java | 21 import java.io.InputStream;
24 * A functional, light weight {@link InputStream} that emulates
28 * object for testing with an {@link InputStream}
32 * large {@link InputStream} as it can emulate that
63 public class NullInputStream extends InputStream {
74 * Create an {@link InputStream} that emulates a specified size
84 * Create an {@link InputStream} that emulates a specified
110 * Return the size this {@link InputStream} emulates.
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
MiscService.java | 29 import java.io.InputStream; 74 InputStream is = socket.getInputStream();
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
JarUtils.java | 20 import java.io.InputStream; 53 public static InputStream openResource(final String name) {
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoSourcePlexor.java | 21 import java.io.InputStream; 70 protected InputStream getStream(ImageData data, int longSide) {
|
/packages/services/Telephony/src/com/android/phone/ |
ContactsAsyncHelper.java | 37 import java.io.InputStream; 215 InputStream inputStream = null; 218 inputStream = Contacts.openContactPhotoInputStream( 224 if (inputStream != null) { 225 args.photo = Drawable.createFromStream(inputStream, 246 if (inputStream != null) { 248 inputStream.close();
|
/frameworks/base/docs/html/sdk/api_diff/9/changes/ |
java.sql.CallableStatement.html | 170 <A NAME="java.sql.CallableStatement.setAsciiStream_added(java.lang.String, java.io.InputStream)"></A> 171 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/CallableStatement.html#setAsciiStream(java.lang.String, java.io.InputStream)" target="_top"><code>setAsciiStream</code></A>(<code>String,</nobr> InputStream<nobr><nobr></code>)</nobr> 177 <A NAME="java.sql.CallableStatement.setAsciiStream_added(java.lang.String, java.io.InputStream, long)"></A> 178 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/CallableStatement.html#setAsciiStream(java.lang.String, java.io.InputStream, long)" target="_top"><code>setAsciiStream</code></A>(<code>String,</nobr> InputStream<nobr>,</nobr> long<nobr><nobr></code>)</nobr> 184 <A NAME="java.sql.CallableStatement.setBinaryStream_added(java.lang.String, java.io.InputStream)"></A> 185 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/CallableStatement.html#setBinaryStream(java.lang.String, java.io.InputStream)" target="_top"><code>setBinaryStream</code></A>(<code>String,</nobr> InputStream<nobr><nobr></code>)</nobr> 191 <A NAME="java.sql.CallableStatement.setBinaryStream_added(java.lang.String, java.io.InputStream, long)"></A [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
CopyUtils.java | 21 import java.io.InputStream;
31 * copying between sources (<code>InputStream</code>, <code>Reader</code>,
65 * Imagine that an InputStream's read() is a very expensive operation, which
68 * {@link java.io.InputStream#read(byte[] b, int off, int len)} requests on the
69 * underlying InputStream, to fill an internal buffer, from which further
75 * {@link InputStream#read(byte[] b, int off, int len)} requests. Having two
84 * 1 copy InputStream OutputStream (primitive)
87 * 3 copy InputStream Writer 2
185 * Copy bytes from an <code>InputStream</code> to an
187 * @param input the <code>InputStream</code> to read from [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertFactoryImpl.java | 26 import java.io.InputStream; 86 * @see java.security.cert.CertificateFactorySpi#engineGenerateCertificate(InputStream) 89 public Certificate engineGenerateCertificate(InputStream inStream) 119 * @see java.security.cert.CertificateFactorySpi#engineGenerateCertificates(InputStream) 123 engineGenerateCertificates(InputStream inStream) 231 * @see java.security.cert.CertificateFactorySpi#engineGenerateCRL(InputStream) 234 public CRL engineGenerateCRL(InputStream inStream) 262 * @see java.security.cert.CertificateFactorySpi#engineGenerateCRLs(InputStream) 265 public Collection<? extends CRL> engineGenerateCRLs(InputStream inStream) 370 * @see java.security.cert.CertificateFactorySpi#engineGenerateCertPath(InputStream) [all...] |
/libcore/luni/src/main/java/javax/sql/ |
RowSet.java | 20 import java.io.InputStream; 277 * with the ASCII data in the supplied {@code java.io.InputStream} value. 278 * Data is read from the {@code InputStream} until end-of-file is reached. 290 public void setAsciiStream(int parameterIndex, InputStream theInputStream, 295 * ASCII data in the supplied java.io.InputStream value. Data is read from 296 * the InputStream until end-of-file is reached. 302 * an InputStream containing the ASCII data to set into the 308 public void setAsciiStream(int parameterIndex, InputStream theInputStream) 313 * ASCII data in the supplied java.io.InputStream value. Data is read from 314 * the InputStream until end-of-file is reached [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactoryTest.java | 41 import java.io.InputStream; 130 InputStream is = obtainInputStream(); 161 InputStream is = obtainInputStream(); 173 InputStream is = obtainInputStream(); 183 InputStream is = obtainInputStream(RES_IDS[i]); 199 InputStream iStreamPng = obtainInputStream(R.drawable.png_test); 204 InputStream iStreamWebp1 = obtainInputStream(R.drawable.webp_test); 213 InputStream iStreamWebp2 = new ByteArrayInputStream(oStreamWebp.toByteArray()); 413 private InputStream obtainInputStream() { 417 private InputStream obtainInputStream(int resId) [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipFileTest.java | 22 import java.io.InputStream; 34 public byte[] getAllBytesFromStream(InputStream is) throws IOException { 108 InputStream in = Support_Resources.getStream("hyts_ZipFile.zip"); 185 InputStream in; 231 // Test for method java.io.InputStream 233 java.io.InputStream is = null; 270 * @tests java.io.InputStream#reset() 275 InputStream is = zfile.getInputStream(zentry); 316 * @tests java.io.InputStream#reset() 321 InputStream is = zfile.getInputStream(zentry) [all...] |
/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/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
MessageLite.java | 37 import java.io.InputStream; 115 * that size on the receiving end (e.g. by wrapping the InputStream in one 125 * data yourself. Use {@link Builder#mergeDelimitedFrom(InputStream)} (or 126 * the static method {@code YourMessageType.parseDelimitedFrom(InputStream)}) 279 * and {@link #mergeDelimitedFrom(InputStream)} to read it. 285 Builder mergeFrom(InputStream input) throws IOException; 294 Builder mergeFrom(InputStream input, 299 * Like {@link #mergeFrom(InputStream)}, but does not read until EOF. 309 boolean mergeDelimitedFrom(InputStream input) 313 * Like {@link #mergeDelimitedFrom(InputStream)} but supporting extensions [all...] |