HomeSort by relevance Sort by last modified time
    Searched full:inputstream (Results 576 - 600 of 2007) sorted by null

<<21222324252627282930>>

  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
HDRLoader.java 43 import java.io.InputStream;
131 private String readString(InputStream is) throws IOException{
142 private boolean decodeScanlineRLE(InputStream in, int width) throws IOException{
187 private boolean decodeScanlineUncompressed(InputStream in, int width) throws IOException{
199 private void decodeScanline(InputStream in, int width) throws IOException{
222 public Image load(InputStream in, boolean flipY) throws IOException{
320 InputStream in = null;
DDSLoader.java 44 import java.io.InputStream;
124 InputStream stream = null;
143 public Image load(InputStream stream) throws IOException {
431 * Reads a grayscale image with mipmaps from the InputStream
435 * @throws java.io.IOException If an error occured while reading from InputStream
470 * @throws java.io.IOException If an error occured while reading from InputStream
532 * Reads a DXT compressed image from the InputStream
536 * @throws java.io.IOException If an error occured while reading from InputStream
569 * Reads a grayscale image with mipmaps from the InputStream
573 * @throws java.io.IOException If an error occured while reading from InputStream
    [all...]
  /external/smack/src/org/jivesoftware/smackx/filetransfer/
OutgoingFileTransfer.java 230 InputStream inputStream = null;
232 inputStream = new FileInputStream(file);
233 writeToStream(inputStream, outputStream);
243 if (inputStream != null) {
244 inputStream.close();
276 public synchronized void sendStream(final InputStream in, final String fileName, final long fileSize, final String description){
  /libcore/luni/src/main/java/java/util/jar/
JarFile.java 23 import java.io.InputStream;
67 JarFileInputStream(InputStream is, ZipEntry ze,
290 InputStream is = super.getInputStream(manifestEntry);
343 InputStream is = super.getInputStream(entry);
360 * Return an {@code InputStream} for reading the decompressed contents of
370 public InputStream getInputStream(ZipEntry ze) throws IOException {
389 InputStream in = super.getInputStream(ze);
  /libcore/luni/src/main/java/org/xml/sax/
InputSource.java 8 import java.io.InputStream;
57 * @see java.io.InputStream
114 public InputSource (InputStream byteStream)
233 * @see java.io.InputStream
235 public void setByteStream (InputStream byteStream)
251 public InputStream getByteStream ()
332 private InputStream byteStream;
  /packages/apps/Dialer/tests/src/com/android/dialer/
CallDetailActivityTest.java 45 import java.io.InputStream;
266 InputStream inputStream = null;
268 inputStream = assets.open(TEST_ASSET_NAME);
270 copyBetweenStreams(inputStream, outputStream);
273 Closeables.closeQuietly(inputStream);
282 public void copyBetweenStreams(InputStream in, OutputStream out) throws IOException {
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java 40 import java.io.InputStream;
110 InputStream is = obtainInputStream(RES_IDS[i]);
172 InputStream is1 = obtainInputStream(RES_IDS[i]);
174 InputStream is2 = obtainInputStream(RES_IDS[i]);
198 InputStream is1 = obtainInputStream(RES_IDS[i]);
200 InputStream is2 = obtainInputStream(RES_IDS[i]);
282 InputStream is = obtainInputStream(RES_IDS[0]);
353 private InputStream obtainInputStream(int resId) {
358 InputStream is = obtainInputStream(resId);
375 InputStream is = obtainInputStream(RES_IDS[idx])
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpTransport.java 24 import java.io.InputStream;
43 private final InputStream socketIn;
54 public HttpTransport(HttpEngine httpEngine, OutputStream outputStream, InputStream inputStream) {
58 this.socketIn = inputStream;
145 InputStream responseBodyIn) {
181 private static boolean discardStream(HttpEngine httpEngine, InputStream responseBodyIn) {
200 @Override public InputStream getTransferStream(CacheRequest cacheRequest) throws IOException {
371 public FixedLengthInputStream(InputStream is, CacheRequest cacheRequest, HttpEngine httpEngine,
422 ChunkedInputStream(InputStream is, CacheRequest cacheRequest, HttpTransport transport
    [all...]
  /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...]
  /cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
CreatePrivateDataTest.java 40 import java.io.InputStream;
102 DataInputStream inputStream = new DataInputStream(new FileInputStream(publicFilePath));
103 int otherAppUid = (int)inputStream.readInt();
104 inputStream.close();
231 InputStream in = socket.getInputStream();
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DeflaterInputStreamTest.java 22 import java.io.InputStream;
33 InputStream is;
294 * @tests DeflaterInputStream#DeflaterInputStream(InputStream)
316 * @tests DeflaterInputStream#DeflaterInputStream(InputStream,Deflater)
337 * @tests DeflaterInputStream#DeflaterInputStream(InputStream,Deflater,int)
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
X509CRLHolder.java 5 import java.io.InputStream;
38 private static CertificateList parseStream(InputStream stream)
80 * Create a X509CRLHolder from the passed in InputStream.
82 * @param crlStream BER/DER encoded InputStream of the CRL
85 public X509CRLHolder(InputStream crlStream)
  /frameworks/base/services/java/com/android/server/usb/
UsbDebuggingManager.java 39 import java.io.InputStream;
72 InputStream inputStream = null;
78 inputStream = mSocket.getInputStream();
81 int count = inputStream.read(buffer);
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLX509CRL.java 23 import java.io.InputStream;
54 public static OpenSSLX509CRL fromX509DerInputStream(InputStream is) throws ParsingException {
70 public static List<OpenSSLX509CRL> fromPkcs7DerInputStream(InputStream is)
93 public static OpenSSLX509CRL fromX509PemInputStream(InputStream is) throws ParsingException {
109 public static List<OpenSSLX509CRL> fromPkcs7PemInputStream(InputStream is)
  /libcore/luni/src/test/java/libcore/java/io/
OldInputStreamReaderTest.java 23 import java.io.InputStream;
35 private InputStream in;
41 private InputStream fis;
162 // Test for method java.io.InputStreamReader(java.io.InputStream)
167 // Test for method java.io.InputStreamReader(java.io.InputStream,
  /packages/wallpapers/NoiseField/src/com/android/noisefield/
NoiseFieldRS.java 28 import java.io.InputStream;
124 InputStream inputStream = mRes.openRawResource(R.raw.bgmesh);
125 BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
135 inputStream.close();
  /packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
PhaseBeamRS.java 26 import java.io.InputStream;
139 InputStream inputStream = mRes.openRawResource(R.raw.bgmesh);
140 BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
150 inputStream.close();
  /external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/
InBandBytestreamSession.java 17 import java.io.InputStream;
67 private IBBInputStream inputStream;
99 this.inputStream = new IQIBBInputStream();
103 this.inputStream = new MessageIBBInputStream();
110 public InputStream getInputStream() {
111 return this.inputStream;
119 return this.inputStream.readTimeout;
126 this.inputStream.readTimeout = timeout;
168 this.inputStream.closeInternal();
169 this.inputStream.cleanup();
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarFileTest.java 29 import java.io.InputStream;
48 public byte[] getAllBytesFromStream(InputStream is) throws IOException {
371 InputStream is = new URL(jarDirUrl + "/jarlist.txt").openStream();
415 InputStream is = jarFile.getInputStream(entry);
543 InputStream in = jar.getInputStream(entry);
552 InputStream in = jar.getInputStream(entry);
565 InputStream in = jar.getInputStream(entry);
586 InputStream in = jar.getInputStream(entry);
619 InputStream is = jarFile.getInputStream(entry);
729 * throw security Exception, but it will anytime before the inputStream go
    [all...]
  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_framedecoder.cpp 173 pVars->inputStream.pBuffer = pExt->pInputBuffer;
176 pVars->inputStream.usedBits = pExt->inputBufferUsedLength << 3;
177 pVars->inputStream.inputBufferCurrentLength = pExt->inputBufferCurrentLength;
180 errorCode = pvmp3_decode_header(&pVars->inputStream,
225 sent_crc = getUpTo17bits(&pVars->inputStream, 16);
242 errorCode = pvmp3_get_side_info(&pVars->inputStream,
282 if ((uint32)pVars->predicted_frame_size > pVars->inputStream.inputBufferCurrentLength)
506 ancillary_data_lenght -= pVars->inputStream.usedBits;
511 pVars->inputStream.usedBits += ancillary_data_lenght;
533 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3
    [all...]
  /libcore/luni/src/main/java/java/sql/
SQLInput.java 20 import java.io.InputStream;
201 * character stream embodied as a {@code java.io.InputStream}.
203 * @return the next attribute as a {@code java.io.InputStream}. {@code null}
207 * @see java.io.InputStream
209 public InputStream readAsciiStream() throws SQLException;
213 * embodied as a {@code java.io.InputStream}.
215 * @return the next attribute as a {@code java.io.InputStream}. {@code null}
219 * @see java.io.InputStream
221 public InputStream readBinaryStream() throws SQLException;
  /libcore/luni/src/main/java/libcore/net/url/
FtpURLConnection.java 24 import java.io.InputStream;
79 private InputStream ctrlInput;
81 private InputStream inputStream;
252 inputStream = new FtpURLInputStream(
289 * Cannot read from URL or error creating InputStream
293 * @see java.io.InputStream
298 public InputStream getInputStream() throws IOException {
302 return inputStream;
  /packages/apps/Mms/src/com/android/mms/util/
ThumbnailManager.java 39 import java.io.InputStream;
454 InputStream inputStream;
456 inputStream = mContext.getContentResolver().openInputStream(uri);
463 BitmapFactory.decodeStream(inputStream, null, options);
464 closeSilently(inputStream);
468 inputStream = mContext.getContentResolver().openInputStream(uri);
478 Bitmap result = BitmapFactory.decodeStream(inputStream, null, options);
479 closeSilently(inputStream);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionaryFileDumper.java 44 import java.io.InputStream;
249 final InputStream originalSourceStream;
250 InputStream inputStream = null;
251 InputStream uncompressedStream = null;
252 InputStream decryptedStream = null;
275 inputStream = FileTransforms.getUncompressedStream(decryptedStream);
279 inputStream = FileTransforms.getUncompressedStream(decryptedStream);
284 inputStream = FileTransforms.getDecryptedStream(uncompressedStream);
287 inputStream = FileTransforms.getUncompressedStream(originalSourceStream)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
PropertiesTest.java 24 import java.io.InputStream;
64 p.load((InputStream) null);
74 p.load((InputStream) null);
204 * @tests java.util.Properties#load(java.io.InputStream)
207 // Test for method void java.util.Properties.load(java.io.InputStream)
210 InputStream is;
279 * @tests java.util.Properties#load(java.io.InputStream)
283 InputStream is = Support_Resources
314 InputStream is;
412 * @tests java.util.Properties#load(java.io.InputStream)
    [all...]

Completed in 1768 milliseconds

<<21222324252627282930>>