Searched refs:_Su (Results 1 – 2 of 2) sorted by relevance
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_utils_test.py | 1338 self.assertEquals('su -c foo', self.device._Su('foo')) 1344 self.assertEquals('su 0 foo', self.device._Su('foo')) 1419 (self.call.device._Su(expected_cmd_without_su), expected_cmd), 1435 (self.call.device._Su(expected_cmd_without_su), expected_cmd), 1459 (self.call.device._Su(expected_cmd_without_su), expected_cmd), 1677 (self.call.device._Su("sh -c 'kill -9 1234'"), 2552 (self.call.device._Su(expected_cmd_without_su), expected_cmd),
|
D | device_utils.py | 583 cmd = '%s && ! ls /root' % self._Su('ls /root') 606 def _Su(self, command): member in DeviceUtils 1541 cmd = self._Su('sh -c %s' % cmd_helper.SingleQuote(cmd))
|