/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | ClientDescriptor.cpp | 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() 51 dst->appendFormat("%*s- State: %s\n", spaces, "", mActive ? "Active" : "Inactive"); in dump() 57 dst->appendFormat("%*s- Stream: %d flags: %08x\n", spaces, "", mStream, mFlags); in dump() 58 dst->appendFormat("%*s- Refcount: %d\n", spaces, "", mActivityCount); in dump() 60 dst->appendFormat("%*s- DAP Secondary Outputs:\n", spaces, ""); in dump() 62 dst->appendFormat("%*s - %d\n", spaces, "", in dump() 87 dst->appendFormat("%*s- Source: %d flags: %08x\n", spaces, "", mSource, mFlags); in dump() [all …]
|
H A D | EffectDescriptor.cpp | 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() 232 dst->appendFormat( in dump() 240 dst->appendFormat("%*sEffects:\n", spaces, ""); in dump() 242 dst->appendFormat("%*s- Effect %d:\n", spaces, "", keyAt(i)); in dump()
|
H A D | AudioRoute.cpp | 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()
|
H A D | IOProfile.cpp | 125 dst->appendFormat(" - flags: 0x%04x", getFlags()); in dump() 132 dst->appendFormat(" (%s)", flagsLiteral.c_str()); in dump() 136 dst->appendFormat("\n - maxOpenCount: %u - curOpenCount: %u\n", in dump() 138 dst->appendFormat(" - maxActiveCount: %u - curActiveCount: %u\n", in dump()
|
/aosp12/frameworks/av/services/audiopolicy/engine/common/src/ |
H A D | VolumeCurve.cpp | 101 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 …]
|
H A D | ProductStrategy.cpp | 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() 167 dst->appendFormat("%s\n", attStr.c_str()); in dump() 317 dst->appendFormat("%*sProduct Strategies dump:", spaces, ""); in dump() 327 dst->appendFormat("\n%*sDevice role per product strategy dump:", spaces, ""); in dumpProductStrategyDevicesRoleMap() 329 dst->appendFormat("\n%*sStrategy(%u) Device Role(%u) Devices(%s)", spaces + 2, "", in dumpProductStrategyDevicesRoleMap() 333 dst->appendFormat("\n"); in dumpProductStrategyDevicesRoleMap()
|
H A D | VolumeGroup.cpp | 42 dst->appendFormat("\n%*s-%s (id: %d)\n", spaces, "", mName.c_str(), mId); in dump() 45 dst->appendFormat("\n"); in dump() 68 dst->appendFormat("\n%*sVolume Groups dump:", spaces, ""); in dump()
|
/aosp12/hardware/google/graphics/common/libhwc2.1/ |
H A D | ExynosHWCDebug.cpp | 58 saveString.appendFormat("%02d-%02d %02d:%02d:%02d.%03lu(%lu) %s %" PRIu64 ": %s\n", in saveErrorLog() 65 saveString.appendFormat("%02d-%02d %02d:%02d:%02d.%03lu(%lu) : %s\n", in saveErrorLog() 128 saveString.appendFormat("\n-- FD sys : %d\n", i); in saveFenceTrace() 133 saveString.appendFormat("\n-- FD sys : %d\n", i); in saveFenceTrace() 134 saveString.appendFormat("real name : %s, status : %d, pt_info : %p", in saveFenceTrace() 144 saveString.appendFormat("\n-- FD hwc : %d, usage %d\n", i, info.usage); in saveFenceTrace() 148 saveString.appendFormat("Last state : from %d, %d\n", in saveFenceTrace() 153 saveString.appendFormat("Last state : to %d, %d\n", in saveFenceTrace() 158 saveString.appendFormat("Last state : dup %d, %d\n", in saveFenceTrace() 163 saveString.appendFormat("Last state : Close %d, %d\n", in saveFenceTrace() [all …]
|
/aosp12/frameworks/native/libs/gui/ |
H A D | BufferQueueCore.cpp | 149 outResult->appendFormat("%s- BufferQueue ", prefix.string()); in dumpState() 150 outResult->appendFormat("mMaxAcquiredBufferCount=%d mMaxDequeuedBufferCount=%d\n", in dumpState() 163 outResult->appendFormat("%sFIFO(%zu):\n", prefix.string(), mQueue.size()); in dumpState() 181 outResult->appendFormat("%s %02d:%p ", prefix.string(), current->mSlot, in dumpState() 190 outResult->appendFormat("%sSlots:\n", prefix.string()); in dumpState() 195 outResult->appendFormat("%s %s[%02d:%p] ", prefix.string(), in dumpState() 200 outResult->appendFormat(" [%4ux%4u:%4u,%3X]\n", buffer->width, buffer->height, in dumpState() 203 outResult->appendFormat("%s [%02d:%p] ", prefix.string(), s, buffer.get()); in dumpState() 204 outResult->appendFormat("state=%-8s frame=%" PRIu64 "\n", in dumpState() 210 outResult->appendFormat("%s [%02d:%p] ", prefix.string(), s, buffer.get()); in dumpState() [all …]
|
/aosp12/frameworks/av/media/img_utils/src/ |
H A D | TiffEntry.cpp | 129 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 …]
|
/aosp12/frameworks/base/libs/hwui/renderthread/ |
H A D | CacheManager.cpp | 151 log.appendFormat("No valid cache instance.\n"); in dumpMemoryUsage() 165 log.appendFormat("CPU Caches:\n"); in dumpMemoryUsage() 167 log.appendFormat(" Glyph Count: %d \n", SkGraphics::GetFontCacheCountUsed()); in dumpMemoryUsage() 168 log.appendFormat("Total CPU memory usage:\n"); in dumpMemoryUsage() 175 log.appendFormat("GPU Caches:\n"); in dumpMemoryUsage() 180 log.appendFormat("Layer Info:\n"); in dumpMemoryUsage() 189 log.appendFormat(" %s size %dx%d\n", layerType, layer->getWidth(), in dumpMemoryUsage() 193 log.appendFormat(" Layers Total %6.2f KB (numLayers = %zu)\n", in dumpMemoryUsage() 197 log.appendFormat("Total GPU memory usage:\n"); in dumpMemoryUsage()
|
/aosp12/frameworks/av/media/libnblog/ |
H A D | Reader.cpp | 247 body.appendFormat("EVENT_LATENCY,%.3f", latencyMs); in dump() 251 body.appendFormat("EVENT_OVERRUN,%lld", static_cast<long long>(ts)); in dump() 255 body.appendFormat("EVENT_THREAD_INFO,%d,%s", static_cast<int>(info.id), in dump() 260 body.appendFormat("EVENT_UNDERRUN,%lld", static_cast<long long>(ts)); in dump() 264 body.appendFormat("EVENT_WARMUP_TIME,%.3f", timeMs); in dump() 277 body.appendFormat("warning: unexpected event %d", it->type); in dump() 305 timestamp->appendFormat("[%d.%03d]", (int) (ts / (1000 * 1000 * 1000)), in handleFormat() 397 body->appendFormat("<%d>", x); in appendInt() 407 body->appendFormat("<%f>", f); in appendFloat() 427 body->appendFormat("[%d.%03d]", (int) (ts / (1000 * 1000 * 1000)), in appendTimestamp() [all …]
|
/aosp12/frameworks/native/services/sensorservice/ |
H A D | SensorList.cpp | 133 result.appendFormat( in dump() 160 result.appendFormat("minRate=%.2fHz | ", 1e6f / s.getMaxDelay()); in dump() 162 result.appendFormat("maxDelay=%" PRId32 "us | ", s.getMaxDelay()); in dump() 166 result.appendFormat("maxRate=%.2fHz | ", 1e6f / s.getMinDelay()); in dump() 168 result.appendFormat("minDelay=%" PRId32 "us | ", s.getMinDelay()); in dump() 180 result.appendFormat("wakeUp | "); in dump() 182 result.appendFormat("non-wakeUp | "); in dump() 186 result.appendFormat("data-injection, "); in dump() 190 result.appendFormat("dynamic, "); in dump() 194 result.appendFormat("has-additional-info, "); in dump() [all …]
|
H A D | RecentEventLogger.cpp | 63 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()
|
/aosp12/system/core/healthd/ |
H A D | BatteryMonitor.cpp | 240 path.appendFormat("%s/%s/scope", POWER_SUPPLY_SYSFS_PATH, name); in isScopedPowerSupply() 306 path.appendFormat("%s/%s/online", POWER_SUPPLY_SYSFS_PATH, in updateValues() 310 path.appendFormat("%s/%s/type", POWER_SUPPLY_SYSFS_PATH, in updateValues() 327 path.appendFormat("%s/%s/current_max", POWER_SUPPLY_SYSFS_PATH, in updateValues() 605 path.appendFormat("%s/%s/voltage_now", in init() 614 path.appendFormat("%s/%s/charge_full", in init() 622 path.appendFormat("%s/%s/current_now", in init() 630 path.appendFormat("%s/%s/cycle_count", in init() 658 path.appendFormat("%s/%s/current_avg", in init() 666 path.appendFormat("%s/%s/charge_counter", in init() [all …]
|
/aosp12/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 80 lines.appendFormat(" State: %d\n", mState); in dump() 81 lines.appendFormat(" Dims: %d x %d, format 0x%x, dataspace 0x%x\n", in dump() 84 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump() 85 lines.appendFormat(" Combined usage: %" PRIu64 ", max HAL buffers: %d\n", in dump() 88 lines.appendFormat(" Physical camera id: %s\n", camera_stream::physical_camera_id); in dump() 90 lines.appendFormat(" Frames produced: %d, last timestamp: %" PRId64 " ns\n", in dump() 92 lines.appendFormat(" Total buffers: %zu, currently dequeued: %zu\n", in dump()
|
H A D | Camera3BufferManager.cpp | 459 lines.appendFormat(" Total stream sets: %zu\n", mStreamSetMap.size()); in dump() 461 lines.appendFormat(" Stream set %d(%d) has below streams:\n", in dump() 464 lines.appendFormat(" Stream %d\n", mStreamSetMap[i].streamInfoMap[j].streamId); in dump() 466 lines.appendFormat(" Stream set max allowed buffer count: %zu\n", in dump() 468 lines.appendFormat(" Stream set buffer count water mark: %zu\n", in dump() 470 lines.appendFormat(" Handout buffer counts:\n"); in dump() 474 lines.appendFormat(" stream id: %d, buffer count: %zu.\n", in dump() 477 lines.appendFormat(" Attached buffer counts:\n"); in dump() 481 lines.appendFormat(" stream id: %d, attached buffer count: %zu.\n", in dump()
|
/aosp12/frameworks/native/opengl/tests/lib/include/ |
H A D | EGLUtils.h | 156 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()
|
/aosp12/hardware/google/graphics/common/libhwc2.1/libdevice/ |
H A D | ExynosLayer.cpp | 986 result.appendFormat("MPPFlags for otfMPP\n"); in dump() 991 result.appendFormat("\n"); in dump() 992 result.appendFormat("MPPFlags for m2mMPP\n"); in dump() 998 result.appendFormat("\n"); in dump() 1000 result.appendFormat("acquireFence: %d\n", mAcquireFence); in dump() 1002 result.appendFormat("\tresource is not assigned.\n"); in dump() 1007 result.appendFormat("\tdump midImg\n"); in dump() 1044 result.appendFormat("MPPFlags for otfMPP\n"); in printLayer() 1049 result.appendFormat("\n"); in printLayer() 1050 result.appendFormat("MPPFlags for m2mMPP\n"); in printLayer() [all …]
|
/aosp12/art/tools/ahat/src/main/com/android/ahat/ |
H A D | Summarizer.java | 78 formatted.appendFormat(" \"%s", stringValue); in summarize() 96 formatted.appendFormat(" for %s", dexCacheLocation); in summarize() 119 formatted.appendFormat(" for %s", binderProxyInterface); in summarize() 125 formatted.appendFormat(" binder token (%s)", binderTokenDescriptor); in summarize() 130 formatted.appendFormat(" binder service (%s)", binderStubInterface); in summarize()
|
/aosp12/frameworks/av/media/ndk/ |
H A D | NdkMediaFormat.cpp | 85 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()
|
/aosp12/frameworks/native/services/vr/virtual_touchpad/ |
H A D | VirtualTouchpadEvdev.cpp | 68 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()
|
/aosp12/system/core/libutils/ |
H A D | String8_fuzz.cpp | 136 str1->appendFormat(formatString.c_str(), val); in fuzzFormat() 150 str1->appendFormat(formatString.c_str(), val); in fuzzFormat() 168 str1->appendFormat(formatString.c_str(), val); in fuzzFormat() 178 str1->appendFormat(formatString.c_str(), val); in fuzzFormat() 188 str1->appendFormat(formatString.c_str(), val.c_str()); in fuzzFormat() 197 str1->appendFormat(formatString.c_str(), val); in fuzzFormat()
|
/aosp12/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 189 result.appendFormat(" Preview size: %d x %d\n", in dumpClient() 195 result.appendFormat(" Preview transform: %x\n", in dumpClient() 197 result.appendFormat(" Picture size: %d x %d\n", in dumpClient() 204 result.appendFormat(" GPS tags %s\n", in dumpClient() 328 result.appendFormat(" Metering areas:\n"); in dumpClient() 342 result.appendFormat(" Recording hint is %s\n", in dumpClient() 356 result.appendFormat(" Preview stream ID: %d\n", in dumpClient() 358 result.appendFormat(" Capture stream ID: %d\n", in dumpClient() 370 result.appendFormat(" useZslFormat\n"); in dumpClient() 378 result.appendFormat(" usePartialResult\n"); in dumpClient() [all …]
|
/aosp12/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooperRoster.cpp | 134 s.appendFormat(" %zu registered handlers:\n", n); in dump() 137 s.appendFormat(" %d: ", mHandlers.keyAt(i)); in dump() 145 s.appendFormat(": %u messages processed", handler->mMessageCounter); in dump() 150 s.appendFormat("\n %s: %u", in dump()
|