/frameworks/base/services/core/java/com/android/server/apphibernation/ |
D | HibernationStateDiskStore.java | 145 FileOutputStream fileOutputStream; in writeStateProto() local 147 fileOutputStream = atomicFile.startWrite(); in writeStateProto() 154 ProtoOutputStream protoOutputStream = new ProtoOutputStream(fileOutputStream); in writeStateProto() 157 atomicFile.finishWrite(fileOutputStream); in writeStateProto() 160 atomicFile.failWrite(fileOutputStream); in writeStateProto()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | AbstractProtoDiskReadWriter.java | 106 FileOutputStream fileOutputStream = null; in writeTo() local 108 fileOutputStream = atomicFile.startWrite(); in writeTo() 115 final ProtoOutputStream protoOutputStream = new ProtoOutputStream(fileOutputStream); in writeTo() 118 atomicFile.finishWrite(fileOutputStream); in writeTo() 119 fileOutputStream = null; in writeTo() 122 atomicFile.failWrite(fileOutputStream); in writeTo()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | DataStreamFileCodec.java | 70 FileOutputStream fileOutputStream = new FileOutputStream(mFile); in serialize() argument 71 BufferedOutputStream bufferedOutputStream = new BufferedOutputStream(fileOutputStream); in serialize()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySnapshotStorage.java | 129 FileOutputStream fileOutputStream = new FileOutputStream(snapshotFile) in writeToDisk() argument 131 KeyChainSnapshotSerializer.serialize(snapshot, fileOutputStream); in writeToDisk()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BackgroundInstallControlServiceTest.java | 159 FileOutputStream fileOutputStream; in testInitBackgroundInstalledPackages_one() local 161 fileOutputStream = atomicFile.startWrite(); in testInitBackgroundInstalledPackages_one() 169 ProtoOutputStream protoOutputStream = new ProtoOutputStream(fileOutputStream); in testInitBackgroundInstalledPackages_one() 175 atomicFile.finishWrite(fileOutputStream); in testInitBackgroundInstalledPackages_one() 178 atomicFile.failWrite(fileOutputStream); in testInitBackgroundInstalledPackages_one() 192 FileOutputStream fileOutputStream; in testInitBackgroundInstalledPackages_two() local 194 fileOutputStream = atomicFile.startWrite(); in testInitBackgroundInstalledPackages_two() 202 ProtoOutputStream protoOutputStream = new ProtoOutputStream(fileOutputStream); in testInitBackgroundInstalledPackages_two() 215 atomicFile.finishWrite(fileOutputStream); in testInitBackgroundInstalledPackages_two() 218 atomicFile.failWrite(fileOutputStream); in testInitBackgroundInstalledPackages_two()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BackgroundInstallControlService.java | 432 FileOutputStream fileOutputStream; in writeBackgroundInstalledPackagesToDisk() local 434 fileOutputStream = atomicFile.startWrite(); in writeBackgroundInstalledPackagesToDisk() 441 ProtoOutputStream protoOutputStream = new ProtoOutputStream(fileOutputStream); in writeBackgroundInstalledPackagesToDisk() 455 atomicFile.finishWrite(fileOutputStream); in writeBackgroundInstalledPackagesToDisk() 458 atomicFile.failWrite(fileOutputStream); in writeBackgroundInstalledPackagesToDisk()
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | BackupDataTest.java | 226 FileOutputStream fileOutputStream = new FileOutputStream(mDataFile.getFileDescriptor()); in copyAssetToFile() local 229 fileOutputStream.write(copybuffer, 0, numBytes); in copyAssetToFile() 230 fileOutputStream.close(); in copyAssetToFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 175 FileOutputStream fileOutputStream = new FileOutputStream(metadataFile); in backupWidget() local 176 BufferedOutputStream bufferedOutputStream = new BufferedOutputStream(fileOutputStream); in backupWidget()
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | ProtoLogTool.kt | 101 val out = injector.fileOutputStream(command.outputSourceJarArg) in <lambda>() 398 val outFile = injector.fileOutputStream(command.viewerConfigFileNameArg) in <lambda>() 467 override fun fileOutputStream(file: String) = FileOutputStream(file) in <lambda>() method 477 fun fileOutputStream(file: String): OutputStream in <lambda>() method
|
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/ |
D | BackupRestoreStorage.kt | 252 val fileOutputStream = FileOutputStream(fileDescriptor) in <lambda>() constant 253 val dataOutputStream = DataOutputStream(fileOutputStream) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/testharness/ |
D | TestHarnessModeService.java | 219 OutputStream fileOutputStream = Files.newOutputStream(adbKeys); in writeBytesToFile() local 220 fileOutputStream.write(keys); in writeBytesToFile() 221 fileOutputStream.close(); in writeBytesToFile()
|
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/ |
D | EndToEndTest.kt | 159 override fun fileOutputStream(file: String): OutputStream = in <lambda>() method
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerService.java | 1930 FileOutputStream fileOutputStream = null; 1933 fileOutputStream = mGameModeInterventionListFile.startWrite(); 1934 bufferedWriter = new BufferedWriter(new OutputStreamWriter(fileOutputStream, 1974 FileUtils.sync(fileOutputStream); 1975 mGameModeInterventionListFile.finishWrite(fileOutputStream); 1977 mGameModeInterventionListFile.failWrite(fileOutputStream);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 296 FileOutputStream fileOutputStream = new FileOutputStream(dest); in testCopy_SocketToFile_FileToSocket$noRavenwood() 298 … FileUtils.copy(srvConnFd, fileOutputStream.getFD(), rcvFileSize, null, null, null); in testCopy_SocketToFile_FileToSocket$noRavenwood() 300 fileOutputStream.close(); in testCopy_SocketToFile_FileToSocket$noRavenwood()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 1103 FileOutputStream fileOutputStream) { in SynthesisToFileOutputStreamSpeechItem() argument 1105 mFileOutputStream = fileOutputStream; in SynthesisToFileOutputStreamSpeechItem()
|