Searched refs:HasRoot (Results 1 – 8 of 8) sorted by relevance
60 if not self._device.HasRoot():66 if not self._device.HasRoot():
49 if self.device.HasRoot() or self.device.NeedsSU():145 if not (self.device.HasRoot() or self.device.NeedsSU()):
34 HasRoot=mock.MagicMock(return_value=True),177 HasRoot=mock.MagicMock(return_value=True))
80 if not self._device.HasRoot():93 self._device.HasRoot() or self._device.NeedsSU())
29 if not device.HasRoot() and not '/data/local/tmp/' in cmdline_file:
262 self.assertTrue(self.device.HasRoot())266 self.assertFalse(self.device.HasRoot())
275 def HasRoot(self, timeout=None, retries=None): member in DeviceUtils
72 def HasRoot(self): member in AdbDevice