/frameworks/base/obex/javax/obex/ |
BaseStream.java | 61 * @param inStream <code>true</code> if the stream is input stream or is 67 boolean continueOperation(boolean sendEmpty, boolean inStream) throws IOException; 71 * @param inStream <code>true</code> if the input stream is closed; 75 void streamClosed(boolean inStream) throws IOException;
|
ClientOperation.java | 583 * @param inStream <code>true</code> if the stream is input stream or is 587 public synchronized boolean continueOperation(boolean sendEmpty, boolean inStream) 591 if ((inStream) && (!mOperationDone)) { 603 } else if ((!inStream) && (!mOperationDone)) { 617 if ((!inStream) && (!mOperationDone)) { 624 } else if ((inStream) && (!mOperationDone)) { 638 * @param inStream <code>true</code> if the input stream is closed; 642 public void streamClosed(boolean inStream) throws IOException { 644 if ((!inStream) && (!mOperationDone)) { 673 } else if ((inStream) && (mOperationDone)) [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificateFactorySpi.java | 65 public Certificate engineGenerateCertificate(InputStream inStream) 67 if (!(inStream instanceof DataInputStream)) { 73 public Collection engineGenerateCertificates(InputStream inStream) 75 if (!(inStream instanceof DataInputStream)) { 81 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { 82 if (!(inStream instanceof DataInputStream)) { 88 public Collection engineGenerateCRLs(InputStream inStream) 90 if (!(inStream instanceof DataInputStream)) { 96 public CertPath engineGenerateCertPath(InputStream inStream) 98 if (!(inStream instanceof DataInputStream)) [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificateFactorySpi.java | 66 public Certificate engineGenerateCertificate(InputStream inStream) 68 if (!(inStream instanceof DataInputStream)) { 75 public Collection engineGenerateCertificates(InputStream inStream) 77 if (!(inStream instanceof DataInputStream)) { 83 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { 84 if (!(inStream instanceof DataInputStream)) { 91 public Collection engineGenerateCRLs(InputStream inStream) 93 if (!(inStream instanceof DataInputStream)) { 99 public CertPath engineGenerateCertPath(InputStream inStream) 101 if (!(inStream instanceof DataInputStream)) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertFactoryImpl.java | 89 public Certificate engineGenerateCertificate(InputStream inStream) 91 if (inStream == null) { 92 throw new CertificateException("inStream == null"); 95 if (!inStream.markSupported()) { 97 inStream = new RestoringInputStream(inStream); 101 inStream.mark(1); 103 if (inStream.read() == '-') { 105 return getCertificate(decodePEM(inStream, CERT_BOUND_SUFFIX)); 107 inStream.reset() [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
CertificateFactorySpi.java | 43 * @param inStream 50 public abstract Certificate engineGenerateCertificate(InputStream inStream) 57 * @param inStream 64 engineGenerateCertificates(InputStream inStream) throws CertificateException; 70 * @param inStream 76 public abstract CRL engineGenerateCRL(InputStream inStream) 83 * @param inStream 90 engineGenerateCRLs(InputStream inStream) throws CRLException; 96 * @param inStream 102 public CertPath engineGenerateCertPath(InputStream inStream) [all...] |
CertificateFactory.java | 186 * @param inStream 193 public final Certificate generateCertificate(InputStream inStream) 195 return spiImpl.engineGenerateCertificate(inStream); 213 * @param inStream 219 public final CertPath generateCertPath(InputStream inStream) throws CertificateException { 224 return spiImpl.engineGenerateCertPath(inStream, it.next()); 231 * @param inStream 242 public final CertPath generateCertPath(InputStream inStream, String encoding) 244 return spiImpl.engineGenerateCertPath(inStream, encoding); 269 * @param inStream [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStream2Test.java | 29 ByteArrayInputStream inStream; 42 DigestInputStream dis = new DigestInputStream(inStream, digest); 52 DigestInputStream dis = new DigestInputStream(inStream, digest); 64 DigestInputStream dis = new DigestInputStream(inStream, noChangeDigest); 77 dis = new DigestInputStream(inStream, digest); 94 DigestInputStream dis = new DigestInputStream(inStream, digest); 96 // read and compare the data that the inStream has 110 DigestInputStream dis = new DigestInputStream(inStream, digest); 111 int bytesToRead = inStream.available(); 117 // read and compare the data that the inStream ha [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
BearerData.java | [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsHeader.java | 116 ByteArrayInputStream inStream = new ByteArrayInputStream(data); 118 while (inStream.available() > 0) { 127 int id = inStream.read(); 128 int length = inStream.read(); 134 concatRef.refNumber = inStream.read(); 135 concatRef.msgCount = inStream.read(); 136 concatRef.seqNumber = inStream.read(); 145 concatRef.refNumber = (inStream.read() << 8) | inStream.read(); 146 concatRef.msgCount = inStream.read() [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
BitwiseStreamsTest.java | 41 BitwiseInputStream inStream = new BitwiseInputStream(outBuf); 43 inStream.skip(offset); 44 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8); 55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 56 inStream.skip(offset); 58 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8); 69 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 70 inStream.skip(offset); 72 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8); 86 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStream2Test.java | 29 ByteArrayInputStream inStream; 42 DigestInputStream dis = new DigestInputStream(inStream, digest); 52 DigestInputStream dis = new DigestInputStream(inStream, digest); 64 DigestInputStream dis = new DigestInputStream(inStream, noChangeDigest); 77 dis = new DigestInputStream(inStream, digest); 94 DigestInputStream dis = new DigestInputStream(inStream, digest); 96 // read and compare the data that the inStream has 110 DigestInputStream dis = new DigestInputStream(inStream, digest); 111 int bytesToRead = inStream.available(); 117 // read and compare the data that the inStream ha [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKX509CertificateFactory.java | 165 * read from the input stream inStream. 229 * read from the given input stream inStream. 232 InputStream inStream) 238 while ((cert = engineGenerateCertificate(inStream)) != null) 248 * it with the data read from the input stream inStream. 251 InputStream inStream) 256 currentCrlStream = inStream; 260 else if (currentCrlStream != inStream) // reset if input stream has changed 262 currentCrlStream = inStream; 283 int limit = ProviderUtil.getReadLimit(inStream); [all...] |
PKIXCertPath.java | 165 InputStream inStream, 174 ASN1InputStream derInStream = new ASN1InputStream(inStream); 193 inStream = new BufferedInputStream(inStream); 197 while ((cert = certFactory.generateCertificate(inStream)) != null)
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
main.py | 116 inStream = antlr3.ANTLRStringStream(input) 117 self.parseStream(options, inStream) 121 inStream = antlr3.ANTLRStringStream(options.input) 124 inStream = antlr3.ANTLRFileStream( 129 inStream = antlr3.ANTLRInputStream( 140 'self.parseStream(options, inStream)', 157 'self.parseStream(options, inStream)', 163 self.parseStream(options, inStream) 170 def parseStream(self, options, inStream): 190 def parseStream(self, options, inStream) [all...] |
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureStoreTest.java | 141 ByteArrayInputStream inStream = null; 149 inStream = new ByteArrayInputStream(outStream.toByteArray()); 151 loadStore.load(inStream); 159 if (inStream != null) { 160 inStream.close();
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactorySpiTest.java | 258 public Certificate engineGenerateCertificate(InputStream inStream) 260 if (inStream == null) { 266 public Collection engineGenerateCertificates(InputStream inStream) 268 if (inStream == null) { 274 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { 275 if (inStream == null) { 281 public Collection engineGenerateCRLs(InputStream inStream) 283 if (inStream == null) {
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 433 InputStream inStream = null; 437 inStream = new BufferedInputStream(is); 456 inStream = new ParcelFileDescriptor.AutoCloseInputStream(fd); 467 ApkContainer container = new ApkContainer(inStream, encryptionParams); 485 IoUtils.closeQuietly(inStream); 498 public ApkContainer(InputStream inStream, ContainerEncryptionParams encryptionParams) 501 mInStream = inStream; 503 mInStream = getDecryptedStream(inStream, encryptionParams); 542 private InputStream getDecryptedStream(InputStream inStream, 586 Streams.readFully(inStream, authenticatedData, (int) macStart [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerBaseTest.java | 282 DataInputStream inStream = null; 284 inStream = new DataInputStream(new FileInputStream(inFile)); 293 return inStream; 467 DataInputStream inStream = null; 470 inStream = new DataInputStream(new FileInputStream(inFile)); 473 if (inStream.readInt() != i) { 477 if (inStream != null) { 478 inStream.close(); 533 DataInputStream inStream = null; 536 inStream = new DataInputStream(new FileInputStream(inFile)) [all...] |
/frameworks/base/core/java/android/webkit/ |
CacheManager.java | 79 InputStream inStream; 198 return inStream; 220 this.inStream = stream; 336 result.inStream = new FileInputStream(src);
|
/libcore/luni/src/main/java/javax/security/cert/ |
X509Certificate.java | 68 * @param inStream 74 public static final X509Certificate getInstance(InputStream inStream) 76 if (inStream == null) { 77 throw new CertificateException("inStream == null"); 82 constructor.newInstance(new Object[] {inStream}); 92 cf.generateCertificate(inStream);
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactorySpiTest.java | 395 public Certificate engineGenerateCertificate(InputStream inStream) 397 if (inStream == null) { 404 public Collection engineGenerateCertificates(InputStream inStream) 406 if (inStream == null) { 412 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { 413 if (inStream == null) { 420 public Collection engineGenerateCRLs(InputStream inStream) 422 if (inStream == null) {
|
/libcore/luni/src/main/java/java/io/ |
StreamTokenizer.java | 113 private InputStream inStream; 172 inStream = is; 555 if (inStream == null) { 558 return inStream.read();
|
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedInputStream.java | 283 * @param inStream The {@link InputStream} to exhaust. 286 static void exhaustInputStream(final InputStream inStream) throws IOException { 289 while (inStream.read(buffer) >= 0) {
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3commontreenodestream.c | 132 antlr3CommonTreeNodeStreamNewStream(pANTLR3_COMMON_TREE_NODE_STREAM inStream) 151 stream->stringFactory = inStream->stringFactory; 155 stream->adaptor = inStream->adaptor; 230 stream->nodeStack = inStream->nodeStack; 247 stream->UP.token = inStream->UP.token; 248 inStream->UP.token->strFactory = stream->stringFactory; 249 stream->DOWN.token = inStream->DOWN.token; 250 inStream->DOWN.token->strFactory = stream->stringFactory; 251 stream->EOF_NODE.token = inStream->EOF_NODE.token; 252 inStream->EOF_NODE.token->strFactory = stream->stringFactory [all...] |