Lines Matching defs:fos
104 FileOutputStream fos = null;
113 fos = context.openFileOutput(filename, Context.MODE_WORLD_READABLE);
114 if (!bitmap.compress(CompressFormat.JPEG, 100, fos)) {
126 if (fos != null) {
127 fos.flush();
128 fos.close();
195 FileOutputStream fos = null;
199 fos = context.openFileOutput(filename, Context.MODE_WORLD_READABLE);
203 fos.write(buffer, 0, bytesRead);
210 if (fos != null) {
211 fos.flush();
212 fos.close();