Lines Matching refs:ad
88 for ad in ads:
89 if ad.serial not in connected_ads:
91 " but is not attached.") % ad.serial)
103 for ad in ads:
105 ad.cleanUp()
107 ad.log.exception("Failed to clean up properly.")
120 for ad in ads:
121 running_ads.append(ad)
123 ad.startServices()
125 ad.log.exception("Failed to start some services, abort!")
216 ad = AndroidDevice(serial, product_type)
217 ad.loadConfig(c)
218 results.append(ad)
251 for ad in ads:
252 if func(ad):
253 results.append(ad)
277 def _get_device_filter(ad):
279 if not hasattr(ad, k):
281 elif getattr(ad, k) != v:
292 serials = [ad.serial for ad in filtered]
311 def take_br(test_name, begin_time, ad):
312 ad.takeBugReport(test_name, begin_time)
314 args = [(test_name, begin_time, ad) for ad in ads]