aboutsummaryrefslogtreecommitdiffstats
path: root/adb/adb.h
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-04-13 13:16:55 -0700
committerSteve Kondik <shade@chemlab.org>2013-04-13 13:16:55 -0700
commitbec571faf81a6e2220c2ecc274d1e40c3ff08460 (patch)
tree3037e28d9489d5ec62405d1e4030e7abeb78d230 /adb/adb.h
parent7b080181a479613acb8d4d3935f736e1c3147873 (diff)
downloadsystem_core-bec571faf81a6e2220c2ecc274d1e40c3ff08460.tar.gz
system_core-bec571faf81a6e2220c2ecc274d1e40c3ff08460.tar.bz2
system_core-bec571faf81a6e2220c2ecc274d1e40c3ff08460.zip
adb: Add a few more wait-for commands
* wait-for-recovery is obvious. * wait-for-online will wait for recovery || device Change-Id: I70f747bcd201a4157b988d7ed49bcc8e5ff4c85f
Diffstat (limited to 'adb/adb.h')
-rw-r--r--adb/adb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/adb/adb.h b/adb/adb.h
index 9da8af8b..a2ad33ce 100644
--- a/adb/adb.h
+++ b/adb/adb.h
@@ -469,6 +469,8 @@ int connection_state(atransport *t);
#define CS_NOPERM 5 /* Insufficient permissions to communicate with the device */
#define CS_SIDELOAD 6
+#define CS_ONLINE 10 /* recovery or device */
+
extern int HOST;
extern int SHELL_EXIT_NOTIFY_FD;