Home
last modified time | relevance | path

Searched refs:_machines (Results 1 – 3 of 3) sorted by relevance

/external/toolchain-utils/crb/
Dmachine_manager_singleton.py34 _machines = [] variable in MachineManagerSingleton
50 for m in self._machines:
66 self._machines.append(cros_machine)
81 if not self._machines:
84 assert self._machines, ('Could not lock any machine in %s' %
91 for m in [machine for machine in self._machines if not machine.locked]:
96 for m in [machine for machine in self._machines if not machine.locked]:
101 for m in [machine for machine in self._machines if not machine.locked]:
110 for m in self._machines:
121 for m in self._machines:
[all …]
/external/toolchain-utils/crosperf/
Dmachine_manager.py211 self._machines = []
236 for m in self._machines:
238 self._machines.remove(m)
346 for m in self._machines:
355 self._machines.append(cros_machine)
382 self._machines = [m for m in self._machines if m.name != machine_name]
454 return self._machines
455 return [m for m in self._machines if m.name in label.remote]
464 for m in self._machines:
475 for m in self._machines:
[all …]
Dmachine_manager_unittest.py35 self._machines.append(cros_machine)
256 self.mm._machines = []
258 self.assertEqual(len(self.mm._machines), 1)
259 self.assertEqual(self.mm._machines[0], self.mock_lumpy1)
280 self.mm._machines = self.mm._all_machines
281 self.assertTrue(self.mock_lumpy2 in self.mm._machines)
283 self.assertFalse(self.mock_lumpy2 in self.mm._machines)
328 self.mm._machines = self.mm._all_machines
381 self.mm._machines = self.mm._all_machines
408 self.mm._machines = [self.mock_lumpy1, self.mock_daisy2]
[all …]