Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 25 of 219) sorted by relevance

123456789

/system/core/libunwindstack/tools/
Dunwind_info.cpp42 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, pc + load_bias); in DumpArm()
56 printf(" <%s>", name.c_str()); in DumpArm()
58 printf("\n"); in DumpArm()
61 printf(" Cannot find entry for address.\n"); in DumpArm()
70 printf(" Error trying to extract data.\n"); in DumpArm()
76 printf(" Error trying to evaluate dwarf data.\n"); in DumpArm()
81 printf("\n"); in DumpArm()
[all …]
Dunwind_reg_info.cpp45 printf("- %" PRId64, -value); in PrintSignedValue()
47 printf("+ %" PRId64, value); in PrintSignedValue()
62 printf(" %s\n", line.c_str()); in PrintExpression()
69 printf(" No fde found.\n"); in PrintRegInformation()
75 printf(" Cannot get location information.\n"); in PrintRegInformation()
95 printf(" cfa = "); in PrintRegInformation()
97 printf(" r%d = ", entry.first); in PrintRegInformation()
101 printf("[cfa "); in PrintRegInformation()
103 printf("]\n"); in PrintRegInformation()
107 printf("cfa "); in PrintRegInformation()
[all …]
Dunwind_symbols.cpp32 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 …]
Dunwind.cpp55 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/core/trusty/keymaster/legacy/
Dtrusty_keymaster_main.cpp155 printf("Keymaster begin() failed: %d\n", error); in do_operation()
161 printf("Keymaster update() failed: %d\n", error); in do_operation()
166 printf("Keymaster update() did not consume all data.\n"); in do_operation()
172 printf("Keymaster finish() failed: %d\n", error); in do_operation()
179 printf("===================\n"); in test_import_rsa()
180 printf("= RSA Import Test =\n"); in test_import_rsa()
181 printf("===================\n\n"); in test_import_rsa()
183 printf("=== Importing RSA keypair === \n"); in test_import_rsa()
189 printf("Error importing RSA key: %d\n\n", error); in test_import_rsa()
194 printf("=== Signing with imported RSA key ===\n"); in test_import_rsa()
[all …]
/system/extras/taskstats/
Dtaskstats.c136 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/
Dfifo_multiprocess.cpp39 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/bt/embdrv/sbc/decoder/srce/
Dframing-sbc.c46 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/
Ddemangle.cpp31 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/
Dgglmul_test.cpp56 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/
DCppCodeGenerator.java98 headerFile.printf("#ifndef %s_H\n", fileName.toUpperCase()); in print()
99 headerFile.printf("#define %s_H\n\n", fileName.toUpperCase()); in print()
100 headerFile.printf("#include <libxml/parser.h>\n"); in print()
101 headerFile.printf("#include <libxml/xinclude.h>\n\n"); in print()
102 headerFile.printf("#include <map>\n"); in print()
103 headerFile.printf("#include <optional>\n"); in print()
104 headerFile.printf("#include <string>\n"); in print()
105 headerFile.printf("#include <vector>\n\n"); in print()
107 cppFile.printf("#define LOG_TAG \"%s\"\n\n", fileName); in print()
108 cppFile.printf("#include <android/log.h>\n"); in print()
[all …]
/system/bt/tools/hci/
Dmain.c55 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/
Dcomputestats.c66 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 …]
Dcomputestatsf.c66 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/security/keystore/
Dkeystore_cli_v2.cpp60 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/chre/build/
Dbuild_template.mk156 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/testing/gtest_extras/
DTest.cpp54 printf(" %s\n", name_.c_str()); in PrintGtestFormat()
55 printf("%s", output_.c_str()); in PrintGtestFormat()
69 printf(" %s", name_.c_str()); in PrintGtestFormat()
71 printf(" (%" PRId64 " ms)", RunTimeNs() / kNsPerMs); in PrintGtestFormat()
73 printf("\n"); in PrintGtestFormat()
102 printf(" %s", name_.c_str()); in Print()
104 printf(" (%" PRId64 " ms)", (end_ns_ - start_ns_) / kNsPerMs); in Print()
106 printf("\n"); in Print()
108 printf("%s", output_.c_str()); in Print()
140 printf("Reading of done process did not finish after 2 seconds.\n"); in ReadUntilClosed()
DIsolateMain.cpp36 printf("Unit Test Options:\n"); in PrintHelpInfo()
39 printf(" or "); in PrintHelpInfo()
42 printf( in PrintHelpInfo()
47 printf(" Don't use isolation mode, run all tests in a single process.\n"); in PrintHelpInfo()
50 printf(" Run each test in no longer than "); in PrintHelpInfo()
52 printf( in PrintHelpInfo()
57 printf(" Test running longer than "); in PrintHelpInfo()
59 printf( in PrintHelpInfo()
63 printf( in PrintHelpInfo()
68 printf( in PrintHelpInfo()
/system/extras/verity/
Dgenerate_verity_key.c75 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()
166printf("Usage: generate_verity_key <path-to-key> | -convert <path-to-x509-pem> <path-to-key>\n"); in usage()
/system/extras/simpleperf/
Dcmd_list.cpp73 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()
76printf(" # 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/tests/directiotest/
Ddirectiotest.c146 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/core/libion/
Dion_test.c52 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/
Dtest_rs.c56 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/
Dtipc_test.c161 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/
Dcrypto.cpp20 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()

123456789