/frameworks/base/tools/aapt2/io/ |
D | FileStream.cpp | 111 FileOutputStream::FileOutputStream(const std::string& path, size_t buffer_capacity) in FileOutputStream() function in aapt::io::FileOutputStream 123 FileOutputStream::FileOutputStream(unique_fd fd, size_t buffer_capacity) in FileOutputStream() function in aapt::io::FileOutputStream 124 : FileOutputStream(fd.get(), buffer_capacity) { in FileOutputStream() 128 FileOutputStream::FileOutputStream(int fd, size_t buffer_capacity) in FileOutputStream() function in aapt::io::FileOutputStream 137 FileOutputStream::~FileOutputStream() { in ~FileOutputStream() 142 bool FileOutputStream::Next(void** data, size_t* size) { in Next() 161 void FileOutputStream::BackUp(size_t count) { in BackUp() 169 size_t FileOutputStream::ByteCount() const { in ByteCount() 173 bool FileOutputStream::Flush() { in Flush() 180 bool FileOutputStream::FlushImpl() { in FlushImpl() [all …]
|
D | FileStream.h | 63 class FileOutputStream : public OutputStream { 65 explicit FileOutputStream(const std::string& path, 69 explicit FileOutputStream(int fd, size_t buffer_capacity = kDefaultBufferCapacity); 72 explicit FileOutputStream(android::base::unique_fd fd, 75 ~FileOutputStream(); 91 DISALLOW_COPY_AND_ASSIGN(FileOutputStream);
|
/frameworks/base/core/java/android/util/ |
D | AtomicFile.java | 27 import java.io.FileOutputStream; 102 public FileOutputStream startWrite() throws IOException { in startWrite() 112 public FileOutputStream startWrite(long startTime) throws IOException { in startWrite() 126 FileOutputStream str = null; in startWrite() 128 str = new FileOutputStream(mBaseName); in startWrite() 139 str = new FileOutputStream(mBaseName); in startWrite() 153 public void finishWrite(FileOutputStream str) { in finishWrite() 174 public void failWrite(FileOutputStream str) { in failWrite() 192 FileOutputStream fos = new FileOutputStream(mBaseName); in truncate() 204 @Deprecated public FileOutputStream openAppend() throws IOException { in openAppend() [all …]
|
/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | FileUtilsBenchmark.java | 30 import java.io.FileOutputStream; 48 try (FileOutputStream os = new FileOutputStream(mSrc)) { in setUp() 56 FileOutputStream out = new FileOutputStream(mDest)) { in timeRegularUserspace() 65 FileOutputStream out = new FileOutputStream(mDest)) { in timeRegularSendfile() 74 FileOutputStream out = new FileOutputStream(mDest)) { in timePipeSourceUserspace() 83 FileOutputStream out = new FileOutputStream(mDest)) { in timePipeSourceSplice()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AtomicFile.java | 27 import java.io.FileOutputStream; 61 public FileOutputStream startWrite() throws IOException { in startWrite() 73 FileOutputStream str = null; in startWrite() 75 str = new FileOutputStream(mBaseName); in startWrite() 86 str = new FileOutputStream(mBaseName); in startWrite() 95 public void finishWrite(FileOutputStream str) { in finishWrite() 108 public void failWrite(FileOutputStream str) { in failWrite() 122 public FileOutputStream openAppend() throws IOException { in openAppend() 124 return new FileOutputStream(mBaseName, true); in openAppend() 133 FileOutputStream fos = new FileOutputStream(mBaseName); in truncate()
|
D | AtomicDirectory.java | 27 import java.io.FileOutputStream; 49 private final @NonNull ArrayMap<File, FileOutputStream> mOpenFiles = new ArrayMap<>(); 135 public @NonNull FileOutputStream openWrite(@NonNull File file) throws IOException { in openWrite() 139 final FileOutputStream destination = new FileOutputStream(file); in openWrite() 153 public void closeWrite(@NonNull FileOutputStream destination) { in closeWrite() 164 public void failWrite(@NonNull FileOutputStream destination) { in failWrite()
|
/frameworks/native/opengl/tools/glgen/src/ |
D | GenerateGL.java | 19 import java.io.FileOutputStream; 120 new PrintStream(new FileOutputStream("out/" + gl10Filename)); in main() 122 new PrintStream(new FileOutputStream("out/" + gl10ExtFilename)); in main() 124 new PrintStream(new FileOutputStream("out/" + gl11Filename)); in main() 126 new PrintStream(new FileOutputStream("out/" + gl11ExtFilename)); in main() 128 new PrintStream(new FileOutputStream("out/" + gl11ExtPackFilename)); in main() 130 new PrintStream(new FileOutputStream("out/" + glImplFilename)); in main() 132 new PrintStream(new FileOutputStream("out/" + cFilename)); in main()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 36 import java.io.FileOutputStream; 86 new FileOutputStream(new File(dir, "bitmap1-original.png"))); in testWithBitmap() 88 new FileOutputStream(new File(dir, "bitmap1-test.png"))); in testWithBitmap() 95 new FileOutputStream(new File(dir, "bitmap2-original.png"))); in testWithBitmap() 97 new FileOutputStream(new File(dir, "bitmap2-test.png"))); in testWithBitmap() 104 new FileOutputStream(new File(dir, "bitmap3-original.png"))); in testWithBitmap() 106 new FileOutputStream(new File(dir, "bitmap3-test.png"))); in testWithBitmap() 151 new FileOutputStream(new File(dir, "adaptive-bitmap1-original.png"))); in testWithAdaptiveBitmap() 153 new FileOutputStream(new File(dir, "adaptive-bitmap1-test.png"))); in testWithAdaptiveBitmap() 174 new FileOutputStream(new File(dir, "res1-original.png"))); in testWithBitmapResource() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | FullBackupUtilsTest.java | 43 import java.io.FileOutputStream; 95 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_emptyInput_throwsEOFException() 115 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_incompleteChunkSizeInput_throwsEOFException() 135 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_validEmptyInput_doesNotWriteAnything() 151 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_notEnoughData_throwsEOFException() 173 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_oneSmallChunk_writesOutputCorrectly() 193 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_oneLargeChunk_writesOutputCorrectly() 216 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_twoSmallChunks_writesOutputCorrectly() 241 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_twoLargeChunks_writesOutputCorrectly()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | LeakDetectorTest.java | 31 import java.io.FileOutputStream; 109 FileOutputStream fos = new FileOutputStream("/dev/null"); in testDump() 125 FileOutputStream fos = new FileOutputStream("/dev/null"); in testDisabled()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Stats.java | 23 import java.io.FileOutputStream; 104 FileOutputStream out = new FileOutputStream(outputFile, true); in writeStatsHeader() 173 FileOutputStream out = new FileOutputStream(outputFile, true); in dumpStatistics()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | DataStreamFileCodec.java | 24 import java.io.FileOutputStream; 70 FileOutputStream fileOutputStream = new FileOutputStream(mFile); in serialize()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | UsbAccessoryStreamTransport.java | 26 import java.io.FileOutputStream; 35 private FileOutputStream mOutputStream; 41 mOutputStream = new FileOutputStream(fd.getFileDescriptor()); in UsbAccessoryStreamTransport()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | BitmapUtils.java | 24 import java.io.FileOutputStream; 32 FileOutputStream out = null; in saveBitmapIntoPNG() 45 out = new FileOutputStream(outputFile, false); in saveBitmapIntoPNG()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | JarUtil.java | 21 import java.io.FileOutputStream; 42 public static void createJar(@NotNull FileOutputStream outStream, in createJar() 70 public static void createJar(@NotNull FileOutputStream outStream, in createJar()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 25 import java.io.FileOutputStream; 73 FileOutputStream stream = new FileOutputStream(tmpFile); in calibrateMethod() 96 FileOutputStream hashStream = new FileOutputStream(tmpFile); in calibrateMethod()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerFilePersistedSettings.java | 26 import java.io.FileOutputStream; 64 try (FileOutputStream fout = new FileOutputStream(stage)) { in writeBackupEnableState()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | BackupPasswordManagerTest.java | 43 import java.io.FileOutputStream; 200 FileOutputStream fos = null; in writeHashAndSaltToFile() 205 fos = new FileOutputStream(passwordHash); in writeHashAndSaltToFile() 218 FileOutputStream fos = null; in writePasswordVersionToFile() 223 fos = new FileOutputStream(passwordVersion); in writePasswordVersionToFile()
|
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | TapPacketReader.java | 28 import java.io.FileOutputStream; 99 try (FileOutputStream out = new FileOutputStream(mTapFd)) { in sendResponse()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | MediaStoreSaver.java | 28 import java.io.FileOutputStream; 52 FileOutputStream fOut = new FileOutputStream(file); in savePNG()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 27 import java.io.FileOutputStream; 91 FileOutputStream outputStream = new FileOutputStream(manifestFile); in backupManifest() 175 FileOutputStream fileOutputStream = new FileOutputStream(metadataFile); in backupWidget()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 28 import java.io.FileOutputStream; 58 FileOutputStream fOut = new FileOutputStream(file); in save()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 28 import java.io.FileOutputStream; 58 FileOutputStream fOut = new FileOutputStream(file); in save()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GetBitmapActivity.java | 32 import java.io.FileOutputStream; 56 FileOutputStream out = new FileOutputStream( in onCreate()
|
D | VideoViewCaptureActivity.java | 32 import java.io.FileOutputStream; 66 try (FileOutputStream out = new FileOutputStream( in onCreate()
|