Home
last modified time | relevance | path

Searched refs:FileWriter (Results 1 – 25 of 44) sorted by relevance

12

/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Dfile.cc125 FileWriter::FileWriter(LinuxFileOps::FDCloser fd) : fd_(std::move(fd)) { in FileWriter() function in pdfClient::FileWriter
131 FileWriter::~FileWriter() { in ~FileWriter()
137 size_t FileWriter::DoWriteBlock(const void* data, size_t size) { in DoWriteBlock()
145 int FileWriter::StaticWriteBlockImpl(FPDF_FILEWRITE* pThis, const void* data, in StaticWriteBlockImpl()
147 FileWriter* file_write = static_cast<FileWriter*>(pThis); in StaticWriteBlockImpl()
Dfile.h90 class FileWriter : public FPDF_FILEWRITE {
92 explicit FileWriter(LinuxFileOps::FDCloser fd);
93 ~FileWriter();
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoaderTest.java28 import java.io.FileWriter;
78 FileWriter fileWriter = new FileWriter(first); in testSumFileSizes()
86 fileWriter = new FileWriter(second); in testSumFileSizes()
103 FileWriter fileWriter = new FileWriter(imageFile); in testFetchesThumbnailsForImages()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DPMCStatusLogger.java27 import java.io.FileWriter;
67 FileWriter fos = new FileWriter(mFile); in logStatus()
102 FileWriter fos = new FileWriter(mFile); in flash()
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DTemporaryFile.java24 import java.io.FileWriter;
64 try (BufferedWriter writer = new BufferedWriter(new FileWriter(mFile))) { in write()
74 public FileWriter newFileWriter() throws IOException { in newFileWriter()
75 return new FileWriter(mFile); in newFileWriter()
/packages/apps/Camera2/tests/src/com/android/camera/stress/
DTestUtil.java20 import java.io.FileWriter;
29 public FileWriter mfstream;
37 mfstream = new FileWriter(camera_test_output_file, true); in prepareOutputFile()
DSwitchPreview.java29 import java.io.FileWriter;
49 private FileWriter mfstream;
71 mfstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in prepareOutputFile()
DCameraLatency.java28 import java.io.FileWriter;
124 FileWriter fstream = null; in testImageCapture()
125 fstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in testImageCapture()
DCameraStartUp.java30 import java.io.FileWriter;
95 FileWriter fstream = null; in writeToOutputFile()
96 fstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in writeToOutputFile()
DShotToShotLatency.java29 import java.io.FileWriter;
127 output = new BufferedWriter(new FileWriter(outFile, true)); in testShotToShotLatency()
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
DTestUtil.java20 import java.io.FileWriter;
29 public FileWriter mfstream;
37 mfstream = new FileWriter(camera_test_output_file, true); in prepareOutputFile()
DSwitchPreview.java31 import java.io.FileWriter;
51 private FileWriter mfstream;
73 mfstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in prepareOutputFile()
DCameraLatency.java30 import java.io.FileWriter;
111 FileWriter fstream = null; in testImageCapture()
112 fstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in testImageCapture()
DCameraStartUp.java32 import java.io.FileWriter;
96 FileWriter fstream = null; in writeToOutputFile()
97 fstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in writeToOutputFile()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreferenceTest.java23 import java.io.FileWriter;
83 FileWriter fileWriter = new FileWriter(otherFile); in compareTo_biggerFileSortsAhead()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DTextStorageRepository.kt25 import java.io.FileWriter in <lambda>()
64 BufferedWriter(FileWriter(file)).use { writer -> in <lambda>()
/packages/services/Car/service/src/com/android/car/systeminterface/
DSystemPowerControlHelper.java27 import java.io.FileWriter;
97 try (BufferedWriter writer = new BufferedWriter(new FileWriter(sysFsPowerControlFile))) { in enterSuspend()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DDownloadsDeletionTypeTest.java40 import java.io.FileWriter;
104 FileWriter fileWriter = new FileWriter(temp); in testUncheckedFilesDoNotCountForSize()
/packages/apps/Camera2/src/com/android/camera/util/
DCaptureDataSerializer.java34 import java.io.FileWriter;
70 FileWriter writer = new FileWriter(file, true); in toFile()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/systemmonitor/
DSystemMonitorTest.java43 import java.io.FileWriter;
213 try (FileWriter fw = new FileWriter(tempFile)) { in writeTempFile()
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalDiscoverySessionInfo.java27 import java.io.FileWriter;
99 try (JsonWriter writer = new JsonWriter(new FileWriter(mCacheFile))) { in save()
/packages/modules/HealthFitness/backuprestore/tests/src/com/android/health/connect/backuprestore/
DHealthConnectBackupAgentTest.java51 import java.io.FileWriter;
198 FileWriter fileWriter = new FileWriter(file); in createAndGetNonEmptyFile()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DSavedDiscovery.java30 import java.io.FileWriter;
147 try (JsonWriter writer = new JsonWriter(new BufferedWriter(new FileWriter(mCacheFile)))) { in save()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systeminterface/
DSystemPowerControlHelperTest.java33 import java.io.FileWriter;
142 FileWriter fileWriter = powerStateControlFile.newFileWriter(); in testHelperMockedFileRead()
/packages/services/Car/service/src/com/android/car/
DUptimeTracker.java29 import java.io.FileWriter;
179 JsonWriter writer = new JsonWriter(new FileWriter(mUptimeFile)); in flushSnapshot()

12