Home
last modified time | relevance | path

Searched refs:mDumpables (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/dump/
DDumpableContainerImpl.java42 private final ArrayMap<String, Dumpable> mDumpables = new ArrayMap<>(); field in DumpableContainerImpl
50 if (mDumpables.containsKey(name)) { in addDumpable()
53 + " with that name (" + name + "): " + mDumpables.get(name)); in addDumpable()
61 mDumpables.put(name, dumpable); in addDumpable()
76 Dumpable candidate = mDumpables.get(name); in removeDumpable()
93 mDumpables.remove(name); in removeDumpable()
101 int size = mDumpables.size(); in dumpNumberDumpables()
123 ipw.print(mDumpables.keyAt(i)); in listDumpables()
142 String dumpableName = mDumpables.keyAt(i); in dumpAllDumpables()
144 Dumpable dumpable = mDumpables.valueAt(i); in dumpAllDumpables()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDumpableDumperRule.java42 private final List<Dumpable> mDumpables = new ArrayList<>(); field in DumpableDumperRule
50 mDumpables.add(dumpable); in addDumpable()
81 if (mDumpables.isEmpty()) {
84 Log.w(TAG, "Dumping " + mDumpables.size() + " dumpable(s). Reason: " + reason);
85 mDumpables.forEach(d -> logDumpable(d));
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sysui/
DShellCommandHandler.java37 private final TreeMap<String, BiConsumer<PrintWriter, String>> mDumpables = new TreeMap<>(); field in ShellCommandHandler
65 mDumpables.put(instance.getClass().getSimpleName(), callback); in addDumpCallback()
86 for (String key : mDumpables.keySet()) { in dump()
87 final BiConsumer<PrintWriter, String> r = mDumpables.get(key); in dump()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorService.java141 private final List<Dumpable> mDumpables = new ArrayList<>(); field in TimeZoneDetectorService
412 synchronized (mDumpables) { in addDumpable()
413 mDumpables.add(dumpable); in addDumpable()
432 synchronized (mDumpables) { in dump()
433 for (Dumpable dumpable : mDumpables) { in dump()
/frameworks/base/services/java/com/android/server/
DSystemServer.java708 private final ArrayMap<String, Dumpable> mDumpables = new ArrayMap<>(4); field in SystemServer.SystemServerDumper
714 synchronized (mDumpables) { in dump()
716 final int dumpablesSize = mDumpables.size(); in dump()
718 pw.println(mDumpables.keyAt(i)); in dump()
729 final Dumpable dumpable = mDumpables.get(name); in dump()
743 final int dumpablesSize = mDumpables.size(); in dump()
746 final Dumpable dumpable = mDumpables.valueAt(i); in dump()
758 synchronized (mDumpables) { in addDumpable()
759 mDumpables.put(dumpable.getDumpableName(), dumpable); in addDumpable()