Searched refs:fos (Results 1 – 25 of 31) sorted by relevance
12
107 FileOutputStream fos = null; in saveProfile() local110 fos = atomicFile.startWrite(); in saveProfile()111 oos = new ObjectOutputStream(fos); in saveProfile()114 atomicFile.finishWrite(fos); in saveProfile()116 atomicFile.failWrite(fos); in saveProfile()
35 FileOutputStream fos = null; in requestDownload() local37 fos = new FileOutputStream(file); in requestDownload()38 return download(jc, url, fos); in requestDownload()42 Utils.closeSilently(fos); in requestDownload()
67 FileWriter fos = new FileWriter(mFile); in logStatus() local68 BufferedWriter bw = new BufferedWriter(fos); in logStatus()102 FileWriter fos = new FileWriter(mFile); in flash() local103 BufferedWriter bw = new BufferedWriter(fos); in flash()
72 FileOutputStream fos = new FileOutputStream(file); in saveDepth() local73 FileChannel channel = fos.getChannel(); in saveDepth()85 fos.flush(); in saveDepth()86 fos.close(); in saveDepth()
528 FileOutputStream fos = null; in onPut() local536 fos = new FileOutputStream(f); in onPut()541 fos.write(b, 0, len); in onPut()544 fos.close(); in onPut()548 if (fos != null) { in onPut()550 fos.close(); in onPut()
165 FileOutputStream fos = new FileOutputStream(outputFile); in thresholdReached() local166 memoryOutputStream.writeTo(fos); in thresholdReached()167 currentOutputStream = fos; in thresholdReached()
292 FileOutputStream fos = null; in storeLocation() local294 fos = atomicFile.startWrite(); in storeLocation()295 try (JsonWriter jsonWriter = new JsonWriter(new OutputStreamWriter(fos, "UTF-8"))) { in storeLocation()333 atomicFile.finishWrite(fos); in storeLocation()336 atomicFile.failWrite(fos); in storeLocation()
464 FileOutputStream fos; in persistConfig() local466 fos = stagedFile.startWrite(); in persistConfig()472 new OutputStreamWriter(fos, StandardCharsets.UTF_8))) { in persistConfig()480 stagedFile.failWrite(fos); in persistConfig()483 stagedFile.finishWrite(fos); in persistConfig()
150 FileOutputStream fos = new FileOutputStream(tempFile); in writeBitmapToTempFile() local151 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fos); in writeBitmapToTempFile()152 fos.close(); in writeBitmapToTempFile()
418 FileOutputStream fos = null; in writeDynamicSettingsLocked() local420 fos = mDynamicSettingsFile.startWrite(); in writeDynamicSettingsLocked()422 out.setOutput(fos, "utf-8"); in writeDynamicSettingsLocked()443 mDynamicSettingsFile.finishWrite(fos); in writeDynamicSettingsLocked()447 if (fos != null) { in writeDynamicSettingsLocked()448 mDynamicSettingsFile.failWrite(fos); in writeDynamicSettingsLocked()
487 FileOutputStream fos = null; in writeDynamicSystemCodeNfcid2Locked() local489 fos = mDynamicSystemCodeNfcid2File.startWrite(); in writeDynamicSystemCodeNfcid2Locked()491 out.setOutput(fos, "utf-8"); in writeDynamicSystemCodeNfcid2Locked()522 mDynamicSystemCodeNfcid2File.finishWrite(fos); in writeDynamicSystemCodeNfcid2Locked()526 if (fos != null) { in writeDynamicSystemCodeNfcid2Locked()527 mDynamicSystemCodeNfcid2File.failWrite(fos); in writeDynamicSystemCodeNfcid2Locked()
200 FileOutputStream fos = new FileOutputStream(file); in insert() local201 fos.write(photoBytes); in insert()202 fos.close(); in insert()
108 FileOutputStream fos = new FileOutputStream(dst); in writeMovieIntoFile() local109 FileChannel fc = fos.getChannel(); in writeMovieIntoFile()113 fos.close(); in writeMovieIntoFile()
217 FileOutputStream fos = new FileOutputStream(file); in dumpToCacheDir() local218 fos.write(data); in dumpToCacheDir()219 fos.close(); in dumpToCacheDir()
101 try (FileOutputStream fos = new FileOutputStream(schemaFile); in updateSchemaFile() argument103 IOUtils.copy(in, fos); in updateSchemaFile()
243 FileOutputStream fos = new FileOutputStream(fd); in dumpProto() local246 fos.write(MessageNano.toByteArray(proto)); in dumpProto()
571 FileOutputStream fos; in setWallpaperBitmapInRotationLive() local573 fos = mAppContext.openFileOutput(pendingFile.getName(), Context.MODE_PRIVATE); in setWallpaperBitmapInRotationLive()580 wallpaperBitmap.compress(CompressFormat.JPEG, DEFAULT_COMPRESS_QUALITY, fos); in setWallpaperBitmapInRotationLive()584 fos.flush(); in setWallpaperBitmapInRotationLive()585 fos.close(); in setWallpaperBitmapInRotationLive()
459 FileOutputStream fos = new FileOutputStream(getLocationCacheFile()); in writeCacheFile() local460 fos.write(json.getBytes()); in writeCacheFile()461 fos.close(); in writeCacheFile()
279 try (FileOutputStream fos = new FileOutputStream(localFile, false /* append */)) { in copyDataToLocalFile() argument280 Streams.copy(fis, fos); in copyDataToLocalFile()
280 FileOutputStream fos = new FileOutputStream(distroFile, false /* append */)) {281 copy(is, fos);
255 final FileOutputStream fos = new FileOutputStream(dumpFile);256 final DataOutputStream dos = new DataOutputStream(fos);
2742 FileOutputStream fos = new FileOutputStream(file); in storeNativeCrashLogs() local2743 mDeviceHost.dump(fos.getFD()); in storeNativeCrashLogs()2744 fos.flush(); in storeNativeCrashLogs()2745 fos.close(); in storeNativeCrashLogs()
2708 final FileOutputStream fos = new FileOutputStream(dumpFile);2709 final BufferedOutputStream bos = new BufferedOutputStream(fos);
1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...