def capture_screen(self, filepath): if BaseGem5Device.capture_screen(self, filepath): return # If we didn't manage to do the above, call the parent class. self.logger.warning("capture_screen: falling back to parent class implementation") AndroidDevice.capture_screen(self, filepath)
def capture_screen(self, filepath): if BaseGem5Device.capture_screen(self, filepath): return # If we didn't manage to do the above, call the parent class. self.logger.warning( "capture_screen: falling back to parent class implementation") AndroidDevice.capture_screen(self, filepath)
def __init__(self, **kwargs): self.logger = logging.getLogger('Gem5AndroidDevice') AndroidDevice.__init__(self, **kwargs) BaseGem5Device.__init__(self)
def get_properties(self, context): # pylint: disable=R0801 """ Get the property files from the device """ BaseGem5Device.get_properties(self, context) props = self._get_android_properties(context) return props
def __init__(self, **kwargs): self.logger = logging.getLogger('Gem5LinuxDevice') LinuxDevice.__init__(self, **kwargs) BaseGem5Device.__init__(self, **kwargs)
def __init__(self, **kwargs): self.logger = logging.getLogger('Gem5LinuxDevice') LinuxDevice.__init__(self, **kwargs) BaseGem5Device.__init__(self)