Lines Matching full:device
83 """Assert that the build on the device is older (or the same as)
88 def AssertDevice(self, device):
89 """Assert that the device identifier is the given string."""
90 cmd = ('assert(getprop("ro.product.device") == "%s" ||\0'
91 'getprop("ro.build.product") == "%s");' % (device, device))
141 p.device, p.mount_point))
168 (p.fs_type, common.PARTITION_TYPES[p.fs_type], p.device))
210 args = {'device': p.device, 'fn': fn}
213 ('assert(package_extract_file("%(fn)s", "/tmp/%(device)s.img"),\n'
214 ' write_raw_image("/tmp/%(device)s.img", "%(device)s"),\n'
215 ' delete("/tmp/%(device)s.img"));') % args)
218 'package_extract_file("%(fn)s", "%(device)s");' % args)