/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
HandshakeCompletedEventTest.java | 23 import java.io.InputStream; 429 InputStream istream = clientSocket.getInputStream(); 510 InputStream istream = socket.getInputStream(); 541 InputStream inputStream = new ByteArrayInputStream(bytes); 544 keyStore.load(inputStream, PASSWORD.toCharArray()); 545 inputStream.close();
|
SSLSessionTest.java | 21 import java.io.InputStream; 515 InputStream istream = clientSocket.getInputStream(); 588 InputStream istream = socket.getInputStream(); 622 InputStream inputStream = new ByteArrayInputStream(bytes); 625 keyStore.load(inputStream, PASSWORD.toCharArray()); 626 inputStream.close();
|
SSLSocketTest.java | 21 import java.io.InputStream; 552 InputStream stream = clientSocket.getInputStream(); 591 InputStream inputStream = new ByteArrayInputStream(bytes); 594 keyStore.load(inputStream, PASSWORD.toCharArray()); 595 inputStream.close();
|
/libcore/support/src/test/java/tests/http/ |
MockWebServer.java | 23 import java.io.InputStream; 269 InputStream in = new BufferedInputStream(socket.getInputStream()); 307 private boolean processOneRequest(InputStream in, OutputStream out, Socket socket) 332 private RecordedRequest readRequest(InputStream in, int sequenceNumber) throws IOException { 435 private void transfer(int length, InputStream in, OutputStream out) throws IOException { 451 private String readAsciiUntilCrlf(InputStream in) throws IOException { 466 private void readEmptyLine(InputStream in) throws IOException {
|
/packages/apps/Camera2/src/com/android/camera/util/ |
XmpUtil.java | 30 import java.io.InputStream; 106 public static XMPMeta extractXMPMeta(InputStream is) { 186 * Updates a jpeg file from inputStream with XMPMeta to outputStream. 188 public static boolean writeXMPMeta(InputStream inputStream, OutputStream outputStream, 190 List<Section> sections = parse(inputStream, false); 339 private static List<Section> parse(InputStream is, boolean readMetaOnly) {
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
Parser.java | 32 import java.io.InputStream; 65 private InputStream in; 167 public Parser(InputStream in) throws IOException { 192 protected InputStream getInput() { 353 * @param in the InputStream associated with this parser 356 public void setInput(InputStream in, boolean initialize) throws IOException { 373 void resetInput(InputStream in) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
ImageLoader.java | 48 import java.io.InputStream; 133 InputStream is = null; 156 Log.w(LOGTAG, "Failed to close InputStream", e); 257 InputStream is = null; 327 InputStream is = null; 513 InputStream is = context.getContentResolver().openInputStream( 527 InputStream is = null;
|
/packages/apps/UnifiedEmail/src/com/android/bitmap/ |
DecodeTask.java | 15 import java.io.InputStream; 56 InputStream createInputStream() throws IOException; 98 InputStream in = null; 333 private Bitmap decodeCropped(final AssetFileDescriptor fd, final InputStream in, 382 private InputStream reset(InputStream in) throws IOException { 399 private Bitmap decode(AssetFileDescriptor fd, InputStream in) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
EmlAttachmentProvider.java | 46 import java.io.InputStream; 285 InputStream inputStream = null; 290 inputStream = new FileInputStream(oldFilePath); 306 final int len = inputStream.read(data); 351 if (inputStream != null) { 352 inputStream.close();
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
URLConnectionTest.java | 34 import java.io.InputStream; 354 } else if (obj instanceof InputStream) { 355 InputStream i = (InputStream) obj; 392 InputStream helloWorld2 = (InputStream) fileURLCon.getContent(new Class[] {InputStream.class}); 410 ((InputStream) fileURLCon.getContent(null)).read(ba, 0, 600); 417 ((InputStream) fileURLCon.getContent(new Class[] {})).read(ba, 0, 600); 424 ((InputStream) fileURLCon.getContent(new Class[] { Class.class })).read(ba [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarFileTest.java | 23 import java.io.InputStream; 219 InputStream is = new URL(jarDirUrl + "/jarlist.txt").openStream(); 263 InputStream is = jarFile.getInputStream(entry); 290 InputStream is = jarFile.getInputStream(jarFile.getEntry(JAR1_ENTRY1)); 354 InputStream is; 387 InputStream in = jar.getInputStream(entry); 419 private void readExactly(InputStream in, int numBytes) throws IOException { 522 * throw security Exception, but it will anytime before the inputStream got 537 InputStream in = jarFile.getInputStream(zipEntry); 620 InputStream is = jf.getInputStream(jf.getEntry(JAR1_ENTRY1)) [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothSocket.java | 31 import java.io.InputStream; 66 * {@link #getOutputStream} in order to retrieve {@link java.io.InputStream} 84 * {@see java.io.InputStream} 116 private InputStream mSocketIS; 253 * @return InputStream 255 public InputStream getInputStream() throws IOException { 480 private String waitSocketSignal(InputStream is) throws IOException { 500 private int readAll(InputStream is, byte[] b) throws IOException { 514 private int readInt(InputStream is) throws IOException { 517 if (VDBG) Log.d(TAG, "inputStream.read ret: " + ret) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldURLTest.java | 24 import java.io.InputStream; 259 InputStream output = (InputStream) fileURL.getContent(); 325 InputStream is; 330 is = (InputStream) u.getContent(new Class[] { Object.class }); 697 InputStream is = null; 701 is = (InputStream) u.getContent(new Class[] {InputStream.class}); 710 is = (InputStream) u.getContent(new Class[] { 711 String.class, InputStream.class}) [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeMessage.java | 39 import java.io.InputStream; 114 * Parse the given InputStream using Apache Mime4J to build a MimeMessage. 120 public MimeMessage(InputStream in) throws IOException, MessagingException { 142 protected void parse(InputStream in) throws IOException, MessagingException { 148 public void parse(InputStream in, EOLConvertingInputStream.Callback callback) 540 public InputStream getInputStream() throws MessagingException { 615 public void body(BodyDescriptor bd, InputStream in) throws IOException { 650 public void epilogue(InputStream is) throws IOException { 661 public void preamble(InputStream is) throws IOException { 676 public void raw(InputStream is) throws IOException [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-trax.jar | |
/frameworks/base/graphics/java/android/graphics/ |
BitmapFactory.java | 29 import java.io.InputStream; 289 * input data (inputstream, array, etc.) or if it must make a deep copy. 366 InputStream stream = null; 399 * Decode a new Bitmap from an InputStream. This InputStream was obtained from 403 InputStream is, Rect pad, Options opts) { 439 InputStream is = null; 570 * if {@link InputStream#markSupported is.markSupported()} returns true, 574 public static Bitmap decodeStream(InputStream is, Rect outPadding, Options opts) { 605 * Private helper function for decoding an InputStream natively. Buffers the input enough t [all...] |
/libcore/luni/src/main/java/java/sql/ |
ResultSet.java | 20 import java.io.InputStream; 267 * @return an {@code InputStream} with the data from the column. 271 public InputStream getAsciiStream(int columnIndex) throws SQLException; 279 * @return an {@code InputStream} with the data from the column. 283 public InputStream getAsciiStream(String columnName) throws SQLException; 348 * data in the {@code InputStream} should be read before getting data from 350 * the {@code InputStream}. 354 * @return an {@code InputStream} with the data from the column. If the 359 public InputStream getBinaryStream(int columnIndex) throws SQLException; 365 * data in the {@code InputStream} should be read before getting data fro [all...] |
/cts/tests/src/android/opengl/cts/ |
CompressedTextureLoader.java | 18 import java.io.InputStream; 139 protected static PVRHeader readPVRHeader(InputStream is) { 212 private static ByteBuffer read(InputStream is, int dataSize) { 231 InputStream is = null; 346 protected static DDSHeader readDDSHeader(InputStream is) { 399 InputStream is = null;
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoDecoder.java | 32 import java.io.InputStream; 221 private int readStringIndex(InputStream bs) throws IOException { 600 * those caused by the InputStream 602 public static int readSignedLeb128(InputStream bs) throws IOException { 634 * those caused by the InputStream 636 public static int readUnsignedLeb128(InputStream bs) throws IOException {
|
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/ |
TestWebServer.java | 28 import java.io.InputStream; 138 InputStream is = connection.getInputStream(); 465 InputStream inputStream = new ByteArrayInputStream(bytes); 468 keyStore.load(inputStream, PASSWORD.toCharArray()); 469 inputStream.close();
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_decode_header.cpp | 38 tbits *inputStream, bit stream 115 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream, 128 if (inputStream->inputBufferCurrentLength < ((SYNC_WORD_LNGTH + 21) >> 3)) 136 temp = getUpTo17bits(inputStream, SYNC_WORD_LNGTH); 139 err = pvmp3_header_sync(inputStream); 147 temp = getNbits(inputStream, 21); // to avoid multiple bitstream accesses
|
/frameworks/base/core/java/android/net/http/ |
RequestQueue.java | 38 import java.io.InputStream; 293 * @param bodyProvider InputStream providing HTTP body, null if none 299 InputStream bodyProvider, int bodyLength) { 313 * @param bodyProvider InputStream providing HTTP body, null if none 319 InputStream bodyProvider, int bodyLength) { 372 EventHandler eventHandler, InputStream bodyProvider,
|
/prebuilts/devtools/tools/lib/ |
dvlib.jar | |
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 36 import java.io.InputStream; 284 private int readInt16(InputStream is) throws Exception { 314 public InputStream readFile(String filename)
|
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/ |
DiskLruCache.java | 30 import java.io.InputStream; 215 public static String readAsciiLine(InputStream in) throws IOException { 340 InputStream in = new BufferedInputStream(new FileInputStream(journalFile), IO_BUFFER_SIZE); 490 InputStream[] ins = new InputStream[valueCount]; 723 private static String inputStreamToString(InputStream in) throws IOException { 733 private final InputStream[] ins; 735 private Snapshot(String key, long sequenceNumber, InputStream[] ins) { 753 public InputStream getInputStream(int index) { 765 for (InputStream in : ins) [all...] |