Exemple #1
0
 def __init__(self, device):
     """
     Constructor
     """
     Base.__init__(self, device)
     IResidencies.__init__(self, device)
     self._residencies = None
Exemple #2
0
    def __init__(self, device):
        """
        Constructor.
        """

        Base.__init__(self, device)
        IFile.__init__(self, device)
        self._phone_system = device.get_uecmd("PhoneSystem")
Exemple #3
0
    def __init__(self, device):
        """
        Constructor.
        """

        Base.__init__(self, device)
        ISensor.__init__(self, device)
        self._target_class = "acscmd.sensor.SensorInfoModule"
Exemple #4
0
 def __init__(self, device):
     """
     Constructor.
     """
     Base.__init__(self, device)
     IModemFlashing.__init__(self, device)
     self._serial_number = device.get_serial_number()
     self._at_proxy_supported = device.get_config("isATProxySupported", "True", "str_to_bool")
     self._at_cmd_port = device.get_config("ATCmdPort", "True", "str_to_bool")
Exemple #5
0
    def __init__(self, device):
        """
        Initializes this instance.

        Nothing to be done in interface.
        """
        ISimCard.__init__(self, device)
        Base.__init__(self, device)
        self._module_name = "Intel.Acs.TestFmk.MBConnectivity"
        self._class_name =  "Intel.Acs.TestFmk.MBConnectivity.MBActivity"
        self._logger = device.get_logger()
Exemple #6
0
    def __init__(self, device):
        """
        Constructor.
        """

        Base.__init__(self, device)
        IVibrator.__init__(self, device)

        self._logger = device.get_logger()

        self._target_class = "acscmd.vibrator.VibratorModule"
Exemple #7
0
    def __init__(self, device):
        """
        Constructor.

        """
        Base.__init__(self, device)
        ISmsMessaging.__init__(self, device)
        self._logger = device.get_logger()

        self._module_name = "Intel.Acs.TestFmk.MBConnectivity"
        self._class_name = "Intel.Acs.TestFmk.MBConnectivity.MBActivity"
        # Retrieve default timeout used for UEcmd in sec and convert it to ms
        self._msg_timeout = self._uecmd_default_timeout * 1000
Exemple #8
0
    def __init__(self, device):
        """
        Constructor
        """
        Base.__init__(self, device)
        IFtp.__init__(self, device)
        self._logger = device.get_logger()
        self._phone_system = device.get_uecmd("PhoneSystem")
        self.__file_uecmds = device.get_uecmd("File")

        self._module_name = "Intel.Acs.TestFmk.Networking"
        self._class_name = "Intel.Acs.TestFmk.Networking.FtpActivity"
        # Dictionary where FTP transfer Ids and process Ids are stored
        self._ftp_transfer_ids = {}
Exemple #9
0
 def __init__(self, device):
     """
     Initializes this instance.
     """
     IModem.__init__(self, device)
     Base.__init__(self, device)
     self._module_name = "Intel.Acs.TestFmk.MBConnectivity"
     self._class_name = "Intel.Acs.TestFmk.MBConnectivity.MBActivity"
     # Retrieve default timeout used for UEcmd in sec and convert it to ms
     self._modem_timeout = self._uecmd_default_timeout * 1000
     # Instantiate the PhoneSystem UE Command category
     self._phone_system = self._device.get_uecmd("PhoneSystem")
     self._wait_btwn_cmd = self._device.get_config("waitBetweenCmd", 5,
                                                   float)
Exemple #10
0
 def __init__(self, device):
     """
     Initializes this instance.
     """
     Base.__init__(self, device)
     ILocation.__init__(self, device)
Exemple #11
0
 def __init__(self, device):
     """
     Constructor.
     """
     Base.__init__(self, device)
     IAppMgmt.__init__(self, device)
Exemple #12
0
 def __init__(self, device):
     """
     Constructor
     """
     Base.__init__(self, device)
     ISleepMode.__init__(self, device)
Exemple #13
0
 def __init__(self, device):
     """
     Initializes this instance.
     """
     Base.__init__(self, device)
     IAudio.__init__(self, device)
Exemple #14
0
 def __init__(self, device):
     """
     Initializes this instance.
     """
     Base.__init__(self, device)
     IVoiceCall.__init__(self, device)
Exemple #15
0
 def __init__(self, device):
     """
     Initializes this instance.
     """
     Base.__init__(self, device)
     IPhoneSystem.__init__(self, device)
Exemple #16
0
 def __init__(self, device):
     """
     Initializes this instance.
     """
     Base.__init__(self, device)
     IEnergyManagement.__init__(self, device)
 def __init__(self, device):
     """
     Initializes this instance.
     """
     Base.__init__(self, device)
     ILocalConnectivity.__init__(self, device)