Searched refs:HasRoot (Results 1 – 11 of 11) sorted by relevance
63 if not self._device.HasRoot():69 if not self._device.HasRoot():
34 HasRoot=mock.MagicMock(return_value=True),181 HasRoot=mock.MagicMock(return_value=True))
87 if not self._device.HasRoot():99 self._device.HasRoot() or self._device.NeedsSU())
49 if self.device.HasRoot() or self.device.NeedsSU():144 if not (self.device.HasRoot() or self.device.NeedsSU()):
29 if not device.HasRoot() and not '/data/local/tmp/' in cmdline_file:
286 self.assertTrue(self.device.HasRoot())290 self.assertFalse(self.device.HasRoot())
344 def HasRoot(self, timeout=None, retries=None): member in DeviceUtils
54 if not devutils.HasRoot():
81 def HasRoot(self): member in AdbDevice
340 if device.HasRoot():
301 if device.HasRoot():