summaryrefslogtreecommitdiffstats
path: root/adb/file_sync_service.h
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-06-09 17:30:57 -0700
committerJeff Sharkey <jsharkey@android.com>2014-07-14 10:26:21 -0700
commit960df97c2356f5a804d3ef87fe49f788d7ecdfaf (patch)
tree1c0bb5d596f7bc747b5ee7d76796ddf9c3db8e08 /adb/file_sync_service.h
parente60eb623845b6809657b18ea068a0b93f052fa0c (diff)
downloadsystem_core-960df97c2356f5a804d3ef87fe49f788d7ecdfaf.zip
system_core-960df97c2356f5a804d3ef87fe49f788d7ecdfaf.tar.gz
system_core-960df97c2356f5a804d3ef87fe49f788d7ecdfaf.tar.bz2
Add install-multiple to adb.
The new install-multiple command automates creating an install session, streaming multiple files into place, and then committing or destroying the session. This uses the recent "exec" feature to stream APK contents over stdin directly into their final resting place, requiring no extra copies. Blindly pass through command line arguments to "pm" to make adding new flags easier in future. Remove support for verifying APK before sending across wire, since it was reading the entire APK into memory (!) before sending. Also remove encrypted APKs, since they are no longer supported. Drop support for undocumented verification files. Bug: 14975160 Change-Id: I0c538471873061798160e2e47cec4c0424c27361
Diffstat (limited to 'adb/file_sync_service.h')
-rw-r--r--adb/file_sync_service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/file_sync_service.h b/adb/file_sync_service.h
index 8ea239e..5dd2e80 100644
--- a/adb/file_sync_service.h
+++ b/adb/file_sync_service.h
@@ -78,7 +78,7 @@ typedef union {
void file_sync_service(int fd, void *cookie);
int do_sync_ls(const char *path);
-int do_sync_push(const char *lpath, const char *rpath, int verifyApk, int show_progress);
+int do_sync_push(const char *lpath, const char *rpath, int show_progress);
int do_sync_sync(const char *lpath, const char *rpath, int listonly);
int do_sync_pull(const char *rpath, const char *lpath, int show_progress, int pullTime);