/system/bt/tools/bdtool/ |
D | bdtool.c | 77 fprintf(stderr, "Can only select either bond or discoverable, not both\n"); in main() 82 fprintf(stderr, "Can only select either sco_listen or sco_connect, not both\n"); in main() 87 fprintf(stderr, "Must specify one command\n"); in main() 92 fprintf(stderr, "Will be unable to catch signals\n"); in main() 95 fprintf(stdout, "Bringing up bluetooth adapter\n"); in main() 97 fprintf(stderr, "Unable to open Bluetooth HAL.\n"); in main() 103 fprintf(stdout, "BT adapter is up\n"); in main() 105 fprintf(stdout, "Starting to start discovery\n"); in main() 107 fprintf(stdout, "Started discovery for %d seconds\n", timeout_in_sec); in main() 111 fprintf(stdout, "Starting to cancel discovery\n"); in main() [all …]
|
D | adapter.c | 116 …fprintf(stdout, "Bond state changed callback addr:%s state:%s\n", bdaddr_to_string(bdaddr, buf, si… in bond_state_changed() 123 fprintf(stdout, "Device found num_properties:%d\n", num_properties); in device_found() 145 fprintf(stdout, "Discover state %s\n", state_name); in discovery_state_changed() 156 fprintf(stdout, "Device found bdaddr:%s num_properties:%d\n", in remote_device_properties() 190 …fprintf(stdout, "Got ssp request device_class:%u passkey:%x pairing_variant:%s\n", cod, pass_key, … in ssp_request() 192 …fprintf(stdout, "Device found:%s %s\n", bdaddr_to_string(remote_bd_addr, buf, sizeof(buf)), bd_nam… in ssp_request() 195 fprintf(stdout, "auto-accepting bond\n"); in ssp_request() 214 fprintf(stdout, " name:%s\n", name->name); in parse_properties() 223 fprintf(stdout, " addr:%s\n", bdaddr_to_string(addr, buf, sizeof(buf))); in parse_properties() 233 fprintf(stdout, " uuid:%zd: ", i); in parse_properties() [all …]
|
/system/core/debuggerd/ |
D | crasher.c | 137 fprintf(stderr,"crasher: init pid=%d tid=%d\n", getpid(), gettid()); in do_action() 180 fprintf(stderr, "%s OP\n", __progname); in do_action() 181 fprintf(stderr, "where OP is:\n"); in do_action() 182 fprintf(stderr, " smash-stack overwrite a stack-guard canary\n"); in do_action() 183 fprintf(stderr, " stack-overflow recurse until the stack overflows\n"); in do_action() 184 fprintf(stderr, " heap-corruption cause a libc abort by corrupting the heap\n"); in do_action() 185 fprintf(stderr, " heap-usage cause a libc abort by abusing a heap function\n"); in do_action() 186 fprintf(stderr, " nostack crash with a NULL stack pointer\n"); in do_action() 187 fprintf(stderr, " ctest (obsoleted by thread-crash?)\n"); in do_action() 188 fprintf(stderr, " exit call exit(1)\n"); in do_action() [all …]
|
/system/security/keystore/ |
D | keystore_cli.cpp | 52 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \ 65 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \ 70 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \ 83 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \ 88 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \ 101 fprintf(stderr, "Usage: %s " #cmd " <name> <uid>\n", argv[0]); \ 107 fprintf(stderr, "Running as uid %d\n", uid); \ 111 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \ 124 fprintf(stderr, "Usage: %s " #cmd " <name> <uid>\n", argv[0]); \ 132 fprintf(stderr, "Running as uid %d\n", uid); \ [all …]
|
/system/extras/ext4_utils/ |
D | make_ext4fs_main.c | 55 fprintf(stderr, "%s [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]\n", basename(path)); in usage() 56 fprintf(stderr, " [ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ]\n"); in usage() 57 fprintf(stderr, " [ -L <label> ] [ -f ] [ -a <android mountpoint> ] [ -u ]\n"); in usage() 58 fprintf(stderr, " [ -S file_contexts ] [ -C fs_config ] [ -T timestamp ]\n"); in usage() 59 fprintf(stderr, " [ -z | -s ] [ -w ] [ -c ] [ -J ] [ -v ] [ -B <block_list_file> ]\n"); in usage() 60 fprintf(stderr, " [ -d <base_alloc_file_in> ] [ -D <base_alloc_file_out> ]\n"); in usage() 61 fprintf(stderr, " <filename> [[<directory>] <target_out_directory>]\n"); in usage() 120 fprintf(stderr, "can't set android permissions - built without android support\n"); in main() 144 fprintf(stderr, "Warning: -t (initialize inode tables) is deprecated\n"); in main() 168 fprintf(stderr, "failed to open block_list_file: %s\n", strerror(errno)); in main() [all …]
|
D | setup_fs.c | 28 fprintf(stderr,"not a block device name: %s\n", blockdev); in setup_fs() 34 fprintf(stderr,"device %s already has a filesystem\n", blockdev); in setup_fs() 40 fprintf(stderr,"device %s not wiped, probably encrypted, not wiping\n", blockdev); in setup_fs() 44 fprintf(stderr,"+++\n"); in setup_fs() 48 fprintf(stderr,"error: setup_fs: fork failed\n"); in setup_fs() 58 fprintf(stderr, "error: setup_fs: waitpid failed!\n"); in setup_fs() 63 fprintf(stderr,"---\n"); in setup_fs() 80 fprintf(stderr,"REBOOT!\n"); in main()
|
/system/extras/tests/pagingtest/ |
D | pagingtest.c | 25 fprintf(stderr, "unable to create temp file: %s\n", strerror(errno)); in create_tmp_file() 31 fprintf(stderr, "unable to open urandom: %s\n", strerror(errno)); in create_tmp_file() 36 fprintf(stderr, "unable to unlink temp file: %s\n", strerror(errno)); in create_tmp_file() 41 fprintf(stderr, "unable to allocate temp file: %s\n", strerror(errno)); in create_tmp_file() 47 fprintf(stderr, "unable to mmap temp file: %s\n", strerror(errno)); in create_tmp_file() 54 fprintf(stderr, "write random data failed: %s\n", strerror(errno)); in create_tmp_file() 59 fprintf(stderr, "write random data incomplete\n"); in create_tmp_file() 64 fprintf(stderr, "madvise DONTNEED failed: %s\n", strerror(errno)); in create_tmp_file() 69 fprintf(stderr, "fsync failed: %s\n", strerror(errno)); in create_tmp_file() 75 fprintf(stderr, "fadvise DONTNEED failed: %s\n", strerror(errno)); in create_tmp_file() [all …]
|
/system/extras/tests/storage/ |
D | opentest.c | 37 fprintf(stderr, "Usage: opentest <directory> <num_files>\n"); in main() 45 fprintf(stderr, "num_files must be between 1 and 65536\n"); in main() 50 fprintf(stderr, "Cannot stat %s\n", dir); in main() 55 fprintf(stderr, "%s is not a directory!\n", dir); in main() 60 fprintf(stderr, "No access to %s\n", dir); in main() 66 fprintf(stderr, "Unable to malloc array of %d fds\n", nfiles); in main() 71 fprintf(stderr, "Cannot chdir to %s\n", dir); in main() 78 fprintf(stderr, "Unable to raise RLIMIT_NOFILE to %ld\n", rlim.rlim_cur); in main() 86 fprintf(stderr, "Unable to open %d fd\n", i); in main()
|
/system/extras/boot_control_copy/ |
D | boot_control_copy.c | 51 fprintf(stderr, "WARNING: Error getting information about part %s: %s\n", in get_dev_t_for_partition() 67 fprintf(stderr, "WARNING: Error getting information about /system: %s\n", in module_getCurrentSlot() 81 fprintf(stderr, "WARNING: Error determining current slot " in module_getCurrentSlot() 110 fprintf(stderr, "Error reading %zd bytes from source: %s\n", in copy_data() 122 fprintf(stderr, "Error writing %zd bytes to destination: %s\n", in copy_data() 145 fprintf(stderr, "WARNING: Error loading boot-info. Resetting.\n"); in module_setActiveBootSlot() 149 fprintf(stderr, "WARNING: boot-info is invalid. Resetting.\n"); in module_setActiveBootSlot() 161 fprintf(stderr, "Error saving boot-info.\n"); in module_setActiveBootSlot() 169 fprintf(stderr, "Error opening \"%s\" partition.\n", src_name); in module_setActiveBootSlot() 175 fprintf(stderr, "Error opening \"boot\" partition.\n"); in module_setActiveBootSlot() [all …]
|
/system/core/libsparse/ |
D | append2simg.c | 46 fprintf(stderr, "Usage: append2simg <output> <input>\n"); in usage() 75 fprintf(stderr, "Couldn't allocate filename\n"); in main() 81 fprintf(stderr, "Couldn't open output file (%s)\n", strerror(errno)); in main() 87 fprintf(stderr, "Couldn't import output file\n"); in main() 93 fprintf(stderr, "Couldn't open input file (%s)\n", strerror(errno)); in main() 99 fprintf(stderr, "Couldn't get input file length (%s)\n", strerror(errno)); in main() 102 fprintf(stderr, "Input file is not a multiple of the output file's block size"); in main() 109 fprintf(stderr, "Couldn't add input file\n"); in main() 116 fprintf(stderr, "Couldn't open temporary file (%s)\n", strerror(errno)); in main() 122 fprintf(stderr, "Failed to write sparse file\n"); in main() [all …]
|
D | simg2simg.c | 39 fprintf(stderr, "Usage: simg2simg <sparse image file> <sparse_image_file> <max_size>\n"); in usage() 63 fprintf(stderr, "Cannot open input file %s\n", argv[1]); in main() 69 fprintf(stderr, "Failed to import sparse file\n"); in main() 75 fprintf(stderr, "Failed to resparse\n"); in main() 81 fprintf(stderr, "Failed to allocate sparse file array\n"); in main() 87 fprintf(stderr, "Failed to resparse\n"); in main() 94 fprintf(stderr, "Filename too long\n"); in main() 100 fprintf(stderr, "Cannot open output file %s\n", argv[2]); in main() 106 fprintf(stderr, "Failed to write sparse file\n"); in main()
|
/system/core/toolbox/ |
D | nandread.c | 77 fprintf(stderr, "%s [-d <dev>] [-f file] [-s sparesize] [-vh]\n" in nandread_main() 88 fprintf(stderr, "%s: invalid option -%c\n", in nandread_main() 95 fprintf(stderr, "%s: extra arguments\n", argv[0]); in nandread_main() 99 fprintf(stderr, "%s: specify device name\n", argv[0]); in nandread_main() 105 fprintf(stderr, "cannot open %s, %s\n", devname, strerror(errno)); in nandread_main() 112 fprintf(stderr, "cannot open %s, %s\n", filename, strerror(errno)); in nandread_main() 120 fprintf(stderr, "cannot open %s, %s\n", statusfilename, strerror(errno)); in nandread_main() 127 fprintf(stderr, "failed get mtd info for %s, %s\n", in nandread_main() 141 fprintf(stderr, "failed allocate readbuffer size %u\n", in nandread_main() 153 fprintf(stderr, "failed get ecc layout for %s, %s\n", in nandread_main() [all …]
|
D | r.c | 18 fprintf(stderr,"r [-b|-s] <address> [<value>]\n"); in usage() 49 fprintf(stderr, "end address <= start address\n"); in main() 62 fprintf(stderr,"cannot open /dev/mem\n"); in main() 74 fprintf(stderr,"cannot mmap region\n"); in main() 83 fprintf(stderr,"%08"PRIxPTR": %08x\n", addr, *x); in main() 89 fprintf(stderr,"%08"PRIxPTR": %04x\n", addr, *x); in main() 95 fprintf(stderr,"%08"PRIxPTR": %02x\n", addr, *x); in main()
|
/system/extras/puncture_fs/ |
D | puncture_fs.c | 42 fprintf(stderr, in usage() 52 fprintf(stderr, "\nerrno: %d. Failed to get free disk space on %s\n", in get_free_space() 90 fprintf(stderr, "\nerrno: %d. Failed to create %s\n", errno, file_path); in create_unique_file() 97 fprintf(stderr, "\nerrno: %d. Failed to write %lu bytes to %s\n", in create_unique_file() 107 fprintf(stderr, "\nerrno: %d. Failed to write last %lu bytes to %s\n", in create_unique_file() 115 fprintf(stderr, "\nFailed to close %s\n", file_path); in create_unique_file() 133 fprintf(stderr, "\nerrno: %d. Failed to create %s\n", errno, dir); in create_unique_dir() 160 fprintf(stderr, "\n"); in puncture_fs() 162 fprintf(stderr, "\rSTAGE 1/2: %d%% Complete", in puncture_fs() 185 fprintf(stderr, "\rSTAGE 1/2: 100%% Complete\n"); in puncture_fs() [all …]
|
/system/extras/latencytop/ |
D | latencytop.c | 83 fprintf(stderr, "Option -d expects an argument.\n"); in main() 91 fprintf(stderr, "Option -n expects an argument.\n"); in main() 103 fprintf(stderr, "Option -p expects an argument.\n"); in main() 111 fprintf(stderr, "Option -t expects an argument.\n"); in main() 117 fprintf(stderr, "Invalid argument \"%s\".\n", argv[i]); in main() 123 … fprintf(stderr, "If you provide a thread ID with -t, you must provide a process ID with -p.\n"); in main() 182 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); in read_global_stats() 185 fprintf(f, "erase\n"); in read_global_stats() 191 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); in read_global_stats() 212 fprintf(stderr, "Could not open task dir for process %d.\n", pid); in read_process_stats() [all …]
|
/system/extras/verity/ |
D | verity_verifier.cpp | 36 fprintf(stderr, "Failed to load key from %s\n", path); in load_key() 42 fprintf(stderr, "Failed to malloc key\n"); in load_key() 49 fprintf(stderr, "Invalid key length %d\n", key->len); in load_key() 65 fprintf(stderr, "Couldn't load verity keys\n"); in verify_table() 71 fprintf(stderr, "Couldn't verify table\n"); in verify_table() 89 fprintf(stderr, "failed to open %s: %s\n", argv[1], strerror(errno)); in main() 95 fprintf(stderr, "failed to read file %s\n", argv[1]); in main() 101 fprintf(stderr, "failed to write output file\n"); in main() 114 fprintf(stderr, "failed to get verity metadata\n"); in main()
|
/system/core/fastboot/ |
D | usbtest.cpp | 99 fprintf(stderr,"write failed (%s)\n", strerror(errno)); in test_null() 104 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0)); in test_null() 117 fprintf(stderr,"read failed (%s)\n", strerror(errno)); in test_zero() 122 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0)); in test_zero() 144 fprintf(stderr,"usage: usbtest <testname>\n\navailable tests:\n"); in usage() 146 fprintf(stderr," %-8s %s\n", tests[i].cmd, tests[i].help); in usage() 160 fprintf(stderr,"unknown argument: %s\n", arg); in process_args() 166 fprintf(stderr,"count may not be zero\n"); in process_args() 171 fprintf(stderr,"size may not be greater than 4096\n"); in process_args() 196 fprintf(stderr,"usbtest: %s: could not find interface\n", in main() [all …]
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 45 …fprintf(stderr, "Usage: rand_emmc_perf [ -r | -w ] [-o] [-s count] [-f full_stats_filename] <size_… in usage() 67 fprintf(stderr, "Cannot open full stats output file %s, ignoring\n", in print_stats() 78 fprintf(full_stats, "%lld\n", (t.tv_sec * 1000000LL) + t.tv_usec); in print_stats() 119 fprintf(stderr, "Cannot allocate stats_buf\n"); in stats_test() 127 fprintf(stderr, "lseek64 failed\n"); in stats_test() 132 fprintf(stderr, "Short write\n"); in stats_test() 136 fprintf(stderr, "Short read\n"); in stats_test() 157 fprintf(stderr, "lseek64 failed\n"); in perf_test() 161 fprintf(stderr, "Short write\n"); in perf_test() 165 fprintf(stderr, "Short read\n"); in perf_test() [all …]
|
/system/vold/ |
D | vdc.cpp | 71 fprintf(stdout, "Error connecting to %s: %s\n", sockname, strerror(errno)); in main() 104 fprintf(stderr, "Failed to write command: %s\n", strerror(errno)); in do_cmd() 116 fprintf(stderr, "Connected to vold\n"); in do_monitor() 124 fprintf(stderr, "Timeout waiting for %d\n", stop_after_seq); in do_monitor() 127 fprintf(stderr, "Failed during poll: %s\n", strerror(errno)); in do_monitor() 132 fprintf(stderr, "No data; trying again\n"); in do_monitor() 139 fprintf(stderr, "Lost connection, did vold crash?\n"); in do_monitor() 142 fprintf(stderr, "Error reading data: %s\n", strerror(errno)); in do_monitor() 150 fprintf(stdout, "%s\n", res); in do_monitor() 172 fprintf(stderr, in usage()
|
/system/extras/bootctl/ |
D | bootctl.c | 33 fprintf(where, in usage() 57 fprintf(stdout, in do_hal_info() 71 fprintf(stdout, "%d\n", num_slots); in do_get_number_slots() 78 fprintf(stdout, "%d\n", cur_slot); in do_get_current_slot() 87 fprintf(stderr, "Error marking as having booted successfully: %s\n", in do_mark_boot_successful() 98 fprintf(stderr, "Error setting active boot slot: %s\n", strerror(-ret)); in do_set_active_boot_slot() 108 fprintf(stderr, "Error setting slot as unbootable: %s\n", strerror(-ret)); in do_set_slot_as_unbootable() 119 fprintf(stderr, "Error calling isSlotBootable(): %s\n", in do_is_slot_bootable() 130 fprintf(stdout, "%s\n", suffix); in do_get_suffix() 138 fprintf(stderr, "isSlotMarkedSuccessful() is not implemented by HAL.\n"); in do_is_slot_marked_successful() [all …]
|
/system/extras/showslab/ |
D | showslab.c | 74 fprintf(stderr, "cannot read from " SLABINFO_FILE "\n"); in get_slabinfo() 79 fprintf(stderr, "unable to parse slabinfo version!\n"); in get_slabinfo() 84 fprintf(stderr, "we only support slabinfo 2.0 and 2.1!\n"); in get_slabinfo() 116 fprintf(stderr, "unrecognizable data in slabinfo!\n"); in get_slabinfo() 291 fprintf(stderr, "usage: %s [options]\n\n", argv[0]); in main() 292 fprintf(stderr, "options:\n"); in main() 293 fprintf(stderr, " -s S specify sort criteria S\n"); in main() 294 fprintf(stderr, " -h display this help\n\n"); in main() 295 fprintf(stderr, "Valid sort criteria:\n"); in main() 296 fprintf(stderr, " a: number of Active objects\n"); in main() [all …]
|
/system/core/logd/tests/ |
D | logd_test.cpp | 124 fprintf(stderr, "parse for spam counter in \"%.*s\"\n", in find_benchmark_spam() 182 fprintf(stderr, "%s", cp); in TEST() 223 fprintf(stderr, "%s: v%u[%u] ", prefix, version, msg->len()); in dump_log_msg() 225 fprintf(stderr, "hdr_size=%u ", msg->entry.hdr_size); in dump_log_msg() 227 fprintf(stderr, "pid=%u tid=%u %u.%09u ", in dump_log_msg() 233 fprintf(stderr, "euid=%u ", msg->entry_v2.euid); in dump_log_msg() 243 fprintf(stderr, "lid=main "); in dump_log_msg() 246 fprintf(stderr, "lid=radio "); in dump_log_msg() 249 fprintf(stderr, "lid=events "); in dump_log_msg() 252 fprintf(stderr, "lid=system "); in dump_log_msg() [all …]
|
/system/extras/sound/ |
D | playwav.c | 67 fprintf(stderr,"too big\n"); in pcm_play() 71 fprintf(stderr,"prefill\n"); in pcm_play() 79 fprintf(stderr,"start\n"); in pcm_play() 85 fprintf(stderr,"%10d\n", stats.out_bytes); in pcm_play() 142 fprintf(stderr,"could not allocate %d bytes\n", count); in play_file() 146 fprintf(stderr,"could not read %d bytes\n", count); in play_file() 160 fprintf(stderr, "playwav: cannot open '%s'\n", fn); in wav_play() 164 fprintf(stderr, "playwav: cannot read header\n"); in wav_play() 167 fprintf(stderr,"playwav: %d ch, %d hz, %d bit, %s\n", in wav_play() 174 fprintf(stderr, "playwav: '%s' is not a riff/wave file\n", fn); in wav_play() [all …]
|
/system/sepolicy/tools/ |
D | checkfc.c | 60 fprintf(stderr, "Error: Invalid mode of operation: %d\n", mode); in filemode_to_assert_attrs() 68 fprintf(stderr, "Error: \"%s\" is not defined in this policy.\n", attr_name); in get_attr_bit() 73 fprintf(stderr, "Error: \"%s\" is not an attribute in this policy.\n", attr_name); in get_attr_bit() 93 fprintf(stderr, "Error: setting bit on assertion ebitmap!\n"); in ebitmap_attribute_assertion_init() 106 fprintf(stderr, "Error: \"%s\" is not defined in this policy.\n", type_name); in is_type_of_attribute_set() 111 fprintf(stderr, "Error: \"%s\" is not a type in this policy.\n", type_name); in is_type_of_attribute_set() 121 fprintf(stderr, "Error: Could not perform ebitmap_and: %d\n", rc); in is_type_of_attribute_set() 136 fprintf(stream, "\""); in dump_char_array() 141 fprintf(stream, fmt, s); in dump_char_array() 154 fprintf(stderr, "Error: Could not allocate context from string"); in validate() [all …]
|
/system/extras/crypto-perf/ |
D | crypto.cpp | 133 fprintf(stderr, "encrypt: %llu us\n", in main() 135 fprintf(stderr, "encrypt instructions: %llu\n", in main() 137 fprintf(stderr, "encrypt instructions per second: %f\n", in main() 141 fprintf(stderr, "encrypt instructions per cycle: %f\n", in main() 156 fprintf(stderr, "decrypt: %llu us\n", in main() 158 fprintf(stderr, "decrypt instructions: %llu\n", in main() 160 fprintf(stderr, "decrypt instructions per second: %f\n", in main() 164 fprintf(stderr, "decrypt instructions per cycle: %f\n", in main()
|