summaryrefslogtreecommitdiff
path: root/android-commands.h
diff options
context:
space:
mode:
authorGreg Bellows <greg.bellows@linaro.org>2014-11-19 09:21:19 -0600
committerGreg Bellows <greg.bellows@linaro.org>2014-12-04 13:40:08 -0600
commitbab4814de1b1c1c35bce3c635b8ad847e3c00571 (patch)
tree913676054e8283a1a992508b335dbf9e2f7473c1 /android-commands.h
parente6eaa02a3fdf2e6fd881e197fc204003d554ece0 (diff)
android-console: Add avd name command stub
Add stub functionality to support the Android emulator console "avd name" command. The proper help messages are displayed, but the command currently returns a message indicating that AVDs are unsupported. Signed-off-by: Greg Bellows <greg.bellows@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'android-commands.h')
-rw-r--r--android-commands.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/android-commands.h b/android-commands.h
index 3c65964e6..e708581a9 100644
--- a/android-commands.h
+++ b/android-commands.h
@@ -125,6 +125,13 @@ static mon_cmd_t android_avd_cmds[] = {
.help = "query virtual device status",
.mhandler.cmd = android_console_avd_status,
},
+ {
+ .name = "name",
+ .args_type = "",
+ .params = "",
+ .help = "query virtual device name",
+ .mhandler.cmd = android_console_avd_name,
+ },
{ NULL, NULL, },
};