/aosp12/packages/modules/StatsD/statsd/src/ |
H A D | StatsService.cpp | 371 dprintf(out, in print_cmd_help() 374 dprintf(out, "\n"); in print_cmd_help() 375 dprintf(out, "\n"); in print_cmd_help() 377 dprintf(out, "\n"); in print_cmd_help() 383 dprintf(out, "\n"); in print_cmd_help() 384 dprintf(out, "\n"); in print_cmd_help() 386 dprintf(out, "\n"); in print_cmd_help() 389 dprintf(out, "\n"); in print_cmd_help() 412 dprintf(out, in print_cmd_help() 442 dprintf(out, in print_cmd_help() [all …]
|
/aosp12/hardware/interfaces/automotive/audiocontrol/2.0/default/ |
H A D | AudioControl.cpp | 116 dprintf(fd, "Invalid option: %s\n", option.c_str()); in cmdDump() 122 dprintf(fd, "No focus listener registered\n"); in dump() 124 dprintf(fd, "Focus listener registered\n"); in dump() 129 dprintf(fd, "Usage: \n\n"); in cmdHelp() 130 dprintf(fd, "[no args]: dumps focus listener status\n"); in cmdHelp() 131 dprintf(fd, "--help: shows this help\n"); in cmdHelp() 132 dprintf(fd, in cmdHelp() 135 dprintf(fd, in cmdHelp() 160 dprintf(fd, "Unable to request focus - no focus listener registered\n"); in cmdRequestFocus() 189 dprintf(fd, "Abandoned focus for usage %d and zoneId %d\n", usage, zoneId); in cmdAbandonFocus() [all …]
|
/aosp12/hardware/interfaces/automotive/audiocontrol/aidl/default/ |
H A D | AudioControl.cpp | 53 dprintf(fd, "Must be root\n"); in checkCallerHasWritePermissions() 163 dprintf(fd, "Invalid option: %s\n", option.c_str()); in dump() 170 dprintf(fd, "No focus listener registered\n"); in dumpsys() 172 dprintf(fd, "Focus listener registered\n"); in dumpsys() 178 dprintf(fd, "Usage: \n\n"); in cmdHelp() 180 dprintf(fd, "--help: shows this help\n"); in cmdHelp() 181 dprintf(fd, in cmdHelp() 184 dprintf(fd, in cmdHelp() 196 dprintf(fd, in cmdRequestFocus() 204 dprintf(fd, in cmdRequestFocus() [all …]
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
H A D | VehicleHalManager.cpp | 252 dprintf(fd, "Must be root\n"); in checkCallerHasWritePermissions() 286 dprintf(fd, "Usage: \n\n"); in cmdHelp() 288 dprintf(fd, "--help: shows this help\n"); in cmdHelp() 291 dprintf(fd, in cmdHelp() 304 dprintf(fd, "no properties to list\n"); in cmdListAllProperties() 308 dprintf(fd, "listing %zu properties\n", size); in cmdListAllProperties() 310 dprintf(fd, "%d: %d\n", ++i, config.prop); in cmdListAllProperties() 318 dprintf(fd, "no properties to dump\n"); in cmdDumpAllProperties() 322 dprintf(fd, "dumping %zu properties\n", size); in cmdDumpAllProperties() 332 dprintf(fd, "%d: ", rowNumber); in cmdDumpOneProperty() [all …]
|
/aosp12/frameworks/native/cmds/dumpstate/ |
H A D | DumpstateService.cpp | 182 dprintf(fd, "Bugreport not in progress yet"); in dump() 188 dprintf(fd, "id: %d\n", ds_->id_); in dump() 189 dprintf(fd, "pid: %d\n", ds_->pid_); in dump() 192 dprintf(fd, "progress:\n"); in dump() 194 dprintf(fd, "args: %s\n", ds_->options_->args.c_str()); in dump() 196 dprintf(fd, "version: %s\n", ds_->version_.c_str()); in dump() 199 dprintf(fd, "log_path: %s\n", ds_->log_path_.c_str()); in dump() 200 dprintf(fd, "tmp_path: %s\n", ds_->tmp_path_.c_str()); in dump() 201 dprintf(fd, "path: %s\n", ds_->path_.c_str()); in dump() 203 dprintf(fd, "name: %s\n", ds_->name_.c_str()); in dump() [all …]
|
H A D | DumpstateInternal.cpp | 138 dprintf(out_fd, "------ %s (%s", title.c_str(), path); in DumpFileFromFdToFd() 149 dprintf(out_fd, ": %s", stamp); in DumpFileFromFdToFd() 151 dprintf(out_fd, ") ------\n"); in DumpFileFromFdToFd() 157 dprintf(out_fd, "%s: skipped on dry run\n", path); in DumpFileFromFdToFd() 159 dprintf(out_fd, "\t(skipped on dry run)\n"); in DumpFileFromFdToFd() 170 dprintf(out_fd, "*** %s: poll failed: %s\n", path, strerror(errno)); in DumpFileFromFdToFd() 175 … dprintf(out_fd, "*** %s: Timed out after %.3fs\n", path, (float)elapsed / NANOS_PER_SEC); in DumpFileFromFdToFd() 186 dprintf(out_fd, "*** %s: Failed to read from fd: %s", path, strerror(errno)); in DumpFileFromFdToFd() 194 if (!newline) dprintf(out_fd, "\n"); in DumpFileFromFdToFd() 195 if (!title.empty()) dprintf(out_fd, "\n"); in DumpFileFromFdToFd()
|
H A D | DumpstateUtil.cpp | 230 dprintf(out_fd, "*** Error dumping %s: %s\n", path.c_str(), strerror(err)); in DumpFileToFd() 232 dprintf(out_fd, "*** Error dumping %s (%s): %s\n", path.c_str(), title.c_str(), in DumpFileToFd() 277 dprintf(fd, "Skipping '%s' on user build.\n", command); in RunCommandToFd() 282 dprintf(fd, "------ %s (%s) ------\n", title.c_str(), command); in RunCommandToFd() 297 dprintf(fd, "\t(skipped on dry run)\n"); in RunCommandToFd() 300 dprintf(fd, "%s: skipped on dry run\n", command_string.c_str()); in RunCommandToFd() 313 if (!silent) dprintf(fd, "*** fork: %s\n", strerror(errno)); in RunCommandToFd() 322 dprintf(fd, "*** failed to drop root before running %s: %s\n", command, in RunCommandToFd() 391 dprintf(fd, "*** command '%s': Error after %.4fs (killing pid %d)\n", command, in RunCommandToFd() 401 dprintf(fd, "could not kill command '%s' (pid %d) even with SIGKILL.\n", in RunCommandToFd() [all …]
|
/aosp12/frameworks/base/libs/hwui/ |
H A D | ProfileData.cpp | 113 dprintf(fd, "\nStats since: %" PRIu64 "ns", mStatStartTime); in dump() 114 dprintf(fd, "\nTotal frames rendered: %u", mTotalFrameCount); in dump() 115 dprintf(fd, "\nJanky frames: %u (%.2f%%)", mJankFrameCount, in dump() 121 dprintf(fd, "\n50th percentile: %ums", findPercentile(50)); in dump() 122 dprintf(fd, "\n90th percentile: %ums", findPercentile(90)); in dump() 123 dprintf(fd, "\n95th percentile: %ums", findPercentile(95)); in dump() 124 dprintf(fd, "\n99th percentile: %ums", findPercentile(99)); in dump() 128 dprintf(fd, "\nHISTOGRAM:"); in dump() 130 dprintf(fd, " %ums=%u", entry.renderTimeMs, entry.frameCount); in dump() 132 dprintf(fd, "\n50th gpu percentile: %ums", findGPUPercentile(50)); in dump() [all …]
|
H A D | JankTracker.cpp | 278 dprintf(fd, "\nPackage: %s", description->name.c_str()); in dumpData() 281 dprintf(fd, "\nWindow: %s", description->name.c_str()); in dumpData() 286 dprintf(fd, "\nNote: Data has been filtered!"); in dumpData() 289 dprintf(fd, "\n"); in dumpData() 293 dprintf(fd, "\n\n---PROFILEDATA---\n"); in dumpFrames() 295 dprintf(fd, "%s", FrameInfoNames[i]); in dumpFrames() 296 dprintf(fd, ","); in dumpFrames() 303 dprintf(fd, "\n"); in dumpFrames() 305 dprintf(fd, "%" PRId64 ",", frame[i]); in dumpFrames() 308 dprintf(fd, "\n---PROFILEDATA---\n\n"); in dumpFrames()
|
/aosp12/system/bt/bta/av/ |
H A D | bta_av_main.cc | 1399 dprintf(fd, "\nBTA AV State:\n"); in bta_debug_av_dump() 1406 dprintf(fd, " SCO occupied: %s\n", in bta_debug_av_dump() 1435 dprintf(fd, "\n BTA ID: %zu peer: %s\n", i, in bta_debug_av_dump() 1444 dprintf(fd, " SEP ID: %zu\n", j); in bta_debug_av_dump() 1450 dprintf(fd, " API Open peer: %s\n", in bta_debug_av_dump() 1452 dprintf(fd, " Use AVRCP: %s\n", in bta_debug_av_dump() 1456 dprintf(fd, " Saved API Open peer: %s\n", in bta_debug_av_dump() 1458 dprintf(fd, " Use AVRCP: %s\n", in bta_debug_av_dump() 1462 dprintf(fd, " Link signalling timer: %s\n", in bta_debug_av_dump() 1486 dprintf(fd, " Role: 0x%x\n", p_scb->role); in bta_debug_av_dump() [all …]
|
/aosp12/hardware/google/pixel/vibrator/common/ |
H A D | HardwareBase.cpp | 48 dprintf(fd, "Kernel:\n"); in debug() 55 dprintf(fd, " %s:\n", path.c_str()); in debug() 57 dprintf(fd, " %s\n", line.c_str()); in debug() 62 dprintf(fd, " Records:\n"); in debug() 105 dprintf(fd, "Properties:\n"); in debug() 115 dprintf(fd, " %s:\n", key); in debug() 116 dprintf(fd, " %s\n", value); in debug() 121 dprintf(fd, "\n"); in debug() 123 dprintf(fd, "Persist:\n"); in debug() 127 dprintf(fd, " %s:\n", path.c_str()); in debug() [all …]
|
/aosp12/frameworks/av/services/audioflinger/ |
H A D | FastMixerDumpState.cpp | 61 dprintf(fd, " FastMixer not initialized\n"); in dump() 67 dprintf(fd, " FastMixer command=%s writeSequence=%u framesWritten=%u\n" in dump() 128 dprintf(fd, " Simple moving statistics over last %.1f seconds:\n", in dump() 130 dprintf(fd, " wall clock time in ms per mix cycle:\n" in dump() 134 dprintf(fd, " raw CPU load in us per mix cycle:\n" in dump() 139 dprintf(fd, " No FastMixer statistics available currently\n"); in dump() 142 dprintf(fd, " CPU clock frequency in MHz:\n" in dump() 158 dprintf(fd, " Distribution of mix cycle times in ms for the tails " in dump() 174 dprintf(fd, " Fast tracks: sMaxFastTracks=%u activeMask=%#x\n", in dump() 176 dprintf(fd, " Index Active Full Partial Empty Recent Ready Written\n"); in dump() [all …]
|
/aosp12/system/bt/stack/avdt/ |
H A D | avdt_api.cc | 1028 dprintf(fd, "\nAVDTP Stack State:\n"); in stack_debug_avdtp_api_dump() 1040 dprintf(fd, " State: %d\n", ccb.state); in stack_debug_avdtp_api_dump() 1041 dprintf(fd, " Link-layer opened: %s\n", in stack_debug_avdtp_api_dump() 1043 dprintf(fd, " Discover in progress: %s\n", in stack_debug_avdtp_api_dump() 1046 dprintf(fd, " Reinitiate connection on idle: %s\n", in stack_debug_avdtp_api_dump() 1056 dprintf(fd, "\n Stream control block: %zu\n", i); in stack_debug_avdtp_api_dump() 1057 dprintf(fd, " SEP codec: %s\n", in stack_debug_avdtp_api_dump() 1066 dprintf(fd, " Configured codec: %s\n", in stack_debug_avdtp_api_dump() 1068 dprintf(fd, " Requested codec: %s\n", in stack_debug_avdtp_api_dump() 1079 dprintf(fd, " Role: 0x%x\n", scb.role); in stack_debug_avdtp_api_dump() [all …]
|
/aosp12/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | TagMonitor.cpp | 208 dprintf(fd, " %s.%s\n", in dumpMonitoredMetadata() 218 dprintf(fd, " Monitored tag event log:\n"); in dumpMonitoredMetadata() 231 dprintf(fd, " (Removed)\n"); in dumpMonitoredMetadata() 281 dprintf(fd, "%hhu ", in printData() 295 dprintf(fd, "%" PRId32 " ", in printData() 300 dprintf(fd, "%0.8f ", in printData() 304 dprintf(fd, "%" PRId64 " ", in printData() 308 dprintf(fd, "%0.8f ", in printData() 314 dprintf(fd, "(%d / %d) ", in printData() 319 dprintf(fd, "??? "); in printData() [all …]
|
/aosp12/system/media/alsa_utils/ |
H A D | alsa_device_profile.c | 665 dprintf(fd, " %s\n", "No USB Profile"); in profile_dump() 670 dprintf(fd, " Profile is INVALID"); in profile_dump() 674 dprintf(fd, " card:%d, device:%d - %s\n", in profile_dump() 678 dprintf(fd, " Formats: "); in profile_dump() 684 dprintf(fd, "\n"); in profile_dump() 687 dprintf(fd, " Rates: "); in profile_dump() 693 dprintf(fd, "\n"); in profile_dump() 696 dprintf(fd, " Channel Counts: "); in profile_dump() 702 dprintf(fd, "\n"); in profile_dump() 704 dprintf(fd, " min/max period size [%u : %u]\n", in profile_dump() [all …]
|
/aosp12/hardware/libhardware/modules/camera/3_0/ |
H A D | Stream.cpp | 227 dprintf(fd, "Stream ID: %d (%p)\n", mId, mStream); in dump() 228 dprintf(fd, "Stream Type: %s (%d)\n", typeToString(mType), mType); in dump() 229 dprintf(fd, "Width: %" PRIu32 " Height: %" PRIu32 "\n", mWidth, mHeight); in dump() 230 dprintf(fd, "Stream Format: %s (%d)", formatToString(mFormat), mFormat); in dump() 232 dprintf(fd, "Gralloc Usage Mask: %#" PRIx32 "\n", mUsage); in dump() 233 dprintf(fd, "Max Buffer Count: %" PRIu32 "\n", mMaxBuffers); in dump() 234 dprintf(fd, "Buffers Registered: %s\n", mRegistered ? "true" : "false"); in dump() 235 dprintf(fd, "Number of Buffers: %" PRIu32 "\n", mNumBuffers); in dump() 237 dprintf(fd, "Buffer %" PRIu32 "/%" PRIu32 ": %p\n", i, mNumBuffers, in dump()
|
/aosp12/hardware/libhardware/modules/usbcamera/ |
H A D | Stream.cpp | 168 dprintf(fd, "Stream ID: %d (%p)\n", mId, mStream); in dump() 169 dprintf(fd, "Stream Type: %s (%d)\n", typeToString(mStream->stream_type), mStream->stream_type); in dump() 170 dprintf(fd, "Width: %" PRIu32 " Height: %" PRIu32 "\n", mStream->width, mStream->height); in dump() 171 dprintf(fd, "Stream Format: %s (%d)", formatToString(mStream->format), mStream->format); in dump() 173 dprintf(fd, "Gralloc Usage Mask: %#" PRIx32 "\n", mStream->usage); in dump() 174 dprintf(fd, "Max Buffer Count: %" PRIu32 "\n", mStream->max_buffers); in dump() 175 dprintf(fd, "Number of Buffers in use by HAL: %zu\n", mBuffers.size()); in dump() 177 dprintf(fd, "Buffer %zu/%zu: %p\n", i, mBuffers.size(), mBuffers[i]); in dump()
|
/aosp12/frameworks/base/libs/hwui/service/ |
H A D | GraphicsStatsService.cpp | 289 dprintf(fd, "\nPackage: %s", proto->package_name().c_str()); in dumpAsTextToFd() 290 dprintf(fd, "\nVersion: %" PRId64, proto->version_code()); in dumpAsTextToFd() 291 dprintf(fd, "\nStats since: %" PRId64 "ns", proto->stats_start()); in dumpAsTextToFd() 292 dprintf(fd, "\nStats end: %" PRId64 "ns", proto->stats_end()); in dumpAsTextToFd() 295 dprintf(fd, "\nJanky frames: %d (%.2f%%)", summary.janky_frames(), in dumpAsTextToFd() 297 dprintf(fd, "\n50th percentile: %dms", findPercentile(proto, 50)); in dumpAsTextToFd() 298 dprintf(fd, "\n90th percentile: %dms", findPercentile(proto, 90)); in dumpAsTextToFd() 299 dprintf(fd, "\n95th percentile: %dms", findPercentile(proto, 95)); in dumpAsTextToFd() 307 dprintf(fd, "\nHISTOGRAM:"); in dumpAsTextToFd() 315 dprintf(fd, "\nGPU HISTOGRAM:"); in dumpAsTextToFd() [all …]
|
/aosp12/packages/modules/StatsD/statsd/src/guardrail/ |
H A D | StatsdStats.cpp | 679 dprintf(out, in dumpStats() 710 dprintf(out, in dumpStats() 768 dprintf(out, "********Disk Usage stats***********\n"); in dumpStats() 770 dprintf(out, "********Pushed Atom stats***********\n"); in dumpStats() 785 dprintf(out, in dumpStats() 814 dprintf(out, "%s", uptimeMillis.c_str()); in dumpStats() 815 dprintf(out, "%s", pullTimeoutMillis.c_str()); in dumpStats() 839 dprintf(out, in dumpStats() 852 dprintf(out, "Uid %d: Times: ", pair.first); in dumpStats() 854 dprintf(out, "%d ", guardrailHitTime); in dumpStats() [all …]
|
/aosp12/system/bt/stack/gatt/ |
H A D | connection_manager.cc | 292 dprintf(fd, "\nconnection_manager state:\n"); in dump() 294 dprintf(fd, "\tno Low Energy connection attempts\n"); in dump() 298 dprintf(fd, "\tdevices attempting connection: %d", (int)bgconn_dev.size()); in dump() 300 dprintf(fd, "\n\t * %s: ", entry.first.ToString().c_str()); in dump() 303 dprintf(fd, "\n\t\tapps doing direct connect: "); in dump() 305 dprintf(fd, "%d, ", id.first); in dump() 310 dprintf(fd, "\n\t\tapps doing background connect: "); in dump() 312 dprintf(fd, "%d, ", id); in dump() 316 dprintf(fd, "\n"); in dump()
|
/aosp12/hardware/google/pixel/vibrator/drv2624/ |
H A D | Vibrator.cpp | 204 dprintf(fd, "AIDL:\n"); in dump() 206 dprintf(fd, " Close Loop Thresh: %" PRIu32 "\n", mCloseLoopThreshold); in dump() 208 dprintf(fd, " Steady Shape: %" PRIu32 "\n", mSteadyConfig->shape); in dump() 209 dprintf(fd, " Steady OD Clamp: %" PRIu32 "\n", mSteadyConfig->odClamp); in dump() 213 dprintf(fd, " Effect Shape: %" PRIu32 "\n", mEffectConfig->shape); in dump() 214 dprintf(fd, " Effect OD Clamp: %" PRIu32 "\n", mEffectConfig->odClamp); in dump() 217 dprintf(fd, " Click Duration: %" PRIu32 "\n", mClickDuration); in dump() 218 dprintf(fd, " Tick Duration: %" PRIu32 "\n", mTickDuration); in dump() 220 dprintf(fd, " Heavy Click Duration: %" PRIu32 "\n", mHeavyClickDuration); in dump() 222 dprintf(fd, "\n"); in dump() [all …]
|
/aosp12/system/bt/btif/src/ |
H A D | btif_debug_conn.cc | 84 dprintf(fd, "\nConnection Events:\n"); in btif_debug_conn_dump() 85 if (connection_events[dump_event].ts == 0) dprintf(fd, " None\n"); in btif_debug_conn_dump() 89 dprintf(fd, " %s %s %s", format_ts(evt->ts, ts_buffer, sizeof(ts_buffer)), in btif_debug_conn_dump() 92 dprintf(fd, " reason=%d", evt->disconnect_reason); in btif_debug_conn_dump() 93 dprintf(fd, "\n"); in btif_debug_conn_dump()
|
/aosp12/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 563 dprintf(fd, "Libraries NOT loaded:\n"); in EffectDumpEffects() 567 dprintf(fd, " Library %s\n", fl->name); in EffectDumpEffects() 568 dprintf(fd, " path: %s\n", fl->path); in EffectDumpEffects() 577 dprintf(fd, "Libraries loaded:\n"); in EffectDumpEffects() 581 dprintf(fd, " Library %s\n", l->name); in EffectDumpEffects() 582 dprintf(fd, " path: %s\n", l->path); in EffectDumpEffects() 584 dprintf(fd, " (no effects)\n"); in EffectDumpEffects() 589 dprintf(fd, "%s", s); in EffectDumpEffects() 597 dprintf(fd, "Skipped effects\n"); in EffectDumpEffects() 601 dprintf(fd, "%s", s); in EffectDumpEffects() [all …]
|
/aosp12/packages/services/Car/cpp/telemetry/cartelemetryd/src/ |
H A D | RingBuffer.cpp | 46 dprintf(fd, " RingBuffer:\n"); in dump() 47 dprintf(fd, " mSizeLimit=%d\n", mSizeLimit); in dump() 48 dprintf(fd, " mList.size=%zu\n", mList.size()); in dump() 49 dprintf(fd, " mTotalDroppedDataCount=%" PRIu64 "\n", mTotalDroppedDataCount); in dump()
|
/aosp12/system/bt/osi/src/ |
H A D | wakelock.cc | 352 dprintf(fd, "\nBluetooth Wakelock Statistics:\n"); in wakelock_debug_dump() 353 dprintf(fd, " Is acquired : %s\n", in wakelock_debug_dump() 355 dprintf(fd, " Acquired/released count : %zu / %zu\n", in wakelock_debug_dump() 357 dprintf(fd, " Acquired/released error count : %zu / %zu\n", in wakelock_debug_dump() 359 dprintf(fd, " Last acquire/release error code: %d / %d\n", in wakelock_debug_dump() 362 dprintf(fd, " Last acquired time (ms) : %llu\n", in wakelock_debug_dump() 364 dprintf(fd, " Acquired time min/max/avg (ms) : %llu / %llu / %llu\n", in wakelock_debug_dump() 368 dprintf(fd, " Total acquired time (ms) : %llu\n", in wakelock_debug_dump() 370 dprintf(fd, " Total run time (ms) : %llu\n", in wakelock_debug_dump()
|