Home
last modified time | relevance | path

Searched refs:fprintf (Results 1 – 25 of 66) sorted by relevance

123

/packages/modules/Bluetooth/system/tools/bdtool/
Dbdtool.c75 fprintf(stderr, "Can only select either bond or discoverable, not both\n"); in main()
80 fprintf(stderr, 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 …]
Dadapter.c107 fprintf(stdout, "Bond state changed callback addr:%s state:%s\n", in bond_state_changed()
115 fprintf(stdout, "Device found num_properties:%d\n", num_properties); in device_found()
137 fprintf(stdout, "Discover state %s\n", state_name); in discovery_state_changed()
146 fprintf(stdout, "Device found bdaddr:%s num_properties:%d\n", in remote_device_properties()
176 fprintf(stdout, in ssp_request()
180 fprintf(stdout, "Device found:%s %s\n", in ssp_request()
183 fprintf(stdout, "auto-accepting bond\n"); in ssp_request()
198 if (name) fprintf(stdout, " name:%s\n", name->name); in parse_properties()
205 fprintf(stdout, " addr:%s\n", in parse_properties()
214 fprintf(stdout, " uuid:%zd: ", i); in parse_properties()
[all …]
/packages/modules/Bluetooth/system/gd/dumpsys/bundler/
Dbundler.cc49 fprintf(stderr, "Unable to open binary flatbuffer schema file:%s\n", filename); in LoadBinarySchema()
91 fprintf(stderr, "Unable to load binary schema from filename:%s\n", filename.c_str()); in CreateBinarySchemaBundle()
96 fprintf(stderr, "Failed verification on binary schema filename:%s\n", filename.c_str()); in CreateBinarySchemaBundle()
102fprintf(stderr, "Unable to find root table for binary flatbuffer schema:%s\n", filename.c_str()); in CreateBinarySchemaBundle()
112 fprintf(stdout, "Bundled binary schema file:%s\n", schema->root_table()->name()->c_str()); in CreateBinarySchemaBundle()
147 fprintf( in WriteHeaderFile()
152 …namespaces.begin(), namespaces.end(), [fp](const std::string& s) { fprintf(fp, "namespace %s {\n",… in WriteHeaderFile()
153 fprintf(fp, "extern const std::string& GetBundledSchemaData();\n"); in WriteHeaderFile()
154 fprintf(fp, "const unsigned char %sdata_[%zu] = {\n", namespace_prefix.c_str(), data_len); in WriteHeaderFile()
157 fprintf(fp, " 0x%02x", data[i]); in WriteHeaderFile()
[all …]
/packages/modules/adb/client/
Dadb_install.cpp194 fprintf(stderr, "adb: failed to stat %s: %s\n", file, strerror(errno)); in install_app_streamed()
200 fprintf(stderr, "adb: failed to open %s: %s\n", file, strerror(errno)); in install_app_streamed()
233 fprintf(stderr, "adb: connect error for write: %s\n", error.c_str()); in install_app_streamed()
238 fprintf(stderr, "adb: failed to install: copy_to_file: %s: %s", file, strerror(errno)); in install_app_streamed()
245 fprintf(stderr, "adb: failed to install %s: %s", file, buf); in install_app_streamed()
325 fprintf(stderr, "error: need at least one APK file on command line\n"); in install_app_incremental()
397 fprintf(stderr, "adb: retrieving the default device installation mode failed: %s", in calculate_install_mode()
497 fprintf(stderr, in install_app()
579 fprintf(stderr, "adb: connect error for create: %s\n", error.c_str()); in install_multiple_app_streamed()
595 fprintf(stderr, "adb: failed to create session\n"); in install_multiple_app_streamed()
[all …]
Dincremental.cpp45 fprintf(stderr, "Failed to stat signature file %s.\n", signature_file.c_str()); in read_signature()
53 fprintf(stderr, "Failed to open signature file: %s.\n", signature_file.c_str()); in read_signature()
63 fprintf(stderr, "Invalid signature format. Abort.\n"); in read_signature()
69 fprintf(stderr, "Signature is too long: %lld. Max allowed is %d. Abort.\n", in read_signature()
77 fprintf(stderr, in read_signature()
101 fprintf(stderr, "Fail to estimate base64 encoded length. Abort.\n"); in read_and_encode_signature()
125 fprintf(stderr, "Failed to stat input file %s. Abort.\n", file.c_str()); in start_install()
144 fprintf(stderr, "Failed to run: %s, error: %s\n", in start_install()
175 fprintf(stderr, "adb: failed to initiate installation on device.\n"); in install()
189 fprintf(stderr, "adb: failed to create socket pair for child to print to parent\n"); in install()
[all …]
Dcommandline.cpp87 fprintf(stdout, "%s\n", adb_version().c_str()); in help()
89 fprintf(stdout, in help()
559 fprintf(stderr,"\r\n[ disconnected ]\r\n"); in stdin_read_thread_loop()
622 fprintf(stderr, "error: shell command too long\n"); in RemoteShell()
634 fprintf(stderr,"error: %s\n", error.c_str()); in RemoteShell()
753 fprintf(stderr, in adb_shell()
768 fprintf(stderr, "error: %s only supports allocating a pty\n", in adb_shell()
825 fprintf(stderr, "adb: pre-KitKat sideload connection failed: %s\n", error.c_str()); in adb_sideload_legacy()
837 fprintf(stderr, "adb: failed to read data from %s: %s\n", filename, strerror(errno)); in adb_sideload_legacy()
843 fprintf(stderr, "adb: failed to write data: %s\n", error.c_str()); in adb_sideload_legacy()
[all …]
Dadb_client.cpp203 fprintf(stderr, "cannot connect to daemon at %s: %s\n", __adb_server_socket_spec, in adb_kill_server()
209 fprintf(stderr, "error: write failure during connection: %s\n", strerror(errno)); in adb_kill_server()
215 fprintf(stderr, "error: failed to read response from server\n"); in adb_kill_server()
224 fprintf(stderr, "error: %s\n", error.c_str()); in adb_kill_server()
228 fprintf(stderr, "error: %s\n", output.c_str()); in adb_kill_server()
259 fprintf(stderr, "* cannot start server on remote host\n"); in __adb_check_server_version()
263 fprintf(stderr, "* daemon not running; starting now at %s\n", __adb_server_socket_spec); in __adb_check_server_version()
266 fprintf(stderr, "* failed to start daemon\n"); in __adb_check_server_version()
273 fprintf(stderr, "* daemon started successfully\n"); in __adb_check_server_version()
326 fprintf(stderr, "adb server version (%d) doesn't match this client (%d); killing...\n", in __adb_check_server_version()
[all …]
Dbugreport.cpp79 fprintf(stderr, in Done()
84 fprintf(stderr, "\t%s\n", line.c_str()); in Done()
86 fprintf(stderr, in Done()
93 fprintf(stderr, "bugreportz did not return a '%s' or '%s' line\n", BUGZ_OK_PREFIX, in Done()
111 fprintf(stderr, in Done()
144 fprintf(stderr, "adb: device failed to take a zipped bugreport: %s\n", error_message); in ProcessLine()
219 fprintf(stderr, in DoIt()
227 fprintf(stderr, in DoIt()
246 fprintf(stderr, in DoIt()
274 fprintf(stderr, in DoIt()
Dconsole.cpp70 fprintf(stderr, "error: no emulator connected: %s\n", error.c_str()); in adb_get_emulator_console_port()
79 fprintf( in adb_get_emulator_console_port()
87 fprintf(stderr, "error: no emulator detected\n"); in adb_get_emulator_console_port()
103 fprintf(stderr, "error: could not connect to TCP port %d: %s\n", port, in connect_to_console()
126 fprintf(stderr, "error: cannot write to emulator: %s\n", in adb_send_emulator_command()
Dincremental_server.cpp310 fprintf(stderr, "Timed out waiting for data from device.\n"); in SkipToRequest()
394 fprintf(stderr, "Failed to get data for %s.idsig at blockIdx=%d.\n", file.filepath, in SendTreeBlock()
429 fprintf(stderr, "Failed to get data for %s at blockIdx=%d (%d).\n", file.filepath, blockIdx, in SendDataBlock()
491 fprintf(stderr, "Failed to send priority block %" PRId32 "\n", i); in RunPrefetching()
499 fprintf(stderr, "Failed to send block %" PRId32 "\n", i); in RunPrefetching()
524 fprintf(stderr, "Failed to write %d bytes\n", int(totalBytes)); in Flush()
547 fprintf(stderr, "Connection is dead. Abort.\n"); in Serve()
564 fprintf(stderr, "All files should be loaded. Notifying the device.\n"); in Serve()
599 fprintf(stderr, in Serve()
620 fprintf(stderr, "Failed to send block %" PRId32 ".\n", blockIdx); in Serve()
[all …]
Dfastdeploy.cpp62 fprintf(stderr, "%s finished in %lldms\n", label_, in ~TimeReporter()
281 fprintf(stderr, "Package %s not found, falling back to install\n", in extract_metadata()
285 fprintf(stderr, "Executing %s returned %d\n", dump_command.c_str(), returnCode); in extract_metadata()
286 fprintf(stderr, "%*s\n", int(dump_error_buffer.size()), dump_error_buffer.data()); in extract_metadata()
292 fprintf(stderr, "Can't parse output of %s\n", dump_command.c_str()); in extract_metadata()
/packages/modules/adb/tools/
Dcheck_ms_os_desc.cpp37 fprintf(stderr, "failed to get config descriptor for device %u:%u: %s\n", in is_adb_device()
65 fprintf(stderr, "libusb_get_descriptor failed: %s\n", libusb_error_name(rc)); in get_descriptor()
79 fprintf(stderr, "libusb_get_string_descriptor_ascii failed: %s\n", libusb_error_name(rc)); in get_string_descriptor()
164 fprintf(stderr, "failed to get bos descriptor for device %s\n", serial.c_str()); in check_ms_os_desc_v2()
175 fprintf(stderr, "skipping non-platform dev capability: %#02x\n", in check_ms_os_desc_v2()
190 fprintf(stderr, "skipping unknown UUID\n"); in check_ms_os_desc_v2()
195 fprintf(stderr, "found MS OS 2.0 descriptor, length = %zu\n", data_length); in check_ms_os_desc_v2()
226 fprintf(stderr, "failed to open device %u:%u: %s\n", libusb_get_bus_number(device), in main()
242 fprintf(stderr, "skipping %s (wanted %s)\n", serial->c_str(), expected_serial); in main()
248 fprintf(stderr, "fetching v1 OS descriptor from device %s\n", serial->c_str()); in main()
[all …]
Dadb_usbreset.cpp37 fprintf(stderr, "usage: [ANDROID_SERIAL=SERIAL] usbreset [-d] [-s SERIAL]\n"); in Usage()
38 fprintf(stderr, "\t-a --all\t\tReset all connected devices\n"); in Usage()
39 fprintf(stderr, "\t-d --device\t\tReset the single connected device\n"); in Usage()
40 fprintf(stderr, "\t-s --serial\t\tReset device with specified serial\n"); in Usage()
96 fprintf(stderr, "adb_usbreset: no device specified\n"); in main()
/packages/modules/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.cpp48 fprintf(stderr, "Unable to read %lld bytes at offset %" PRId64 " \n", in FileRegion()
72 fprintf(stderr, "Unable to open file '%s'\n", path_.c_str()); in ApkArchive()
78 fprintf(stderr, "Unable to stat file '%s'\n", path_.c_str()); in ApkArchive()
159 fprintf(stderr, "Unable to find End of Central Directory record in file '%s'\n", in GetCDLocation()
168 fprintf(stderr, "Unable to find Central Directory File Header in file '%s'\n", in GetCDLocation()
183 fprintf(stderr, "Unable to find signature in file '%s'\n", path_.c_str()); in GetSignatureLocation()
274 fprintf(stderr, "Invalid Central Directory Record signature\n"); in ParseCentralDirectoryRecord()
335 fprintf(stderr, in CalculateLocalFileEntrySize()
345 fprintf(stderr, "Invalid Local File Header signature in file '%s' at offset %lld\n", in CalculateLocalFileEntrySize()
376 fprintf(stderr, in CalculateLocalFileEntrySize()
[all …]
/packages/modules/Bluetooth/system/test/headless/read/
Dname.cc38 fprintf(stdout, "This test requires at least a single loop"); in Run()
43 fprintf(stdout, "This test requires a single device specified"); in Run()
58 fprintf(stdout, "Failure to start read remote device\n"); in Run()
68 fprintf(stdout, "Name result mac:%s name:%s\n", in Run()
72 fprintf(stdout, "Name Timeout or other failure"); in Run()
75 fprintf(stdout, "Unexpected remote name request failure status:%hd", in Run()
/packages/modules/Bluetooth/system/test/headless/
Dget_options.cc57 fprintf(stdout, "%s: Usage:\n", name_); in Usage()
58 fprintf(stdout, "%s -c Clear logcat logs\n", name_); in Usage()
59 fprintf(stdout, in Usage()
62 fprintf(stdout, in Usage()
65 fprintf(stdout, "%s --uuid=<uuid,> Comma separated list of uuids\n", in Usage()
67 fprintf(stdout, "%s --loop=<loop> Number of loops\n", name_); in Usage()
68 fprintf(stdout, "%s --msleep=<msecs> Sleep msec between loops\n", name_); in Usage()
69 fprintf(stdout, "%s --stderr Dump stderr to stdout\n", name_); in Usage()
/packages/modules/Bluetooth/system/test/headless/connect/
Dconnect.cc45 fprintf(stdout, "Got callback\n"); in power_mode_callback()
85 fprintf(stdout, "Creating connection to:%s\n", bd_addr.ToString().c_str()); in do_connect()
90 fprintf(stdout, "Connected created to:%s result:%s[%u]\n", in do_connect()
100 fprintf(stdout, "Just crushing stack\n"); in do_connect()
105 fprintf(stdout, "Waiting to disconnect from supervision timeout\n"); in do_connect()
112 fprintf(stdout, "Disconnected after:%" PRId64 "ms from:%s result:%s[%u]\n", in do_connect()
118 fprintf(stdout, "Waiting %d seconds to just shutdown\n", in do_connect()
/packages/modules/adb/
Dadb.cpp214 fprintf(stderr, "%s: %s %08x %08x %04x \"", in print_packet()
576 fprintf(stderr, "adb: cannot make handle 0x%p non-inheritable: %s\n", h, in _make_handle_noninheritable()
592 fprintf(stderr, "adb: CreatePipe failed: %s\n", in _create_anonymous_pipe()
623 fprintf(stderr, "adb: failed to get file descriptor for %s: %s\n", output_name, in _redirect_pipe_thread()
636 fprintf(stderr, "adb: failed to duplicate file descriptor for %s: %s\n", output_name, in _redirect_pipe_thread()
644 fprintf(stderr, "adb: failed to set binary mode for duplicate of %s: %s\n", output_name, in _redirect_pipe_thread()
652 fprintf(stderr, "adb: failed to open duplicate stream for %s: %s\n", output_name, in _redirect_pipe_thread()
661 fprintf(stderr, "adb: failed to unbuffer %s: %s\n", output_name, strerror(errno)); in _redirect_pipe_thread()
678 fprintf(stderr, "adb: failed to read from %s: %s\n", output_name, in _redirect_pipe_thread()
689 fprintf(stderr, "adb: error: only wrote %zu of %lu bytes to %s\n", bytes_written, in _redirect_pipe_thread()
[all …]
/packages/modules/Bluetooth/system/test/headless/sdp/
Dsdp.cc92 fprintf(stdout, "%s Unable to initialize sdp discovery\n", __func__); in sdp_query_uuid()
104 fprintf(stdout, "%s Failed to start search attribute request\n", __func__); in sdp_query_uuid()
110 fprintf(stdout, "Failed search discovery result:%s\n", in sdp_query_uuid()
118 fprintf(stdout, "discovery record is null from:%s uuid:%s\n", in sdp_query_uuid()
121 fprintf(stdout, "result:%d attr_id:%x from:%s uuid:%s\n", result, in sdp_query_uuid()
Dsdp_db.cc42 fprintf(filep, "memory size:0x%x free:0x%x\n", db_->mem_size, db_->mem_free); in Print()
43 fprintf(filep, "number of filters:%hd\n", db_->num_uuid_filters); in Print()
45 fprintf(filep, " uuid:%s\n", db_->uuid_filters[i].ToString().c_str()); in Print()
47 fprintf(filep, "raw data size:0x%x used:0x%x\n", db_->raw_size, in Print()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.cpp118 fprintf(stderr, "Unknown option: '%s'\n", optionName.c_str()); in parseArguments()
127 fprintf(stderr, "Missing argument for option '%s'\n", optionName.c_str()); in parseArguments()
138 fprintf(stderr, "Too many arguments.\n"); in parseArguments()
155 fprintf(stderr, "Not enough arguments. %zd argumant(s) required for <%s>\n", in parseArguments()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp290 fprintf(stderr, "Error: Filename %s not found\n", filename); in readBinaryPPM()
296 fprintf(stderr, "Error: readBinaryPPM only supports PPM format (P6)\n"); in readBinaryPPM()
316 fprintf(stderr, "Error: Filename %s could not be opened for writing\n", filename); in writeBinaryPPM()
321 fprintf(imgout, "P6\n%d %d\n255\n", width, height); in writeBinaryPPM()
323 fprintf(imgout, "P5\n%d %d\n255\n", width, height); in writeBinaryPPM()
325 fprintf(stderr, "Error: writeBinaryPPM: Unsupported number of channels\n"); in writeBinaryPPM()
/packages/modules/Bluetooth/system/embdrv/lc3/tools/
Delc3.c49 fprintf(stderr, status ? ": %s\n" : "\n", strerror(status)); in error()
101 case 'h': fprintf(stderr, usage, argv[0]); exit(0); in parse_args()
227 fprintf(stderr, "%02d:%02d [%-40s]\r", in main()
245 fprintf(stderr, "%02d:%02d Encoded in %d.%d seconds %20s\n", in main()
Ddlc3.c57 fprintf(stderr, status ? ": %s\n" : "\n", strerror(status)); in error()
107 case 'h': fprintf(stderr, usage, argv[0]); exit(0); in parse_args()
219 fprintf(stderr, "%02d:%02d [%-40s]\r", in main()
244 fprintf(stderr, "%02d:%02d Decoded in %d.%03d seconds %20s\n", in main()
/packages/modules/Bluetooth/system/test/headless/pairing/
Dpairing.cc31 fprintf(stdout, "This test requires at least a single loop"); in Run()
36 fprintf(stdout, "This test requires a single device specified"); in Run()

123