/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AssetJsonWriter.java | 32 private JsonWriter mWriter; field in AssetJsonWriter 36 mWriter = new JsonWriter(mStringWriter); in AssetJsonWriter() 38 mWriter.beginObject(); in AssetJsonWriter() 56 mWriter.name(key.toLowerCase(Locale.US)); in writeFieldLower() 57 mWriter.value(value.toLowerCase(Locale.US)); in writeFieldLower() 77 mWriter.name(key.toLowerCase(Locale.US)); in writeArrayUpper() 78 mWriter.beginArray(); in writeArrayUpper() 80 mWriter.value(value.toUpperCase(Locale.US)); in writeArrayUpper() 82 mWriter.endArray(); in writeArrayUpper() 96 mWriter.endObject(); in closeAndGetString()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | ComposerHal.cpp | 165 : mWriter(kWriterInitialSize), in Composer() 245 mWriter.reset(); in resetCommands() 304 mWriter.selectDisplay(display); in acceptDisplayChanges() 305 mWriter.acceptDisplayChanges(); in acceptDisplayChanges() 543 mWriter.selectDisplay(display); in presentDisplay() 544 mWriter.presentDisplay(); in presentDisplay() 567 mWriter.selectDisplay(display); in setClientTarget() 577 mWriter.setClientTargetMetadata(metadata); in setClientTarget() 585 mWriter.setClientTarget(slot, handle, acquireFence, dataspace, damage); in setClientTarget() 608 mWriter.selectDisplay(display); in setColorTransform() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | LineBreakBufferedWriterTest.java | 32 private RecordingWriter mWriter; field in LineBreakBufferedWriterTest 38 mWriter = new RecordingWriter(); in setUp() 42 final LineBreakBufferedWriter lw = new LineBreakBufferedWriter(mWriter, 1000); in testLessThanBufferSize() 53 final LineBreakBufferedWriter lw = new LineBreakBufferedWriter(mWriter, 20); in testMoreThanBufferSizeNoLineBreaks() 61 List<String> result = mWriter.getStrings(); in testMoreThanBufferSizeNoLineBreaks() 75 final LineBreakBufferedWriter lw = new LineBreakBufferedWriter(mWriter, 20); in testMoreThanBufferSizeNoLineBreaksSingleString() 82 List<String> result = mWriter.getStrings(); in testMoreThanBufferSizeNoLineBreaksSingleString() 96 final LineBreakBufferedWriter lw = new LineBreakBufferedWriter(mWriter, 20); in testMoreThanBufferSizeLineBreakBefore() 108 final LineBreakBufferedWriter lw = new LineBreakBufferedWriter(mWriter, 20); in testMoreThanBufferSizeLineBreakBeforeSingleString() 119 final LineBreakBufferedWriter lw = new LineBreakBufferedWriter(mWriter, 20); in testMoreThanBufferSizeLineBreakNew() [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/ |
D | RawBackupWriterTest.java | 41 private BackupWriter mWriter; field in RawBackupWriterTest 47 mWriter = new RawBackupWriter(mOutput); in setUp() 52 mWriter.writeBytes(TEST_BYTES); in writeBytes_writesToOutputStream() 62 assertThrows(UnsupportedOperationException.class, () -> mWriter.writeChunk(0, 0)); in writeChunk_throwsUnsupportedOperationException() 67 mWriter.writeBytes(TEST_BYTES); in getBytesWritten_returnsTotalSum() 68 mWriter.writeBytes(TEST_BYTES); in getBytesWritten_returnsTotalSum() 70 long bytesWritten = mWriter.getBytesWritten(); in getBytesWritten_returnsTotalSum() 78 mWriter = new RawBackupWriter(mOutput); in flush_flushesOutputStream() 80 mWriter.flush(); in flush_flushesOutputStream()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | IndentingPrintWriterTest.java | 30 private PrintWriter mWriter; field in IndentingPrintWriterTest 37 mWriter = new PrintWriter(mStream); in setUp() 41 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testMultipleIndents() 63 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testAdjustIndentAfterNewline() 74 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, "", 10); in testWrapping() 86 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingIndented() 100 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingEmbeddedNewlines() 111 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingSingleGiant() 122 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingPrefixedGiant()
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 121 WriterTest() : mWriter(nullptr), mFileMeta(nullptr) {} in WriterTest() 128 if (mWriter) { in ~WriterTest() 129 mWriter.clear(); in ~WriterTest() 130 mWriter = nullptr; in ~WriterTest() 180 sp<MediaWriter> mWriter; member in WriterTest 224 mWriter = new OggWriter(fd); in createWriter() 228 mWriter = new AACWriter(fd); in createWriter() 232 mWriter = new AACWriter(fd); in createWriter() 236 mWriter = new WebmWriter(fd); in createWriter() 240 mWriter = new MPEG4Writer(fd); in createWriter() [all …]
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStatsParceler.java | 38 private HealthStatsWriter mWriter; field in HealthStatsParceler 54 mWriter = writer; in HealthStatsParceler() 67 if (mWriter != null) { in writeToParcel() 68 mWriter.flattenToParcel(out); in writeToParcel() 76 if (mWriter != null) { in getHealthStats() 78 mWriter.flattenToParcel(parcel); in getHealthStats()
|
/frameworks/av/media/libstagefright/ |
D | MediaMuxer.cpp | 53 mWriter = new MPEG4Writer(fd); in MediaMuxer() 55 mWriter = new WebmWriter(fd); in MediaMuxer() 57 mWriter = new OggWriter(fd); in MediaMuxer() 60 if (mWriter != NULL) { in MediaMuxer() 77 mWriter.clear(); in ~MediaMuxer() 98 status_t result = mWriter->addSource(newTrack); in addTrack() 105 result = mWriter->setCaptureRate(captureFps); in addTrack() 141 return static_cast<MPEG4Writer*>(mWriter.get())->setGeoData(latitude, longitude); in setLocation() 149 return mWriter->start(mFileMeta.get()); in start() 166 return mWriter->stop(); in stop()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/ |
D | DiffScriptBackupWriter.java | 32 private final SingleStreamDiffScriptWriter mWriter; field in DiffScriptBackupWriter 48 mWriter = writer; in DiffScriptBackupWriter() 54 mWriter.writeByte(b); in writeBytes() 62 mWriter.writeChunk(start, length); in writeChunk() 73 mWriter.flush(); in flush()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | CacheQuotaStrategyTest.java | 39 StringWriter mWriter; field in CacheQuotaStrategyTest 44 mWriter = new StringWriter(); in setUp() 46 mOut.setOutput(mWriter); in setUp() 54 assertThat(mWriter.toString()).isEqualTo( in testEmptyWrite() 67 assertThat(mWriter.toString()).isEqualTo( in testWriteOneQuota() 83 assertThat(mWriter.toString()).isEqualTo( in testWriteMultipleQuotas() 100 assertThat(mWriter.toString()).isEqualTo( in testNullUuidDoesntCauseCrash()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FastPrintWriter.java | 63 final private Writer mWriter; field in FastPrintWriter 130 mWriter = null; in FastPrintWriter() 199 mWriter = wr; in FastPrintWriter() 242 mWriter = null; in FastPrintWriter() 380 } else if (mWriter != null) { in flushLocked() 382 mWriter.write(mText, 0, mPos); in flushLocked() 383 mWriter.flush(); in flushLocked() 416 } else if (mWriter != null) { 417 mWriter.flush(); 434 } else if (mWriter != null) { [all …]
|
D | FastXmlSerializer.java | 62 private Writer mWriter; field in FastXmlSerializer 277 mWriter.write(mText, 0, mPos); in flush() 278 mWriter.flush(); in flush() 355 mWriter = writer; in setOutput()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 1634 private final @NonNull PrintWriter mWriter; field in HistoricalRegistry.StringDumpVisitor 1646 mWriter = writer; in StringDumpVisitor() 1654 mWriter.println(); in visitHistoricalOps() 1655 mWriter.print(mOpsPrefix); in visitHistoricalOps() 1656 mWriter.println("snapshot:"); in visitHistoricalOps() 1657 mWriter.print(mUidPrefix); in visitHistoricalOps() 1658 mWriter.print("begin = "); in visitHistoricalOps() 1660 mWriter.print(mDateFormatter.format(mDate)); in visitHistoricalOps() 1661 mWriter.print(" ("); in visitHistoricalOps() 1662 TimeUtils.formatDuration(ops.getBeginTimeMillis() - mNow, mWriter); in visitHistoricalOps() local [all …]
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_composer_client.cpp | 76 mWriter.setError(getCommandLoc(), err); in executeSetLayerInfo() 89 mWriter.setError(getCommandLoc(), err); in executeSetClientTargetMetadata() 102 mWriter.setError(getCommandLoc(), err); in executeSetLayerBufferMetadata()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 115 mWriter(NULL), in StagefrightRecorder() 406 if (mWriter == nullptr) { in setNextOutputFile() 414 return mWriter->setNextFd(fd); in setNextOutputFile() 1001 if (mWriter == NULL) { in start() 1018 status = mWriter->start(meta.get()); in start() 1033 status = mWriter->start(meta.get()); in start() 1046 mWriter.clear(); in start() 1047 mWriter = NULL; in start() 1186 mWriter = new AACWriter(mOutputFd); in setupAACRecording() 1193 mWriter = new OggWriter(mOutputFd); in setupOggRecording() [all …]
|
D | StagefrightRecorder.h | 94 sp<MediaWriter> mWriter; member
|
/frameworks/av/cmds/stagefright/ |
D | stream.cpp | 148 sp<MPEG2TSWriter> mWriter; member 174 mWriter = new MPEG2TSWriter( in MyConvertingStreamSource() 193 CHECK_EQ(mWriter->addSource(track), (status_t)OK); in MyConvertingStreamSource() 196 CHECK_EQ(mWriter->start(), (status_t)OK); in MyConvertingStreamSource() 264 if (mWriter->reachedEOS()) { in onBufferAvailable()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestRunner.java | 260 private final PrintStream mWriter; field in UiAutomatorTestRunner.WatcherResultPrinter 268 mWriter = new PrintStream(mStream); in WatcherResultPrinter() 269 mPrinter = new SimpleResultPrinter(mWriter, false); in WatcherResultPrinter() 355 mWriter.close(); in print() 361 mWriter.println(String.format("Test run aborted due to unexpected exception: %s", in printUnexpectedError() 363 t.printStackTrace(mWriter); in printUnexpectedError()
|
/frameworks/base/cmds/incidentd/src/ |
D | Reporter.cpp | 475 mWriter(batch), in Reporter() 521 mWriter.setMaxPersistedPrivacyPolicy(persistedPrivacyPolicy); in runReport() 533 mWriter.setPersistedFile(mPersistedFile); in runReport() 600 mWriter.startSection(sectionId); in runReport() 601 err = (*section)->Execute(&mWriter); in runReport() 602 mWriter.endSection(sectionMetadata); in runReport() 606 mWriter.error((*section), err, "Section failed. Stopping report."); in runReport() 697 mWriter.setPersistedFile(nullptr); in cancel_and_remove_failed_requests()
|
D | Reporter.h | 263 ReportWriter mWriter; variable
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDocumentsProvider.java | 769 private MtpFileWriter mWriter; field in MtpDocumentsProvider.MtpProxyFileDescriptorCallback 812 if (mWriter == null) { in onWrite() 813 mWriter = new MtpFileWriter(mContext, String.valueOf(mInode)); in onWrite() 815 return mWriter.write(offset, size, data); in onWrite() 836 if (mWriter != null) { in onRelease() 837 IoUtils.closeQuietly(mWriter); in onRelease() 844 if (mWriter != null) { in tryFsync() 847 mWriter.getDocumentId()).mDeviceId).mDeviceRecord; in tryFsync() 848 mWriter.flush(mMtpManager, mDatabase, device.operationsSupported); in tryFsync()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 49 protected final DelayedDiskWrite mWriter; field in IpConfigStore 67 mWriter = writer; in IpConfigStore() 184 mWriter.write(filePath, out -> { in writeIpAndProxyConfigurationsToFile() 194 mWriter.write(filePath, out -> { in writeIpConfigurations()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaMuxer.h | 122 sp<MediaWriter> mWriter; member
|
/frameworks/base/media/java/android/media/ |
D | MediaScanner.java | 530 private String mWriter; field in MediaScanner.MyMediaScannerClient 606 mWriter = null; in beginFile() 772 mWriter = value.trim();
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 357 private final ImageWriter mWriter; field in CameraTestUtils.SimpleImageWriterListener 360 if (writer != mWriter) { in onImageReleased() 374 mWriter = writer; in SimpleImageWriterListener()
|