Searched defs:inputStream (Results 1 - 4 of 4) sorted by relevance

/development/samples/training/threadsample/src/com/example/android/threadsample/
H A DRSSPullParser.java67 * @param inputStream a stream of data containing XML elements, usually a RSS feed
72 public void parseXml(InputStream inputStream, argument
88 localXmlPullParser.setInput(inputStream, null);
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
H A DVoicemailProviderHelper.java104 * The inputStream is owned by the caller and must be closed by it as usual after the call has
110 public void setVoicemailContent(Uri voicemailUri, InputStream inputStream, String mimeType) argument
H A DVoicemailProviderHelpers.java118 public void setVoicemailContent(Uri voicemailUri, InputStream inputStream, String mimeType) argument
120 setVoicemailContent(voicemailUri, null, inputStream, mimeType);
129 private void setVoicemailContent(Uri voicemailUri, byte[] inputBytes, InputStream inputStream, argument
131 if (inputBytes != null && inputStream != null) {
132 throw new IllegalArgumentException("Both inputBytes & inputStream non-null. Don't" +
142 } else if (inputStream != null) {
143 copyStreamData(inputStream, outputStream);
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
H A DDeviceDetailFragment.java278 public static boolean copyFile(InputStream inputStream, OutputStream out) { argument
282 while ((len = inputStream.read(buf)) != -1) {
287 inputStream.close();

Completed in 85 milliseconds