/aosp14/frameworks/base/services/core/java/com/android/server/apphibernation/ |
H A 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()
|
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/ |
H A 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()
|
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
H A D | DataStreamFileCodec.java | 70 FileOutputStream fileOutputStream = new FileOutputStream(mFile); in serialize() argument 71 BufferedOutputStream bufferedOutputStream = new BufferedOutputStream(fileOutputStream); in serialize()
|
/aosp14/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
H A D | ProtoLogTool.kt | 49 val out = injector.fileOutputStream(command.outputSourceJarArg) 184 val out = injector.fileOutputStream(command.viewerConfigJsonArg) 230 override fun fileOutputStream(file: String) = FileOutputStream(file) 240 fun fileOutputStream(file: String): OutputStream regex
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | BackgroundInstallControlServiceTest.java | 153 FileOutputStream fileOutputStream; in testInitBackgroundInstalledPackages_one() local 155 fileOutputStream = atomicFile.startWrite(); in testInitBackgroundInstalledPackages_one() 163 ProtoOutputStream protoOutputStream = new ProtoOutputStream(fileOutputStream); in testInitBackgroundInstalledPackages_one() 172 atomicFile.finishWrite(fileOutputStream); in testInitBackgroundInstalledPackages_one() 175 atomicFile.failWrite(fileOutputStream); in testInitBackgroundInstalledPackages_one() 189 FileOutputStream fileOutputStream; in testInitBackgroundInstalledPackages_two() local 191 fileOutputStream = atomicFile.startWrite(); in testInitBackgroundInstalledPackages_two() 199 ProtoOutputStream protoOutputStream = new ProtoOutputStream(fileOutputStream); in testInitBackgroundInstalledPackages_two() 218 atomicFile.finishWrite(fileOutputStream); in testInitBackgroundInstalledPackages_two() 221 atomicFile.failWrite(fileOutputStream); in testInitBackgroundInstalledPackages_two()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
H A D | RecoverySnapshotStorage.java | 129 FileOutputStream fileOutputStream = new FileOutputStream(snapshotFile) in writeToDisk() argument 131 KeyChainSnapshotSerializer.serialize(snapshot, fileOutputStream); in writeToDisk()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | BackgroundInstallControlService.java | 339 FileOutputStream fileOutputStream; in writeBackgroundInstalledPackagesToDisk() local 341 fileOutputStream = atomicFile.startWrite(); in writeBackgroundInstalledPackagesToDisk() 348 ProtoOutputStream protoOutputStream = new ProtoOutputStream(fileOutputStream); in writeBackgroundInstalledPackagesToDisk() 362 atomicFile.finishWrite(fileOutputStream); in writeBackgroundInstalledPackagesToDisk() 365 atomicFile.failWrite(fileOutputStream); in writeBackgroundInstalledPackagesToDisk()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/backup/ |
H A 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()
|
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
H A D | AppMetadataBackupWriter.java | 175 FileOutputStream fileOutputStream = new FileOutputStream(metadataFile); in backupWidget() local 176 BufferedOutputStream bufferedOutputStream = new BufferedOutputStream(fileOutputStream); in backupWidget()
|
/aosp14/frameworks/base/services/core/java/com/android/server/testharness/ |
H A D | TestHarnessModeService.java | 218 OutputStream fileOutputStream = Files.newOutputStream(adbKeys); in writeBytesToFile() local 219 fileOutputStream.write(keys); in writeBytesToFile() 220 fileOutputStream.close(); in writeBytesToFile()
|
/aosp14/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/ |
H A D | EndToEndTest.kt | 122 override fun fileOutputStream(file: String): OutputStream =
|
/aosp14/frameworks/base/services/core/java/com/android/server/app/ |
H A D | GameManagerService.java | 1875 FileOutputStream fileOutputStream = null; in writeGameModeInterventionsToFile() local 1878 fileOutputStream = mGameModeInterventionListFile.startWrite(); in writeGameModeInterventionsToFile() 1879 bufferedWriter = new BufferedWriter(new OutputStreamWriter(fileOutputStream, in writeGameModeInterventionsToFile() 1919 FileUtils.sync(fileOutputStream); in writeGameModeInterventionsToFile() 1920 mGameModeInterventionListFile.finishWrite(fileOutputStream); in writeGameModeInterventionsToFile() 1922 mGameModeInterventionListFile.failWrite(fileOutputStream); in writeGameModeInterventionsToFile()
|
/aosp14/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 1103 FileOutputStream fileOutputStream) { in SynthesisToFileOutputStreamSpeechItem() argument 1105 mFileOutputStream = fileOutputStream; in SynthesisToFileOutputStreamSpeechItem()
|