Searched refs:HasRoot (Results 1 – 16 of 16) sorted by relevance
63 if not self._device.HasRoot():69 if not self._device.HasRoot():
73 if not self._device.HasRoot():79 if not self._device.HasRoot():
34 HasRoot=mock.MagicMock(return_value=True),181 HasRoot=mock.MagicMock(return_value=True))
94 if not self._device.HasRoot():106 self._device.HasRoot() or self._device.NeedsSU())
49 if self.device.HasRoot() or self.device.NeedsSU():145 if not (self.device.HasRoot() or self.device.NeedsSU()):
47 if not self.device.HasRoot():
21 def HasRoot(self): member in _FakeDevice
290 self.assertTrue(self.device.HasRoot())297 self.assertTrue(self.device.HasRoot())304 self.assertFalse(self.device.HasRoot())311 self.assertFalse(self.device.HasRoot())
383 def HasRoot(self, timeout=None, retries=None): member in DeviceUtils425 if self.HasRoot():
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())
332 def HasRoot(self, timeout=None, retries=None): member in DeviceUtils
61 if not devutils.HasRoot():
89 def HasRoot(self): member in AdbDevice
375 if device.HasRoot():
87 ### DeviceUtils.HasRoot