Home
last modified time | relevance | path

Searched refs:_Su (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py1338 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),
Ddevice_utils.py583 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))