/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...] |
/libcore/support/src/test/java/tests/util/ |
SerializationTester.java | 52 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local 53 ObjectInputStream ois = new ObjectInputStream(bis);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HttpsURLConnectionTest.java | 289 ByteArrayInputStream bis = new ByteArrayInputStream(barr); local 290 Certificate cert = cf.generateCertificate(bis); 304 ByteArrayInputStream bis = new ByteArrayInputStream(barr); local 305 Certificate cert = cf.generateCertificate(bis);
|
/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);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CompressedTextureActivity.java | 122 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local 124 GLES10.GL_RGB, GLES10.GL_UNSIGNED_SHORT_5_6_5, bis);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
BandwidthTestUtil.java | 102 BufferedInputStream bis = new BufferedInputStream(is); local 105 while ((current = bis.read()) != -1) {
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
GZIPInputStreamTest.java | 165 ByteArrayInputStream bis = new ByteArrayInputStream(bytes); local 166 InputStream in = new GZIPInputStream(bis);
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
KeyChainDemoActivity.java | 226 BufferedInputStream bis = new BufferedInputStream(getAssets().open( local 228 byte[] keychain = new byte[bis.available()]; 229 bis.read(keychain);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLX509CertPath.java | 139 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(inStream); local 148 certRefs = NativeCrypto.ASN1_seq_unpack_X509_bio(bis.getBioContext()); 158 bis.release();
|
/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();
|
/frameworks/base/core/java/android/os/ |
FileUtils.java | 231 BufferedInputStream bis = new BufferedInputStream(input); local 237 int length = bis.read(data); 251 len = bis.read(data); 268 len = bis.read(data); 274 bis.close();
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
ConcurrentHashMapTest.java | 109 LexicographicList<BI> bis = new LexicographicList<BI>(bi); local 111 assertTrue(m.putIfAbsent(bis, true) == null); 112 assertTrue(m.containsKey(bis)); 115 assertTrue(m.containsKey(bis)); 135 LexicographicList<BI> bis = new LexicographicList<BI>(new BI(i)); local 136 assertTrue(m.containsKey(bis));
|
/frameworks/base/core/java/com/android/internal/util/ |
FileRotator.java | 370 final BufferedInputStream bis = new BufferedInputStream(fis); local 372 reader.read(bis); 374 IoUtils.closeQuietly(bis);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl3Test.java | 148 ByteArrayInputStream bis = new ByteArrayInputStream(bos local 150 kss1[i].load(bis, pwd);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-apache-bcel.jar | |
/external/smack/src/org/jivesoftware/smack/util/ |
Base64.java | 1070 Base64.InputStream bis = null; local 1127 Base64.InputStream bis = null; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
SAXParserFactoryTest.java | 132 ByteArrayInputStream bis = new ByteArrayInputStream(key.getBytes()); local 134 prop.load(bis);
|
/libcore/luni/src/main/java/libcore/reflect/ |
AnnotationMember.java | 316 ByteArrayInputStream bis = new ByteArrayInputStream(bos local 318 ObjectInputStream ois = new ObjectInputStream(bis);
|
/libcore/luni/src/main/java/org/apache/harmony/security/utils/ |
JarUtils.java | 71 BerInputStream bis = new BerInputStream(signatureBlock); local 72 ContentInfo info = (ContentInfo)ContentInfo.ASN1.decode(bis);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldInputStreamReaderTest.java | 146 ByteArrayInputStream bis = new ByteArrayInputStream(data); local 147 InputStreamReader isr = new InputStreamReader(bis, "ISO-8859-1");
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
VCard.java | 448 BufferedInputStream bis = null; local 450 bis = new BufferedInputStream(new FileInputStream(file)); 453 int readBytes = bis.read(buffer); 460 if (bis != null) { 461 bis.close();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ExportHelper.java | 431 BufferedInputStream bis = null; local 433 bis = new BufferedInputStream(new FileInputStream(file)); 434 while ((count = bis.read(buffer)) != -1) { 438 if (bis != null) { 440 bis.close();
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
ObjectInputStreamTest.java | 1161 ExceptionalBufferedInputStream bis = new ExceptionalBufferedInputStream( local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
InputStreamReaderTest.java | 445 ByteArrayInputStream bis = new ByteArrayInputStream(data); local 446 InputStreamReader isr = new InputStreamReader(bis, "ISO-8859-1"); 455 bis = new ByteArrayInputStream(source.getBytes("UTF-8"));
|
/system/extras/verity/ |
BootSignature.java | 103 ByteArrayInputStream bis = new ByteArrayInputStream(encoded); local 106 X509Certificate c = (X509Certificate) cf.generateCertificate(bis);
|