Home
last modified time | relevance | path

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

12

/packages/modules/adb/client/
Dadb_install.cpp200 fprintf(stderr, "adb: failed to stat %s: %s\n", file, strerror(errno)); in install_app_streamed()
206 fprintf(stderr, "adb: failed to open %s: %s\n", file, strerror(errno)); in install_app_streamed()
239 fprintf(stderr, "adb: connect error for write: %s\n", error.c_str()); in install_app_streamed()
244 fprintf(stderr, "adb: failed to install: copy_to_file: %s: %s", file, strerror(errno)); in install_app_streamed()
251 fprintf(stderr, "adb: failed to install %s: %s", file, buf); in install_app_streamed()
331 fprintf(stderr, "error: need at least one APK file on command line\n"); in install_app_incremental()
403 fprintf(stderr, "adb: retrieving the default device installation mode failed: %s", in calculate_install_mode()
503 fprintf(stderr, in install_app()
585 fprintf(stderr, "adb: connect error for create: %s\n", error.c_str()); in install_multiple_app_streamed()
601 fprintf(stderr, "adb: failed to create session\n"); in install_multiple_app_streamed()
[all …]
Dcommandline.cpp85 fprintf(stdout, "%s\n", adb_version().c_str()); in help()
87 fprintf(stdout, in help()
551 fprintf(stderr,"\r\n[ disconnected ]\r\n"); in stdin_read_thread_loop()
614 fprintf(stderr, "error: shell command too long\n"); in RemoteShell()
626 fprintf(stderr,"error: %s\n", error.c_str()); in RemoteShell()
750 fprintf(stderr, in adb_shell()
765 fprintf(stderr, "error: %s only supports allocating a pty\n", in adb_shell()
827 fprintf(stderr, "adb: pre-KitKat sideload connection failed: %s\n", error.c_str()); in adb_sideload_legacy()
839 fprintf(stderr, "adb: failed to read data from %s: %s\n", filename, strerror(errno)); in adb_sideload_legacy()
845 fprintf(stderr, "adb: failed to write data: %s\n", error.c_str()); in adb_sideload_legacy()
[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 …]
Dadb_client.cpp198 fprintf(stderr, "cannot connect to daemon at %s: %s\n", __adb_server_socket_spec, in adb_kill_server()
204 fprintf(stderr, "error: write failure during connection: %s\n", strerror(errno)); in adb_kill_server()
210 fprintf(stderr, "error: failed to read response from server\n"); in adb_kill_server()
219 fprintf(stderr, "error: %s\n", error.c_str()); in adb_kill_server()
223 fprintf(stderr, "error: %s\n", output.c_str()); in adb_kill_server()
254 fprintf(stderr, "* cannot start server on remote host\n"); in __adb_check_server_version()
258 fprintf(stderr, "* daemon not running; starting now at %s\n", __adb_server_socket_spec); in __adb_check_server_version()
261 fprintf(stderr, "* failed to start daemon\n"); in __adb_check_server_version()
268 fprintf(stderr, "* daemon started successfully\n"); in __adb_check_server_version()
321 fprintf(stderr, "adb server version (%d) doesn't match this client (%d); killing...\n", in __adb_check_server_version()
[all …]
Dbugreport.cpp78 fprintf(stderr, in Done()
83 fprintf(stderr, "\t%s\n", line.c_str()); in Done()
85 fprintf(stderr, in Done()
92 fprintf(stderr, "bugreportz did not return a '%s' or '%s' line\n", BUGZ_OK_PREFIX, in Done()
110 fprintf(stderr, in Done()
143 fprintf(stderr, "adb: device failed to take a zipped bugreport: %s\n", error_message); in ProcessLine()
218 fprintf(stderr, in DoIt()
226 fprintf(stderr, in DoIt()
245 fprintf(stderr, in DoIt()
273 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/
Dadb.cpp184 fprintf(stderr, "%s: %s %08x %08x %04x \"", in print_packet()
546 fprintf(stderr, "adb: cannot make handle 0x%p non-inheritable: %s\n", h, in _make_handle_noninheritable()
562 fprintf(stderr, "adb: CreatePipe failed: %s\n", in _create_anonymous_pipe()
593 fprintf(stderr, "adb: failed to get file descriptor for %s: %s\n", output_name, in _redirect_pipe_thread()
606 fprintf(stderr, "adb: failed to duplicate file descriptor for %s: %s\n", output_name, in _redirect_pipe_thread()
614 fprintf(stderr, "adb: failed to set binary mode for duplicate of %s: %s\n", output_name, in _redirect_pipe_thread()
622 fprintf(stderr, "adb: failed to open duplicate stream for %s: %s\n", output_name, in _redirect_pipe_thread()
631 fprintf(stderr, "adb: failed to unbuffer %s: %s\n", output_name, strerror(errno)); in _redirect_pipe_thread()
648 fprintf(stderr, "adb: failed to read from %s: %s\n", output_name, in _redirect_pipe_thread()
659 fprintf(stderr, "adb: error: only wrote %zu of %lu bytes to %s\n", bytes_written, in _redirect_pipe_thread()
[all …]
Dadb_utils.cpp354 fprintf(stderr, "%s: ", android::base::Basename(android::base::GetExecutablePath()).c_str()); in error_exit_va()
359 fprintf(stderr, ": %s", strerror(error)); in error_exit_va()
/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 …]
Ddeploy_patch_generator.cpp93 fprintf(stderr, "Detected %" PRIu64 " equal APK entries\n", totalEqualFiles); in ReportSavings()
94 fprintf(stderr, "%" PRIu64 " bytes are equal out of %" PRIu64 " (%.2f%%)\n", totalEqualBytes, in ReportSavings()
165 fprintf(stderr, "Size mismatch current %lld vs real %lld\n", in GeneratePatch()
Dpatch_utils.cpp62 fprintf(stderr, "adb: Could not extract Central Directory from %s\n", apkPath); in GetHostAPKMetaData()
103 fprintf(stderr, "adb: failed to read from input: %s\n", strerror(errno)); in Pipe()
/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/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/modules/StatsD/statsd/src/config/
DConfigManager.cpp347 fprintf(out, "CONFIGURATIONS\n"); in Dump()
348 fprintf(out, " uid name\n"); in Dump()
351 fprintf(out, " %6d %lld\n", it->GetUid(), (long long)it->GetId()); in Dump()
354 fprintf(out, " -> received by PendingIntent as binder\n"); in Dump()
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp439 fprintf(out, "\t\t started count %lu\n", (unsigned long)mStarted.size()); in dumpStates()
440 fprintf(out, "\t\t paused count %lu\n", (unsigned long)mPaused.size()); in dumpStates()
441 fprintf(out, "\t\t current duration %lld\n", (long long)getCurrentStateKeyDuration()); in dumpStates()
DMaxDurationTracker.cpp314 fprintf(out, "\t\t sub-durations %lu\n", (unsigned long)mInfos.size()); in dumpStates()
315 fprintf(out, "\t\t current duration %lld\n", (long long)mDuration); in dumpStates()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp192 fprintf(stderr, "Creating physical network %d failed, %s\n", TEST_NETID, ret.getMessage()); in SetupOemNetwork()
197 fprintf(stderr, "Creating network cache %d failed, %s\n", TEST_NETID, ret.getMessage()); in SetupOemNetwork()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/condense/
Dcondense.cpp27fprintf(stderr, "\nError(%u): %s\n", (unsigned)reader.GetErrorOffset(), GetParseError_En(reader.Ge… in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/pretty/
Dpretty.cpp25fprintf(stderr, "\nError(%u): %s\n", (unsigned)reader.GetErrorOffset(), GetParseError_En(reader.Ge… in main()
/packages/inputmethods/LatinIME/native/dicttoolkit/
Ddict_toolkit_main.cpp23 fprintf(stderr, "Usage: %s <command> [arguments]\n", argc > 0 ? argv[0] : "dicttoolkit"); in usage()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/command_executors/
Dheader_executor.cpp27 fprintf(stderr, "Command '%s' has not been implemented yet.\n", COMMAND_NAME); in run()

12