/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | file.cc | 125 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()
|
D | file.h | 90 class FileWriter : public FPDF_FILEWRITE { 92 explicit FileWriter(LinuxFileOps::FDCloser fd); 93 ~FileWriter();
|
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/ |
D | FetchDownloadsLoaderTest.java | 28 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/ |
D | PMCStatusLogger.java | 27 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/ |
D | TemporaryFile.java | 24 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/ |
D | TestUtil.java | 20 import java.io.FileWriter; 29 public FileWriter mfstream; 37 mfstream = new FileWriter(camera_test_output_file, true); in prepareOutputFile()
|
D | SwitchPreview.java | 29 import java.io.FileWriter; 49 private FileWriter mfstream; 71 mfstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in prepareOutputFile()
|
D | CameraLatency.java | 28 import java.io.FileWriter; 124 FileWriter fstream = null; in testImageCapture() 125 fstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in testImageCapture()
|
D | CameraStartUp.java | 30 import java.io.FileWriter; 95 FileWriter fstream = null; in writeToOutputFile() 96 fstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in writeToOutputFile()
|
D | ShotToShotLatency.java | 29 import java.io.FileWriter; 127 output = new BufferedWriter(new FileWriter(outFile, true)); in testShotToShotLatency()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
D | TestUtil.java | 20 import java.io.FileWriter; 29 public FileWriter mfstream; 37 mfstream = new FileWriter(camera_test_output_file, true); in prepareOutputFile()
|
D | SwitchPreview.java | 31 import java.io.FileWriter; 51 private FileWriter mfstream; 73 mfstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in prepareOutputFile()
|
D | CameraLatency.java | 30 import java.io.FileWriter; 111 FileWriter fstream = null; in testImageCapture() 112 fstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true); in testImageCapture()
|
D | CameraStartUp.java | 32 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/ |
D | DownloadsFilePreferenceTest.java | 23 import java.io.FileWriter; 83 FileWriter fileWriter = new FileWriter(otherFile); in compareTo_biggerFileSortsAhead()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/ |
D | TextStorageRepository.kt | 25 import java.io.FileWriter in <lambda>() 64 BufferedWriter(FileWriter(file)).use { writer -> in <lambda>()
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | SystemPowerControlHelper.java | 27 import java.io.FileWriter; 97 try (BufferedWriter writer = new BufferedWriter(new FileWriter(sysFsPowerControlFile))) { in enterSuspend()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | DownloadsDeletionTypeTest.java | 40 import java.io.FileWriter; 104 FileWriter fileWriter = new FileWriter(temp); in testUncheckedFilesDoNotCountForSize()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CaptureDataSerializer.java | 34 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/ |
D | SystemMonitorTest.java | 43 import java.io.FileWriter; 213 try (FileWriter fw = new FileWriter(tempFile)) { in writeTempFile()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalDiscoverySessionInfo.java | 27 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/ |
D | HealthConnectBackupAgentTest.java | 51 import java.io.FileWriter; 198 FileWriter fileWriter = new FileWriter(file); in createAndGetNonEmptyFile()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | SavedDiscovery.java | 30 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/ |
D | SystemPowerControlHelperTest.java | 33 import java.io.FileWriter; 142 FileWriter fileWriter = powerStateControlFile.newFileWriter(); in testHelperMockedFileRead()
|
/packages/services/Car/service/src/com/android/car/ |
D | UptimeTracker.java | 29 import java.io.FileWriter; 179 JsonWriter writer = new JsonWriter(new FileWriter(mUptimeFile)); in flushSnapshot()
|