HomeSort by relevance Sort by last modified time
    Searched defs:bis (Results 1 - 25 of 137) 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...]
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());
  /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/conscrypt/src/main/java/org/conscrypt/
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();
OpenSSLX509CertPath.java 139 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(inStream, true); local
148 certRefs = NativeCrypto.ASN1_seq_unpack_X509_bio(bis.getBioContext());
158 bis.release();
  /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);
  /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();
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoSource.java 165 BufferedInputStream bis = new BufferedInputStream(is); local
166 bis.mark(BUFFER_SIZE);
170 image = BitmapFactory.decodeStream(new BufferedInputStream(bis), null, options);
190 bis.reset();
193 bis.close();
195 bis = new BufferedInputStream(is);
199 image = BitmapFactory.decodeStream(bis, null, options);
  /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);
  /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);
  /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();
  /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();
  /external/mockito/src/org/mockito/internal/creation/
AcrossJVMSerializationFeature.java 220 ByteArrayInputStream bis = new ByteArrayInputStream(serializedMock); local
221 ObjectInputStream objectInputStream = new MockitoMockObjectInputStream(bis, typeToMock, extraInterfaces);
225 bis.close();
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
TestUtils.java 104 BufferedInputStream bis = null; local
106 bis = new BufferedInputStream(new ByteArrayInputStream(
108 X509Certificate c1 = (X509Certificate)cf.generateCertificate(bis);
115 if (bis != null) {
117 bis.close() ;
157 BufferedInputStream bis = null; local
169 if (initialize && bis != null) {
171 bis.close();
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
DexBuffer.java 37 BufferedInputStream bis = new BufferedInputStream(fis); local
41 while ((len = bis.read(buf)) > 0) {
  /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/apache-harmony/support/src/test/java/tests/util/
SerializationTester.java 74 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
75 ObjectInputStream ois = new ObjectInputStream(bis);
  /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);
  /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
URLFetcher.java 140 BufferedInputStream bis = new BufferedInputStream(inputStream); local
143 while ((len = bis.read(buffer)) != -1) {
  /libcore/support/src/test/java/tests/util/
SerializationTester.java 52 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
53 ObjectInputStream ois = new ObjectInputStream(bis);

Completed in 2725 milliseconds

1 2 3 4 5 6