/packages/modules/DeviceLock/service/java/com/android/server/devicelock/ |
D | DeviceLockPersistentStore.java | 91 try (FileOutputStream fileOutputStream = atomicFile.startWrite()) { in writeState() argument 94 serializer.setOutput(fileOutputStream, Xml.Encoding.UTF_16.name()); in writeState() 98 fileOutputStream.flush(); in writeState() 99 atomicFile.finishWrite(fileOutputStream); in writeState() 102 atomicFile.failWrite(fileOutputStream); in writeState()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Opp.kt | 186 var fileOutputStream: FileOutputStream? = null in createImageFile() variable 193 fileOutputStream = FileOutputStream(file) in createImageFile() 194 bitmapImage.compress(Bitmap.CompressFormat.PNG, 100, fileOutputStream) in createImageFile() 195 fileOutputStream.flush() in createImageFile() 200 if (fileOutputStream != null) { in createImageFile() 201 fileOutputStream.close() in createImageFile()
|
/packages/modules/DnsResolver/tests/ |
D | pbtxt2pb_converter_host.cpp | 53 google::protobuf::io::FileOutputStream fileOutputStream(fd); in ConvertPbtxtToPb() local 54 fileOutputStream.SetCloseOnDelete(true); in ConvertPbtxtToPb() 55 if (!goldTest.SerializeToZeroCopyStream(&fileOutputStream)) { in ConvertPbtxtToPb()
|
/packages/modules/Telephony/libs/TelephonyStatsLib/src/com/android/telephony/statslib/ |
D | StatsLibStorage.java | 161 FileOutputStream fileOutputStream = null; in saveToFileImmediately() local 168 fileOutputStream = mContext.openFileOutput(filename, Context.MODE_PRIVATE); in saveToFileImmediately() 169 objectOutputStream = new ObjectOutputStream(fileOutputStream); in saveToFileImmediately() 176 if (fileOutputStream != null) { in saveToFileImmediately() 178 fileOutputStream.close(); in saveToFileImmediately()
|
/packages/modules/Profiling/tests/cts/src/android/profiling/cts/ |
D | ProfilingServiceTests.java | 559 FileOutputStream fileOutputStream = new FileOutputStream(mRateLimiter.mPersistFile); in testRateLimiter_BadFile_RemediateSuccess() local 560 fileOutputStream.write("some text that is definitely not a proto".getBytes()); in testRateLimiter_BadFile_RemediateSuccess() 561 fileOutputStream.close(); in testRateLimiter_BadFile_RemediateSuccess() 607 FileOutputStream fileOutputStream = new FileOutputStream(mRateLimiter.mPersistFile); in testRateLimiter_BadFile_RemediateFailure() local 608 fileOutputStream.write("some text that is definitely not a proto".getBytes()); in testRateLimiter_BadFile_RemediateFailure() 609 fileOutputStream.close(); in testRateLimiter_BadFile_RemediateFailure() 1092 FileOutputStream fileOutputStream = new FileOutputStream(file); in createAndConfirmFileExists() local 1093 fileOutputStream.write("some stub text".getBytes()); in createAndConfirmFileExists() 1094 fileOutputStream.close(); in createAndConfirmFileExists()
|
/packages/services/Telephony/utils/satellite/s2storage/src/write/java/com/android/telephony/sats2range/write/ |
D | SuffixTableWriter.java | 69 FileOutputStream fileOutputStream = new FileOutputStream(mFile); in SuffixTableWriter() local 71 mPackedTableWriter = PackedTableWriter.create(fileOutputStream, entrySizeByteCount, in SuffixTableWriter()
|
/packages/modules/GeoTZ/tzs2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/ |
D | SuffixTableWriter.java | 69 FileOutputStream fileOutputStream = new FileOutputStream(mFile); in SuffixTableWriter() local 72 fileOutputStream, entrySizeByteCount, keySizeBits, signedValue, blockSharedData); in SuffixTableWriter()
|
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/ |
D | ZappingTimeTest.java | 275 FileOutputStream fileOutputStream = new FileOutputStream(cacheFile); in createCacheFile() local 279 fileOutputStream.write(buffer); in createCacheFile() 282 fileOutputStream.close(); in createCacheFile()
|
D | ZappingTimeTestExoV2.java | 302 FileOutputStream fileOutputStream = new FileOutputStream(cacheFile); in createCacheFile() local 306 fileOutputStream.write(buffer); in createCacheFile() 309 fileOutputStream.close(); in createCacheFile()
|
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/ |
D | Types.java | 126 try (FileOutputStream fileOutputStream = new FileOutputStream(outputFile)) { in storeProtoAsBinary() argument 127 fileOutputStream.write(message.toByteArray()); in storeProtoAsBinary()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 176 void finishWrite(FileOutputStream fileOutputStream) { in finishWrite() argument 177 mFile.finishWrite(fileOutputStream); in finishWrite() 180 void failWrite(FileOutputStream fileOutputStream) { in failWrite() argument 181 mFile.failWrite(fileOutputStream); in failWrite()
|