/system/core/libunwindstack/tools/ |
D | unwind_info.cpp | 43 printf("No ARM Unwind Information.\n\n"); in DumpArm() 47 printf("ARM Unwind Information:\n"); in DumpArm() 50 printf(" PC Range 0x%" PRIx64 " - 0x%" PRIx64 "\n", entry.second.offset + load_bias, in DumpArm() 54 printf(" PC 0x%" PRIx64, pc + 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_reg_info.cpp | 46 printf("- %" PRId64, -value); in PrintSignedValue() 48 printf("+ %" PRId64, value); in PrintSignedValue() 63 printf(" %s\n", line.c_str()); in PrintExpression() 71 printf(" No fde found.\n"); in PrintRegInformation() 77 printf(" Cannot get location information.\n"); in PrintRegInformation() 97 printf(" cfa = "); in PrintRegInformation() 99 printf(" r%d = ", entry.first); in PrintRegInformation() 103 printf("[cfa "); in PrintRegInformation() 105 printf("]\n"); in PrintRegInformation() 109 printf("cfa "); in PrintRegInformation() [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("%s is not a valid elf file.\n", argv[1]); in main() 70 printf("Soname: %s\n\n", soname.c_str()); in main() 75 printf("ABI: arm\n"); in main() [all …]
|
D | unwind.cpp | 55 printf("%d: Failed to stop.\n", pid); in Attach() 62 printf("Unable to get remote reg data\n"); in DoUnwind() 66 printf("ABI: "); in DoUnwind() 69 printf("arm"); in DoUnwind() 72 printf("x86"); in DoUnwind() 75 printf("arm64"); in DoUnwind() 78 printf("x86_64"); in DoUnwind() 81 printf("mips"); in DoUnwind() 84 printf("mips64"); in DoUnwind() 87 printf("unknown\n"); in DoUnwind() [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 …]
|
D | biquad_filter.cpp | 33 printf("\nUsage:"); in printUsage() 34 printf("\n <executable> -ch:<process_channels> -fch:<file_channels> " in printUsage() 36 printf("\nwhere,\n <process_channels> (1 through 8) default 2"); in printUsage() 37 printf("\n <file_channels> (1 through 8) default 2\n"); in printUsage() 38 printf("\n <inputfile> is the input file name"); in printUsage() 39 printf("\n on which filtering is applied"); in printUsage() 40 printf("\n <outputfile> processed output file\n"); in printUsage() 55 printf("Error: missing input/output files\n"); in main() 64 printf("Error: missing input/output files\n"); in main() 69 printf("%s ", infile); in main() [all …]
|
/system/core/set-verity-state/ |
D | set-verity-state.cpp | 48 if (getuid() != 0) printf("Maybe run adb root?\n"); in suggest_run_adb_root() 66 printf("Could not make block device %s writable (%s).\n", block_device, strerror(errno)); in set_verity_enabled_state() 73 printf("Could not open block device %s (%s).\n", block_device, strerror(errno)); in set_verity_enabled_state() 81 printf("Couldn't find verity metadata!\n"); in set_verity_enabled_state() 86 printf("Verity already disabled on %s\n", mount_point); in set_verity_enabled_state() 91 printf("Verity already enabled on %s\n", mount_point); in set_verity_enabled_state() 96 printf("Could not set verity %s flag on device %s with error %s\n", in set_verity_enabled_state() 106 printf("%s overlayfs for %s\n", enable ? "disabling" : "using", mount_point); in set_verity_enabled_state() 111 printf("Overlayfs %s for %s failed with error %s\n", enable ? "teardown" : "setup", in set_verity_enabled_state() 115 printf("Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point); in set_verity_enabled_state() [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/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/tools/xsdc/src/com/android/xsdc/cpp/ |
D | CppCodeGenerator.java | 103 headerFile.printf("#ifndef %s\n", headerMacro); in print() 104 headerFile.printf("#define %s\n\n", headerMacro); in print() 105 headerFile.printf("#include <libxml/parser.h>\n"); in print() 106 headerFile.printf("#include <libxml/xinclude.h>\n\n"); in print() 108 headerFile.printf("#include <map>\n"); in print() 109 headerFile.printf("#include <optional>\n"); in print() 110 headerFile.printf("#include <string>\n"); in print() 111 headerFile.printf("#include <vector>\n\n"); in print() 113 cppFile.printf("#define LOG_TAG \"%s\"\n\n", pkgName); in print() 114 cppFile.printf("#include <android/log.h>\n"); in print() [all …]
|
/system/memory/libdmabufheap/tests/ |
D | dmabuf_heap_test.c | 33 printf("in custom legacy ion cpu sync callback\n"); in legacy_ion_custom_callback() 47 printf("unable to get allocator\n"); in libdmabufheaptest() 62 printf("MapDmabufHeapNameToIonHeap failed: %d\n", ret); in libdmabufheaptest() 68 printf("Alloc failed: %d\n", fd); in libdmabufheaptest() 81 printf("DmabufHeapCpuSyncStart failed: %d\n", ret); in libdmabufheaptest() 90 printf("%s failed wrote %zu read %d from mapped " in libdmabufheaptest() 100 printf("DmabufHeapCpuSyncEnd failed: %d\n", ret); in libdmabufheaptest() 108 printf("PASSED\n"); in libdmabufheaptest() 114 printf("*****running with custom legacy ion cpu sync callback****\n"); in main() 116 printf("****running without custom legacy ion cpu sync callback****\n"); in main()
|
/system/bt/tools/hci/ |
D | main.c | 56 printf("No help command specified.\n"); in help() 62 printf("No command named '%s'.\n", argv[0]); in help() 66 printf("%s %s\n", argv[0], command->help); in help() 72 printf("Discoverable mode not specified.\n"); in set_discoverable() 77 printf("Invalid discoverable mode '%s'.\n", argv[0]); in set_discoverable() 89 printf("Device name not specified.\n"); in set_name() 95 printf("Device name cannot exceed 247 bytes.\n"); in set_name() 117 printf("PCM loopback mode not specified.\n"); in set_pcm_loopback() 122 printf("Invalid PCM mode '%s'.\n", argv[0]); in set_pcm_loopback() 134 printf("SCO route parameter must be specified.\n"); in set_sco_route() [all …]
|
/system/extras/app-launcher/ |
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 …]
|
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 …]
|
/system/memory/libmeminfo/libdmabufinfo/tools/ |
D | dmabuf_dump.cpp | 61 printf("dmabuf info not found ¯\\_(ツ)_/¯\n"); in PrintDmaBufTable() 72 printf(" Dmabuf Inode | Size | Fd Ref Counts | Map Ref Counts |"); in PrintDmaBufTable() 74 printf("%16s:%-5d |", GetProcessComm(pid).c_str(), pid); in PrintDmaBufTable() 76 printf("\n"); in PrintDmaBufTable() 84 printf("%16ju |%13" PRIu64 " kB |%16zu |%16zu |", in PrintDmaBufTable() 108 printf("%17d refs |", pid_refs); in PrintDmaBufTable() 110 printf("%22s |", "--"); in PrintDmaBufTable() 114 printf("\n"); in PrintDmaBufTable() 117 printf("------------------------------------\n"); in PrintDmaBufTable() 118 printf("%-16s %13" PRIu64 " kB |%16s |", "TOTALS", dmabuf_total_size, "n/a"); in PrintDmaBufTable() [all …]
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 60 printf("Usage: keystore_client_v2 <command> [options]\n"); in PrintUsageAndExit() 61 printf("Commands: brillo-platform-test [--prefix=<test_name_prefix>] [--test_for_0_3]\n" in PrintUsageAndExit() 89 printf(" %s\n", tag_str.c_str()); in PrintTags() 95 printf("Hardware:\n"); in PrintKeyCharacteristics() 97 printf("Software:\n"); in PrintKeyCharacteristics() 111 printf("[%s] %s\n", kBoldRedAbort, name.c_str()); in TestKey() 117 printf("[%s] %s\n", kBoldRedAbort, name.c_str()); in TestKey() 120 printf("===============================================================\n"); in TestKey() 121 printf("%s Key Characteristics:\n", name.c_str()); in TestKey() 133 printf("[%s] %s\n", in TestKey() [all …]
|
/system/tools/xsdc/src/com/android/xsdc/java/ |
D | JavaCodeGenerator.java | 91 out.printf("package %s;\n\n", packageName); in print() 99 out.printf("package %s;\n\n", packageName); in print() 110 out.printf("package %s;\n\n", packageName); in print() 128 out.printf("@java.lang.Deprecated\n"); in printEnumClass() 130 out.printf("public enum %s {", name); in printEnumClass() 135 out.printf("@java.lang.Deprecated\n"); in printEnumClass() 141 out.printf("\n%s(\"%s\"),", Utils.toEnumName(value), tag.getValue()); in printEnumClass() 143 out.printf(";\n\n"); in printEnumClass() 144 out.printf("private final String rawName;\n\n"); in printEnumClass() 145 out.printf("%s(String rawName) {\n" in printEnumClass() [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/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/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 …]
|
/system/memory/libion/ |
D | ion_test.c | 52 printf("%s failed: %s\n", __func__, strerror(ret)); in _ion_alloc_test() 66 printf("%s failed: %s %d\n", __func__, strerror(ret), handle); in ion_alloc_test() 70 printf("ion alloc test: passed\n"); in ion_alloc_test() 92 printf("%s failed wrote %zu read %d from mapped " in ion_map_test() 143 printf("share failed %s\n", strerror(errno)); in ion_share_test() 155 printf("master? [%10s] should be [master]\n", ptr); in ion_share_test() 156 printf("master sending msg 1\n"); in ion_share_test() 160 printf("master? [%10s] should be [child]\n", ptr); in ion_share_test() 164 printf("master->master? [%10s]\n", ptr); in ion_share_test() 191 printf("no cmsg rcvd in child"); in ion_share_test() [all …]
|
/system/extras/libfec/test/ |
D | test_rs.c | 56 printf("%d errors\n", neras); in main() 67 printf("\tno erasures: %d\n", rc); in main() 72 printf("\t\terror at %d (%02x)\n", i, corr[i]); in main() 76 printf("\t\t%d errors in output\n", errors); in main() 80 printf("\terasures: %d\n", rc); in main() 85 printf("\t\terror at %d (%02x)\n", i, dupl[i]); in main() 89 printf("\t\t%d errors in output\n", errors); in main()
|
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 161 printf("%s: repeat = %u\n", __func__, repeat); in connect_test() 185 printf("%s: done\n", __func__); in connect_test() 197 printf("%s: repeat = %u\n", __func__, repeat); in connect_foo() 210 printf("%s: done\n", __func__); in connect_foo() 223 printf("%s: repeat = %u\n", __func__, repeat); in closer1_test() 234 printf("%s: connected\n", __func__); in closer1_test() 240 printf("%s: done\n", __func__); in closer1_test() 252 printf("%s: repeat = %u\n", __func__, repeat); in closer2_test() 259 printf("failed to connect to '%s' service\n", "closer2"); in closer2_test() 269 printf("%s: done\n", __func__); in closer2_test() [all …]
|
/system/extras/crypto-perf/ |
D | crypto.cpp | 20 printf("--------------------------------------------------------------------------------\n"); in usage() 21 printf("Usage:"); in usage() 22 printf(" crypto [--cpu_to_lock CPU] [--locked_freq FREQ_IN_KHZ]\n\n"); in usage() 23 printf("!!!!!!Lock the desired core to a desired frequency before invoking this benchmark.\n"); in usage() 24 printf( in usage() 27 printf("--------------------------------------------------------------------------------\n"); in usage() 42 printf("Unknown option %s\n", argv[i]); in processOptions() 52 printf("The option %s requires one argument.\n", argv[i]); in processOptions() 146 printf("--------------------------------------------------------------------------------\n"); in main()
|