Home
last modified time | relevance | path

Searched refs:spaces (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp45 void ClientDescriptor::dump(String8 *dst, int spaces) const in dump()
49 dst->appendFormat("%*s%s; %d; Channel mask: 0x%x\n", spaces, "", in dump()
51 dst->appendFormat("%*sAttributes: %s\n", spaces, "", toString(mAttributes).c_str()); in dump()
53 dst->appendFormat("%*sPreferred Device Port ID: %d;\n", spaces, "", mPreferredDeviceId); in dump()
57 void TrackClientDescriptor::dump(String8 *dst, int spaces) const in dump()
59 ClientDescriptor::dump(dst, spaces); in dump()
61 spaces, "", mStream, mFlags, mActivityCount, mInternalMute ? "Yes" : "No"); in dump()
62 dst->appendFormat("%*sDAP Primary Mix: %p\n", spaces, "", mPrimaryMix.promote().get()); in dump()
64 dst->appendFormat("%*sDAP Secondary Outputs: ", spaces - 2, ""); in dump()
88 void RecordClientDescriptor::dump(String8 *dst, int spaces) const in dump()
[all …]
DAudioCollections.cpp40 void dumpAudioRouteVector(const AudioRouteVector& audioRouteVector, String8 *dst, int spaces) in dumpAudioRouteVector() argument
45 dst->appendFormat("%*s- Audio Routes (%zu):\n", spaces - 2, "", audioRouteVector.size()); in dumpAudioRouteVector()
47 const std::string prefix = base::StringPrintf("%*s %zu. ", spaces, "", i + 1); in dumpAudioRouteVector()
DIOProfile.cpp231 void IOProfile::dump(String8 *dst, int spaces) const in dump()
245 AudioPort::dump(&portStr, spaces, extraInfo.c_str()); in dump()
248 mSupportedDevices.dump(dst, String8("- Supported"), spaces - 2, false); in dump()
250 spaces - 2, "", maxOpenCount, curOpenCount); in dump()
252 spaces - 2, "", maxActiveCount, curActiveCount); in dump()
254 spaces - 2, "", recommendedMuteDurationMs); in dump()
257 spaces - 2, "", dumpMixerBehaviors(mMixerBehaviors).c_str()); in dump()
DAudioPatch.cpp38 String8 *dst, int spaces, const char *prefix, int count, const audio_port_config *cfgs) in dumpPatchEndpoints() argument
42 dst->appendFormat("%*s[%s %d] ", spaces, "", prefix, i + 1); in dumpPatchEndpoints()
54 void AudioPatch::dump(String8 *dst, int spaces) const in dump()
57 dumpPatchEndpoints(dst, spaces, "src ", mPatch.num_sources, mPatch.sources); in dump()
58 dumpPatchEndpoints(dst, spaces, "sink", mPatch.num_sinks, mPatch.sinks); in dump()
DEffectDescriptor.cpp32 void EffectDescriptor::dump(String8 *dst, int spaces) const in dump()
36 dst->appendFormat("%*sMusic Effect? %s; \"%s\"; %s; %s\n", spaces, "", in dump()
355 void EffectDescriptorCollection::dump(String8 *dst, int spaces, bool verbose) const in dump() argument
361 spaces, "", in dump()
367 if (spaces > 1) spaces -= 2; in dump()
368 dst->appendFormat("%*s- Effects (%zu):\n", spaces, "", size()); in dump()
370 const std::string prefix = base::StringPrintf("%*s %zu. ", spaces, "", i + 1); in dump()
DAudioRoute.cpp26 void AudioRoute::dump(String8 *dst, int spaces) const in dump()
31 dst->appendFormat("%*sSources: ", spaces, ""); in dump()
DAudioOutputDescriptor.cpp270 void AudioOutputDescriptor::dump(String8 *dst, int spaces, const char* extraInfo) const in dump() argument
274 dst->appendFormat("%*s%s; %d; Channel mask: 0x%x\n", spaces, "", in dump()
276 dst->appendFormat("%*sDevices: %s\n", spaces, "", in dump()
278 dst->appendFormat("%*sGlobal active count: %u\n", spaces, "", mGlobalActiveCount); in dump()
280 dst->appendFormat("%*s- Product Strategies (%zu):\n", spaces - 2, "", in dump()
283 dst->appendFormat("%*sid %d: ", spaces + 1, "", iter.first); in dump()
288 dst->appendFormat("%*s- Volume Activities (%zu):\n", spaces - 2, "", in dump()
291 dst->appendFormat("%*sid %d: ", spaces + 1, "", iter.first); in dump()
296 dst->appendFormat("%*s- AudioTrack clients (%zu):\n", spaces - 2, "", getClientCount()); in dump()
297 ClientMapHandler<TrackClientDescriptor>::dump(dst, spaces); in dump()
[all …]
DHwModule.cpp262 void HwModule::dump(String8 *dst, int spaces) const in dump()
266 dst->appendFormat("%*s- Output MixPorts (%zu):\n", spaces - 2, "", mOutputProfiles.size()); in dump()
268 const std::string prefix = base::StringPrintf("%*s %zu. ", spaces, "", i + 1); in dump()
274 dst->appendFormat("%*s- Input MixPorts (%zu):\n", spaces - 2, "", mInputProfiles.size()); in dump()
276 const std::string prefix = base::StringPrintf("%*s %zu. ", spaces, "", i + 1); in dump()
281 mDeclaredDevices.dump(dst, String8("- Declared"), spaces - 2, true); in dump()
282 mDynamicDevices.dump(dst, String8("- Dynamic"), spaces - 2, true); in dump()
283 dumpAudioRouteVector(mRoutes, dst, spaces); in dump()
DDeviceDescriptor.cpp208 void DeviceDescriptor::dump(String8 *dst, int spaces, bool verbose) const in dump() argument
216 DeviceDescriptorBase::dump(&descBaseDumpStr, spaces, extraInfo.c_str(), verbose); in dump()
222 spaces, "", mPreferredConfig.value().format, mPreferredConfig.value().channel_mask, in dump()
483 void DeviceVector::dump(String8 *dst, const String8 &tag, int spaces, bool verbose) const in dump() argument
488 dst->appendFormat("%*s%s devices (%zu):\n", spaces, "", tag.c_str(), size()); in dump()
490 const std::string prefix = base::StringPrintf("%*s %zu. ", spaces, "", i + 1); in dump()
DAudioPolicyMix.cpp129 void AudioPolicyMix::dump(String8 *dst, int spaces, int index) const in dump() argument
131 dst->appendFormat("%*sAudio Policy Mix %d (%p):\n", spaces, "", index + 1, this); in dump()
137 dst->appendFormat("%*s- mix type: %s\n", spaces, "", mixTypeLiteral.c_str()); in dump()
141 dst->appendFormat("%*s- Route Flags: %s\n", spaces, "", routeFlagLiteral.c_str()); in dump()
143 dst->appendFormat("%*s- device type: %s\n", spaces, "", toString(mDeviceType).c_str()); in dump()
145 dst->appendFormat("%*s- device address: %s\n", spaces, "", mDeviceAddress.c_str()); in dump()
147 dst->appendFormat("%*s- output: %d\n", spaces, "", in dump()
152 dst->appendFormat("%*s- Criterion %d: ", spaces + 2, "", indexCriterion++); in dump()
DAudioInputDescriptor.cpp514 void AudioInputDescriptor::dump(String8 *dst, int spaces, const char* extraInfo) const in dump() argument
523 dst->appendFormat("%*s%s; %d; Channel mask: 0x%x\n", spaces, "", in dump()
525 dst->appendFormat("%*sDevices: %s\n", spaces, "", in dump()
527 mEnabledEffects.dump(dst, spaces /*spaces*/, false /*verbose*/); in dump()
529 dst->appendFormat("%*sAudioRecord Clients (%zu):\n", spaces, "", getClientCount()); in dump()
530 ClientMapHandler<RecordClientDescriptor>::dump(dst, spaces); in dump()
/frameworks/av/services/audiopolicy/engine/common/src/
DVolumeGroup.cpp51 void VolumeGroup::dump(String8 *dst, int spaces) const in dump()
53 dst->appendFormat("\n%*s-%s (id: %d)\n", spaces, "", mName.c_str(), mId); in dump()
54 mGroupVolumeCurves.dump(dst, spaces + 2, true); in dump()
55 mGroupVolumeCurves.dump(dst, spaces + 2, false); in dump()
77 void VolumeGroupMap::dump(String8 *dst, int spaces) const in dump()
79 dst->appendFormat("\n%*sVolume Groups dump:", spaces, ""); in dump()
81 iter.second->dump(dst, spaces + 2); in dump()
DVolumeCurve.cpp94 void VolumeCurve::dump(String8 *dst, int spaces, bool curvePoints) const in dump() argument
101 dst->appendFormat("%*s(%3d, %5d)", spaces, "", mCurvePoints[i].mIndex, in dump()
107 void VolumeCurves::dump(String8 *dst, int spaces, bool curvePoints) const in dump() argument
113 spaces + 1, ""); in dump()
114 dst->appendFormat("%*s %s %02d %02d ", spaces + 1, "", in dump()
127 " category (index, attenuation in millibel)\n", spaces, ""); in dump()
128 dst->appendFormat("%*s Streams: %s \n", spaces, "", streamNames.c_str()); in dump()
129 if (!mAttributes.empty()) dst->appendFormat("%*s Attributes:", spaces, ""); in dump()
132 dst->appendFormat("%*s %s\n", attributes == mAttributes.front() ? 0 : spaces + 13, "", in dump()
138 dst->appendFormat("%*s %s :", spaces, "", deviceCatLiteral.c_str()); in dump()
DProductStrategy.cpp130 void ProductStrategy::dump(String8 *dst, int spaces) const in dump()
132 dst->appendFormat("\n%*s-%s (id: %d)\n", spaces, "", mName.c_str(), mId); in dump()
134 dst->appendFormat("%*sSelected Device: {%s, @:%s}\n", spaces + 2, "", in dump()
138 dst->appendFormat("%*sGroup: %d stream: %s\n", spaces + 3, "", attr.getGroupId(), in dump()
140 dst->appendFormat("%*s Attributes: ", spaces + 3, ""); in dump()
306 void ProductStrategyMap::dump(String8 *dst, int spaces) const in dump()
308 dst->appendFormat("%*sProduct Strategies dump:", spaces, ""); in dump()
310 iter.second->dump(dst, spaces + 2); in dump()
317 int spaces) { in dumpProductStrategyDevicesRoleMap() argument
318 dst->appendFormat("\n%*sDevice role per product strategy dump:", spaces, ""); in dumpProductStrategyDevicesRoleMap()
[all …]
/frameworks/av/media/libaudiofoundation/
DAudioGain.cpp93 void AudioGain::dump(std::string *dst, int spaces, int index) const in dump() argument
95 dst->append(base::StringPrintf("%*sGain %d:\n", spaces, "", index+1)); in dump()
96 dst->append(base::StringPrintf("%*s- mode: %08x\n", spaces, "", mGain.mode)); in dump()
97 dst->append(base::StringPrintf("%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask)); in dump()
98 dst->append(base::StringPrintf("%*s- min_value: %d mB\n", spaces, "", mGain.min_value)); in dump()
99 dst->append(base::StringPrintf("%*s- max_value: %d mB\n", spaces, "", mGain.max_value)); in dump()
100 dst->append(base::StringPrintf("%*s- default_value: %d mB\n", spaces, "", mGain.default_value)); in dump()
101 dst->append(base::StringPrintf("%*s- step_value: %d mB\n", spaces, "", mGain.step_value)); in dump()
102 dst->append(base::StringPrintf("%*s- min_ramp_ms: %d ms\n", spaces, "", mGain.min_ramp_ms)); in dump()
103 dst->append(base::StringPrintf("%*s- max_ramp_ms: %d ms\n", spaces, "", mGain.max_ramp_ms)); in dump()
DAudioProfile.cpp100 void AudioProfile::dump(std::string *dst, int spaces) const in dump()
109 dst->append(base::StringPrintf("%*ssampling rates: ", spaces, "")); in dump()
118 dst->append(base::StringPrintf("%*schannel masks: ", spaces, "")); in dump()
127 "%*s%s\n", spaces, "", audio_encapsulation_type_to_string(mEncapsulationType))); in dump()
358 void AudioProfileVector::dump(std::string *dst, int spaces) const in dump()
360 dst->append(base::StringPrintf("%*s- Profiles (%zu):\n", spaces - 2, "", size())); in dump()
362 const std::string prefix = base::StringPrintf("%*s %zu. ", spaces, "", i + 1); in dump()
DDeviceDescriptorBase.cpp113 void DeviceDescriptorBase::dump(std::string *dst, int spaces, in dump() argument
126 "%*sEncapsulation modes: %u, metadata types: %u\n", spaces, "", in dump()
135 "%*sEncoded formats: %s\n", spaces, "", s.c_str())); in dump()
139 AudioPort::dump(&portStr, spaces, nullptr, verbose); in dump()
142 dst->append(base::StringPrintf("%*s", spaces, "")); in dump()
DAudioPort.cpp172 void AudioPort::dump(std::string *dst, int spaces, const char* extraInfo, bool verbose) const { in dump() argument
185 mProfiles.dump(&profilesStr, spaces); in dump()
188 dst->append(base::StringPrintf("%*s- extra audio descriptors: \n", spaces, "")); in dump()
189 const int eadSpaces = spaces + 4; in dump()
206 dst->append(base::StringPrintf("%*s- gains:\n", spaces, "")); in dump()
209 mGains[i]->dump(&gainStr, spaces + 2, i); in dump()
/frameworks/av/services/audiopolicy/engine/common/include/
DProductStrategy.h95 void dump(String8 *dst, int spaces = 0) const;
159 void dump(String8 *dst, int spaces = 0) const;
174 int spaces);
DVolumeGroup.h47 void dump(String8 *dst, int spaces = 0) const;
58 void dump(String8 *dst, int spaces = 0) const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h75 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()
131 void dump(String8 *dst, int spaces) const override { in dump() argument
132 ActivityTracking::dump(dst, spaces); in dump()
156 void dump(String8 *dst, int spaces, const char* extraInfo = nullptr) const override;
365 void dump(String8 *dst, int spaces, const char* extraInfo = nullptr) const override;
514 void dump(String8 *dst, int spaces, const char* extraInfo) const override;
DClientDescriptor.h57 virtual void dump(String8 *dst, int spaces) const;
121 void dump(String8 *dst, int spaces) const override;
211 void dump(String8 *dst, int spaces) const override;
272 void dump(String8 *dst, int spaces) const override;
345 virtual void dump(String8 *dst, int spaces, const char* extraInfo = nullptr) const {
349 const std::string prefix = base::StringPrintf("%*s %zu. ", spaces, "", ++index);
DEffectDescriptor.h47 void dump(String8 *dst, int spaces = 0) const;
105 void dump(String8 *dst, int spaces = 0, bool verbose = true) const;
DAudioCollections.h37 void dumpAudioRouteVector(const AudioRouteVector& audioRouteVector, String8 *dst, int spaces);
/frameworks/av/media/utils/fuzzers/
DServiceUtilitiesFuzz.cpp41 int spaces = data_provider->ConsumeIntegralInRange<int>(0, kMaxSpaces); in __anona68969790202() local
45 pm.dump(fd, spaces); in __anona68969790202()

123