HomeSort by relevance Sort by last modified time
    Searched refs:bis (Results 1 - 25 of 147) sorted by null

1 2 3 4 5 6

  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLStreamedInputTest.java 36 ByteArrayInputStream bis = new ByteArrayInputStream(data); local
37 SSLStreamedInput sslsi = new SSLStreamedInput(bis);
38 assertEquals(bis.available(), sslsi.available());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
FilterOutputStreamTest.java 34 ByteArrayInputStream bis; field in class:FilterOutputStreamTest
80 bis = new ByteArrayInputStream(bos.toByteArray());
83 bis.available() == fileString.length());
85 bis.read(wbytes, 0, fileString.length());
97 bis = new ByteArrayInputStream(bos.toByteArray());
100 bis.available() == fileString.length());
102 bis.read(wbytes, 0, fileString.length());
114 bis = new ByteArrayInputStream(bos.toByteArray());
116 assertEquals("Byte not written after flush", 1, bis.available());
118 bis.read(wbytes, 0, 1)
    [all...]
PrintStreamTest.java 209 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
213 bis.read(rbytes, 0, fileString.length());
225 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
226 InputStreamReader isr = new InputStreamReader(bis);
238 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
239 bis.read(rbuf, 0, 16);
253 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
254 bis.read(rbuf, 0, 8);
268 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
269 bis.read(rbuf, 0, 9)
283 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
297 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
323 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
364 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
379 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
408 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
422 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
440 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
457 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
473 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
490 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
507 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
525 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
541 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
555 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
605 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
621 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
635 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
650 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
    [all...]
BufferedInputStreamTest.java 169 BufferedInputStream bis = new BufferedInputStream( local
172 int available = bis.available();
173 bis.close();
177 bis.available();
340 BufferedInputStream bis = new BufferedInputStream(null); local
342 bis.read(null, -1, -1);
349 bis.read(new byte[0], -1, -1);
356 bis.read(new byte[0], 1, -1);
363 bis.read(new byte[0], 1, 1);
369 bis.close()
456 BufferedInputStream bis = new BufferedInputStream(null); local
    [all...]
ObjectOutputStream2Test.java 53 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
54 ObjectInputStream is = new ObjectInputStream(bis);
ByteArrayInputStreamTest.java 35 InputStream bis = new ByteArrayInputStream(fileString.getBytes()); local
38 bis.available() == fileString.length());
46 InputStream bis = new ByteArrayInputStream(zz, 0, 100); local
48 assertEquals("Unable to create ByteArrayInputStream", 100, bis
  /libcore/luni/src/test/java/libcore/java/io/
OldFilterOutputStreamTest.java 32 java.io.ByteArrayInputStream bis; field in class:OldFilterOutputStreamTest
103 bis = new ByteArrayInputStream(sos.toByteArray());
105 bis.available() == testLength);
107 bis.read(wbytes, 0, testLength);
126 bis = new ByteArrayInputStream(sos.toByteArray());
128 bis.available() == testLength - 10);
130 bis.read(wbytes);
176 bis = new ByteArrayInputStream(sos.toByteArray());
178 bis.available() == 1);
180 42, bis.read())
    [all...]
OldByteArrayInputStreamTest.java 32 java.io.InputStream bis = new java.io.ByteArrayInputStream(fileString local
37 bis.available() == fileString.length());
47 java.io.InputStream bis = new java.io.ByteArrayInputStream(zz, 0, 100); local
51 100, bis.available());
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
BitmapUtils.java 55 BufferedInputStream bis = null; local
59 bis = new BufferedInputStream(is);
60 ei.readExif(bis);
63 bis = new BufferedInputStream(is);
64 ei.readExif(bis);
76 Utils.closeSilently(bis);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DumpDatabaseAction.java 56 BufferedInputStream bis = null; local
68 bis = new BufferedInputStream(new FileInputStream(inFile));
72 while ((bytesRead = bis.read(buffer)) > 0) {
88 if (bis != null) {
90 bis.close();
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLX509CRL.java 54 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); local
57 final long crlCtx = NativeCrypto.d2i_X509_CRL_bio(bis.getBioContext());
65 bis.release();
71 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); local
75 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CRLS);
79 bis.release();
93 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); local
96 final long crlCtx = NativeCrypto.PEM_read_bio_X509_CRL(bis.getBioContext());
104 bis.release();
110 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true) local
    [all...]
