/packages/apps/Mms/src/com/android/mms/exif/ |
ExifParser.java | 22 import java.io.InputStream; 30 * InputStream, the caller can request which IFD's to read via 31 * {@link #parse(InputStream, int)} with given options. 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 234 * Parses the the given InputStream with the given option [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VCardVerifier.java | 38 import java.io.InputStream; 83 private InputStream mInputStream; 137 final InputStream inputStream = 139 if (inputStream == null) { 142 setInputStream(inputStream); 145 private void setInputStream(InputStream inputStream) { 149 AndroidTestCase.fail("InputStream is already set"); 151 mInputStream = inputStream; [all...] |
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/ |
ImageCache.java | 40 import java.io.InputStream; 318 InputStream inputStream = null; 325 inputStream = snapshot.getInputStream(DISK_CACHE_INDEX); 326 if (inputStream != null) { 327 FileDescriptor fd = ((FileInputStream) inputStream).getFD(); 339 if (inputStream != null) { 340 inputStream.close();
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/ |
BlenderContext.java | 78 private BlenderInputStream inputStream;
205 return inputStream;
211 * @param inputStream
214 public void setInputStream(BlenderInputStream inputStream) {
215 this.inputStream = inputStream;
633 inputStream.close();
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
SafeSaxTest.java | 41 import java.io.InputStream; 147 InputStream in = mContext.getResources().openRawResource(R.raw.youtube); 172 private static void pureSaxTest(InputStream inputStream) throws IOException, SAXException { 175 Xml.parse(inputStream, Xml.Encoding.UTF_8, new YouTubeContentHandler(videoAdapter)); 180 private static void saxyModelTest(InputStream inputStream) throws IOException, SAXException { 183 Xml.parse(inputStream, Xml.Encoding.UTF_8, newContentHandler(videoAdapter)); 188 private static void saxyModelTest(InputStream inputStream, ContentHandler contentHandler [all...] |
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryDatabase.java | 33 import java.io.InputStream; 205 InputStream inputStream = resources.openRawResource(R.raw.definitions); 206 BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
SimpleWikiHelper.java | 38 import java.io.InputStream; 191 InputStream inputStream = entity.getContent(); 197 while ((readBytes = inputStream.read(sBuffer)) != -1) {
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
SimpleWikiHelper.java | 38 import java.io.InputStream; 198 InputStream inputStream = entity.getContent(); 204 while ((readBytes = inputStream.read(sBuffer)) != -1) {
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
CommonToken.as | 157 public function get inputStream():CharStream { 161 public function set inputStream(input:CharStream):void {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ClassCache.java | 7 import java.io.InputStream; 82 InputStream inputStream = cacheFile.getInputStream(entry); 85 while ((c = inputStream.read()) != -1) {
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
InputStreamBuffer.java | 22 import java.io.InputStream; 26 * Wrapper for {@link InputStream} that allows you to read bytes from it like a byte[]. An 62 private InputStream mInputStream; 71 * Construct a new wrapper for an InputStream. 85 * @param inputStream The input stream to wrap. The input stream will not be closed by the 97 public InputStreamBuffer(final InputStream inputStream, int bufferSize, 99 mInputStream = inputStream;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppSendFileInfo.java | 81 FileInputStream inputStream, int status) { 85 mInputStream = inputStream; 161 // the file descriptor will be closed whenever the InputStream
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/ |
UsbAccessoryTestActivity.java | 48 import java.io.InputStream; 157 FileInputStream inputStream = new FileInputStream(fileDescriptor); 159 new MessageThread(inputStream, outputStream, mHandler).start(); 167 private final InputStream mInputStream; 175 MessageThread(InputStream inputStream, OutputStream outputStream, MessageHandler handler) { 176 this.mInputStream = inputStream;
|
/external/skia/tools/ |
bench_pictures_main.cpp | 150 SkFILEStream inputStream; 152 inputStream.setPath(inputPath.c_str()); 153 if (!inputStream.isValid()) { 174 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&inputStream, proc));
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
cod_main.h | 87 unsigned char *inputStream;
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
XmlPullParser.java | 6 import java.io.InputStream; 484 * @param inputStream contains a raw byte input stream of possibly 487 * @param inputEncoding if not null it MUST be used as encoding for inputStream 489 void setInput(InputStream inputStream, String inputEncoding) 494 * If setInput(InputStream, inputEncoding) was called with an inputEncoding [all...] |
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
CreatePrivateDataTest.java | 40 import java.io.InputStream; 102 DataInputStream inputStream = new DataInputStream(new FileInputStream(publicFilePath)); 103 int otherAppUid = (int)inputStream.readInt(); 104 inputStream.close(); 231 InputStream in = socket.getInputStream();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
TestHttpResponse.java | 15 import java.io.InputStream; 189 private ByteArrayInputStream inputStream; 212 @Override public InputStream getContent() throws IOException, IllegalStateException { 214 inputStream = new ByteArrayInputStream(responseBody) { 221 return inputStream;
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
ProxyServer.java | 26 import java.io.InputStream; 163 private String getLine(InputStream inputStream) throws IOException { 165 int byteBuffer = inputStream.read(); 171 byteBuffer = inputStream.read();
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLServerSocketTest.java | 25 import java.io.InputStream; 395 InputStream inputStream = new ByteArrayInputStream(bytes); 398 keyStore.load(inputStream, PASSWORD.toCharArray()); 399 inputStream.close();
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
DownloadProviderFunctionalTest.java | 34 import java.io.InputStream; 108 InputStream inputStream = mResolver.openInputStream(downloadUri); 110 return readStream(inputStream); 112 inputStream.close();
|
/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();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
SimpleCharStream.java | 40 protected java.io.Reader inputStream; 127 if ((i = inputStream.read(buffer, maxNextCharInd, 130 inputStream.close(); 260 inputStream = dstream; 283 inputStream = dstream; 309 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 315 public SimpleCharStream(java.io.InputStream dstream, int startline, 321 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 327 public SimpleCharStream(java.io.InputStream dstream, int startline, 333 public SimpleCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingExceptio [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
SimpleCharStream.java | 40 protected java.io.Reader inputStream; 127 if ((i = inputStream.read(buffer, maxNextCharInd, 130 inputStream.close(); 260 inputStream = dstream; 283 inputStream = dstream; 309 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 315 public SimpleCharStream(java.io.InputStream dstream, int startline, 321 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 327 public SimpleCharStream(java.io.InputStream dstream, int startline, 333 public SimpleCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingExceptio [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
SimpleCharStream.java | 40 protected java.io.Reader inputStream; 127 if ((i = inputStream.read(buffer, maxNextCharInd, 130 inputStream.close(); 260 inputStream = dstream; 283 inputStream = dstream; 309 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 315 public SimpleCharStream(java.io.InputStream dstream, int startline, 321 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, 327 public SimpleCharStream(java.io.InputStream dstream, int startline, 333 public SimpleCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingExceptio [all...] |