/frameworks/base/core/java/com/android/internal/usb/ |
D | DumpUtils.java | 26 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/ |
D | GraphDump.cpp | 112 void tryValueDump(Dumper& dump, const Model& model, const Operand& opnd) { in tryValueDump() argument 121 dump << " = " << val; in tryValueDump() 131 Dumper dump(outStream); in graphDump() local 133 dump << "// " << name << Dumper::endl; in graphDump() 134 dump << "digraph {" << Dumper::endl; in graphDump() 147 dump << " d" << i << " ["; in graphDump() 149 dump << "style=filled fillcolor=black fontcolor=white "; in graphDump() 151 dump << "label=\"" << i; in graphDump() 169 dump << ": " << kind; in graphDump() 171 dump << "\\n" << translate(opnd.type); in graphDump() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/ |
D | PriorityDumpTest.java | 19 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/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGeneratorUtils.cpp | 55 void SpecWriter::dump(const std::vector<RandomOperation>& operations, in dump() function in android::nn::fuzzing_test::SpecWriter 62 for (auto& operand : operands) dump(operand); in dump() 66 for (const auto& operation : operations) dump(operation); in dump() 77 dump(operand->dataType, reinterpret_cast<uint8_t*>(operand->buffer.data()), in dump() 85 void SpecWriter::dump(test_wrapper::Type type, const uint8_t* buffer, uint32_t length) { in dump() function in android::nn::fuzzing_test::SpecWriter 90 dump(reinterpret_cast<const float*>(buffer), length); in dump() 94 dump(reinterpret_cast<const int32_t*>(buffer), length); in dump() 97 dump(reinterpret_cast<const uint8_t*>(buffer), length); in dump() 100 dump(reinterpret_cast<const int8_t*>(buffer), length); in dump() 103 dump(reinterpret_cast<const uint16_t*>(buffer), length); in dump() [all …]
|
/frameworks/av/services/audioflinger/ |
D | StateQueue.h | 111 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/ |
D | ClientDescriptor.cpp | 42 void ClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() function in android::ClientDescriptor 54 void TrackClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() function in android::TrackClientDescriptor 56 ClientDescriptor::dump(dst, spaces, index); in dump() 78 void RecordClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() function in android::RecordClientDescriptor 80 ClientDescriptor::dump(dst, spaces, index); in dump() 82 mEnabledEffects.dump(dst, spaces + 2 /*spaces*/, false /*verbose*/); in dump() 107 void SourceClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() function in android::SourceClientDescriptor 109 TrackClientDescriptor::dump(dst, spaces, index); in dump() 111 mSrcDevice->dump(dst, 2, 0); in dump() 114 void SourceClientCollection::dump(String8 *dst) const in dump() function in android::SourceClientCollection [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | DumpControllerTest.kt | 60 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/base/services/core/java/com/android/server/notification/ |
D | NotificationUsageStats.java | 305 JSONObject dump = new JSONObject(); in dumpJson() local 314 dump.put("current", aggregatedStats); in dumpJson() 321 dump.put("historical", mSQLiteLog.dumpJson(filter)); in dumpJson() 326 return dump; in dumpJson() 329 public synchronized void dump(PrintWriter pw, String indent, DumpFilter filter) { in dump() method in NotificationUsageStats 334 as.dump(pw, indent); in dump() 340 mSQLiteLog.dump(pw, indent, filter); in dump() 575 public void dump(PrintWriter pw, String indent) { in dump() method in NotificationUsageStats.AggregatedStats 678 JSONObject dump = new JSONObject(); in dumpJson() local 679 dump.put("key", key); in dumpJson() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbUserSettingsManager.java | 19 import static com.android.internal.util.dump.DumpUtils.writeComponentName; 50 import com.android.internal.util.dump.DualDumpOutputStream; 374 public void dump(@NonNull DualDumpOutputStream dump, @NonNull String idName, long id) { in dump() method in UsbUserSettingsManager 375 long token = dump.start(idName, id); in dump() 378 dump.write("user_id", UsbUserSettingsManagerProto.USER_ID, mUser.getIdentifier()); in dump() 380 mUsbPermissionManager.dump(dump); in dump() 388 long deviceAttachedActivityToken = dump.start("device_attached_activities", in dump() 391 writeComponentName(dump, "activity", UsbDeviceAttachedActivities.ACTIVITY, in dump() 400 deviceFilters.get(filterNum).dump(dump, "filters", in dump() 405 dump.end(deviceAttachedActivityToken); in dump() [all …]
|
D | UsbAlsaDevice.java | 26 import com.android.internal.util.dump.DualDumpOutputStream; 247 public synchronized void dump(@NonNull DualDumpOutputStream dump, String idName, long id) { in dump() method in UsbAlsaDevice 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()
|
D | UsbPermissionManager.java | 38 import com.android.internal.util.dump.DualDumpOutputStream; 211 void dump(@NonNull DualDumpOutputStream dump) { in dump() method in UsbPermissionManager 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()
|
D | UsbHostManager.java | 20 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() method in UsbHostManager.ConnectionRecord 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 …]
|
D | UsbSettingsManager.java | 34 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/base/core/java/android/util/ |
D | LocalLog.java | 58 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() method in LocalLog 59 dump(pw); in dump() 62 public synchronized void dump(PrintWriter pw) { in dump() method in LocalLog 86 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() method in LocalLog.ReadOnlyLocalLog 87 mLog.dump(pw); in dump() 89 public void dump(PrintWriter pw) { in dump() method in LocalLog.ReadOnlyLocalLog 90 mLog.dump(pw); in dump()
|
/frameworks/av/media/libaudioclient/tests/ |
D | record_test_output_v1.0_ref_walleye.txt | 3 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 …]
|
D | track_test_output_v1.0_ref_walleye.txt | 3 AudioTrack::dump 14 AudioTrack::dump 25 AudioTrack::dump 36 AudioTrack::dump 47 AudioTrack::dump 58 AudioTrack::dump 69 AudioTrack::dump 80 AudioTrack::dump 91 AudioTrack::dump 102 AudioTrack::dump [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_GraphicsStatsService.cpp | 36 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/av/services/audiopolicy/engine/common/src/ |
D | VolumeGroup.cpp | 40 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/native/services/inputflinger/ |
D | InputClassifier.h | 84 virtual void dump(std::string& dump) = 0; 97 virtual void dump(std::string& dump) = 0; 141 virtual void dump(std::string& dump) override; 249 virtual void dump(std::string& dump) override;
|
D | InputReader.cpp | 834 void InputReader::dump(std::string& dump) { in dump() function in android::InputReader 837 mEventHub->dump(dump); in dump() 838 dump += "\n"; in dump() 840 dump += "Input Reader State:\n"; in dump() 843 mDevices.valueAt(i)->dump(dump); in dump() 846 dump += INDENT "Configuration:\n"; in dump() 847 dump += INDENT2 "ExcludedDeviceNames: ["; in dump() 850 dump += ", "; in dump() 852 dump += mConfig.excludedDeviceNames[i]; in dump() 854 dump += "]\n"; in dump() [all …]
|
D | InputClassifier.cpp | 363 void MotionClassifier::dump(std::string& dump) { in dump() argument 365 dump += StringPrintf(INDENT2 "mService status: %s\n", getServiceStatus()); in dump() 366 dump += StringPrintf(INDENT2 "mEvents: %zu element(s) (max=%zu)\n", in dump() 368 dump += INDENT2 "mClassifications, mLastDownTimes:\n"; in dump() 369 dump += INDENT3 "Device Id\tClassification\tLast down time"; in dump() 381 dump += StringPrintf("\n" INDENT4 "%" PRId32 "\t%s\t%" PRId64, in dump() 455 void InputClassifier::dump(std::string& dump) { in dump() function in android::InputClassifier 457 dump += "Input Classifier State:\n"; in dump() 459 dump += INDENT1 "Motion Classifier:\n"; in dump() 461 mMotionClassifier->dump(dump); in dump() [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | AccessoryFilter.java | 22 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()
|
D | DeviceFilter.java | 23 import com.android.internal.util.dump.DualDumpOutputStream; 321 public void dump(@NonNull DualDumpOutputStream dump, String idName, long id) { in dump() method in DeviceFilter 322 long token = dump.start(idName, id); in dump() 324 dump.write("vendor_id", UsbDeviceFilterProto.VENDOR_ID, mVendorId); in dump() 325 dump.write("product_id", UsbDeviceFilterProto.PRODUCT_ID, mProductId); in dump() 326 dump.write("class", UsbDeviceFilterProto.CLASS, mClass); in dump() 327 dump.write("subclass", UsbDeviceFilterProto.SUBCLASS, mSubclass); in dump() 328 dump.write("protocol", UsbDeviceFilterProto.PROTOCOL, mProtocol); in dump() 329 dump.write("manufacturer_name", UsbDeviceFilterProto.MANUFACTURER_NAME, mManufacturerName); in dump() 330 dump.write("product_name", UsbDeviceFilterProto.PRODUCT_NAME, mProductName); in dump() [all …]
|
/frameworks/av/media/libeffects/config/src/ |
D | EffectsConfig.cpp | 53 const char* dump(const XMLElement& element, XMLPrinter&& printer = {}) { in dump() function 139 ALOGE("library must have a name and a path: %s", dump(xmlLibrary)); in parseLibrary() 164 ALOGE("%s must have a name: %s", xmlEffect.Value(), dump(xmlEffect)); in parseEffect() 175 ALOGE("effect must have a library name and a uuid: %s", dump(xmlImpl)); in parseEffect() 182 ALOGE("Could not find library referenced in: %s", dump(xmlImpl)); in parseEffect() 188 ALOGE("Invalid uuid in: %s", dump(xmlImpl)); in parseEffect() 207 ALOGE("effectProxy must contain a <%s>: %s", tag, dump(xmlEffect)); in parseEffect() 228 ALOGE("stream must have a type: %s", dump(xmlStream)); in parseStream() 233 ALOGE("Invalid stream type %s: %s", streamType, dump(xmlStream)); in parseStream() 240 ALOGE("stream/apply must have reference an effect: %s", dump(xmlApply)); in parseStream() [all …]
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestProperties.h | 75 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 …]
|