Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(965)

Unified Diff: build/android/pylib/android_commands.py

Issue 20649002: [Android] Dedup content_browsertests test setup from gtests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed bulach's comments Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/buildbot/bb_device_steps.py ('k') | build/android/pylib/browsertests/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/android_commands.py
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
index 73d0c2fb50adf2acfcff6c7d82feee06f4d6fbc8..4cf070d0711a9626edf1ba6eae35efe0f7bb7e40 100644
--- a/build/android/pylib/android_commands.py
+++ b/build/android/pylib/android_commands.py
@@ -262,6 +262,10 @@ class AndroidCommands(object):
"""Returns our AdbInterface to avoid us wrapping all its methods."""
return self._adb
+ def GetDevice(self):
+ """Returns the device serial."""
+ return self._device
+
def IsOnline(self):
"""Checks whether the device is online.
« no previous file with comments | « build/android/buildbot/bb_device_steps.py ('k') | build/android/pylib/browsertests/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698