Home
last modified time | relevance | path

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

123

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp42 void ClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() argument
44 dst->appendFormat("%*sClient %d:\n", spaces, "", index+1); in dump()
45 dst->appendFormat("%*s- Port Id: %d Session Id: %d UID: %d\n", spaces, "", in dump()
47 dst->appendFormat("%*s- Format: %08x Sampling rate: %d Channels: %08x\n", spaces, "", in dump()
49 dst->appendFormat("%*s- Attributes: %s\n", spaces, "", toString(mAttributes).c_str()); in dump()
50 dst->appendFormat("%*s- Preferred Device Id: %08x\n", spaces, "", mPreferredDeviceId); in dump()
51 dst->appendFormat("%*s- State: %s\n", spaces, "", mActive ? "Active" : "Inactive"); in dump()
54 void TrackClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() argument
56 ClientDescriptor::dump(dst, spaces, index); in dump()
57 dst->appendFormat("%*s- Stream: %d flags: %08x\n", spaces, "", mStream, mFlags); in dump()
[all …]
DAudioGain.cpp101 void AudioGain::dump(String8 *dst, int spaces, int index) const in dump() argument
103 dst->appendFormat("%*sGain %d:\n", spaces, "", index+1); in dump()
104 dst->appendFormat("%*s- mode: %08x\n", spaces, "", mGain.mode); in dump()
105 dst->appendFormat("%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask); in dump()
106 dst->appendFormat("%*s- min_value: %d mB\n", spaces, "", mGain.min_value); in dump()
107 dst->appendFormat("%*s- max_value: %d mB\n", spaces, "", mGain.max_value); in dump()
108 dst->appendFormat("%*s- default_value: %d mB\n", spaces, "", mGain.default_value); in dump()
109 dst->appendFormat("%*s- step_value: %d mB\n", spaces, "", mGain.step_value); in dump()
110 dst->appendFormat("%*s- min_ramp_ms: %d ms\n", spaces, "", mGain.min_ramp_ms); in dump()
111 dst->appendFormat("%*s- max_ramp_ms: %d ms\n", spaces, "", mGain.max_ramp_ms); in dump()
DEffectDescriptor.cpp25 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 …]
DAudioRoute.cpp27 void AudioRoute::dump(String8 *dst, int spaces) const in dump()
29 dst->appendFormat("%*s- Type: %s\n", spaces, "", mType == AUDIO_ROUTE_MUX ? "Mux" : "Mix"); in dump()
30 dst->appendFormat("%*s- Sink: %s\n", spaces, "", mSink->getTagName().string()); in dump()
32 dst->appendFormat("%*s- Sources: \n", spaces, ""); in dump()
34 dst->appendFormat("%*s%s \n", spaces + 4, "", mSources[i]->getTagName().string()); in dump()
DAudioCollections.cpp38 void AudioRouteVector::dump(String8 *dst, int spaces) const in dump()
43 dst->appendFormat("\n%*sAudio Routes (%zu):\n", spaces, "", size()); in dump()
45 dst->appendFormat("%*s- Route %zu:\n", spaces, "", i + 1); 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()
52 void AudioPatch::dump(String8 *dst, int spaces, int index) const in dump() argument
55 spaces, "", index + 1, mUid, mHandle, mAfPatchHandle); in dump()
56 dumpPatchEndpoints(dst, spaces, "src ", mPatch.num_sources, mPatch.sources); in dump()
57 dumpPatchEndpoints(dst, spaces, "sink", mPatch.num_sinks, mPatch.sinks); in dump()
DDeviceDescriptor.cpp277 void DeviceVector::dump(String8 *dst, const String8 &tag, int spaces, bool verbose) const in dump() argument
282 dst->appendFormat("%*s- %s devices:\n", spaces, "", tag.string()); in dump()
284 itemAt(i)->dump(dst, spaces + 2, i, verbose); in dump()
341 void DeviceDescriptor::dump(String8 *dst, int spaces, int index, bool verbose) const in dump() argument
343 dst->appendFormat("%*sDevice %d:\n", spaces, "", index + 1); in dump()
345 dst->appendFormat("%*s- id: %2d\n", spaces, "", mId); in dump()
348 dst->appendFormat("%*s- tag name: %s\n", spaces, "", mTagName.string()); in dump()
351 dst->appendFormat("%*s- type: %-48s\n", spaces, "", ::android::toString(mDeviceType).c_str()); in dump()
354 dst->appendFormat("%*s- address: %-32s\n", spaces, "", mAddress.string()); in dump()
356 AudioPort::dump(dst, spaces, verbose); in dump()
DAudioProfile.cpp262 void AudioProfile::dump(String8 *dst, int spaces) const in dump()
268 dst->appendFormat("%*s- name: %s\n", spaces, "", mName.string()); in dump()
272 dst->appendFormat("%*s- format: %s\n", spaces, "", formatLiteral.c_str()); in dump()
275 dst->appendFormat("%*s- sampling rates:", spaces, ""); in dump()
284 dst->appendFormat("%*s- channel masks:", spaces, ""); in dump()
556 void AudioProfileVector::dump(String8 *dst, int spaces) const in dump()
558 dst->appendFormat("%*s- Profiles:\n", spaces, ""); in dump()
560 dst->appendFormat("%*sProfile %zu:", spaces + 4, "", i); in dump()
561 itemAt(i)->dump(dst, spaces + 8); in dump()
DAudioPolicyMix.cpp30 void AudioPolicyMix::dump(String8 *dst, int spaces, int index) const in dump() argument
32 dst->appendFormat("%*sAudio Policy Mix %d:\n", spaces, "", index + 1); in dump()
38 dst->appendFormat("%*s- mix type: %s\n", spaces, "", mixTypeLiteral.c_str()); in dump()
42 dst->appendFormat("%*s- Route Flags: %s\n", spaces, "", routeFlagLiteral.c_str()); in dump()
44 dst->appendFormat("%*s- device type: %s\n", spaces, "", toString(mDeviceType).c_str()); in dump()
46 dst->appendFormat("%*s- device address: %s\n", spaces, "", mDeviceAddress.string()); in dump()
50 dst->appendFormat("%*s- Criterion %d: ", spaces + 2, "", indexCriterion++); in dump()
DAudioPort.cpp358 void AudioPort::dump(String8 *dst, int spaces, bool verbose) const in dump() argument
361 dst->appendFormat("%*s- name: %s\n", spaces, "", mName.string()); in dump()
364 mProfiles.dump(dst, spaces); in dump()
367 dst->appendFormat("%*s- gains:\n", spaces, ""); in dump()
369 mGains[i]->dump(dst, spaces + 2, i); in dump()
/frameworks/av/services/audiopolicy/engine/common/src/
DVolumeGroup.cpp40 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()
DVolumeCurve.cpp80 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()
DProductStrategy.cpp141 void ProductStrategy::dump(String8 *dst, int spaces) const in dump()
143 dst->appendFormat("\n%*s-%s (id: %d)\n", spaces, "", mName.c_str(), mId); in dump()
148 dst->appendFormat("%*sSelected Device: {type:%s, @:%s}\n", spaces + 2, "", in dump()
152 dst->appendFormat("%*sGroup: %d stream: %s\n", spaces + 3, "", attr.mVolumeGroup, in dump()
154 dst->appendFormat("%*s Attributes: ", spaces + 3, ""); in dump()
303 void ProductStrategyMap::dump(String8 *dst, int spaces) const in dump()
305 dst->appendFormat("%*sProduct Strategies dump:", spaces, ""); in dump()
307 iter.second->dump(dst, spaces + 2); in dump()
/frameworks/av/services/audiopolicy/engine/common/include/
DVolumeGroup.h48 void dump(String8 *dst, int spaces = 0) const;
59 void dump(String8 *dst, int spaces = 0) const;
DProductStrategy.h98 void dump(String8 *dst, int spaces = 0) const;
159 void dump(String8 *dst, int spaces = 0) const;
/frameworks/av/media/utils/
DServiceUtilities.cpp309 void MediaPackageManager::dump(int fd, int spaces) const { in dump()
310 dprintf(fd, "%*sAllow playback capture log:\n", spaces, ""); in dump()
312 dprintf(fd, "%*sNo package manager\n", spaces + 2, ""); in dump()
314 dprintf(fd, "%*sPackage manager errors: %u\n", spaces + 2, "", mPackageManagerErrors); in dump()
318 dprintf(fd, "%*s- uid=%5u, allowPlaybackCapture=%s, packageName=%s\n", spaces + 2, "", in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DEffectDescriptor.h39 void dump(String8 *dst, int spaces = 0) const;
75 void dump(String8 *dst, int spaces = 0, bool verbose = true) const;
DAudioOutputDescriptor.h74 virtual void dump(String8 *dst, int spaces) const in dump() argument
76 dst->appendFormat("%*s- ActivityCount: %d, StopTime: %" PRId64 ", ", spaces, "", in dump()
96 void dump(String8 *dst, int spaces) const override in dump() argument
98 ActivityTracking::dump(dst, spaces); in dump()
126 void dump(String8 *dst, int spaces) const override { in dump() argument
127 ActivityTracking::dump(dst, spaces); in dump()
DAudioCollections.h41 void dump(String8 *dst, int spaces) const;
DClientDescriptor.h54 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;
199 void dump(String8 *dst, int spaces, int index) const override;
DDeviceDescriptor.h72 void dump(String8 *dst, int spaces, int index, bool verbose = true) const;
207 void dump(String8 *dst, const String8 &tag, int spaces = 0, bool verbose = true) const;
DIVolumeCurves.h43 virtual void dump(String8 *dst, int spaces = 0, bool curvePoints = false) const = 0;
DAudioPatch.h34 void dump(String8 *dst, int spaces, int index) const;
DAudioRoute.h62 void dump(String8 *dst, int spaces) const;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBUtilities_PackagePrivate.h86 GPB_INLINE int32_t GPBLogicalRightShift32(int32_t value, int32_t spaces) { in GPBLogicalRightShift32() argument
87 return (int32_t)((uint32_t)(value) >> spaces); in GPBLogicalRightShift32()
90 GPB_INLINE int64_t GPBLogicalRightShift64(int64_t value, int32_t spaces) { in GPBLogicalRightShift64() argument
91 return (int64_t)((uint64_t)(value) >> spaces); in GPBLogicalRightShift64()

123