Home
last modified time | relevance | path

Searched defs:writer (Results 1 – 25 of 201) sorted by relevance

123456789

/aosp14/frameworks/base/tools/aapt2/format/binary/
H A DResEntryWriter_test.cpp38 std::vector<int32_t> WriteAllEntries(const ResourceTableView& table, ResEntryWriter& writer) { in WriteAllEntries()
61 SequentialResEntryWriter<false> writer(&out); in TEST_F() local
73 SequentialResEntryWriter<true> writer(&out); in TEST_F() local
102 SequentialResEntryWriter<false> writer(&out); in TEST_F() local
113 SequentialResEntryWriter<true> writer(&out); in TEST_F() local
132 DeduplicateItemsResEntryWriter<false> writer(&out); in TEST_F() local
143 DeduplicateItemsResEntryWriter<true> writer(&out); in TEST_F() local
171 DeduplicateItemsResEntryWriter<false> writer(&out); in TEST_F() local
182 DeduplicateItemsResEntryWriter<true> writer(&out); in TEST_F() local
H A DXmlFlattener.cpp97 ChunkWriter writer(buffer_); in Visit() local
187 ChunkWriter writer(buffer_); in WriteNamespace() local
201 ChunkWriter* writer) { in WriteAttributes()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DHealthStatsBatteryStatsWriter.java139 final HealthStatsWriter writer = new HealthStatsWriter(PidHealthStats.CONSTANTS); in writeUid() local
147 final HealthStatsWriter writer = new HealthStatsWriter(ProcessHealthStats.CONSTANTS); in writeUid() local
155 final HealthStatsWriter writer = new HealthStatsWriter(PackageHealthStats.CONSTANTS); in writeUid() local
426 final HealthStatsWriter writer = new HealthStatsWriter(ServiceHealthStats.CONSTANTS); in writePkg() local
458 private void addTimer(HealthStatsWriter writer, int key, BatteryStats.Timer timer) { in addTimer()
468 private void addTimers(HealthStatsWriter writer, int key, String name, in addTimers()
/aosp14/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
H A Dcow_api_test.cpp68 CowWriter writer(options); in TEST_F() local
110 CowWriter writer(options); in TEST_F() local
188 CowWriter writer(options); in TEST_F() local
268 CowWriter writer(options); in TEST_F() local
308 CowWriter writer(options); in TEST_P() local
385 CowWriter writer(options); in TEST_P() local
449 CowWriter writer(options); in TEST_F() local
513 CowWriter writer(options); in TEST_F() local
556 CowWriter writer(options); in TEST_P() local
586 CowWriter writer(options); in TEST_F() local
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/util/dump/
H A DDumpableContainerImpl.java99 private int dumpNumberDumpables(IndentingPrintWriter writer) { in dumpNumberDumpables()
112 public void listDumpables(String prefix, PrintWriter writer) { in listDumpables()
131 public void dumpAllDumpables(String prefix, PrintWriter writer, String[] args) { in dumpAllDumpables()
148 private void indentAndDump(IndentingPrintWriter writer, Dumpable dumpable, String[] args) { in indentAndDump()
161 public void dumpOneDumpable(String prefix, PrintWriter writer, String dumpableName, in dumpOneDumpable()
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot_reader_test.cpp64 void WriteCow(ISnapshotWriter* writer) { in WriteCow()
75 void TestBlockReads(ISnapshotWriter* writer) { in TestBlockReads()
120 void TestByteReads(ISnapshotWriter* writer) { in TestByteReads()
145 void TestReads(ISnapshotWriter* writer) { in TestReads()
177 auto writer = std::make_unique<CompressedSnapshotWriter>(options); in TEST_F() local
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DPerformanceCollectorTest.java105 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testBeginSnapshot() local
119 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testEndSnapshot() local
132 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testStartTiming() local
172 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementLong() local
193 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementFloat() local
214 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementString() local
235 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testSimpleSequence() local
267 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testLongSequence() local
353 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testOutOfOrderSequence() local
/aosp14/frameworks/base/core/java/android/util/
H A DIndentingPrintWriter.java55 public IndentingPrintWriter(@NonNull Writer writer) { in IndentingPrintWriter()
59 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent) { in IndentingPrintWriter()
63 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
68 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
73 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
H A DDumpable.java44 void dump(@NonNull PrintWriter writer, @Nullable String[] args); in dump()
/aosp14/frameworks/base/libs/androidfw/tests/
H A DBackupData_test.cpp76 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F() local
118 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F() local
166 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F() local
221 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F() local
260 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F() local
321 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F() local
389 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F() local
/aosp14/frameworks/base/tools/aapt2/io/
H A DUtil.cpp30 uint32_t compression_flags, IArchiveWriter* writer) { in CopyInputStreamToArchive()
47 uint32_t compression_flags, IArchiveWriter* writer) { in CopyFileToArchive()
59 std::string_view out_path, IArchiveWriter* writer) { in CopyFileToArchivePreserveCompression()
66 IArchiveWriter* writer) { in CopyProtoToArchive()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java31 public IndentingPrintWriter(Writer writer, String singleIndent) { in IndentingPrintWriter()
35 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) { in IndentingPrintWriter()
39 public IndentingPrintWriter(Writer writer, String singleIndent, String prefix, int wrapLength) { in IndentingPrintWriter()
/aosp14/frameworks/base/tools/aapt2/format/
H A DArchive_test.cpp91 std::unique_ptr<IArchiveWriter> writer = MakeDirectoryWriter(output_path); in TEST_F() local
113 std::unique_ptr<IArchiveWriter> writer = MakeDirectoryWriter(output_path); in TEST_F() local
139 std::unique_ptr<IArchiveWriter> writer = MakeDirectoryWriter(output_path); in TEST_F() local
151 std::unique_ptr<IArchiveWriter> writer = MakeZipFileWriter(output_path); in TEST_F() local
173 std::unique_ptr<IArchiveWriter> writer = MakeZipFileWriter(output_path); in TEST_F() local
199 std::unique_ptr<IArchiveWriter> writer = MakeZipFileWriter(output_path); in TEST_F() local
/aosp14/frameworks/base/tools/aapt2/cmd/
H A DConvert.cpp75 IArchiveWriter* writer, uint32_t compression_flags) override { in SerializeXml()
87 bool SerializeTable(ResourceTable* table, IArchiveWriter* writer) override { in SerializeTable()
99 bool SerializeFile(FileReference* file, IArchiveWriter* writer) override { in SerializeFile()
158 IArchiveWriter* writer, uint32_t compression_flags) override { in SerializeXml()
164 bool SerializeTable(ResourceTable* table, IArchiveWriter* writer) override { in SerializeTable()
171 bool SerializeFile(FileReference* file, IArchiveWriter* writer) override { in SerializeFile()
405 unique_ptr<IArchiveWriter> writer = CreateZipFileArchiveWriter(context.GetDiagnostics(), in Action() local
/aosp14/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
H A DDomainVerificationDebug.java64 public void printState(@NonNull IndentingPrintWriter writer, @Nullable String packageName, in printState()
106 public void printOwners(@NonNull IndentingPrintWriter writer, @NonNull String domain, in printOwners()
167 boolean printState(@NonNull IndentingPrintWriter writer, in printState()
226 void printState(@NonNull IndentingPrintWriter writer, in printState()
256 boolean printState(@NonNull IndentingPrintWriter writer, in printState()
H A DDomainVerificationShell.java299 try (IndentingPrintWriter writer = new IndentingPrintWriter( in runGetAppLinks()
466 try (IndentingPrintWriter writer = new IndentingPrintWriter( in runGetAppLinkOwners()
604 void printState(@NonNull IndentingPrintWriter writer, @Nullable String packageName, in printState()
610 void printOwnersForPackage(@NonNull IndentingPrintWriter writer, in printOwnersForPackage()
617 void printOwnersForDomains(@NonNull IndentingPrintWriter writer, in printOwnersForDomains()
/aosp14/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataOutput.cpp49 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityHeader_native() local
66 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityData_native() local
88 BackupDataWriter* writer = (BackupDataWriter*)w; in setKeyPrefix_native() local
/aosp14/frameworks/base/services/core/java/com/android/server/graphics/fonts/
H A DFontManagerShellCommand.java242 private void dumpFallback(@NonNull IndentingPrintWriter writer, in dumpFallback()
249 private void dumpFamily(@NonNull IndentingPrintWriter writer, @NonNull FontFamily family) { in dumpFamily()
281 private void dumpFont(@NonNull IndentingPrintWriter writer, @NonNull Font font) { in dumpFont()
317 final IndentingPrintWriter writer = in dump() local
502 final IndentingPrintWriter writer = in status() local
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameType.java322 static FrameType tryMerge(FrameType writer, FrameType reader) { in tryMerge()
336 static FrameType tryMergeObjectTypes(FrameType writer, FrameType reader) { in tryMergeObjectTypes()
343 static FrameType tryMergeBuffers(FrameType writer, FrameType reader) { in tryMergeBuffers()
351 static FrameType merge(FrameType writer, FrameType reader) { in merge()
/aosp14/system/core/fs_mgr/liblp/
H A Dwriter.cpp189 const std::function<bool(int, const std::string&)>& writer) { in WritePrimaryMetadata()
207 const std::function<bool(int, const std::string&)>& writer) { in WriteBackupMetadata()
225 const std::function<bool(int, const std::string&)>& writer) { in WriteMetadata()
325 const std::function<bool(int, const std::string&)>& writer) { in UpdatePartitionTable()
/aosp14/frameworks/base/services/core/java/com/android/server/display/whitebalance/
H A DAmbientSensor.java129 public void dump(PrintWriter writer) { in dump()
279 public void dump(PrintWriter writer) { in dump()
364 public void dump(PrintWriter writer) { in dump()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DLocalLogTest.java101 PrintWriter writer = new PrintWriter(buffer); in dump() local
108 PrintWriter writer = new PrintWriter(buffer); in reverseDump() local
/aosp14/system/core/fs_mgr/libfiemap/
H A Dsplit_fiemap_writer.cpp105 FiemapUniquePtr writer; in Create() local
131 for (const auto& writer : out->files_) { in Create() local
157 auto writer = FiemapWriter::Open(file, 0, false); in Open() local
/aosp14/frameworks/base/libs/androidfw/
H A DZipUtils.cpp134 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer() local
142 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer() local
150 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer() local
/aosp14/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationService.java50 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump()

123456789