Home
last modified time | relevance | path

Searched refs:dumpStream (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/print/java/com/android/server/print/
DUserState.java814 public void dump(@NonNull DualDumpOutputStream dumpStream) { in dump() argument
816 dumpStream.write("user_id", PrintUserStateProto.USER_ID, mUserId); in dump()
820 long token = dumpStream.start("installed_services", in dump()
825 writeComponentName(dumpStream, "component_name", in dump()
830 writeStringIfNotNull(dumpStream, "settings_activity", in dump()
833 writeStringIfNotNull(dumpStream, "add_printers_activity", in dump()
836 writeStringIfNotNull(dumpStream, "advanced_options_activity", in dump()
840 dumpStream.end(token); in dump()
844 writeComponentName(dumpStream, "disabled_services", in dump()
850 long token = dumpStream.start("actives_services", in dump()
[all …]
DRemotePrintSpooler.java559 public void dump(@NonNull DualDumpOutputStream dumpStream) { in dump() argument
561 dumpStream.write("is_destroyed", PrintSpoolerStateProto.IS_DESTROYED, mDestroyed); in dump()
562 dumpStream.write("is_bound", PrintSpoolerStateProto.IS_BOUND, mRemoteInstance != null); in dump()
566 if (dumpStream.isProto()) { in dump()
567 dumpStream.write(null, PrintSpoolerStateProto.INTERNAL_STATE, in dump()
570 dumpStream.writeNested("internal_state", TransferPipe.dumpAsync( in dump()
DPrintManagerService.java780 private void dump(@NonNull DualDumpOutputStream dumpStream, in dump() argument
784 long token = dumpStream.start("user_states", PrintServiceDumpProto.USER_STATES); in dump()
785 userStatesToDump.get(i).dump(dumpStream); in dump()
786 dumpStream.end(token); in dump()
789 dumpStream.flush(); in dump()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
DLogEulogizerTest.kt64 private val dumpStream = ByteArrayOutputStream() constant in com.android.systemui.dump.LogEulogizerTest
65 private val dumpWriter = PrintWriter(OutputStreamWriter(dumpStream))
143 assertTrue(dumpStream.toString().isNotBlank()) in testRecentFileIsDumped()
157 assertTrue(dumpStream.toString().isEmpty()) in testOldFileIsNotDumped()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java775 FileOutputStream dumpStream = null; in logBatteryStatsLocked() local
779 dumpStream = new FileOutputStream(dumpFile); in logBatteryStatsLocked()
780 batteryInfoService.dump(dumpStream.getFD(), DUMPSYS_ARGS); in logBatteryStatsLocked()
781 FileUtils.sync(dumpStream); in logBatteryStatsLocked()
791 if (dumpStream != null) { in logBatteryStatsLocked()
793 dumpStream.close(); in logBatteryStatsLocked()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp788 bool dumpStream = false; in main() local
819 dumpStream = true; in main()
1226 } else if (dumpStream) { in main()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java169 private void dumpLocked(@NonNull DualDumpOutputStream dumpStream) { in dumpLocked() argument
172 writePrintJobInfo(this, dumpStream, "print_jobs", in dumpLocked()
181 dumpStream.write("print_job_files", in dumpLocked()
192 writeComponentName(dumpStream, "approved_services", in dumpLocked()
198 dumpStream.flush(); in dumpLocked()