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.py941 self.assertEquals('su -c foo', self.device._Su('foo'))
947 self.assertEquals('su 0 foo', self.device._Su('foo'))
1030 (self.call.device._Su(expected_cmd_without_su), expected_cmd),
1047 (self.call.device._Su(expected_cmd_without_su), expected_cmd),
1073 (self.call.device._Su(expected_cmd_without_su), expected_cmd),
1313 (self.call.device._Su("sh -c 'kill -9 1234'"),
2185 (self.call.device._Su(expected_cmd_without_su), expected_cmd),
Ddevice_utils.py481 cmd = '%s && ! ls /root' % self._Su('ls /root')
497 def _Su(self, command): member in DeviceUtils
1154 cmd = self._Su('sh -c %s' % cmd_helper.SingleQuote(cmd))