/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | ClientDescriptor.cpp | 41 void ClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() argument 43 dst->appendFormat("%*sClient %d:\n", spaces, "", index+1); in dump() 44 dst->appendFormat("%*s- Port Id: %d Session Id: %d UID: %d\n", spaces, "", in dump() 46 dst->appendFormat("%*s- Format: %08x Sampling rate: %d Channels: %08x\n", spaces, "", in dump() 48 dst->appendFormat("%*s- Attributes: %s\n", spaces, "", toString(mAttributes).c_str()); in dump() 49 dst->appendFormat("%*s- Preferred Device Id: %08x\n", spaces, "", mPreferredDeviceId); in dump() 50 dst->appendFormat("%*s- State: %s\n", spaces, "", mActive ? "Active" : "Inactive"); in dump() 53 void TrackClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() argument 55 ClientDescriptor::dump(dst, spaces, index); in dump() 56 dst->appendFormat("%*s- Stream: %d flags: %08x\n", spaces, "", mStream, mFlags); in dump() [all …]
|
D | EffectDescriptor.cpp | 25 void EffectDescriptor::dump(String8 *dst, int spaces) const in dump() 27 dst->appendFormat("%*sID: %d\n", spaces, "", mId); in dump() 28 dst->appendFormat("%*sI/O: %d\n", spaces, "", mIo); in dump() 29 dst->appendFormat("%*sMusic Effect: %s\n", spaces, "", isMusicEffect()? "yes" : "no"); in dump() 30 dst->appendFormat("%*sSession: %d\n", spaces, "", mSession); in dump() 31 dst->appendFormat("%*sName: %s\n", spaces, "", mDesc.name); in dump() 32 dst->appendFormat("%*s%s\n", spaces, "", mEnabled ? "Enabled" : "Disabled"); in dump() 33 dst->appendFormat("%*s%s\n", spaces, "", mSuspended ? "Suspended" : "Active"); in dump() 216 void EffectDescriptorCollection::dump(String8 *dst, int spaces, bool verbose) const in dump() argument 222 spaces, "", in dump() [all …]
|
D | AudioRoute.cpp | 26 void AudioRoute::dump(String8 *dst, int spaces) const in dump() 28 dst->appendFormat("%*s- Type: %s\n", spaces, "", mType == AUDIO_ROUTE_MUX ? "Mux" : "Mix"); in dump() 29 dst->appendFormat("%*s- Sink: %s\n", spaces, "", mSink->getTagName().c_str()); in dump() 31 dst->appendFormat("%*s- Sources: \n", spaces, ""); in dump() 33 dst->appendFormat("%*s%s \n", spaces + 4, "", mSources[i]->getTagName().c_str()); in dump()
|
D | AudioPatch.cpp | 36 String8 *dst, int spaces, const char *prefix, int count, const audio_port_config *cfgs) in dumpPatchEndpoints() argument 40 dst->appendFormat("%*s [%s %d] ", spaces, "", prefix, i + 1); in dumpPatchEndpoints() 50 void AudioPatch::dump(String8 *dst, int spaces, int index) const in dump() argument 53 spaces, "", index + 1, mUid, mHandle, mAfPatchHandle); in dump() 54 dumpPatchEndpoints(dst, spaces, "src ", mPatch.num_sources, mPatch.sources); in dump() 55 dumpPatchEndpoints(dst, spaces, "sink", mPatch.num_sinks, mPatch.sinks); in dump()
|
D | AudioCollections.cpp | 38 void dumpAudioRouteVector(const AudioRouteVector& audioRouteVector, String8 *dst, int spaces) in dumpAudioRouteVector() argument 43 dst->appendFormat("\n%*sAudio Routes (%zu):\n", spaces, "", audioRouteVector.size()); in dumpAudioRouteVector() 45 dst->appendFormat("%*s- Route %zu:\n", spaces, "", i + 1); in dumpAudioRouteVector()
|
D | DeviceDescriptor.cpp | 168 void DeviceDescriptor::dump(String8 *dst, int spaces, int index, bool verbose) const in dump() argument 172 extraInfo.appendFormat("%*s- tag name: %s\n", spaces, "", mTagName.c_str()); in dump() 176 DeviceDescriptorBase::dump(&descBaseDumpStr, spaces, index, extraInfo.string(), verbose); in dump() 374 void DeviceVector::dump(String8 *dst, const String8 &tag, int spaces, bool verbose) const in dump() argument 379 dst->appendFormat("%*s- %s devices:\n", spaces, "", tag.string()); in dump() 381 itemAt(i)->dump(dst, spaces + 2, i, verbose); in dump()
|
D | AudioPolicyMix.cpp | 29 void AudioPolicyMix::dump(String8 *dst, int spaces, int index) const in dump() argument 31 dst->appendFormat("%*sAudio Policy Mix %d:\n", spaces, "", index + 1); in dump() 37 dst->appendFormat("%*s- mix type: %s\n", spaces, "", mixTypeLiteral.c_str()); in dump() 41 dst->appendFormat("%*s- Route Flags: %s\n", spaces, "", routeFlagLiteral.c_str()); in dump() 43 dst->appendFormat("%*s- device type: %s\n", spaces, "", toString(mDeviceType).c_str()); in dump() 45 dst->appendFormat("%*s- device address: %s\n", spaces, "", mDeviceAddress.string()); in dump() 49 dst->appendFormat("%*s- Criterion %d: ", spaces + 2, "", indexCriterion++); in dump()
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | VolumeGroup.cpp | 40 void VolumeGroup::dump(String8 *dst, int spaces) const in dump() 42 dst->appendFormat("\n%*s-%s (id: %d)\n", spaces, "", mName.c_str(), mId); in dump() 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() 68 dst->appendFormat("\n%*sVolume Groups dump:", spaces, ""); in dump() 70 iter.second->dump(dst, spaces + 2); in dump()
|
D | VolumeCurve.cpp | 80 void VolumeCurve::dump(String8 *dst, int spaces, bool curvePoints) const in dump() argument 87 dst->appendFormat("%*s(%3d, %5d)", spaces, "", mCurvePoints[i].mIndex, in dump() 93 void VolumeCurves::dump(String8 *dst, int spaces, bool curvePoints) const in dump() argument 99 spaces + 1, ""); in dump() 100 dst->appendFormat("%*s %s %02d %02d ", spaces + 1, "", in dump() 113 " category (index, attenuation in millibel)\n", spaces, ""); in dump() 114 dst->appendFormat("%*s Streams: %s \n", spaces, "", streamNames.c_str()); in dump() 115 if (!mAttributes.empty()) dst->appendFormat("%*s Attributes:", spaces, ""); in dump() 118 dst->appendFormat("%*s %s\n", attributes == mAttributes.front() ? 0 : spaces + 13, "", in dump() 124 dst->appendFormat("%*s %s :", spaces, "", deviceCatLiteral.c_str()); in dump()
|
D | ProductStrategy.cpp | 150 void ProductStrategy::dump(String8 *dst, int spaces) const in dump() 152 dst->appendFormat("\n%*s-%s (id: %d)\n", spaces, "", mName.c_str(), mId); in dump() 158 dst->appendFormat("%*sSelected Device: {type:%s, @:%s}\n", spaces + 2, "", in dump() 162 dst->appendFormat("%*sGroup: %d stream: %s\n", spaces + 3, "", attr.mVolumeGroup, in dump() 164 dst->appendFormat("%*s Attributes: ", spaces + 3, ""); in dump() 313 void ProductStrategyMap::dump(String8 *dst, int spaces) const in dump() 315 dst->appendFormat("%*sProduct Strategies dump:", spaces, ""); in dump() 317 iter.second->dump(dst, spaces + 2); in dump() 321 void ProductStrategyPreferredRoutingMap::dump(android::String8* dst, int spaces) const { in dump() 322 dst->appendFormat("\n%*sPreferred devices per product strategy dump:", spaces, ""); in dump() [all …]
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioGain.cpp | 103 void AudioGain::dump(std::string *dst, int spaces, int index) const in dump() argument 105 dst->append(base::StringPrintf("%*sGain %d:\n", spaces, "", index+1)); in dump() 106 dst->append(base::StringPrintf("%*s- mode: %08x\n", spaces, "", mGain.mode)); in dump() 107 dst->append(base::StringPrintf("%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask)); in dump() 108 dst->append(base::StringPrintf("%*s- min_value: %d mB\n", spaces, "", mGain.min_value)); in dump() 109 dst->append(base::StringPrintf("%*s- max_value: %d mB\n", spaces, "", mGain.max_value)); in dump() 110 dst->append(base::StringPrintf("%*s- default_value: %d mB\n", spaces, "", mGain.default_value)); in dump() 111 dst->append(base::StringPrintf("%*s- step_value: %d mB\n", spaces, "", mGain.step_value)); in dump() 112 dst->append(base::StringPrintf("%*s- min_ramp_ms: %d ms\n", spaces, "", mGain.min_ramp_ms)); in dump() 113 dst->append(base::StringPrintf("%*s- max_ramp_ms: %d ms\n", spaces, "", mGain.max_ramp_ms)); in dump()
|
D | DeviceDescriptorBase.cpp | 86 void DeviceDescriptorBase::dump(std::string *dst, int spaces, int index, in dump() argument 89 dst->append(base::StringPrintf("%*sDevice %d:\n", spaces, "", index + 1)); in dump() 91 dst->append(base::StringPrintf("%*s- id: %2d\n", spaces, "", mId)); in dump() 99 spaces, "", ::android::toString(mDeviceTypeAddr.mType).c_str())); in dump() 103 "%*s- address: %-32s\n", spaces, "", mDeviceTypeAddr.getAddress())); in dump() 105 AudioPort::dump(dst, spaces, verbose); in dump()
|
D | AudioProfile.cpp | 90 void AudioProfile::dump(std::string *dst, int spaces) const in dump() 96 dst->append(base::StringPrintf("%*s- name: %s\n", spaces, "", mName.c_str())); in dump() 100 dst->append(base::StringPrintf("%*s- format: %s\n", spaces, "", formatLiteral.c_str())); in dump() 103 dst->append(base::StringPrintf("%*s- sampling rates:", spaces, "")); in dump() 112 dst->append(base::StringPrintf("%*s- channel masks:", spaces, "")); in dump() 261 void AudioProfileVector::dump(std::string *dst, int spaces) const in dump() 263 dst->append(base::StringPrintf("%*s- Profiles:\n", spaces, "")); in dump() 265 dst->append(base::StringPrintf("%*sProfile %zu:", spaces + 4, "", i)); in dump() 267 at(i)->dump(&profileStr, spaces + 8); in dump()
|
D | AudioPort.cpp | 83 void AudioPort::dump(std::string *dst, int spaces, bool verbose) const { in dump() argument 85 dst->append(base::StringPrintf("%*s- name: %s\n", spaces, "", mName.c_str())); in dump() 89 mProfiles.dump(&profilesStr, spaces); in dump() 93 dst->append(base::StringPrintf("%*s- gains:\n", spaces, "")); in dump() 96 mGains[i]->dump(&gainStr, spaces + 2, i); in dump()
|
/frameworks/av/services/audiopolicy/engine/common/include/ |
D | ProductStrategy.h | 100 void dump(String8 *dst, int spaces = 0) const; 161 void dump(String8 *dst, int spaces = 0) const; 170 void dump(String8 *dst, int spaces = 0) const;
|
D | VolumeGroup.h | 47 void dump(String8 *dst, int spaces = 0) const; 58 void dump(String8 *dst, int spaces = 0) const;
|
D | VolumeCurve.h | 60 void dump(String8 *dst, int spaces = 0, bool curvePoints = false) const; 182 void dump(String8 *dst, int spaces = 0, bool curvePoints = false) const override;
|
/frameworks/av/media/utils/ |
D | ServiceUtilities.cpp | 308 void MediaPackageManager::dump(int fd, int spaces) const { in dump() 309 dprintf(fd, "%*sAllow playback capture log:\n", spaces, ""); in dump() 311 dprintf(fd, "%*sNo package manager\n", spaces + 2, ""); in dump() 313 dprintf(fd, "%*sPackage manager errors: %u\n", spaces + 2, "", mPackageManagerErrors); in dump() 317 dprintf(fd, "%*s- uid=%5u, allowPlaybackCapture=%s, packageName=%s\n", spaces + 2, "", in dump()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 75 virtual void dump(String8 *dst, int spaces) const in dump() argument 77 dst->appendFormat("%*s- ActivityCount: %d, StopTime: %" PRId64 ", ", spaces, "", in dump() 97 void dump(String8 *dst, int spaces) const override in dump() argument 99 ActivityTracking::dump(dst, spaces); in dump() 127 void dump(String8 *dst, int spaces) const override { in dump() argument 128 ActivityTracking::dump(dst, spaces); in dump()
|
D | EffectDescriptor.h | 39 void dump(String8 *dst, int spaces = 0) const; 75 void dump(String8 *dst, int spaces = 0, bool verbose = true) const;
|
D | ClientDescriptor.h | 54 virtual void dump(String8 *dst, int spaces, int index) const; 101 void dump(String8 *dst, int spaces, int index) const override; 160 void dump(String8 *dst, int spaces, int index) const override; 203 void dump(String8 *dst, int spaces, int index) const override;
|
D | AudioCollections.h | 37 void dumpAudioRouteVector(const AudioRouteVector& audioRouteVector, String8 *dst, int spaces);
|
D | IVolumeCurves.h | 44 virtual void dump(String8 *dst, int spaces = 0, bool curvePoints = false) const = 0;
|
/frameworks/av/media/utils/fuzzers/ |
D | ServiceUtilitiesFuzz.cpp | 34 int spaces = data_provider->ConsumeIntegral<int>(); in __anona68969790202() local 38 pm.dump(fd, spaces); in __anona68969790202()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioProfile.h | 69 void dump(std::string *dst, int spaces) const; 108 virtual void dump(std::string *dst, int spaces) const;
|