Home
last modified time | relevance | path

Searched refs:fout (Results 1 – 4 of 4) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/content/
DInstallApk.java152 FileOutputStream fout = null; in prepareApk() local
155 fout = openFileOutput("tmp.apk", Context.MODE_WORLD_READABLE); in prepareApk()
158 fout.write(buffer, 0, n); in prepareApk()
170 if (fout != null) { in prepareApk()
171 fout.close(); in prepareApk()
DFileProvider.java139 FileOutputStream fout = new FileOutputStream(output.getFileDescriptor()); in writeDataToPipe() local
142 fout.write(buffer, 0, n); in writeDataToPipe()
152 fout.close(); in writeDataToPipe()
/development/apps/WidgetPreview/src/com/android/widgetpreview/
DWidgetPreviewActivity.java258 FileOutputStream fout = null; in saveImage() local
260 fout = new FileOutputStream(pic); in saveImage()
261 if (!bmp.compress(CompressFormat.PNG, 100, fout)) { in saveImage()
270 if (fout != null) { in saveImage()
271 fout.close(); in saveImage()
/development/samples/NotePad/src/com/example/android/notepad/
DNotePadProvider.java467 FileOutputStream fout = new FileOutputStream(output.getFileDescriptor()); in writeDataToPipe() local
470 pw = new PrintWriter(new OutputStreamWriter(fout, "UTF-8")); in writeDataToPipe()
482 fout.close(); in writeDataToPipe()