Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/tools/aapt2/format/binary/
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
/frameworks/base/services/core/java/com/android/server/am/
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()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dargument_encoder.h28 explicit ArgumentEncoder(MessageWriter* writer) : writer_{writer} {} in ArgumentEncoder()
46 explicit ArgumentEncoder(MessageWriter* writer) : writer_{writer} {} in ArgumentEncoder()
66 Return (*)(Args...), MessageWriter* writer) { in MakeArgumentEncoder()
74 Return (Class::*)(Args...), MessageWriter* writer) { in MakeArgumentEncoder()
82 Return (Class::*)(Args...) const, MessageWriter* writer) { in MakeArgumentEncoder()
89 inline ArgumentEncoder<Signature> MakeArgumentEncoder(MessageWriter* writer) { in MakeArgumentEncoder()
/frameworks/base/core/java/com/android/internal/util/dump/
DDumpableContainerImpl.java100 private int dumpNumberDumpables(IndentingPrintWriter writer) { in dumpNumberDumpables()
113 public void listDumpables(String prefix, PrintWriter writer) { in listDumpables()
132 public void dumpAllDumpables(String prefix, PrintWriter writer, String[] args) { in dumpAllDumpables()
149 private void indentAndDump(IndentingPrintWriter writer, Dumpable dumpable, String[] args) { in indentAndDump()
162 public void dumpOneDumpable(String prefix, PrintWriter writer, String dumpableName, in dumpOneDumpable()
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java125 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testBeginSnapshot() local
140 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testEndSnapshot() local
154 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testStartTiming() local
197 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementLong() local
219 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementFloat() local
241 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementString() local
263 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testSimpleSequence() local
296 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testLongSequence() local
383 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testOutOfOrderSequence() local
/frameworks/base/tools/aapt2/format/
DArchive_test.cpp132 std::unique_ptr<IArchiveWriter> writer = MakeDirectoryWriter(output_path); in TEST_F() local
154 std::unique_ptr<IArchiveWriter> writer = MakeDirectoryWriter(output_path); in TEST_F() local
180 std::unique_ptr<IArchiveWriter> writer = MakeDirectoryWriter(output_path); in TEST_F() local
192 std::unique_ptr<IArchiveWriter> writer = MakeZipFileWriter(output_path); in TEST_F() local
214 std::unique_ptr<IArchiveWriter> writer = MakeZipFileWriter(output_path); in TEST_F() local
240 std::unique_ptr<IArchiveWriter> writer = MakeZipFileWriter(output_path); in TEST_F() local
253 std::unique_ptr<IArchiveWriter> writer = MakeZipFileWriter(output_path); in TEST_F() local
276 std::unique_ptr<IArchiveWriter> writer = MakeZipFileWriter(output_path); in TEST_F() local
299 std::unique_ptr<IArchiveWriter> writer = MakeZipFileWriter(output_path); in TEST_F() local
/frameworks/base/core/java/android/util/
DIndentingPrintWriter.java57 public IndentingPrintWriter(@NonNull Writer writer) { in IndentingPrintWriter()
61 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent) { in IndentingPrintWriter()
65 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
70 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
75 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
/frameworks/base/libs/androidfw/tests/
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
/frameworks/native/services/surfaceflinger/DisplayHardware/
DAidlComposerHal.cpp408 if (auto writer = getWriter(display)) { in acceptDisplayChanges() local
433 if (auto writer = getWriter(display)) { in createLayer() local
459 if (auto writer = getWriter(display)) { in destroyLayer() local
684 auto writer = getWriter(display); in presentDisplay() local
727 if (auto writer = getWriter(display)) { in setClientTarget() local
755 if (auto writer = getWriter(display)) { in setColorTransform() local
768 if (auto writer = getWriter(display)) { in setOutputBuffer() local
817 auto writer = getWriter(display); in validateDisplay() local
847 auto writer = getWriter(display); in presentOrValidateDisplay() local
890 if (auto writer = getWriter(display)) { in setCursorPosition() local
[all …]
/frameworks/base/tools/aapt2/io/
DUtil.cpp31 IArchiveWriter* writer) { in CopyInputStreamToArchive()
48 uint32_t compression_flags, IArchiveWriter* writer) { in CopyFileToArchive()
60 std::string_view out_path, IArchiveWriter* writer) { in CopyFileToArchivePreserveCompression()
67 IArchiveWriter* writer) { in CopyProtoToArchive()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DBasicTest.java69 StringWriter writer = new StringWriter(); in testSerializingWithBasicOpen() local
88 StringWriter writer = new StringWriter(); in testSerializingWithBasicClosed() local
137 private XmlSerializer getXmlSerializer(StringWriter writer) in getXmlSerializer()
DStatusTest.java72 StringWriter writer = new StringWriter(); in testSerializing() local
122 private XmlSerializer getXmlSerializer(StringWriter writer) in getXmlSerializer()
DTimestampTest.java72 StringWriter writer = new StringWriter(); in testSerializing() local
126 private XmlSerializer getXmlSerializer(StringWriter writer) in getXmlSerializer()
/frameworks/base/core/tests/coretests/src/android/util/
DTeeWriterTest.java34 final TeeWriter writer = new TeeWriter(); in testEmpty() local
44 final TeeWriter writer = new TeeWriter( in testSimple() local
/frameworks/base/core/java/com/android/internal/util/
DIndentingPrintWriter.java33 public IndentingPrintWriter(Writer writer, String singleIndent) { in IndentingPrintWriter()
37 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) { in IndentingPrintWriter()
41 public IndentingPrintWriter(Writer writer, String singleIndent, String prefix, int wrapLength) { in IndentingPrintWriter()
/frameworks/base/tools/aapt2/cmd/
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
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
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()
/frameworks/base/core/jni/
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
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
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
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/capabilities/
DVideoTest.java70 StringWriter writer = new StringWriter(); in testSerializing() local
126 private XmlSerializer getXmlSerializer(StringWriter writer) in getXmlSerializer()
DAudioTest.java70 StringWriter writer = new StringWriter(); in testSerializing() local
126 private XmlSerializer getXmlSerializer(StringWriter writer) in getXmlSerializer()
/frameworks/minikin/tests/unittest/
DBufferTest.cpp51 BufferWriter writer(buffer.data()); in TEST() local
81 BufferWriter writer(buffer.data()); in TEST() local
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DViewerConfigJsonBuilder.kt27 val writer = JsonWriter(stringWriter) in <lambda>() constant
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleWriterTests.cpp298 std::shared_ptr<MediaSampleWriter> writer = MediaSampleWriter::Create(); in TEST_F() local
303 std::shared_ptr<MediaSampleWriter> writer = MediaSampleWriter::Create(); in TEST_F() local
308 std::shared_ptr<MediaSampleWriter> writer = MediaSampleWriter::Create(); in TEST_F() local
315 std::shared_ptr<MediaSampleWriter> writer = MediaSampleWriter::Create(); in TEST_F() local
323 std::shared_ptr<MediaSampleWriter> writer = MediaSampleWriter::Create(); in TEST_F() local
342 std::shared_ptr<MediaSampleWriter> writer = MediaSampleWriter::Create(); in TEST_F() local
354 std::shared_ptr<MediaSampleWriter> writer = MediaSampleWriter::Create(); in TEST_F() local
370 std::shared_ptr<MediaSampleWriter> writer = MediaSampleWriter::Create(); in TEST_F() local
393 std::shared_ptr<MediaSampleWriter> writer = MediaSampleWriter::Create(); in TEST_F() local
521 std::shared_ptr<MediaSampleWriter> writer = MediaSampleWriter::Create(); in TEST_F() local
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/omapres/
DServiceIdTest.java72 StringWriter writer = new StringWriter(); in testSerializing() local
130 private XmlSerializer getXmlSerializer(StringWriter writer) in getXmlSerializer()

12345678910>>...12