Lines Matching refs:AndroidDevice
43 VTS_CONTROLLER_CONFIG_NAME = "AndroidDevice"
70 """Creates AndroidDevice controller objects.
78 A list of AndroidDevice objects.
103 """Cleans up AndroidDevice objects.
106 ads: A list of AndroidDevice objects.
116 """Starts long running services on multiple AndroidDevice objects.
118 If any one AndroidDevice object fails to start services, cleans up all
119 existing AndroidDevice objects and their services.
122 ads: A list of AndroidDevice objects whose services to start.
177 """Create AndroidDevice instances from a list of serials.
183 A list of AndroidDevice objects.
187 results.append(AndroidDevice(s))
192 """Create AndroidDevice instances from a list of json configs.
201 A list of AndroidDevice objects.
209 'AndroidDevice config %s.') %
215 'AndroidDevice config %s.',
219 ad = AndroidDevice(serial, product_type)
226 """Create AndroidDevice instances for all attached android devices.
232 A list of AndroidDevice objects each representing an android device
242 """Finds the AndroidDevice instances from a list that match certain
246 ads: A list of AndroidDevice instances.
247 func: A function that takes an AndroidDevice object and returns True
251 A list of AndroidDevice instances that satisfy the filter condition.
261 """Finds a unique AndroidDevice instance from a list that has specific
269 ads: A list of AndroidDevice instances.
270 kwargs: keyword arguments used to filter AndroidDevice instances.
273 The target AndroidDevice instance.
308 ads: A list of AndroidDevice instances.
321 class AndroidDevice(object):
336 [AndroidDevice|<serial>]
374 self.log_path = os.path.join(base_log_path, "AndroidDevice%s" % serial)
408 """Cleans up the AndroidDevice object and releases any resources it
682 """Add attributes to the AndroidDevice object based on json config.
1053 """Start HAL agent on the AndroidDevice.
1124 """Stop the HAL agent running on the AndroidDevice.
1432 """Terminate all sl4a sessions on the AndroidDevice instance.
1451 AndroidDevice object.
1457 We are adding the prefix "[AndroidDevice|<serial>]" to all log lines.
1464 msg = "[AndroidDevice|%s] %s" % (self.extra["serial"], msg)