Home
last modified time | relevance | path

Searched refs:appendFormat (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp47 dst->appendFormat("Port ID: %d; Session ID: %d; uid %d; State: %s\n", 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()
60 dst->appendFormat("%*sStream: %d; Flags: %08x; Refcount: %d; InternalMute: %s\n", 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()
66 dst->appendFormat("%d, ", desc.promote() == nullptr ? 0 : desc.promote()->mIoHandle); in dump()
91 dst->appendFormat("%*sSource: %d; Flags: %08x; is soundtrigger: %d\n", in dump()
126 dst->appendFormat("%s", prefix.c_str()); in dump()
[all …]
DAudioPatch.cpp42 dst->appendFormat("%*s[%s %d] ", spaces, "", prefix, i + 1); in dumpPatchEndpoints()
45 dst->appendFormat("Device Port ID: %d; {%s}", in dumpPatchEndpoints()
48 dst->appendFormat("Mix Port ID: %d; I/O handle: %d;", cfg.id, cfg.ext.mix.handle); in dumpPatchEndpoints()
56 dst->appendFormat("owner uid %4d; handle %2d; af handle %2d\n", mUid, mHandle, mAfPatchHandle); in dump()
141 dst->appendFormat("\n Audio Patches (%zu):\n", size()); in dump()
144 dst->appendFormat("%s", prefix.c_str()); in dump()
DAudioRoute.cpp28 dst->appendFormat("%s; Sink: \"%s\"\n", in dump()
31 dst->appendFormat("%*sSources: ", spaces, ""); in dump()
33 dst->appendFormat("\"%s\"", mSources[i]->getTagName().c_str()); in dump()
DIOProfile.cpp234 extraInfo.appendFormat("0x%04x", getFlags()); in dump()
241 extraInfo.appendFormat(" (%s)", flagsLiteral.c_str()); in dump()
249 dst->appendFormat("%*s- maxOpenCount: %u; curOpenCount: %u\n", in dump()
251 dst->appendFormat("%*s- maxActiveCount: %u; curActiveCount: %u\n", in dump()
253 dst->appendFormat("%*s- recommendedMuteDurationMs: %u ms\n", in dump()
256 dst->appendFormat("%*s- mixerBehaviors: %s\n", in dump()
DAudioOutputDescriptor.cpp272 dst->appendFormat("Port ID: %d%s%s\n", in dump()
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()
300 dst->appendFormat("%*s- AudioTrack active (stream) clients (%zu):\n", spaces - 2, "", in dump()
[all …]
DAudioPolicyMix.cpp131 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()
177 dst->appendFormat("%s %s\n", ruleType.c_str(), ruleValue.c_str()); in dump()
179 dst->appendFormat("Unknown rule type value 0x%x\n", criterion.mRule); in dump()
DEffectDescriptor.cpp34 dst->appendFormat("Effect ID: %d; Attached to I/O handle: %d; Session: %d;\n", in dump()
36 dst->appendFormat("%*sMusic Effect? %s; \"%s\"; %s; %s\n", spaces, "", in dump()
358 dst->appendFormat( in dump()
368 dst->appendFormat("%*s- Effects (%zu):\n", spaces, "", size()); in dump()
371 dst->appendFormat("%s", prefix.c_str()); in dump()
/frameworks/av/services/audiopolicy/engine/common/src/
DVolumeCurve.cpp101 dst->appendFormat("%*s(%3d, %5d)", spaces, "", mCurvePoints[i].mIndex, in dump()
103 dst->appendFormat(i == (mCurvePoints.size() - 1) ? " }\n" : ", "); in dump()
112 dst->appendFormat("%*s Can be muted Index Min Index Max Index Cur [device : index]...\n", in dump()
114 dst->appendFormat("%*s %s %02d %02d ", spaces + 1, "", in dump()
117 dst->appendFormat("%04x : %02d, ", pair.first, pair.second); in dump()
119 dst->appendFormat("\n"); in dump()
126 dst->appendFormat("%*sVolume Curves Streams/Attributes, Curve points Streams for device" 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()
[all …]
DProductStrategy.cpp132 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()
143 dst->appendFormat("%s\n", attStr.c_str()); in dump()
308 dst->appendFormat("%*sProduct Strategies dump:", spaces, ""); in dump()
318 dst->appendFormat("\n%*sDevice role per product strategy dump:", spaces, ""); in dumpProductStrategyDevicesRoleMap()
320 dst->appendFormat("\n%*sStrategy(%u) Device Role(%u) Devices(%s)", spaces + 2, "", in dumpProductStrategyDevicesRoleMap()
324 dst->appendFormat("\n"); in dumpProductStrategyDevicesRoleMap()
DVolumeGroup.cpp53 dst->appendFormat("\n%*s-%s (id: %d)\n", spaces, "", mName.c_str(), mId); in dump()
56 dst->appendFormat("\n"); in dump()
79 dst->appendFormat("\n%*sVolume Groups dump:", spaces, ""); in dump()
/frameworks/native/libs/gui/
DBufferQueueCore.cpp149 outResult->appendFormat("%s- BufferQueue ", prefix.c_str()); in dumpState()
150 outResult->appendFormat("mMaxAcquiredBufferCount=%d mMaxDequeuedBufferCount=%d\n", in dumpState()
152 outResult->appendFormat("%s mDequeueBufferCannotBlock=%d mAsyncMode=%d\n", prefix.c_str(), in dumpState()
154 outResult->appendFormat("%s mQueueBufferCanDrop=%d mLegacyBufferDrop=%d\n", prefix.c_str(), in dumpState()
156 outResult->appendFormat("%s default-size=[%dx%d] default-format=%d ", prefix.c_str(), in dumpState()
158 outResult->appendFormat("%s transform-hint=%02x frame-counter=%" PRIu64 "\n", prefix.c_str(), in dumpState()
160 outResult->appendFormat("%s mTransformHintInUse=%02x mAutoPrerotation=%d\n", prefix.c_str(), in dumpState()
163 outResult->appendFormat("%sFIFO(%zu):\n", prefix.c_str(), mQueue.size()); in dumpState()
165 outResult->appendFormat("%s(mConsumerName=%s, ", prefix.c_str(), mConsumerName.c_str()); in dumpState()
167 outResult->appendFormat("mConnectedApi=%d, mConsumerUsageBits=%" PRIu64 ", ", mConnectedApi, in dumpState()
[all …]
/frameworks/av/media/img_utils/src/
DTiffEntry.cpp129 output.appendFormat("[id: %x, type: %d, count: %u, value: '", getTag(), getType(), count); in toString()
142 output.appendFormat("%u ", typed_data[i]); in toString()
158 output.appendFormat("%u ", typed_data[i]); in toString()
165 output.appendFormat("%u ", typed_data[i]); in toString()
173 output.appendFormat("%u/%u ", typed_data[i], typed_data[i + 1]); in toString()
180 output.appendFormat("%d ", typed_data[i]); in toString()
187 output.appendFormat("%d ", typed_data[i]); in toString()
194 output.appendFormat("%d ", typed_data[i]); in toString()
202 output.appendFormat("%d/%d ", typed_data[i], typed_data[i + 1]); in toString()
209 output.appendFormat("%f ", typed_data[i]); in toString()
[all …]
/frameworks/base/libs/hwui/renderthread/
DCacheManager.cpp188 log.appendFormat(R"(Memory policy: in dumpMemoryUsage()
198 log.appendFormat(" IsSystemOrPersistent\n"); in dumpMemoryUsage()
200 log.appendFormat(" GPU Context timeout: %" PRIu64 "\n", ns2s(mMemoryPolicy.contextTimeout)); in dumpMemoryUsage()
205 log.appendFormat("Contexts: %zu (stopped = %zu)\n", mCanvasContexts.size(), stoppedContexts); in dumpMemoryUsage()
210 log.appendFormat("No GPU context.\n"); in dumpMemoryUsage()
212 log.appendFormat("No GrContext; however %d remaining Vulkan refs", in dumpMemoryUsage()
227 log.appendFormat("CPU Caches:\n"); in dumpMemoryUsage()
229 log.appendFormat(" Glyph Count: %d \n", SkGraphics::GetFontCacheCountUsed()); in dumpMemoryUsage()
230 log.appendFormat("Total CPU memory usage:\n"); in dumpMemoryUsage()
237 log.appendFormat("GPU Caches:\n"); in dumpMemoryUsage()
[all …]
/frameworks/av/media/libnblog/
DReader.cpp250 body.appendFormat("EVENT_LATENCY,%.3f", latencyMs); in dump()
254 body.appendFormat("EVENT_OVERRUN,%lld", static_cast<long long>(ts)); in dump()
258 body.appendFormat("EVENT_THREAD_INFO,%d,%s", static_cast<int>(info.id), in dump()
263 body.appendFormat("EVENT_UNDERRUN,%lld", static_cast<long long>(ts)); in dump()
267 body.appendFormat("EVENT_WARMUP_TIME,%.3f", timeMs); in dump()
271 body.appendFormat("EVENT_WORK_TIME,%lld", static_cast<long long>(monotonicNs)); in dump()
275 body.appendFormat("EVENT_THREAD_PARAMS,%zu,%u", params.frameCount, params.sampleRate); in dump()
280 body.appendFormat("warning: unexpected event %d", it->type); in dump()
308 timestamp->appendFormat("[%d.%03d]", (int) (ts / (1000 * 1000 * 1000)), in handleFormat()
314 body->appendFormat("%.4X-%d ", (int)(hash >> 16) & 0xFFFF, (int) hash & 0xFFFF); in handleFormat()
[all …]
/frameworks/native/services/sensorservice/
DSensorList.cpp149 result.appendFormat( in dump()
176 result.appendFormat("minRate=%.2fHz | ", 1e6f / s.getMaxDelay()); in dump()
178 result.appendFormat("maxDelay=%" PRId32 "us | ", s.getMaxDelay()); in dump()
182 result.appendFormat("maxRate=%.2fHz | ", 1e6f / s.getMinDelay()); in dump()
184 result.appendFormat("minDelay=%" PRId32 "us | ", s.getMinDelay()); in dump()
188 result.appendFormat("FIFO (max,reserved) = (%" PRIu32 ", %" PRIu32 ") events | ", in dump()
196 result.appendFormat("wakeUp | "); in dump()
198 result.appendFormat("non-wakeUp | "); in dump()
202 result.appendFormat("data-injection, "); in dump()
206 result.appendFormat("dynamic, "); in dump()
[all …]
DRecentEventLogger.cpp63 buffer.appendFormat("last %zu events\n", mRecentEvents.size()); in dump()
68 buffer.appendFormat("\t%2d (ts=%.9f, wall=%02d:%02d:%02d.%03d) ", in dump()
75 buffer.appendFormat("%" PRIu64 ", ", ev.mEvent.u64.step_counter); in dump()
78 buffer.appendFormat("%.2f, ", ev.mEvent.data[k]); in dump()
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h156 msg.appendFormat("GL %s = %s\n", name, v); in printGLString()
163 msg.appendFormat("GL %s = %s\n", name, v); in printEGLString()
165 msg.appendFormat("ImplementationANDROID: %s = %s\n", name, va); in printEGLString()
172 msg.appendFormat("%s() returned %d\n", op, returnVal);
176 msg.appendFormat("after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error), error);
184 msg.appendFormat("after %s() glError (0x%x)\n", op, error); in checkGlError()
237 msg.appendFormat(" %s: %d (0x%x)", names[j].name, value, value); in printEGLConfiguration()
252 msg.appendFormat("Number of EGL configuration: %d\n", numConfig); in printEGLConfigurations()
263 msg.appendFormat("Configuration %d\n", i); in printEGLConfigurations()
/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadEvdev.cpp68 DeviceName.appendFormat(kDeviceNameFormat, i); in Attach()
200 result.appendFormat("[virtual touchpad %d]\n", i); in dumpInternal()
205 result.appendFormat("injector = %s\n", in dumpInternal()
207 result.appendFormat("touches = %d\n", touchpad.touches); in dumpInternal()
208 result.appendFormat("last_position = (%" PRId32 ", %" PRId32 ")\n", in dumpInternal()
210 result.appendFormat("last_buttons = 0x%" PRIX32 "\n", in dumpInternal()
/frameworks/av/media/ndk/
DNdkMediaFormat.cpp85 ret.appendFormat("int32(%" PRId32 ")", val); in AMediaFormat_toString()
92 ret.appendFormat("int64(%" PRId64 ")", val); in AMediaFormat_toString()
99 ret.appendFormat("size_t(%zu)", val); in AMediaFormat_toString()
106 ret.appendFormat("float(%f)", val); in AMediaFormat_toString()
113 ret.appendFormat("double(%f)", val); in AMediaFormat_toString()
120 ret.appendFormat("Rect(%" PRId32 ", %" PRId32 ", %" PRId32 ", %" PRId32 ")", in AMediaFormat_toString()
128 ret.appendFormat("string(%s)", val.c_str()); in AMediaFormat_toString()
133 ret.appendFormat("data"); in AMediaFormat_toString()
138 ret.appendFormat("unknown(%d)", t); in AMediaFormat_toString()
/frameworks/av/media/module/foundation/
DALooperRoster.cpp136 s.appendFormat(" %zu registered handlers:\n", n); in dump()
139 s.appendFormat(" %d: ", mHandlers.keyAt(i)); in dump()
153 s.appendFormat(": %" PRIu64 " messages processed, delivering " in dump()
164 s.appendFormat("\n %s: %u", in dump()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaMemoryTracer.cpp137 log.appendFormat(" %s:\n", namedItem.first.c_str()); in logOutput()
141 log.appendFormat(" %s: %.2f %s (%d %s)\n", typedValue.first.c_str(), in logOutput()
150 log.appendFormat(" %s: %.2f %s (%d %s)\n", namedItem.first.c_str(), in logOutput()
169 log.appendFormat(" %.0f bytes, %.2f %s (%.2f %s is purgeable)\n", mTotalSize.value, in logTotals()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsLayout.java80 private void appendFormat(StringBuilder sb, int position, int length, String label, in appendFormat() method in PowerStatsLayout
106 appendFormat(mDeviceFormat, position, length, label, flags); in addDeviceSection()
117 appendFormat(mStateFormat, position, length, label, flags); in addStateSection()
129 appendFormat(mUidFormat, position, length, label, flags); in addUidSection()
/frameworks/base/tools/split-select/
DRule.cpp72 str.appendFormat("%d", op); in toJson()
114 str.appendFormat("%d", key); in toJson()
146 str.appendFormat("%d", longArgs[i]); in toJson()
/frameworks/av/media/libmedia/
DMediaResource.cpp77 str.appendFormat("%02x", b); in bytesToHexString()
85 str.appendFormat("%s/%s:[%s]:%lld", in toString()
/frameworks/av/services/mediaresourcemanager/
DResourceObserverService.cpp130 result.appendFormat("ResourceObserverService: %p\n", this); in dump()
131 result.appendFormat(" Registered Observers: %zu\n", mObserverInfoMap.size()); in dump()
137 result.appendFormat(" Observer %p:\n", observer.second.binder.get()); in dump()
148 result.appendFormat(" %s: %s\n", in dump()

1234