Searched refs:outputStream (Results 1 – 5 of 5) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ActionBarShareActionProviderActivity.java | 96 FileOutputStream outputStream = null; in copyPrivateRawResuorceToPubliclyAccessibleFile() local 99 outputStream = openFileOutput(SHARED_FILE_NAME, in copyPrivateRawResuorceToPubliclyAccessibleFile() 105 outputStream.write(buffer, 0, length); in copyPrivateRawResuorceToPubliclyAccessibleFile() 119 outputStream.close(); in copyPrivateRawResuorceToPubliclyAccessibleFile()
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | ImageDownloader.java | 269 OutputStream outputStream = null; in doInBackground() local 273 outputStream = new BufferedOutputStream(dataStream, IO_BUFFER_SIZE); in doInBackground() 274 copy(inputStream, outputStream); in doInBackground() 275 outputStream.flush(); in doInBackground() 289 if (outputStream != null) { in doInBackground() 290 outputStream.close(); in doInBackground()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
D | VoicemailProviderHelpers.java | 137 OutputStream outputStream = null; in setVoicemailContent() local 139 outputStream = mContentResolver.openOutputStream(voicemailUri); in setVoicemailContent() 141 outputStream.write(inputBytes); in setVoicemailContent() 143 copyStreamData(inputStream, outputStream); in setVoicemailContent() 146 CloseUtils.closeQuietly(outputStream); in setVoicemailContent()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | ImageFetcher.java | 266 public boolean downloadUrlToStream(String urlString, OutputStream outputStream) { in downloadUrlToStream() argument 276 out = new BufferedOutputStream(outputStream, IO_BUFFER_SIZE); in downloadUrlToStream()
|
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
D | MyCloudProvider.java | 580 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); 585 outputStream.write(buffer, 0, size); 588 buffer = outputStream.toByteArray();
|