Lines Matching refs:device
23 factor that for-each up several levels because it was going to make the device
104 device = os.getenv('ANDROID_SERIAL')
105 if device is None and len(devices) == 1:
106 device = devices[0]
108 if device is not None and device not in devices:
109 raise RuntimeError('Device {} is not available.'.format(device))
112 if len(devices) > 1 and device is None:
116 return device
139 # TODO(danalbert): Check that we can do anything with the device.
141 device = get_test_device()
147 msg = ('The test device ({}) does not support the requested ABI '
148 '({}).\nSupported ABIs: {}'.format(device, abi,
221 choices=('awk', 'build', 'device'),
298 suites = ['awk', 'build', 'device']
302 # Do this early so we find any device issues now rather than after we've
304 if 'device' in suites:
308 # PIE is required in L. All of the device tests are written toward the
310 # if we're running on a newer device.
330 if 'device' in suites:
331 runner.add_suite('device', 'device', DeviceTest, args.abi,