Add method to return lib paths on device

Add a method to return paths to system and vendor libraries.
On 32-bit target, do not include */lib64.

Bug: 33930594
Test: vts-tradefed run commandAndExit vts -m VibratorHidlTest -l INFO
Change-Id: I340ded1d763dc194da461ecf183c6a2ff5f5ee6f
diff --git a/utils/python/controllers/android_device.py b/utils/python/controllers/android_device.py
index 9428ad2..1b31091 100644
--- a/utils/python/controllers/android_device.py
+++ b/utils/python/controllers/android_device.py
@@ -456,6 +456,16 @@
         return "64" in out
 
     @property
+    def libPaths(self):
+        """List of strings representing the paths to the native library directories."""
+        paths_32 = ["/system/lib", "/vendor/lib"]
+        if self.is64Bit:
+            paths_64 = ["/system/lib64", "/vendor/lib64"]
+            paths_64.extend(paths_32)
+            return paths_64
+        return paths_32
+
+    @property
     def isAdbLogcatOn(self):
         """Whether there is an ongoing adb logcat collection.
         """