Add ability to select tests more granularly, add ptrace and seccomp tests.
Change-Id: Id2f5a8d0d76a48371f23eadfec64dc2894b07c19
diff --git a/utils/python/controllers/android_device.py b/utils/python/controllers/android_device.py
index 1fdaed6..03d48c7 100644
--- a/utils/python/controllers/android_device.py
+++ b/utils/python/controllers/android_device.py
@@ -424,6 +424,16 @@
return model
@property
+ def cpu_abi(self):
+ """CPU ABI (Application Binary Interface) of the device."""
+ out = self.adb.shell('getprop | grep "\[ro.product.cpu.abi\]"')
+ if not out:
+ return "unknown"
+
+ cpu_abi = out.decode("utf-8").strip().split('[')[-1][:-1].lower()
+ return cpu_abi
+
+ @property
def isAdbLogcatOn(self):
"""Whether there is an ongoing adb logcat collection.
"""