HomeSort by relevance Sort by last modified time
    Searched full:inputstream (Results 326 - 350 of 1844) sorted by null

<<11121314151617181920>>

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionaryFileDumper.java 39 import java.io.InputStream;
244 final InputStream originalSourceStream;
245 InputStream inputStream = null;
246 InputStream uncompressedStream = null;
247 InputStream decryptedStream = null;
270 inputStream = FileTransforms.getUncompressedStream(decryptedStream);
274 inputStream = FileTransforms.getUncompressedStream(decryptedStream);
279 inputStream = FileTransforms.getDecryptedStream(uncompressedStream);
282 inputStream = FileTransforms.getUncompressedStream(originalSourceStream)
    [all...]
  /libcore/luni/src/main/java/javax/xml/parsers/
SAXParser.java 24 import java.io.InputStream;
109 * <p>Parse the content of the given {@link java.io.InputStream}
114 * @param is InputStream containing the content to be parsed.
117 * @throws IllegalArgumentException If the given InputStream is null.
120 * <code>InputStream</code>.
124 public void parse(InputStream is, HandlerBase hb)
127 throw new IllegalArgumentException("InputStream cannot be null");
135 * <p>Parse the content of the given {@link java.io.InputStream}
140 * @param is InputStream containing the content to be parsed.
144 * @throws IllegalArgumentException If the given <code>InputStream</code> i
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/
EndianUtils.java 21 import java.io.InputStream;
292 * Reads a "short" value from an InputStream. The value is
294 * @param input source InputStream
298 public static short readSwappedShort(InputStream input)
306 * Reads a unsigned short (16-bit) from an InputStream. The value is
308 * @param input source InputStream
312 public static int readSwappedUnsignedShort(InputStream input)
339 * Reads a "int" value from an InputStream. The value is
341 * @param input source InputStream
345 public static int readSwappedInteger(InputStream input)
    [all...]
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
ImageDownloader.java 38 import java.io.InputStream;
268 InputStream inputStream = null;
271 inputStream = entity.getContent();
274 copy(inputStream, outputStream);
280 // FIXME : Should use BitmapFactory.decodeStream(inputStream) instead.
281 //final Bitmap bitmap = BitmapFactory.decodeStream(inputStream);
286 if (inputStream != null) {
287 inputStream.close();
338 public void copy(InputStream in, OutputStream out) throws IOException
    [all...]
  /external/javassist/src/main/javassist/
ClassPoolTail.java 41 public InputStream openClassfile(String classname) {
93 public InputStream openClassfile(String classname) throws NotFoundException {
96 InputStream is = jars[i].openClassfile(classname);
137 public InputStream openClassfile(String classname)
285 InputStream fin = openClassfile(classname);
307 InputStream fin = openClassfile(classname);
324 InputStream openClassfile(String classname)
331 InputStream ins = null;
384 public static byte[] readStream(InputStream fin) throws IOException {
419 public static void copyStream(InputStream fin, OutputStream fout
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPMetaFactory.java 12 import java.io.InputStream;
24 * Creates <code>XMPMeta</code>-instances from an <code>InputStream</code>
64 * @see XMPMetaFactory#parse(InputStream, ParseOptions)
66 * @param in an <code>InputStream</code>
70 public static XMPMeta parse(InputStream in) throws XMPException
82 * <code>parseFromBuffer()</code> parses RDF from an <code>InputStream</code>. The encoding
85 * @param in an <code>InputStream</code>
97 public static XMPMeta parse(InputStream in, ParseOptions options)
106 * @see XMPMetaFactory#parse(InputStream)
150 * @see XMPMetaFactory#parse(InputStream, ParseOptions
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/xml/parsers/
DocumentBuilderTest.java 41 import java.io.InputStream;
292 * javax.xml.parsers.DocumentBuilder#parse(java.io.InputStream)
299 InputStream is = getClass().getResourceAsStream("/simple.xml");
319 db.parse((InputStream)null);
352 * javax.xml.parsers.DocumentBuilder#parse(java.io.InputStream)
359 InputStream stream = getClass().getResourceAsStream("/simple.xml");
414 * javax.xml.parsers.DocumentBuilder#parse(java.io.InputStream,
422 InputStream is = getClass().getResourceAsStream("/systemid.xml");
446 db.parse((InputStream)null, SAXParserTestSupport.XML_SYSTEM_ID);
527 InputStream source = new ByteArrayInputStream("<a>&foo;</a>".getBytes())
    [all...]
  /prebuilts/devtools/adt/lib/
sdktestutils.jar 
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
UsbAccessoryTestActivity.java 48 import java.io.InputStream;
157 FileInputStream inputStream = new FileInputStream(fileDescriptor);
159 new MessageThread(inputStream, outputStream, mHandler).start();
167 private final InputStream mInputStream;
175 MessageThread(InputStream inputStream, OutputStream outputStream, MessageHandler handler) {
176 this.mInputStream = inputStream;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ClassLoaderTest.java 20 import java.io.InputStream;
171 java.io.InputStream is = null;
185 // Test for method java.io.InputStream
189 java.io.InputStream is = null;
206 java.io.InputStream is = cl.getResourceAsStream("hyts_Foo.c");
229 InputStream in = this.getClass().getClassLoader().getResourceAsStream(
264 InputStream is = getResourceAsStream(path + "A.class");
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
CMSUtils.java 4 import java.io.InputStream;
54 InputStream input)
268 InputStream in)
275 InputStream in,
300 static InputStream attachDigestsToInputStream(Collection digests, InputStream s)
302 InputStream result = s;
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/
DesignerPlugin.java 28 import java.io.InputStream;
92 * @param inputStream the input stream to be read from
96 public static String readFile(InputStream inputStream, Charset charset) {
97 if (inputStream == null) {
100 Closeable closeMe = inputStream;
102 final InputStreamReader isr = new InputStreamReader(inputStream, charset);
  /packages/apps/Email/src/org/apache/commons/io/input/
CountingInputStream.java 20 import java.io.InputStream;
40 * @param in the InputStream to delegate to
42 public CountingInputStream(InputStream in) {
54 * @see java.io.InputStream#read(byte[])
71 * @see java.io.InputStream#read(byte[], int, int)
85 * @see java.io.InputStream#read()
100 * @see java.io.InputStream#skip(long)
  /packages/apps/Email/src/org/apache/james/mime4j/
MimeStreamParser.java 28 import java.io.InputStream;
86 public void parse(InputStream is) throws IOException {
108 * {@link ContentHandler#raw(InputStream)} handler method only.
142 private void parseEntity(InputStream is) throws IOException {
200 private void parseMessage(InputStream is) throws IOException {
210 private void parseBodyPart(InputStream is) throws IOException {
227 private BodyDescriptor parseHeader(InputStream is) throws IOException {
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
AttachmentLoader.java 42 import java.io.InputStream;
105 * @param inputStream the InputStream we're reading the attachment from
110 public void readChunked(InputStream inputStream, OutputStream outputStream, int len)
121 int read = inputStream.read(bytes, 0, CHUNK_SIZE);
209 InputStream is = resp.getInputStream();
  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_seek_synch.cpp 140 pVars->inputStream.pBuffer = pExt->pInputBuffer;
141 pVars->inputStream.usedBits = (pExt->inputBufferUsedLength << 3); // in bits
144 pVars->inputStream.inputBufferCurrentLength = (pExt->inputBufferCurrentLength); // in bits
146 err = pvmp3_header_sync(&pVars->inputStream);
153 uint32 temp = getNbits(&pVars->inputStream, 21);
155 pVars->inputStream.usedBits -= 21 + SYNC_WORD_LNGTH;
193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength)
199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength)
202 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3;
208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3)
    [all...]
  /frameworks/volley/src/com/android/volley/toolbox/
DiskBasedCache.java 30 import java.io.InputStream;
313 * Reads the contents of an InputStream into a byte[].
315 private static byte[] streamToBytes(InputStream in, int length) throws IOException {
373 * Reads the header off of an InputStream and returns a CacheHeader object.
374 * @param is The InputStream to read from.
377 public static CacheHeader readHeader(InputStream is) throws IOException {
436 private CountingInputStream(InputStream in) {
467 * Simple wrapper around {@link InputStream#read()} that throws EOFException
470 private static int read(InputStream is) throws IOException {
485 static int readInt(InputStream is) throws IOException
    [all...]
  /libcore/luni/src/main/java/java/io/
BufferedInputStream.java 23 * Wraps an existing {@link InputStream} and <em>buffers</em> the input.
40 * The buffer containing the current bytes read from the target InputStream.
73 * @param in the {@code InputStream} the buffer reads from.
75 public BufferedInputStream(InputStream in) {
87 * @param in the {@code InputStream} the buffer reads from.
91 public BufferedInputStream(InputStream in, int size) {
102 * plus those available in the source stream, but see {@link InputStream#available} for
110 InputStream localIn = in; // 'in' could be invalidated by close()
131 InputStream localIn = in;
138 private int fillbuf(InputStream localIn, byte[] localBuf
    [all...]
  /external/apache-http/src/org/apache/http/conn/
EofSensorInputStream.java 33 import java.io.InputStream;
65 public class EofSensorInputStream extends InputStream
73 protected InputStream wrappedStream;
103 public EofSensorInputStream(final InputStream in,
133 // non-javadoc, see base class InputStream
152 // non-javadoc, see base class InputStream
171 // non-javadoc, see base class InputStream
189 // non-javadoc, see base class InputStream
208 // non-javadoc, see base class InputStream
BasicManagedEntity.java 34 import java.io.InputStream;
98 public InputStream getContent() throws IOException {
154 public boolean eofDetected(InputStream wrapped)
172 public boolean streamClosed(InputStream wrapped)
190 public boolean streamAbort(InputStream wrapped)
  /libcore/luni/src/main/java/java/lang/
ProcessManager.java 24 import java.io.InputStream;
235 private final InputStream errorStream;
238 private final InputStream inputStream;
251 this.inputStream = new ProcessInputStream(in);
267 IoUtils.closeQuietly(inputStream);
281 public InputStream getErrorStream() {
285 public InputStream getInputStream() {
286 return this.inputStream;
  /libcore/luni/src/main/java/libcore/net/http/
HttpConnection.java 22 import java.io.InputStream;
53 private InputStream inputStream;
57 private InputStream sslInputStream;
136 IoUtils.closeQuietly(inputStream);
156 public InputStream getInputStream() throws IOException {
162 } else if (inputStream == null) {
170 inputStream = address.requiresTunnel
174 return inputStream;
  /cts/tests/src/android/os/cts/
FileUtils.java 23 import java.io.InputStream;
109 public static boolean copyToFile(InputStream inputStream, File destFile) {
118 while ((bytesRead = inputStream.read(buffer)) >= 0) {
149 public static byte[] readInputStreamFully(InputStream is) {
  /development/samples/training/threadsample/src/com/example/android/threadsample/
RSSPullParser.java 28 import java.io.InputStream;
67 * @param inputStream a stream of data containing XML elements, usually a RSS feed
72 public void parseXml(InputStream inputStream,
88 localXmlPullParser.setInput(inputStream, null);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertificateFactory4Test.java 22 import java.io.InputStream;
52 * @tests java.security.cert.CertificateFactory#generateCertificate(java.io.InputStream)
57 // java.security.cert.CertificateFactory.generateCertificate(java.io.InputStream)
71 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer");
83 * @tests java.security.cert.CertificateFactory#generateCertificates(java.io.InputStream)
91 InputStream is = certUrl.openStream();
106 * @tests java.security.cert.CertificateFactory#generateCRL(java.io.InputStream)
113 InputStream is = certUrl.openStream();
127 * @tests java.security.cert.CertificateFactory#generateCRLs(java.io.InputStream)
134 InputStream is = certUrl.openStream()
    [all...]

Completed in 1543 milliseconds

<<11121314151617181920>>