Home
last modified time | relevance | path

Searched refs:error_exit (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/client/
Dfastdeploy.cpp78 error_exit("Could not determine location of adb!"); in get_agent_component_host_path()
84 error_exit("Could not locate %s because $ANDROID_PRODUCT_OUT is not defined", in get_agent_component_host_path()
110 error_exit("Error executing %s returncode: %d", chmodCommand.c_str(), ret); in deploy_agent()
113 error_exit("Error pushing agent files to device"); in deploy_agent()
143 error_exit("After update agent version remains incorrect! Expected %ld but version is %ld", in update_agent()
168 error_exit("Could not find AndroidManifest.xml inside %s", apkPath); in get_packagename_from_apk()
172 error_exit("Could not read AndroidManifest.xml inside %s", apkPath); in get_packagename_from_apk()
176 error_exit("Could not uncompress AndroidManifest.xml inside %s", apkPath); in get_packagename_from_apk()
181 error_exit("Could not parse AndroidManifest.xml inside %s", apkPath); in get_packagename_from_apk()
222 error_exit("Could not find package name tag in AndroidManifest.xml inside %s", apkPath); in get_packagename_from_apk()
[all …]
Dcommandline.cpp74 error_exit("product directory not specified; set $ANDROID_PRODUCT_OUT"); in product_file()
689 error_exit("-e requires a single-character argument or 'none'"); in adb_shell()
778 error_exit("abb is not supported by the device"); in adb_abb()
1000 error_exit("adb %s not implemented on Win32", argv[0]); in ppp()
1003 if (argc < 2) error_exit("usage: adb %s <adb service name> [ppp opts]", argv[0]); in ppp()
1009 error_exit("could not open adb service %s: %s", adb_service_name, error_message.c_str()); in ppp()
1237 if (i == argc - 1) error_exit("backup -f passed with no filename"); in backup()
1249 if (argc < 2) error_exit("backup either needs a list of packages or -all/-shared"); in backup()
1281 if (argc != 2) error_exit("restore requires an argument"); in restore()
1331 error_exit("unrecognized option '%s'", *arg); in parse_push_pull_args()
[all …]
Dadb_install.cpp150 error_exit("filename doesn't end .apk or .apex: %s", file); in install_app_streamed()
158 error_exit(".apex is not supported on the target device"); in install_app_streamed()
162 error_exit("--fastdeploy doesn't support .apex files"); in install_app_streamed()
188 error_exit("fastdeploy is disabled"); in install_app_streamed()
247 error_exit("APEX packages are only compatible with Streamed Install"); in install_app_legacy()
255 if (last_apk == -1) error_exit("need APK file on command line"); in install_app_legacy()
274 error_exit("fastdeploy is disabled"); in install_app_legacy()
348 error_exit("Attempting to use streaming install on unsupported device"); in install_app()
368 error_exit("install requires an apk argument"); in install_app()
380 error_exit("fastdeploy is disabled"); in install_app()
[all …]
Dbugreport.cpp200 if (argc > 2) error_exit("usage: adb bugreport [PATH]"); in DoIt()
/system/core/adb/
Dadb_utils.h51 [[noreturn]] void error_exit(const char* fmt, ...) __attribute__((__format__(__printf__, 1, 2)));
Dadb_utils.cpp364 void error_exit(const char* fmt, ...) { in error_exit() function