platform_system_core/adb/client
Songchun Fan 23bd5529c1 [adb data server] wait for installation results before terminates
Currently the server often quits before installation finishes. As a
result, there is no difference in the commandline output between a
successful installation and a failed one.

Let adb client wait till installation fails or succeeds by parsing the
output from the inc-server process.

Test: $ adb install --incremental ~/Downloads/base.apk
Test: Performing Incremental Install
Test: Serving...
Test: All files should be loaded. Notifying the device.
Test: Failure [INSTALL_PARSE_FAILED_NOT_APK: Failed to parse /data/app/vmdl749343150.tmp/base.apk: Failed to load asset path /data/app/vmdl749343150.tmp/base.apk]
Test: Install command complete (ms: 91 total, 0 apk prep, 91 install)

BUG: b/150865433
Change-Id: Ie33505f9cc08fc6d60ad4a5d709526e7aa9a0ad1
Merged-In: Ie33505f9cc08fc6d60ad4a5d709526e7aa9a0ad1
2020-03-24 10:27:47 -07:00
..
pairing [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
adb_client.cpp Revert "Revert "Support socket activation of adb server"" 2019-12-11 08:20:20 +00:00
adb_client.h [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
adb_install.cpp adbd: remove static dependency on libcutils. 2020-02-19 17:44:38 -08:00
adb_install.h Adds atomic install support to adb 2019-01-11 18:13:36 +00:00
adb_wifi.cpp [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
auth.cpp adb: improve logging of key loading slightly. 2020-03-07 12:52:36 -08:00
bugreport.cpp adb: don't use <error.h>. 2018-10-22 17:04:32 -07:00
bugreport.h adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
commandline.cpp [adb data server] wait for installation results before terminates 2020-03-24 10:27:47 -07:00
commandline.h adb: report error in copy_to_file. 2020-02-04 13:47:57 -08:00
console.cpp NFC: Fix potentially uninitialized 'port' variable. 2019-05-09 12:55:41 -07:00
fastdeploy.cpp Incremental installations in adb, client/host side. 2020-02-19 08:01:06 -08:00
fastdeploy.h FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
fastdeploycallbacks.cpp FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
fastdeploycallbacks.h FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
file_sync_client.cpp adb: fix sync. 2020-03-21 20:06:39 -07:00
file_sync_client.h adb: split file_sync_service.h into client and daemon parts. 2018-07-25 18:08:32 -07:00
incremental.cpp [adb data server] wait for installation results before terminates 2020-03-24 10:27:47 -07:00
incremental.h [adb data server] wait for installation results before terminates 2020-03-24 10:27:47 -07:00
incremental_server.cpp [adb data server] wait for installation results before terminates 2020-03-24 10:27:47 -07:00
incremental_server.h [adb data server] wait for installation results before terminates 2020-03-24 10:27:47 -07:00
line_printer.cpp adb: win32: LinePrinter Unicode support 2018-09-02 16:27:12 -07:00
line_printer.h adb: don't spew push/pull progress to dumb terminals. 2018-08-22 17:28:33 -07:00
main.cpp [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
transport_mdns.cpp Properly remove adb DNS services. 2020-02-24 10:09:35 -08:00
usb_dispatch.cpp adb: make adb reconnect perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_libusb.cpp adb: make adb reconnect perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_linux.cpp Properly finish daemon init when initial USB scan complete 2019-11-04 11:43:20 -08:00
usb_osx.cpp Properly finish daemon init when initial USB scan complete 2019-11-04 11:43:20 -08:00
usb_windows.cpp Properly finish daemon init when initial USB scan complete 2019-11-04 11:43:20 -08:00