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.py202 self._machines = []
227 for m in self._machines:
229 self._machines.remove(m)
336 for m in self._machines:
345 self._machines.append(cros_machine)
372 self._machines = [m for m in self._machines if m.name != machine_name]
446 return self._machines
447 return [m for m in self._machines if m.name in label.remote]
456 for m in self._machines:
467 for m in self._machines:
[all …]
Dmachine_manager_unittest.py35 self._machines.append(cros_machine)
254 self.mm._machines = []
256 self.assertEqual(len(self.mm._machines), 1)
257 self.assertEqual(self.mm._machines[0], self.mock_lumpy1)
278 self.mm._machines = self.mm._all_machines
279 self.assertTrue(self.mock_lumpy2 in self.mm._machines)
281 self.assertFalse(self.mock_lumpy2 in self.mm._machines)
326 self.mm._machines = self.mm._all_machines
379 self.mm._machines = self.mm._all_machines
406 self.mm._machines = [self.mock_lumpy1, self.mock_daisy2]
[all …]