Home
last modified time | relevance | path

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

12345678

/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/tests/coretests/src/android/os/
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
/frameworks/base/tools/aapt2/cmd/
DConvert.cpp71 IArchiveWriter* writer, uint32_t compression_flags) override { in SerializeXml()
83 bool SerializeTable(ResourceTable* table, IArchiveWriter* writer) override { in SerializeTable()
95 bool SerializeFile(FileReference* file, IArchiveWriter* writer) override { in SerializeFile()
153 IArchiveWriter* writer, uint32_t compression_flags) override { in SerializeXml()
159 bool SerializeTable(ResourceTable* table, IArchiveWriter* writer) override { in SerializeTable()
166 bool SerializeFile(FileReference* file, IArchiveWriter* writer) override { in SerializeFile()
371 unique_ptr<IArchiveWriter> writer = CreateZipFileArchiveWriter(context.GetDiagnostics(), in Action() local
DCompile.cpp143 const ResourcePathData& path_data, io::IFile* file, IArchiveWriter* writer, in CompileTable()
290 io::KnownSizeInputStream* in, IArchiveWriter* writer, in WriteHeaderAndDataToWriter()
357 const ResourcePathData& path_data, io::IFile* file, IArchiveWriter* writer, in CompileXml()
457 const ResourcePathData& path_data, io::IFile* file, IArchiveWriter* writer, in CompilePng()
565 const ResourcePathData& path_data, io::IFile* file, IArchiveWriter* writer, in CompileFile()
/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/base/tools/aapt2/io/
DUtil.cpp30 uint32_t compression_flags, IArchiveWriter* writer) { in CopyInputStreamToArchive()
45 uint32_t compression_flags, IArchiveWriter* writer) { in CopyFileToArchive()
56 const std::string& out_path, IArchiveWriter* writer) { in CopyFileToArchivePreserveCompression()
63 IArchiveWriter* writer) { in CopyProtoToArchive()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/
DDiffScriptBackupWriter.java40 SingleStreamDiffScriptWriter writer = in newInstance() local
47 DiffScriptBackupWriter(SingleStreamDiffScriptWriter writer) { in DiffScriptBackupWriter()
DLengthlessEncryptedChunkEncoder.java36 public void writeChunkToWriter(BackupWriter writer, EncryptedChunk chunk) throws IOException { in writeChunkToWriter()
DEncryptedChunkEncoder.java31 void writeChunkToWriter(BackupWriter writer, EncryptedChunk chunk) throws IOException; in writeChunkToWriter()
DInlineLengthsEncryptedChunkEncoder.java39 public void writeChunkToWriter(BackupWriter writer, EncryptedChunk chunk) throws IOException { in writeChunkToWriter()
/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/cmds/statsd/tests/log_event/
DLogEventQueue_test.cpp36 std::thread writer([&queue, timeBaseNs] { in TEST() local
62 std::thread writer([&queue, timeBaseNs] { in TEST() local
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
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()
/frameworks/base/core/tests/coretests/src/android/util/
DLocalLogTest.java101 PrintWriter writer = new PrintWriter(buffer); in dump() local
108 PrintWriter writer = new PrintWriter(buffer); in reverseDump() local
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java128 public void dump(PrintWriter writer) { in dump()
278 public void dump(PrintWriter writer) { in dump()
363 public void dump(PrintWriter writer) { in dump()
/frameworks/base/tools/hiddenapi/
Dmerge_csv.py64 writer = csv.DictWriter(args.output, delimiter=',', quotechar='|', quoting=csv.QUOTE_MINIMAL, variable
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.cpp97 ChunkWriter writer(buffer_); in Visit() local
187 ChunkWriter writer(buffer_); in WriteNamespace() local
201 ChunkWriter* writer) { in WriteAttributes()
/frameworks/base/libs/androidfw/
DZipUtils.cpp129 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer() local
137 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer() local
145 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer() local
/frameworks/base/core/java/com/android/internal/util/
DIndentingPrintWriter.java53 public IndentingPrintWriter(Writer writer, String singleIndent) { in IndentingPrintWriter()
57 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) { in IndentingPrintWriter()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseErrorHandlerTest.java68 BufferedWriter writer = new BufferedWriter(new FileWriter(mDatabaseFile.getPath())); in testDatabaseIsCorrupt() local
/frameworks/base/core/java/android/os/health/
DHealthStatsParceler.java53 public HealthStatsParceler(HealthStatsWriter writer) { in HealthStatsParceler()
/frameworks/base/test-base/src/junit/framework/
DTestFailure.java47 PrintWriter writer= new PrintWriter(stringWriter); in trace() local
/frameworks/base/core/java/android/app/
DVoiceInteractor.java310 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump()
382 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump()
576 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump()
653 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump()
712 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump()
767 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump()
1173 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump()
/frameworks/base/tools/aapt2/format/
DArchive.cpp254 std::unique_ptr<DirectoryWriter> writer = util::make_unique<DirectoryWriter>(); in CreateDirectoryArchiveWriter() local
264 std::unique_ptr<ZipFileWriter> writer = util::make_unique<ZipFileWriter>(); in CreateZipFileArchiveWriter() local

12345678