Searched refs:ad (Results 1 – 5 of 5) sorted by relevance
505 def sync_device_time(ad): argument513 droid = ad.droid592 def force_airplane_mode(ad, new_state, timeout_value=60): argument609 def wait_for_device_with_timeout(ad): argument610 ad.adb.wait_for_device()613 wait_for_device_with_timeout(ad)614 ad.adb.shell("settings put global airplane_mode_on {}".format(622 def enable_doze(ad): argument632 ad.adb.shell("dumpsys battery unplug")633 ad.adb.shell("dumpsys deviceidle enable")[all …]
112 for ad in ads:113 ad.enable_vts_agent = start_services114 if ad.serial not in connected_ads:116 " but is not attached.") % ad.serial)128 for ad in ads:130 ad.cleanUp()132 ad.log.exception("Failed to clean up properly.")145 for ad in ads:146 running_ads.append(ad)148 ad.startServices()[all …]
100 ad = android_device.AndroidDevice(serial)102 val = getattr(ad, prop, None)
99 for ad in self.android_devices:100 serials.append('{"serial":"%s"}' % ad.serial)
84 for ad in self.android_devices:85 logging.debug('Android device serial: %s' % ad.serial)