/system/core/libunwindstack/tools/ |
D | unwind_reg_info.cpp | 43 printf("- %" PRId64, -value); in PrintSignedValue() 45 printf("+ %" PRId64, value); in PrintSignedValue() 60 printf(" %s\n", line.c_str()); in PrintExpression() 67 printf(" No fde found.\n"); in PrintRegInformation() 73 printf(" Cannot get location information.\n"); in PrintRegInformation() 93 printf(" cfa = "); in PrintRegInformation() 95 printf(" r%d = ", entry.first); in PrintRegInformation() 99 printf("[cfa "); in PrintRegInformation() 101 printf("]\n"); in PrintRegInformation() 105 printf("cfa "); in PrintRegInformation() [all …]
|
D | unwind_info.cpp | 42 printf("No ARM Unwind Information.\n\n"); in DumpArm() 46 printf("ARM Unwind Information:\n"); in DumpArm() 49 printf(" PC Range 0x%" PRIx64 " - 0x%" PRIx64 "\n", entry.second.offset + load_bias, in DumpArm() 53 printf(" PC 0x%" PRIx64, addr + load_bias); in DumpArm() 57 printf(" <%s>", name.c_str()); in DumpArm() 59 printf("\n"); in DumpArm() 62 printf(" Cannot find entry for address.\n"); in DumpArm() 71 printf(" Error trying to extract data.\n"); in DumpArm() 77 printf(" Error trying to evaluate dwarf data.\n"); in DumpArm() 82 printf("\n"); in DumpArm() [all …]
|
D | unwind_symbols.cpp | 32 printf("Usage: unwind_symbols <ELF_FILE> [<FUNC_ADDRESS>]\n"); in main() 33 printf(" Dump all function symbols in ELF_FILE. If FUNC_ADDRESS is\n"); in main() 34 printf(" specified, then get the function at that address.\n"); in main() 35 printf(" FUNC_ADDRESS must be a hex number.\n"); in main() 41 printf("Cannot stat %s: %s\n", argv[1], strerror(errno)); in main() 45 printf("%s is not a regular file.\n", argv[1]); in main() 54 printf("%s is not a hex number.\n", argv[2]); in main() 64 printf("Failed to init\n"); in main() 70 printf("%s is not a valid elf file.\n", argv[1]); in main() 76 printf("Soname: %s\n\n", soname.c_str()); in main() [all …]
|
D | unwind.cpp | 50 printf("%d: Failed to stop.\n", pid); in Attach() 57 printf("Failed to parse map data.\n"); in DoUnwind() 63 printf("Unable to get remote reg data\n"); in DoUnwind() 67 printf("ABI: "); in DoUnwind() 70 printf("arm"); in DoUnwind() 73 printf("x86"); in DoUnwind() 76 printf("arm64"); in DoUnwind() 79 printf("x86_64"); in DoUnwind() 82 printf("mips"); in DoUnwind() 85 printf("mips64"); in DoUnwind() [all …]
|
/system/core/trusty/keymaster/ |
D | trusty_keymaster_main.cpp | 149 printf("Keymaster begin() failed: %d\n", error); in do_operation() 155 printf("Keymaster update() failed: %d\n", error); in do_operation() 160 printf("Keymaster update() did not consume all data.\n"); in do_operation() 166 printf("Keymaster finish() failed: %d\n", error); in do_operation() 173 printf("===================\n"); in test_import_rsa() 174 printf("= RSA Import Test =\n"); in test_import_rsa() 175 printf("===================\n\n"); in test_import_rsa() 177 printf("=== Importing RSA keypair === \n"); in test_import_rsa() 182 printf("Error importing RSA key: %d\n\n", error); in test_import_rsa() 187 printf("=== Signing with imported RSA key ===\n"); in test_import_rsa() [all …]
|
/system/extras/taskstats/ |
D | taskstats.c | 136 printf("Basic task statistics\n"); in print_task_stats() 137 printf("---------------------\n"); in print_task_stats() 138 printf("%-25s%d\n", "Stats version:", s->version); in print_task_stats() 139 printf("%-25s%d\n", "Exit code:", s->ac_exitcode); in print_task_stats() 140 printf("%-25s0x%x\n", "Flags:", s->ac_flag); in print_task_stats() 141 printf("%-25s%d\n", "Nice value:", s->ac_nice); in print_task_stats() 142 printf("%-25s%s\n", "Command name:", s->ac_comm); in print_task_stats() 143 printf("%-25s%d\n", "Scheduling discipline:", s->ac_sched); in print_task_stats() 144 printf("%-25s%d\n", "UID:", s->ac_uid); in print_task_stats() 145 printf("%-25s%d\n", "GID:", s->ac_gid); in print_task_stats() [all …]
|
/system/media/audio_utils/tests/ |
D | fifo_multiprocess.cpp | 39 printf("frontFd=%d\n", frontFd); in main() 42 printf("rearFd=%d\n", rearFd); in main() 45 printf("dataFd=%d\n", dataFd); in main() 51 printf("parent frontIndex=%p\n", frontIndex); in main() 56 printf("parent rearIndex=%p\n", rearIndex); in main() 61 printf("parent data=%p\n", data); in main() 65 printf("page size=%d\n", pageSize); in main() 69 printf("fork writer:\n"); in main() 78 printf("writer unmap front ok=%d\n", ok); in main() 80 printf("writer prot read front ok=%d\n", ok); in main() [all …]
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 152 printf("%s %zux%zu bytes took %.06f seconds (%f MB/s)\n", in printIter() 157 printf(" %s %zux%zu bytes average %.2f MB/s std dev %.4f min %.2f MB/s max %.2f MB/s\n", in printSummary() 186 printf("%s %zux%zux%zu bytes took %.06f seconds (%f MB/s)\n", in printColdIter() 193 printf(" %s %zux%zux%zu bytes average %.2f MB/s std dev %.4f min %.2f MB/s max %.2f MB/s\n", in printColdSummary() 252 printf("%s: Chosen options lead to no copies, aborting.\n", name); \ 385 printf("sleep(%d) took %.06f seconds\n", delay, avg);, in benchmarkSleep() 386 … printf(" sleep(%d) average %.06f seconds std dev %f min %.06f seconds max %0.6f seconds\n", \ in benchmarkSleep() 472 if (retval != 0) printf("%s failed, return value %d\n", name, retval)); in benchmarkStrcmp() 489 if (retval != 0) printf("%s failed, return value %d\n", name, retval)); in benchmarkStrcmpCold() 501 printf("%s failed, expected %zu, got %zu\n", name, size, real_size); \ in benchmarkStrlen() [all …]
|
/system/extras/tests/memtest/ |
D | memtest.cpp | 39 printf("Usage: %s <test> <options>\n" in usage() 117 printf("size = %9zd failed\n", size); in malloc_test() 121 printf("size = %9zd, addr = %p (total = %9zd (%zd MB))\n", in malloc_test() 124 printf("filling...\n"); in malloc_test() 131 printf("done. allocated %zd MB\n", total / (1024*1024)); in malloc_test() 138 printf("Allocating %zd MB... ", size/(1024*1024)); fflush(stdout); in madvise_test() 140 printf("%p (%s)\n", addr1, addr1==(void*)-1 ? "failed" : "OK"); fflush(stdout); in madvise_test() 142 printf("touching %p...\n", addr1); fflush(stdout); in madvise_test() 145 printf("advising DONTNEED...\n"); fflush(stdout); in madvise_test() 148 printf("reading back %p...\n", addr1); fflush(stdout); in madvise_test() [all …]
|
D | bandwidth.cpp | 76 printf("The option --%s requires an argument.\n", name); in processBandwidthOptions() 135 printf("Unknown type name %s\n", name); in createBandwidthBenchmarkObject() 140 printf("Failed to allocate buffers for benchmark.\n"); in createBandwidthBenchmarkObject() 222 printf("The size values must be a multiple of 64.\n"); in processThreadArgs() 226 printf("Must specify the type value.\n"); in processThreadArgs() 240 printf("Calculating optimum run time...\n"); in processThreadArgs() 268 printf("Failed to launch thread %d\n", i); in runThreadedTest() 286 printf("Thread %d failed to join.\n", i); in runThreadedTest() 289 printf("Thread %d: bandwidth using %s %0.2f MB/s\n", i, in runThreadedTest() 304 printf("Failed to get available cpu list.\n"); in per_core_bandwidth() [all …]
|
/system/bt/embdrv/sbc/decoder/srce/ |
D | framing-sbc.c | 46 printf("SBC configuration\n"); in OI_CODEC_SBC_DumpConfig() 47 printf(" enhanced: %s\n", frameInfo->enhanced ? "true" : "false"); in OI_CODEC_SBC_DumpConfig() 48 printf(" frequency: %d\n", frameInfo->frequency); in OI_CODEC_SBC_DumpConfig() 49 printf(" subbands: %d\n", frameInfo->nrof_subbands); in OI_CODEC_SBC_DumpConfig() 50 printf(" blocks: %d\n", frameInfo->nrof_blocks); in OI_CODEC_SBC_DumpConfig() 51 printf(" channels: %d\n", frameInfo->nrof_channels); in OI_CODEC_SBC_DumpConfig() 52 printf(" mode: %s\n", OI_CODEC_SBC_ModeText[frameInfo->mode]); in OI_CODEC_SBC_DumpConfig() 53 printf(" alloc: %s\n", OI_CODEC_SBC_AllocText[frameInfo->alloc]); in OI_CODEC_SBC_DumpConfig() 54 printf(" bitpool: %d\n", frameInfo->bitpool); in OI_CODEC_SBC_DumpConfig()
|
/system/core/demangle/ |
D | demangle.cpp | 31 printf("usage: %s [-c] [NAME_TO_DEMANGLE...]\n", prog_name); in Usage() 32 printf("\n"); in Usage() 33 printf("Demangles C++ mangled names if supplied on the command-line, or found\n"); in Usage() 34 printf("reading from stdin otherwise.\n"); in Usage() 35 printf("\n"); in Usage() 36 printf("-c\tCompare against __cxa_demangle\n"); in Usage() 37 printf("\n"); in Usage() 63 printf("\nMismatch!\n"); in Compare() 64 printf("\tmangled name: %s\n", name); in Compare() 65 printf("\tour demangle: %s\n", demangled_name.c_str()); in Compare() [all …]
|
/system/core/libpixelflinger/tests/gglmul/ |
D | gglmul_test.cpp | 56 printf("Testing gglClampx\n"); in gglClampx_test() 60 printf("Test input=0x%08x output=0x%08x :", in gglClampx_test() 63 printf("Passed\n"); in gglClampx_test() 65 printf("Failed\n"); in gglClampx_test() 87 printf("Testing gglClz\n"); in gglClz_test() 91 printf("Test input=0x%08x output=%2d :", test->input, test->output); in gglClz_test() 93 printf("Passed\n"); in gglClz_test() 95 printf("Failed\n"); in gglClz_test() 125 printf("Testing gglMulx\n"); in gglMulx_test() 129 printf("Test x=0x%08x y=0x%08x shift=%2d :", in gglMulx_test() [all …]
|
/system/extras/procrank/ |
D | procrank.cpp | 83 printf("Unable to open /proc/meminfo: %s\n", strerror(errno)); in get_mem_info() 91 printf("Empty /proc/meminfo"); in get_mem_info() 313 printf("%5s ", "PID"); in main() 315 printf("%5s ", "oom"); in main() 318 printf("%7s %7s %7s ", "WRss", "WPss", "WUss"); in main() 320 printf("%7s %7s %7s ", "WSwap", "WPSwap", "WUSwap"); in main() 322 printf("%7s ", "WZSwap"); in main() 326 printf("%8s %7s %7s %7s ", "Vss", "Rss", "Pss", "Uss"); in main() 328 printf("%7s %7s %7s ", "Swap", "PSwap", "USwap"); in main() 330 printf("%7s ", "ZSwap"); in main() [all …]
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 58 printf("Usage: keystore_client_v2 <command> [options]\n"); in PrintUsageAndExit() 59 printf("Commands: brillo-platform-test [--prefix=<test_name_prefix>] [--test_for_0_3]\n" in PrintUsageAndExit() 86 printf(" %s\n", tag_str.c_str()); in PrintTags() 92 printf("Hardware:\n"); in PrintKeyCharacteristics() 94 printf("Software:\n"); in PrintKeyCharacteristics() 108 printf("[%s] %s\n", kBoldRedAbort, name.c_str()); in TestKey() 114 printf("[%s] %s\n", kBoldRedAbort, name.c_str()); in TestKey() 117 printf("===============================================================\n"); in TestKey() 118 printf("%s Key Characteristics:\n", name.c_str()); in TestKey() 130 printf("[%s] %s\n", in TestKey() [all …]
|
/system/bt/tools/hci/ |
D | main.c | 55 printf("No help command specified.\n"); in help() 61 printf("No command named '%s'.\n", argv[0]); in help() 65 printf("%s %s\n", argv[0], command->help); in help() 71 printf("Discoverable mode not specified.\n"); in set_discoverable() 76 printf("Invalid discoverable mode '%s'.\n", argv[0]); in set_discoverable() 88 printf("Device name not specified.\n"); in set_name() 94 printf("Device name cannot exceed 247 bytes.\n"); in set_name() 116 printf("PCM loopback mode not specified.\n"); in set_pcm_loopback() 121 printf("Invalid PCM mode '%s'.\n", argv[0]); in set_pcm_loopback() 133 printf("SCO route parameter must be specified.\n"); in set_sco_route() [all …]
|
/system/extras/app-launcher/ |
D | computestats.c | 66 printf("%lu\n", data_items[num_data_items++]); in main() 75 printf("Total items %lu\n", num_data_items); in main() 82 printf("\tMean %lu\n", mean); in main() 84 printf("\tStd Dev %.2f (%.2f%% of mean)\n", in main() 103 printf("\tWithin 1 SD %.2f%%\n", in main() 105 printf("\tWithin 2 SD %.2f%%\n", in main() 107 printf("\tWithin 3 SD %.2f%%\n", in main() 109 printf("\tOutside 3 SD %.2f%%\n", in main() 113 printf("\t50th percentile %lu\n", data_items[num_data_items / 2]); in main() 114 printf("\t75th percentile %lu\n", data_items[(3 * num_data_items) / 4]); in main() [all …]
|
D | computestatsf.c | 66 printf("%lf\n", data_items[num_data_items]); in main() 75 printf("Total items %lu\n", num_data_items); in main() 82 printf("\tMean %.4f\n", mean); in main() 84 printf("\tStd Dev %.4f (%.4f%% of mean)\n", in main() 103 printf("\tWithin 1 SD %.2f%%\n", in main() 105 printf("\tWithin 2 SD %.2f%%\n", in main() 107 printf("\tWithin 3 SD %.2f%%\n", in main() 109 printf("\tOutside 3 SD %.2f%%\n", in main() 113 printf("\t50th percentile %lf\n", data_items[num_data_items / 2]); in main() 114 printf("\t75th percentile %lf\n", data_items[(3 * num_data_items) / 4]); in main() [all …]
|
/system/core/libsync/ |
D | sync_test.c | 47 printf("thread %d wait %d failed: %s\n", sync_data->thread_no, in sync_thread() 50 printf("thread %d wait %d done\n", sync_data->thread_no, i); in sync_thread() 55 printf(" fence %s %d\n", info->name, info->status); in sync_thread() 60 printf(" pt %s %s %d %d.%06d", pt_info->obj_name, in sync_thread() 64 printf(" val=%d\n", *(uint32_t *)pt_info->driver_data); in sync_thread() 66 printf("\n"); in sync_thread() 98 printf("can't create sync pt %d: %s", val, strerror(errno)); in main() 102 printf("sync_data[%d].fd[%d] = %d;\n", i, j, fd); in main() 112 printf("can't merge sync pts %d and %d: %s\n", in main() 124 printf("press enter to inc to %d\n", i+1); in main() [all …]
|
/system/tpm/trunks/ |
D | trunks_client.cc | 111 printf("Owner password set: %s\n", in DumpStatus() 113 printf("Endorsement password set: %s\n", in DumpStatus() 115 printf("Lockout password set: %s\n", in DumpStatus() 117 printf("Ownership status: %s\n", state->IsOwned() ? "true" : "false"); in DumpStatus() 118 printf("In lockout: %s\n", state->IsInLockout() ? "true" : "false"); in DumpStatus() 119 printf("Platform hierarchy enabled: %s\n", in DumpStatus() 121 printf("Storage hierarchy enabled: %s\n", in DumpStatus() 123 printf("Endorsement hierarchy enabled: %s\n", in DumpStatus() 125 printf("Is Tpm enabled: %s\n", state->IsEnabled() ? "true" : "false"); in DumpStatus() 126 printf("Was shutdown orderly: %s\n", in DumpStatus() [all …]
|
/system/chre/build/ |
D | build_template.mk | 156 printf "00000000 %.8x " `$(BE_TO_LE_SCRIPT) 0x00000001` > $$@ 157 printf "%.8x " `$(BE_TO_LE_SCRIPT) 0x4f4e414e` >> $$@ 158 printf "%.16x\n" `$(BE_TO_LE_SCRIPT) $(NANOAPP_ID)` >> $$@ 159 printf "00000010 %.8x " `$(BE_TO_LE_SCRIPT) $(NANOAPP_VERSION)` >> $$@ 160 printf "%.8x " `$(BE_TO_LE_SCRIPT) 0x00000001` >> $$@ 161 printf "%.16x\n" `$(BE_TO_LE_SCRIPT) $(13)` >> $$@ 162 printf "00000020 %.2x " \ 164 printf "%.2x " \ 166 printf "%.12x \n" `$(BE_TO_LE_SCRIPT) 0x000000` >> $$@
|
/system/extras/simpleperf/ |
D | cmd_list.cpp | 73 printf("List of %s:\n", type_name.c_str()); in PrintEventTypesOfType() 75 printf(" # Please refer to PMU event numbers listed in ARMv8 manual for details.\n"); in PrintEventTypesOfType() 76 …printf(" # A possible link is https://developer.arm.com/docs/ddi0487/latest/arm-architecture-refe… in PrintEventTypesOfType() 81 printf(" %s", event_type.name.c_str()); in PrintEventTypesOfType() 83 printf("\t\t# %s", event_type.description.c_str()); in PrintEventTypesOfType() 85 printf("\n"); in PrintEventTypesOfType() 89 printf("\n"); in PrintEventTypesOfType() 163 printf("dwarf-based-call-graph\n"); in ShowFeatures() 166 printf("trace-offcpu\n"); in ShowFeatures() 169 printf("set-clockid\n"); in ShowFeatures()
|
/system/extras/verity/ |
D | generate_verity_key.c | 75 printf("Failed to open '%s'\n", pem_file); in convert_x509() 81 printf("Failed to read PEM certificate from file '%s'\n", pem_file); in convert_x509() 87 printf("Failed to extract public key from certificate '%s'\n", pem_file); in convert_x509() 93 printf("Failed to get the RSA public key from '%s'\n", pem_file); in convert_x509() 98 printf("Failed to write public key\n"); in convert_x509() 130 printf("Failed to allocate key\n"); in generate_key() 140 printf("Failed to open '%s'\n", file); in generate_key() 145 printf("Failed to write key\n"); in generate_key() 150 printf("Failed to write public key\n"); in generate_key() 166 … printf("Usage: generate_verity_key <path-to-key> | -convert <path-to-x509-pem> <path-to-key>\n"); in usage()
|
/system/bt/tools/mcap_tool/ |
D | mcap_tool.cc | 136 printf("%s: mdl=%d, event=%d, len=%d, offset=%d, layer_specific=%d\n", in mcap_data_cb() 139 printf("%s: HEXDUMP OF DATA LENGTH %u:\n", __func__, p_pkt->len); in mcap_data_cb() 140 printf("=========================Begin=========================\n"); in mcap_data_cb() 143 printf("%02x", p_pkt->data[i]); in mcap_data_cb() 145 printf("\n"); in mcap_data_cb() 148 printf(" "); in mcap_data_cb() 152 if (!newline) printf("\n"); in mcap_data_cb() 153 printf("=========================End===========================\n"); in mcap_data_cb() 174 printf("set_aid_and_cap : pid %d, uid %d gid %d", getpid(), getuid(), in config_permissions() 416 printf("properties is null\n"); in adapter_properties_changed() [all …]
|
/system/extras/tests/directiotest/ |
D | directiotest.c | 146 printf("%08x ", i); in dump_hex() 147 printf("%02x ", val); in dump_hex() 150 printf(" %-16s\n", ascii_buf); in dump_hex() 157 printf(" "); in dump_hex() 158 printf(" %-16s\n", ascii_buf); in dump_hex() 165 printf("Testing area %d/%d (%6.2f%% complete)\r", current, total, in update_progress() 183 printf("Usage: directiotest blkdev_path\n"); in main() 225 printf("Warning: Device too large for test variables\n"); in main() 226 printf("Entire device will not be tested\n"); in main() 232 printf("Starting test\n"); in main() [all …]
|