diff options
Diffstat (limited to 'ddmlib/src/main/java/com/android/ddmlib/IDevice.java')
-rw-r--r-- | ddmlib/src/main/java/com/android/ddmlib/IDevice.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ddmlib/src/main/java/com/android/ddmlib/IDevice.java b/ddmlib/src/main/java/com/android/ddmlib/IDevice.java index 7142a21307..5d307bb657 100644 --- a/ddmlib/src/main/java/com/android/ddmlib/IDevice.java +++ b/ddmlib/src/main/java/com/android/ddmlib/IDevice.java @@ -171,6 +171,16 @@ public interface IDevice extends IShellEnabledDevice { @Nullable String getAvdName(); + /** + * Returns the absolute path to the virtual device in the file system. The path is operating + * system dependent; it will have / name separators on Linux and \ separators on Windows. + * + * @return the AVD path or null if this is a physical device, the emulator console subcommand + * failed, or the emulator's version is older than 30.0.18 + */ + @Nullable + String getAvdPath(); + /** Returns the state of the device. */ DeviceState getState(); |