Searched refs:isAdbRoot (Results 1 – 3 of 3) sorted by relevance
136 Mockito.when(device.isAdbRoot()).thenReturn(true); in uninstallPackage_adbAlreadyRooted_doesNotRootAgain()146 Mockito.when(device.isAdbRoot()).thenReturn(false); in uninstallPackage_adbNotAlreadyRooted_rootAdbAndThenUnroot()378 Mockito.when(device.isAdbRoot()).thenReturn(false); in createGoodDeviceWithSystemAppInstalled()
141 if (!device.isAdbRoot()) { in runAsRoot()
478 def isAdbRoot(self): member in AndroidDevice780 if not self.isAdbRoot: