/external/autotest/server/hosts/ |
testbed_unittest.py | 27 serials = ['s1', 's2', 's3'] 28 testbed_1 = testbed.TestBed(adb_serials=serials) 36 testbed_1.get_adb_devices().AndReturn(dict(zip(serials, hosts))) 41 self.assertEqual(devices, dict(zip(serials, [BOARD_1_BUILD_1]*3))) 51 serials = ['s1', 's2', 's3'] 52 testbed_1 = testbed.TestBed(adb_serials=serials) 60 testbed_1.get_adb_devices().AndReturn(dict(zip(serials, hosts))) 73 serials = ['s1', 's2', 's3'] 74 testbed_1 = testbed.TestBed(adb_serials=serials) 82 testbed_1.get_adb_devices().AndReturn(dict(zip(serials, hosts)) [all...] |
testbed.py | 54 @param adb_serials: List of adb device serials. 67 serials_from_attributes = self._afe_host.attributes.get('serials') 113 @return: A dict of adb device serials to their host objects. 161 serials = [] 163 serials.append(serial) 170 (len(serials), ','.join(serials))) 290 # serials grouped by the board of duts.
|
/test/framework/harnesses/host_controller/campaigns/ |
vts.py | 111 serials = kwargs["serial"] 120 if shards <= len(serials): 124 "flash --current --serial %s" % serials[shard_index]) 125 test_command += " --serial %s" % serials[shard_index] 130 result.append("flash --current --serial %s" % serials[0]) 131 if serials: 133 (test_name, ",".join(serials), shards, param))
|
/external/perfetto/tools/ |
pull_ftrace_format_files.py | 46 serials = [s.split('\t')[0] for s in adb('devices').split('\n')[1:] if s] 47 return serials 72 serials = get_devices() 73 if serial is None and len(serials) == 1: 74 return serials[0] 76 if serial in serials: 79 if not serials:
|
/external/toolchain-utils/android_bench_suite/ |
run.py | 95 '--serials', 96 help='Comma separate list of device serials under ' 191 def set_device(serials, remote, frequency): 200 # Deal with serials. 202 # If specified, split the serials into a list and run test on each device. 203 if serials: 204 for serial in serials.split(','): 300 def test_bench(bench, setting_no, iterations, serials, remote, mode): 315 # Deal with serials. 317 # If specified, split the serials into a list and run test on each device [all...] |
/toolchain/benchmark/ |
run.py | 95 '--serials', 96 help='Comma separate list of device serials under ' 191 def set_device(serials, remote, frequency): 200 # Deal with serials. 202 # If specified, split the serials into a list and run test on each device. 203 if serials: 204 for serial in serials.split(','): 303 def test_bench(bench, setting_no, iterations, serials, remote, mode): 318 # Deal with serials. If there is no serails specified, try to run test 319 # on the only device. If specified, split the serials into a list an [all...] |
/external/autotest/server/brillo/feedback/ |
client_factory.py | 37 serials = afe_host.attributes.get('serials') 38 dut_name = '%s-%s' % (hostname, serials)
|
/external/autotest/site_utils/ |
test_droid.py | 70 parser.add_argument('-s', '--serials', metavar='SERIALS', 71 help='Comma separate list of device serials under ' 74 help='Comma separate list of fastboot serials under ' 96 serials = arguments.serials 97 if serials is None: 104 serials = devices[0] 115 host_attributes = {'serials' : serials, [all...] |
/tools/tradefederation/core/src/com/android/tradefed/device/ |
FastbootHelper.java | 79 * Returns a set of device serials in fastboot mode or an empty set if no fastboot devices. 81 * @return a set of device serials. 102 * @return a set of device serials. 105 Set<String> serials = new HashSet<String>(); local 109 serials.add(fastbootMatcher.group(1)); 111 return serials;
|
ManagedDeviceList.java | 130 * @param serials the devices currently on fastboot 132 public void updateFastbootStates(Set<String> serials) { 137 if (serials.contains(d.getSerialNumber())) {
|
DeviceSelectionOptions.java | 361 Collection<String> serials = getSerials(device); local 367 if (!serials.isEmpty() && 368 !serials.contains(device.getSerialNumber())) {
|
/prebuilts/gradle-plugin/com/android/tools/internal/build/test/devicepool/0.1/ |
devicepool-0.1.jar | |
/tools/test/connectivity/acts/framework/acts/controllers/ |
native_android_device.py | 46 def get_instances(serials, ): 47 """Create AndroidDevice instances from a list of serials. 50 serials: A list of android device serials. 57 for s in serials:
|
/test/framework/harnesses/host_controller/command_processor/ |
command_test.py | 81 def _GenerateVtsCommand(bin_path, command, serials, result_dir=None): 87 serials: a list of strings, the serial numbers of the devices. 97 for serial in serials: 177 serials = args.serial.split(",") 179 serials = self.console.GetSerials() 181 serials = [] 196 args.command, serials, result_dir)
|
/test/framework/harnesses/host_controller/build/ |
build_flasher.py | 53 serials = android_device.list_adb_devices() 54 if len(serials) == 0: 55 serials = android_device.list_fastboot_devices() 56 if len(serials) == 0: 59 if len(serials) > 1: 61 "ADB or fastboot found more than one device: %s" % serials) 63 serials[0], device_callback_port=-1)
|
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
ResultHandlerTest.java | 305 Set<String> serials = lightResult.getDeviceSerials(); local 306 assertTrue("Missing device", serials.contains(DEVICE_A)); 307 assertTrue("Missing device", serials.contains(DEVICE_B)); 308 assertEquals("Expected 2 devices", 2, serials.size()); 309 assertTrue("Incorrect devices", serials.contains(DEVICE_A) && serials.contains(DEVICE_B)); 331 Set<String> serials = result.getDeviceSerials(); local 332 assertTrue("Missing device", serials.contains(DEVICE_A)); 333 assertTrue("Missing device", serials.contains(DEVICE_B)); 334 assertEquals("Expected 2 devices", 2, serials.size()) [all...] |
/test/vti/test_serving/gae/webapp/src/dashboard/ |
job_list.py | 60 serials = self.request.get("serial", default_value="").split(",") 64 serials)) 91 new_job.serial.extend(serials)
|
/test/framework/harnesses/host_controller/ |
invocation_thread_test.py | 49 serials = ["serial123", "serial456"] 52 attempt, command, serials)
|
/test/framework/harnesses/host_controller/tradefed/ |
remote_operation.py | 83 {"serials": [ 96 for dev_obj in json_obj["serials"]:
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
IInvocationContext.java | 80 * Return the list of serials of the device tracked in this invocation 176 * @param index the index of the shard using the serials 177 * @param serials The list of serials to be tracked. 179 public void addSerialsFromShard(Integer index, List<String> serials); 182 * Returns the Map of all tracked serials and their shard involved in sharding. Empty if not a
|
InvocationContext.java | 58 * List of map the device serials involved in the sharded invocation, empty if not a sharded 321 public void addSerialsFromShard(Integer index, List<String> serials) { 326 mShardSerials.put(index, serials);
|
/system/iot/attestation/at-factory-tool/ |
atft_unittest.py | 676 serials = [self.TEST_SERIAL1, self.TEST_SERIAL2, self.TEST_SERIAL3] 678 mock_atft._FuseVbootKey(serials) 706 serials = [self.TEST_SERIAL1, self.TEST_SERIAL2, self.TEST_SERIAL3] 710 mock_atft._FuseVbootKey(serials) 726 serials = [self.TEST_SERIAL1, self.TEST_SERIAL2, self.TEST_SERIAL3] 729 mock_atft._FuseVbootKey(serials) [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
battor_device_mapping.py | 187 class serials(object): class in function:GenerateSerialMap 196 port_to_devices = collections.defaultdict(serials)
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
battor_device_mapping.py | 189 class serials(object): class in function:GenerateSerialMap 198 port_to_devices = collections.defaultdict(serials)
|
/external/autotest/cli/ |
host.py | 600 if 'serials' in self.attributes: 602 raise topic_common.CliError('Can not specify serials with ' 668 serials = self.attributes.get('serials', '').split(',') 669 if serials and len(serials) > 1: 671 adb_serials=serials) 673 adb_serial = self.attributes.get('serials')
|