Example #1
0
    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)
Example #2
0
    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)
Example #3
0
 def __init__(self, **kwargs):
     self.logger = logging.getLogger('Gem5AndroidDevice')
     AndroidDevice.__init__(self, **kwargs)
     BaseGem5Device.__init__(self)
Example #4
0
 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
Example #5
0
 def __init__(self, **kwargs):
     self.logger = logging.getLogger('Gem5AndroidDevice')
     AndroidDevice.__init__(self, **kwargs)
     BaseGem5Device.__init__(self)
Example #6
0
 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)
Example #8
0
 def __init__(self, **kwargs):
     self.logger = logging.getLogger('Gem5LinuxDevice')
     LinuxDevice.__init__(self, **kwargs)
     BaseGem5Device.__init__(self)