Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyStateController.java103 void dump(DualDumpOutputStream dumpStream) { in dump() argument
105 mAllSensorStateController.dumpLocked(dumpStream); in dump()
106 dumpLocked(dumpStream); in dump()
108 dumpStream.flush(); in dump()
156 abstract void dumpLocked(DualDumpOutputStream dumpStream); in dumpLocked() argument
DPersistedState.java326 void dump(DualDumpOutputStream dumpStream) { in dump() argument
343 dumpStream.write("storage_implementation", in dump()
350 long userToken = dumpStream.start("users", SensorPrivacyServiceDumpProto.USER); in dump()
351 dumpStream.write("user_id", SensorPrivacyUserProto.USER_ID, userId); in dump()
358 long sensorToken = dumpStream.start("sensors", SensorPrivacyUserProto.SENSORS); in dump()
359 dumpStream.write("sensor", SensorPrivacySensorProto.SENSOR, sensor); in dump()
360 long toggleToken = dumpStream.start("toggles", SensorPrivacySensorProto.TOGGLES); in dump()
361 dumpStream.write("toggle_type", in dump()
364 dumpStream.write("state_type", in dump()
367 dumpStream.write("last_change", in dump()
[all …]
DSensorPrivacyStateControllerImpl.java159 void dumpLocked(DualDumpOutputStream dumpStream) { in dumpLocked() argument
160 mPersistedState.dump(dumpStream); in dumpLocked()
DAllSensorStateController.java152 void dumpLocked(@NonNull DualDumpOutputStream dumpStream) { in dumpLocked() argument
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java827 public void dump(@NonNull DualDumpOutputStream dumpStream) { in dump() argument
829 dumpStream.write("user_id", PrintUserStateProto.USER_ID, mUserId); in dump()
833 long token = dumpStream.start("installed_services", in dump()
838 writeComponentName(dumpStream, "component_name", in dump()
843 writeStringIfNotNull(dumpStream, "settings_activity", in dump()
846 writeStringIfNotNull(dumpStream, "add_printers_activity", in dump()
849 writeStringIfNotNull(dumpStream, "advanced_options_activity", in dump()
853 dumpStream.end(token); in dump()
857 writeComponentName(dumpStream, "disabled_services", in dump()
863 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.java841 private void dump(@NonNull DualDumpOutputStream dumpStream, in dump() argument
845 long token = dumpStream.start("user_states", PrintServiceDumpProto.USER_STATES); in dump()
846 userStatesToDump.get(i).dump(dumpStream); in dump()
847 dumpStream.end(token); in dump()
850 dumpStream.flush(); in dump()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
DLogEulogizerTest.kt70 private val dumpStream = ByteArrayOutputStream() constant in com.android.systemui.dump.LogEulogizerTest
71 private val dumpWriter = PrintWriter(OutputStreamWriter(dumpStream))
161 assertTrue(dumpStream.toString().isNotBlank()) in testRecentFileIsDumped()
175 assertTrue(dumpStream.toString().isEmpty()) in testOldFileIsNotDumped()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java871 FileOutputStream dumpStream = null; in logBatteryStatsLocked() local
875 dumpStream = new FileOutputStream(dumpFile); in logBatteryStatsLocked()
876 batteryInfoService.dump(dumpStream.getFD(), DUMPSYS_ARGS); in logBatteryStatsLocked()
877 FileUtils.sync(dumpStream); in logBatteryStatsLocked()
887 if (dumpStream != null) { in logBatteryStatsLocked()
889 dumpStream.close(); in logBatteryStatsLocked()
/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()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp804 bool dumpStream = false; in main() local
836 dumpStream = true; in main()
1293 } else if (dumpStream) { in main()