| /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
| CallLogMigrationTest.java | 27 import java.io.InputStream; 37 try (final InputStream input = context.getAssets().open(assetName)) {
|
| /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
| PhotoSourcePlexor.java | 21 import java.io.InputStream; 70 protected InputStream getStream(ImageData data, int longSide) {
|
| /packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/ |
| BluetoothConnection.java | 25 import java.io.InputStream; 103 public InputStream getInputStream() {
|
| /tools/tradefederation/core/src/com/android/tradefed/util/net/ |
| HttpMultipartPost.java | 24 import java.io.InputStream; 98 public void addTextFile(String name, String fileName, InputStream in)
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
| SerializationUtilTest.java | 29 import java.io.InputStream; 42 public InputStream mStream;
|
| /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
| Rgba16fTests.java | 37 import java.io.InputStream; 47 try (InputStream in = assets.open("linear-rgba16f.png")) { 68 try (InputStream in = assets.open("linear-rgba16f.png")) { 92 try (InputStream in = assets.open("linear-rgba16f.png")) { 126 try (InputStream in = assets.open("linear-rgba16f.png")) { 149 try (InputStream in = assets.open("prophoto-rgba16f.png")) {
|
| /external/conscrypt/common/src/main/java/org/conscrypt/ |
| OpenSSLX509CertPath.java | 20 import java.io.InputStream; 146 private static CertPath fromPkiPathEncoding(InputStream inStream) throws CertificateException { 185 private static CertPath fromPkcs7Encoding(InputStream inStream) throws CertificateException { 227 private static CertPath fromEncoding(InputStream inStream, Encoding encoding) 239 public static CertPath fromEncoding(InputStream inStream, String encoding) 253 public static CertPath fromEncoding(InputStream inStream) throws CertificateException {
|
| /external/sfntly/cpp/src/sfntly/ |
| font_factory.cc | 41 void FontFactory::LoadFonts(InputStream* is, FontArray* output) { 69 void FontFactory::LoadFontsForBuilding(InputStream* is, 111 CALLER_ATTACH Font* FontFactory::LoadSingleOTF(InputStream* is) { 123 void FontFactory::LoadCollection(InputStream* is, FontArray* output) { 149 Font::Builder* FontFactory::LoadSingleOTFForBuilding(InputStream* is) { 166 void FontFactory::LoadCollectionForBuilding(InputStream* is,
|
| /frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
| AsmAnalyzerTest.java | 27 import java.io.InputStream; 68 Map<String, InputStream> filesFound = new TreeMap<>(); 100 Map<String, InputStream> filesFound = new TreeMap<>(); 119 Map<String, InputStream> filesFound = new TreeMap<>(); 182 Map<String, InputStream> filesFound = new TreeMap<>(); 208 Map<String, InputStream> filesFound = new TreeMap<>();
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| ClassLoaderTest.java | 23 import java.io.InputStream; 101 // Test for method java.io.InputStream 143 InputStream is = uncachedConnection.getInputStream(); 161 InputStream is1 = cachedConnection1.getInputStream(); 167 InputStream is2 = cachedConnection2.getInputStream(); 205 InputStream is = null; 219 InputStream is = null;
|
| /libcore/ojluni/src/main/java/sun/net/ftp/ |
| FtpClient.java | 372 * returns the InputStream from the established data connection. 380 * @return the {@link java.io.InputStream} from the data connection 385 public abstract InputStream getFileStream(String name) throws FtpProtocolException, IOException; 438 * {@code unique} argument. The content of the {@code InputStream} 456 * @param local the {@code InputStream} that points to the data to 462 public FtpClient putFile(String name, InputStream local) throws FtpProtocolException, IOException { 468 * by sending the STOR command. The content of the {@code InputStream} 479 * @param local the {@code InputStream} that points to the data to 488 public abstract FtpClient putFile(String name, InputStream local, boolean unique) throws FtpProtocolException, IOException; 500 * @param local The {@code InputStream} providing access to the dat [all...] |
| /libcore/ojluni/src/main/java/sun/nio/cs/ |
| StreamDecoder.java | 61 public static StreamDecoder forInputStreamReader(InputStream in, 76 public static StreamDecoder forInputStreamReader(InputStream in, 83 public static StreamDecoder forInputStreamReader(InputStream in, 229 private InputStream in; 232 StreamDecoder(InputStream in, Object lock, Charset cs) { 239 StreamDecoder(InputStream in, Object lock, CharsetDecoder dec) {
|
| /libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
| X509CertPath.java | 31 import java.io.InputStream; 132 * from an <code>InputStream</code>. The data is assumed to be in 135 * @param is the <code>InputStream</code> to read the data from 138 public X509CertPath(InputStream is) throws CertificateException { 144 * from an InputStream. The data is assumed to be in the specified 147 * @param is the <code>InputStream</code> to read the data from 152 public X509CertPath(InputStream is, String encoding) 169 * Parse a PKIPATH format CertPath from an InputStream. Return an 172 * @param is the <code>InputStream</code> to read the data from 176 private static List<X509Certificate> parsePKIPATH(InputStream is [all...] |
| /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
| MimeStreamParser.java | 26 import java.io.InputStream; 83 public void parse(InputStream is) throws IOException { 102 * {@link ContentHandler#raw(InputStream)} handler method only. 136 private void parseEntity(InputStream is) throws IOException { 195 private void parseMessage(InputStream is) throws IOException { 209 private void parseBodyPart(InputStream is) throws IOException { 226 private BodyDescriptor parseHeader(InputStream is) throws IOException {
|
| /tools/tradefederation/core/src/com/android/tradefed/result/ |
| LogFileSaver.java | 30 import java.io.InputStream; 196 * @param dataStream the {@link InputStream} of the data. 200 public File saveLogData(String dataName, LogDataType dataType, InputStream dataStream) 209 * @param dataStream the {@link InputStream} of the data. 213 public File saveLogDataRaw(String dataName, String ext, InputStream dataStream) 230 * @param dataStream the {@link InputStream} of the data. 234 public File saveAndGZipLogData(String dataName, LogDataType dataType, InputStream dataStream) 262 * @param dataStream the {@link InputStream} of the data. 266 public File saveAndZipLogData(String dataName, LogDataType dataType, InputStream dataStream) 329 * @return a buffered {@link InputStream} to read file data. Callers must [all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
| ZipFileTest.java | 23 import java.io.InputStream; 101 InputStream in = Support_Resources.getStream("hyts_ZipFile.zip"); 131 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt")); 132 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt")); 197 InputStream in; 223 InputStream in; 229 * Android delivers empty InputStream, RI no InputStream at all. The 257 // Test for method java.io.InputStream 260 InputStream is = null [all...] |
| /frameworks/base/core/java/android/util/jar/ |
| StrictJarFile.java | 28 import java.io.InputStream; 158 * This method MUST be called only after fully exhausting the InputStream belonging 174 * This method MUST be called only after fully exhausting the InputStream belonging 207 public InputStream getInputStream(ZipEntry ze) { 208 final InputStream is = getZipInputStream(ze); 246 private InputStream getZipInputStream(ZipEntry ze) { 314 JarFileInputStream(InputStream is, long size, StrictJarVerifier.VerifierEntry e) { 394 public ZipInflaterInputStream(InputStream is, Inflater inf, int bsize, ZipEntry entry) { 421 // explicitly checks that the InputStream returned from ZipFile.getInputStream 439 public static class FDStream extends InputStream { [all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
| PreferencesTest.java | 22 import java.io.InputStream; 52 private InputStream in; 186 InputStream in = new ByteArrayInputStream(source); 208 static class MockInputStream extends InputStream { 218 InputStream wrapper; 235 public MockInputStream(InputStream in) { 431 InputStream inputData = PreferencesTest.class
|
| /libcore/ojluni/src/main/java/java/nio/channels/ |
| Channels.java | 31 import java.io.InputStream; 114 * it will not support the {@link InputStream#mark mark} or {@link 115 * InputStream#reset reset} methods. The stream will be safe for access by 124 public static InputStream newInputStream(ReadableByteChannel ch) { 189 * InputStream#mark mark} or {@link InputStream#reset reset} methods. The 200 public static InputStream newInputStream(final AsynchronousByteChannel ch) { 202 return new InputStream() { 347 public static ReadableByteChannel newChannel(final InputStream in) { 362 InputStream in [all...] |
| /external/snakeyaml/src/test/java/org/pyyaml/ |
| PyStructureTest.java | 20 import java.io.InputStream; 86 InputStream input = new FileInputStream(file); 109 InputStream input = new FileInputStream(file); 162 InputStream input = new FileInputStream(file); 168 InputStream input2 = new FileInputStream(canonical); 185 private List<Node> compose_all(InputStream file) { 195 private List<Node> canonical_compose_all(InputStream file) { 277 InputStream input = new FileInputStream(file); 282 InputStream input2 = new FileInputStream(canonical);
|
| /external/volley/src/main/java/com/android/volley/toolbox/ |
| DiskBasedCache.java | 32 import java.io.InputStream; 324 * Reads the contents of an InputStream into a byte[]. 326 private static byte[] streamToBytes(InputStream in, int length) throws IOException { 388 * Reads the header off of an InputStream and returns a CacheHeader object. 389 * @param is The InputStream to read from. 392 public static CacheHeader readHeader(InputStream is) throws IOException { 455 private CountingInputStream(InputStream in) { 486 * Simple wrapper around {@link InputStream#read()} that throws EOFException 489 private static int read(InputStream is) throws IOException { 504 static int readInt(InputStream is) throws IOException [all...] |
| /libcore/ojluni/src/main/java/java/sql/ |
| CallableStatement.java | 32 import java.io.InputStream; [all...] |
| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| BitmapRegionDecoderTest.java | 52 import java.io.InputStream; 145 InputStream is = obtainInputStream(RES_IDS[i]); 211 InputStream is1 = obtainInputStream(RES_IDS[i]); 213 InputStream is2 = obtainInputStream(RES_IDS[i]); 239 InputStream is1 = obtainInputStream(RES_IDS[i]); 241 InputStream is2 = obtainInputStream(RES_IDS[i]); 328 InputStream is = obtainInputStream(RES_IDS[0]); 369 InputStream is = obtainInputStream(RES_IDS[i]); 436 InputStream is = obtainInputStream(RES_IDS[0]); 453 InputStream is1 = obtainInputStream(RES_IDS[i]) [all...] |
| /external/glide/library/src/main/java/com/bumptech/glide/ |
| GifRequestBuilder.java | 23 import java.io.InputStream; 36 extends GenericRequestBuilder<ModelType, InputStream, GifDrawable, GifDrawable> 39 GifRequestBuilder(LoadProvider<ModelType, InputStream, GifDrawable, GifDrawable> loadProvider, 104 ResourceDecoder<InputStream, GifDrawable> decoder) { 381 public GifRequestBuilder<ModelType> sourceEncoder(Encoder<InputStream> sourceEncoder) {
|
| /external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
| HttpFacade.java | 32 import java.io.InputStream; 60 private void inputStreamToOutputStream(InputStream in, OutputStream out) throws IOException { 62 Log.e("InputStream is null."); 84 private String inputStreamToString(InputStream in) throws IOException { 173 InputStream in = new BufferedInputStream(urlConnection.getInputStream()); 195 InputStream in = new BufferedInputStream(urlConnection.getInputStream());
|