Home
last modified time | relevance | path

Searched refs:dump (Results 1 – 25 of 1428) sorted by relevance

12345678910>>...58

/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java26 import static com.android.internal.util.dump.DumpUtils.writeStringIfNotNull;
46 import com.android.internal.util.dump.DualDumpOutputStream;
50 public static void writeAccessory(@NonNull DualDumpOutputStream dump, @NonNull String idName, in writeAccessory() argument
52 long token = dump.start(idName, id); in writeAccessory()
54 dump.write("manufacturer", UsbAccessoryProto.MANUFACTURER, accessory.getManufacturer()); in writeAccessory()
55 dump.write("model", UsbAccessoryProto.MODEL, accessory.getModel()); in writeAccessory()
56 writeStringIfNotNull(dump, "description", UsbAccessoryProto.DESCRIPTION, in writeAccessory()
58 dump.write("version", UsbAccessoryProto.VERSION, accessory.getVersion()); in writeAccessory()
59 writeStringIfNotNull(dump, "uri", UsbAccessoryProto.URI, accessory.getUri()); in writeAccessory()
60 dump.write("serial", UsbAccessoryProto.SERIAL, accessory.getSerial()); in writeAccessory()
[all …]
/frameworks/ml/nn/common/
DGraphDump.cpp126 void tryValueDump(Dumper& dump, const Model& model, const Operand& opnd) { in tryValueDump() argument
134 dump << " = " << val; in tryValueDump()
144 Dumper dump(outStream); in graphDump() local
146 dump << "// " << name << Dumper::endl; in graphDump()
147 dump << "digraph {" << Dumper::endl; in graphDump()
160 dump << "// NOTE: " << model.referenced.size() << " subgraphs omitted" << Dumper::endl; in graphDump()
161 dump << "// TODO(b/147661714): Add subgraph support to GraphDump" << Dumper::endl; in graphDump()
166 dump << " d" << i << " ["; in graphDump()
168 dump << "style=filled fillcolor=black fontcolor=white "; in graphDump()
170 dump << "label=\""; in graphDump()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DPriorityDumpTest.java19 import static com.android.server.utils.PriorityDump.dump;
64 dump(mDumper, mFd, mPw, null); in testNullArgs()
65 verify(mDumper).dump(same(mFd), same(mPw), eq(null), /* asProto= */ eq(false)); in testNullArgs()
70 dump(mDumper, mFd, mPw, EMPTY_ARGS); in testNoArgs()
71 verify(mDumper).dump(same(mFd), same(mPw), eq(EMPTY_ARGS), /* asProto= */ eq(false)); in testNoArgs()
79 dump(mDumper, mFd, mPw, args); in testNonPriorityArgs()
80 verify(mDumper).dump(same(mFd), same(mPw), eq(args), /* asProto= */ eq(false)); in testNonPriorityArgs()
88 dump(mDumper, mFd, mPw, args); in testMissingPriority()
89 verify(mDumper).dump(same(mFd), same(mPw), eq(EMPTY_ARGS), /* asProto= */ eq(false)); in testMissingPriority()
97 dump(mDumper, mFd, mPw, args); in testInvalidPriorityNoExtraArgs()
[all …]
/frameworks/av/services/audioflinger/
DStateQueue.h111 void dump(int fd);
122 void dump(int fd);
178 void setObserverDump(StateQueueObserverDump *dump) in setObserverDump() argument
179 { mObserverDump = dump != NULL ? dump : &mObserverDummyDump; } in setObserverDump()
182 void setMutatorDump(StateQueueMutatorDump *dump) in setMutatorDump() argument
183 { mMutatorDump = dump != NULL ? dump : &mMutatorDummyDump; } in setMutatorDump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp41 void ClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() function in android::ClientDescriptor
53 void TrackClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() function in android::TrackClientDescriptor
55 ClientDescriptor::dump(dst, spaces, index); in dump()
77 void RecordClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() function in android::RecordClientDescriptor
79 ClientDescriptor::dump(dst, spaces, index); in dump()
81 mEnabledEffects.dump(dst, spaces + 2 /*spaces*/, false /*verbose*/); in dump()
105 void SourceClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() function in android::SourceClientDescriptor
107 TrackClientDescriptor::dump(dst, spaces, index); in dump()
109 mSrcDevice->dump(dst, 2, 0); in dump()
112 void SourceClientCollection::dump(String8 *dst) const in dump() function in android::SourceClientCollection
[all …]
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.cpp33 void InputMapper::dump(std::string& dump) {} in dump() function in android::InputMapper
84 void InputMapper::dumpRawAbsoluteAxisInfo(std::string& dump, const RawAbsoluteAxisInfo& axis, in dumpRawAbsoluteAxisInfo() argument
87 dump += StringPrintf(INDENT4 "%s: min=%d, max=%d, flat=%d, fuzz=%d, resolution=%d\n", name, in dumpRawAbsoluteAxisInfo()
90 dump += StringPrintf(INDENT4 "%s: unknown range\n", name); in dumpRawAbsoluteAxisInfo()
94 void InputMapper::dumpStylusState(std::string& dump, const StylusState& state) { in dumpStylusState() argument
95 dump += StringPrintf(INDENT4 "When: %" PRId64 "\n", state.when); in dumpStylusState()
96 dump += StringPrintf(INDENT4 "Pressure: %f\n", state.pressure); in dumpStylusState()
97 dump += StringPrintf(INDENT4 "Button State: 0x%08x\n", state.buttons); in dumpStylusState()
98 dump += StringPrintf(INDENT4 "Tool Type: %" PRId32 "\n", state.toolType); in dumpStylusState()
DCursorInputMapper.cpp93 void CursorInputMapper::dump(std::string& dump) { in dump() function in android::CursorInputMapper
94 dump += INDENT2 "Cursor Input Mapper:\n"; in dump()
95 dumpParameters(dump); in dump()
96 dump += StringPrintf(INDENT3 "XScale: %0.3f\n", mXScale); in dump()
97 dump += StringPrintf(INDENT3 "YScale: %0.3f\n", mYScale); in dump()
98 dump += StringPrintf(INDENT3 "XPrecision: %0.3f\n", mXPrecision); in dump()
99 dump += StringPrintf(INDENT3 "YPrecision: %0.3f\n", mYPrecision); in dump()
100 dump += StringPrintf(INDENT3 "HaveVWheel: %s\n", in dump()
102 dump += StringPrintf(INDENT3 "HaveHWheel: %s\n", in dump()
104 dump += StringPrintf(INDENT3 "VWheelScale: %0.3f\n", mVWheelScale); in dump()
[all …]
DExternalStylusInputMapper.cpp38 void ExternalStylusInputMapper::dump(std::string& dump) { in dump() argument
39 dump += INDENT2 "External Stylus Input Mapper:\n"; in dump()
40 dump += INDENT3 "Raw Stylus Axes:\n"; in dump()
41 dumpRawAbsoluteAxisInfo(dump, mRawPressureAxis, "Pressure"); in dump()
42 dump += INDENT3 "Stylus State:\n"; in dump()
43 dumpStylusState(dump, mStylusState); in dump()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DDumpControllerTest.kt60 controller.dump(fd, pw, args) in testListenerOnlyAddedOnce()
61 verify(callback1 /* only once */).dump(fd, pw, args) in testListenerOnlyAddedOnce()
71 controller.dump(fd, pw, args) in testListenersCalledOnDump()
73 verify(callback1 /* only once */).dump(fd, pw, args) in testListenersCalledOnDump()
74 verify(callback2 /* only once */).dump(fd, pw, args) in testListenersCalledOnDump()
85 controller.dump(fd, pw, args) in testRemoveListener()
87 verify(callback1, never()).dump(any(), any(), any()) in testRemoveListener()
88 verify(callback2 /* only once */).dump(fd, pw, args) in testRemoveListener()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp624 void InputReader::dump(std::string& dump) { in dump() argument
627 mEventHub->dump(dump); in dump()
628 dump += "\n"; in dump()
630 dump += "Input Reader State:\n"; in dump()
633 mDevices.valueAt(i)->dump(dump); in dump()
636 dump += INDENT "Configuration:\n"; in dump()
637 dump += INDENT2 "ExcludedDeviceNames: ["; in dump()
640 dump += ", "; in dump()
642 dump += mConfig.excludedDeviceNames[i]; in dump()
644 dump += "]\n"; in dump()
[all …]
DInputDevice.cpp67 void InputDevice::dump(std::string& dump) { in dump() argument
71 dump += StringPrintf(INDENT "Device %d: %s\n", deviceInfo.getId(), in dump()
73 dump += StringPrintf(INDENT2 "Generation: %d\n", mGeneration); in dump()
74 dump += StringPrintf(INDENT2 "IsExternal: %s\n", toString(mIsExternal)); in dump()
75 dump += StringPrintf(INDENT2 "AssociatedDisplayPort: "); in dump()
77 dump += StringPrintf("%" PRIu8 "\n", *mAssociatedDisplayPort); in dump()
79 dump += "<none>\n"; in dump()
81 dump += StringPrintf(INDENT2 "HasMic: %s\n", toString(mHasMic)); in dump()
82 dump += StringPrintf(INDENT2 "Sources: 0x%08x\n", deviceInfo.getSources()); in dump()
83 dump += StringPrintf(INDENT2 "KeyboardType: %d\n", deviceInfo.getKeyboardType()); in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java307 JSONObject dump = new JSONObject(); in dumpJson() local
316 dump.put("current", aggregatedStats); in dumpJson()
323 dump.put("historical", mSQLiteLog.dumpJson(filter)); in dumpJson()
328 return dump; in dumpJson()
340 public synchronized void dump(PrintWriter pw, String indent, DumpFilter filter) { in dump() method in NotificationUsageStats
345 as.dump(pw, indent); in dump()
351 mSQLiteLog.dump(pw, indent, filter); in dump()
587 public void dump(PrintWriter pw, String indent) { in dump() method in NotificationUsageStats.AggregatedStats
692 JSONObject dump = new JSONObject(); in dumpJson() local
693 dump.put("key", key); in dumpJson()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaDevice.java26 import com.android.internal.util.dump.DualDumpOutputStream;
247 public synchronized void dump(@NonNull DualDumpOutputStream dump, String idName, long id) { in dump() argument
248 long token = dump.start(idName, id); in dump()
250 dump.write("card", UsbAlsaDeviceProto.CARD, mCardNum); in dump()
251 dump.write("device", UsbAlsaDeviceProto.DEVICE, mDeviceNum); in dump()
252 dump.write("name", UsbAlsaDeviceProto.NAME, mDeviceName); in dump()
253 dump.write("has_output", UsbAlsaDeviceProto.HAS_PLAYBACK, mHasOutput); in dump()
254 dump.write("has_input", UsbAlsaDeviceProto.HAS_CAPTURE, mHasInput); in dump()
255 dump.write("address", UsbAlsaDeviceProto.ADDRESS, mDeviceAddress); in dump()
257 dump.end(token); in dump()
DUsbPermissionManager.java38 import com.android.internal.util.dump.DualDumpOutputStream;
211 void dump(@NonNull DualDumpOutputStream dump) { in dump() argument
214 long devicePermissionToken = dump.start("device_permissions", in dump()
217 dump.write("device_name", UsbSettingsDevicePermissionProto.DEVICE_NAME, deviceName); in dump()
222 dump.write("uids", UsbSettingsDevicePermissionProto.UIDS, uidList.keyAt(i)); in dump()
225 dump.end(devicePermissionToken); in dump()
229 long accessoryPermissionToken = dump.start("accessory_permissions", in dump()
232 dump.write("accessory_description", in dump()
239 dump.write("uids", UsbSettingsAccessoryPermissionProto.UIDS, uidList.keyAt(i)); in dump()
242 dump.end(accessoryPermissionToken); in dump()
DUsbHostManager.java20 import static com.android.internal.util.dump.DumpUtils.writeComponentName;
41 import com.android.internal.util.dump.DualDumpOutputStream;
123 void dump(@NonNull DualDumpOutputStream dump, String idName, long id) { in dump() argument
124 long token = dump.start(idName, id); in dump()
126 dump.write("device_address", UsbConnectionRecordProto.DEVICE_ADDRESS, mDeviceAddress); in dump()
127 dump.write("mode", UsbConnectionRecordProto.MODE, mMode); in dump()
128 dump.write("timestamp", UsbConnectionRecordProto.TIMESTAMP, mTimestamp); in dump()
135 dump.write("manufacturer", UsbConnectionRecordProto.MANUFACTURER, in dump()
137 dump.write("product", UsbConnectionRecordProto.PRODUCT, in dump()
139 long isHeadSetToken = dump.start("is_headset", UsbConnectionRecordProto.IS_HEADSET); in dump()
[all …]
DUsbUserSettingsManager.java19 import static com.android.internal.util.dump.DumpUtils.writeComponentName;
50 import com.android.internal.util.dump.DualDumpOutputStream;
377 public void dump(@NonNull DualDumpOutputStream dump, @NonNull String idName, long id) { in dump() method in UsbUserSettingsManager
378 long token = dump.start(idName, id); in dump()
381 dump.write("user_id", UsbUserSettingsManagerProto.USER_ID, mUser.getIdentifier()); in dump()
383 mUsbPermissionManager.dump(dump); in dump()
391 long deviceAttachedActivityToken = dump.start("device_attached_activities", in dump()
394 writeComponentName(dump, "activity", UsbDeviceAttachedActivities.ACTIVITY, in dump()
403 deviceFilters.get(filterNum).dump(dump, "filters", in dump()
408 dump.end(deviceAttachedActivityToken); in dump()
[all …]
DUsbSettingsManager.java34 import com.android.internal.util.dump.DualDumpOutputStream;
145 void dump(@NonNull DualDumpOutputStream dump, String idName, long id) { in dump() argument
146 long token = dump.start(idName, id); in dump()
152 getSettingsForUser(users.get(i).id).dump(dump, "user_settings", in dump()
160 mSettingsByProfileGroup.valueAt(i).dump(dump, "profile_group_settings", in dump()
165 dump.end(token); in dump()
/frameworks/av/media/libaudioclient/tests/
Drecord_test_output_v1.0_ref_walleye.txt3 AudioRecord::dump
12 AudioRecord::dump
21 AudioRecord::dump
30 AudioRecord::dump
39 AudioRecord::dump
48 AudioRecord::dump
57 AudioRecord::dump
66 AudioRecord::dump
75 AudioRecord::dump
84 AudioRecord::dump
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_GraphicsStatsService.cpp36 GraphicsStatsService::Dump* dump = GraphicsStatsService::createDump(fd, isProto in createDump() local
38 return reinterpret_cast<jlong>(dump); in createDump()
60 GraphicsStatsService::Dump* dump = reinterpret_cast<GraphicsStatsService::Dump*>(dumpPtr); in addToDump() local
61 LOG_ALWAYS_FATAL_IF(!dump, "null passed for dump pointer"); in addToDump()
64 GraphicsStatsService::addToDump(dump, path, package, versionCode, startTime, endTime, data); in addToDump()
71 GraphicsStatsService::Dump* dump = reinterpret_cast<GraphicsStatsService::Dump*>(dumpPtr); in addFileToDump() local
72 GraphicsStatsService::addToDump(dump, path); in addFileToDump()
76 GraphicsStatsService::Dump* dump = reinterpret_cast<GraphicsStatsService::Dump*>(dumpPtr); in finishDump() local
77 GraphicsStatsService::finishDump(dump); in finishDump()
/frameworks/base/core/java/android/util/
DLocalLog.java79 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() method in LocalLog
80 dump(pw); in dump()
83 public synchronized void dump(PrintWriter pw) { in dump() method in LocalLog
107 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() method in LocalLog.ReadOnlyLocalLog
108 mLog.dump(pw); in dump()
110 public void dump(PrintWriter pw) { in dump() method in LocalLog.ReadOnlyLocalLog
111 mLog.dump(pw); in dump()
/frameworks/av/services/audiopolicy/engine/common/src/
DVolumeGroup.cpp40 void VolumeGroup::dump(String8 *dst, int spaces) const in dump() function in android::VolumeGroup
43 mGroupVolumeCurves.dump(dst, spaces + 2, true); in dump()
44 mGroupVolumeCurves.dump(dst, spaces + 2, false); in dump()
66 void VolumeGroupMap::dump(String8 *dst, int spaces) const in dump() function in android::VolumeGroupMap
70 iter.second->dump(dst, spaces + 2); in dump()
/frameworks/av/media/libeffects/config/src/
DEffectsConfig.cpp55 const char* dump(const XMLElement& element, XMLPrinter&& printer = {}) { in dump() function
149 ALOGE("library must have a name and a path: %s", dump(xmlLibrary)); in parseLibrary()
174 ALOGE("%s must have a name: %s", xmlEffect.Value(), dump(xmlEffect)); in parseEffect()
185 ALOGE("effect must have a library name and a uuid: %s", dump(xmlImpl)); in parseEffect()
192 ALOGE("Could not find library referenced in: %s", dump(xmlImpl)); in parseEffect()
198 ALOGE("Invalid uuid in: %s", dump(xmlImpl)); in parseEffect()
217 ALOGE("effectProxy must contain a <%s>: %s", tag, dump(xmlEffect)); in parseEffect()
238 ALOGE("stream must have a type: %s", dump(xmlStream)); in parseStream()
243 ALOGE("Invalid <stream|device> type %s: %s", streamType, dump(xmlStream)); in parseStream()
250 ALOGE("<stream|device>/apply must have reference an effect: %s", dump(xmlApply)); in parseStream()
[all …]
/frameworks/base/core/java/android/hardware/usb/
DAccessoryFilter.java22 import com.android.internal.util.dump.DualDumpOutputStream;
154 public void dump(@NonNull DualDumpOutputStream dump, String idName, long id) { in dump() method in AccessoryFilter
155 long token = dump.start(idName, id); in dump()
157 dump.write("manufacturer", UsbAccessoryFilterProto.MANUFACTURER, mManufacturer); in dump()
158 dump.write("model", UsbAccessoryFilterProto.MODEL, mModel); in dump()
159 dump.write("version", UsbAccessoryFilterProto.VERSION, mVersion); in dump()
161 dump.end(token); in dump()
/frameworks/native/services/inputflinger/
DInputClassifier.h84 virtual void dump(std::string& dump) = 0;
98 virtual void dump(std::string& dump) = 0;
142 virtual void dump(std::string& dump) override;
232 virtual void dump(std::string& dump) override;
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestProperties.h75 virtual std::string dump() const = 0;
143 std::string dump() const override;
176 std::string dump() const override;
198 std::string dump() const override;
222 std::string dump() const override;
237 std::string dump() const override;
253 std::string dump() const;
274 std::string dump() const override;
296 std::string dump() const override;
311 std::string dump() const override;
[all …]

12345678910>>...58