OpenSSLX509Certificate.java 64 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); local
67 final long certCtx = NativeCrypto.d2i_X509_bio(bis.getBioContext());
75 bis.release();
90 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); local
94 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CERTS);
98 bis.release();
119 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); local
122 final long certCtx = NativeCrypto.PEM_read_bio_X509(bis.getBioContext());
130 bis.release();
137 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true) local
    [all...]
OpenSSLKey.java 109 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); local
111 long keyCtx = NativeCrypto.PEM_read_bio_PrivateKey(bis.getBioContext());
120 bis.release();
261 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); local
263 long keyCtx = NativeCrypto.PEM_read_bio_PUBKEY(bis.getBioContext());
272 bis.release();
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
SecureWebServer.java 173 BufferedInputStream bis; local
175 bis = new BufferedInputStream(ctx.getAssets().open(EMBEDDED_IMAGE_FILENAME));
176 byte[] embeddedImage = new byte[bis.available()];
177 bis.read(embeddedImage);
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
GifBitmapWrapperResourceDecoder.java 80 InputStream bis = streamFactory.build(source.getStream(), bytes); local
81 bis.mark(MARK_LIMIT_BYTES);
82 ImageHeaderParser.ImageType type = parser.parse(bis);
83 bis.reset();
87 result = decodeGifWrapper(bis, width, height);
93 ImageVideoWrapper forBitmapDecoder = new ImageVideoWrapper(bis, source.getFileDescriptor());
99 private GifBitmapWrapper decodeGifWrapper(InputStream bis, int width, int height) throws IOException {
101 Resource<GifDrawable> gifResource = gifDecoder.decode(bis, width, height);
  /external/slf4j/jcl-over-slf4j/src/test/java/org/apache/commons/logging/impl/
SerializationTest.java 61 ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray()); local
62 ois = new ObjectInputStream(bis);
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
FuncSystemProperty.java 187 BufferedInputStream bis = new BufferedInputStream(is); local
189 target.load(bis); // and load up the property bag from this
190 bis.close(); // close out after reading
  /external/javassist/src/test/test/javassist/proxy/
ProxySerializationTest.java 41 ByteArrayInputStream bis = new ByteArrayInputStream(bytes); local
42 ObjectInputStream in = new ObjectInputStream(bis);
68 ByteArrayInputStream bis = new ByteArrayInputStream(bytes); local
69 ProxyObjectInputStream in = new ProxyObjectInputStream(bis);
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
TestUtils.java 95 BufferedInputStream bis = null; local
97 bis = new BufferedInputStream(new ByteArrayInputStream(
99 X509Certificate c1 = (X509Certificate) cf.generateCertificate(bis);
106 if (bis != null) {
108 bis.close();
146 BufferedInputStream bis = null; local
158 if (initialize && bis != null) {
160 bis.close();
  /libcore/luni/src/test/java/libcore/xml/
NodeTest.java 41 ByteArrayInputStream bis = new ByteArrayInputStream("<root/>".getBytes()); local
42 Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(bis);
  /developers/build/prebuilts/gradle/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
SoundRecorder.java 195 BufferedInputStream bis = null;
200 bis = new BufferedInputStream(in);
202 while (!isCancelled() && (read = bis.read(buffer, 0, buffer.length)) > 0) {
212 if (bis != null) {
213 bis.close();
  /developers/samples/android/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
SoundRecorder.java 195 BufferedInputStream bis = null;
200 bis = new BufferedInputStream(in);
202 while (!isCancelled() && (read = bis.read(buffer, 0, buffer.length)) > 0) {
212 if (bis != null) {
213 bis.close();
  /development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
SoundRecorder.java 195 BufferedInputStream bis = null;
200 bis = new BufferedInputStream(in);
202 while (!isCancelled() && (read = bis.read(buffer, 0, buffer.length)) > 0) {
212 if (bis != null) {
213 bis.close();
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
OutputPropertiesFactory.java 358 BufferedInputStream bis = null; local
380 bis = new BufferedInputStream(is);
381 props.load(bis);
418 if (bis != null)
420 bis.close();
  /cts/tools/dex-tools/src/dex/reader/
DexBuffer.java 37 BufferedInputStream bis = new BufferedInputStream(fis); local
41 while ((len = bis.read(buf)) > 0) {

Completed in 517 milliseconds

1 2 3 4 5 6