Home
last modified time | relevance | path

Searched refs:dumpStream (Results 1 – 6 of 6) 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.java779 private void dump(@NonNull DualDumpOutputStream dumpStream, in dump() argument
783 long token = dumpStream.start("user_states", PrintServiceDumpProto.USER_STATES); in dump()
784 userStatesToDump.get(i).dump(dumpStream); in dump()
785 dumpStream.end(token); in dump()
788 dumpStream.flush(); in dump()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java764 FileOutputStream dumpStream = null; in logBatteryStatsLocked() local
768 dumpStream = new FileOutputStream(dumpFile); in logBatteryStatsLocked()
769 batteryInfoService.dump(dumpStream.getFD(), DUMPSYS_ARGS); in logBatteryStatsLocked()
770 FileUtils.sync(dumpStream); in logBatteryStatsLocked()
780 if (dumpStream != null) { in logBatteryStatsLocked()
782 dumpStream.close(); in logBatteryStatsLocked()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp789 bool dumpStream = false; in main() local
820 dumpStream = true; in main()
1227 } 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()