commit | f07f12945370255e5cf3f72ada4d982c362e026c | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Wed Sep 21 17:27:46 2016 -0700 |
committer | Tri Vo <trong@google.com> | Wed Sep 21 17:27:46 2016 -0700 |
tree | de5c104b58c5636920e7d2183997514ab786a810 | |
parent | 1e9ac5ef8d0b25fc9d64858d7c787fbe5396f717 [diff] [blame] |
Disable 64-bit tests on 32-bit devices. Change-Id: Id1217771423f4db9266d1cb1218478fb9039a612
diff --git a/utils/python/controllers/android_device.py b/utils/python/controllers/android_device.py index 03d48c7..307b690 100644 --- a/utils/python/controllers/android_device.py +++ b/utils/python/controllers/android_device.py
@@ -434,6 +434,12 @@ return cpu_abi @property + def is64Bit(self): + """True if device is 64 bit.""" + out = self.adb.shell('uname -m') + return "64" in out + + @property def isAdbLogcatOn(self): """Whether there is an ongoing adb logcat collection. """