コード例 #1
0
ファイル: BtOppSend.py プロジェクト: zenghui0-0/tempfile
    def __init__(self, tc_conf, global_conf, ts_conf, factory):
        """
        Constructor
        """

        BtBase.__init__(self, tc_conf, global_conf, ts_conf, factory)
        self._phonesystem_api = self._device.get_uecmd("PhoneSystem")
コード例 #2
0
    def __init__(self, tc_conf, global_conf, ts_conf, factory):
        """
        Constructor
        """

        BtBase.__init__(self, tc_conf, global_conf, ts_conf, factory)
        self._files = {}
        self._num_expected_files = 0
        self._time_out_offset = self._DEFAULT_OFFSET_TIMEOUT_SECS
        self._poll_sleep = self._DEFAULT_POLL_SLEEP_SECS
        # If no time out related arguments are passed, timeout by default is time_out_offset
        self._time_out = self._time_out_offset
        self._throughput_targets = None

        if not self._pars.expected_state:
            self._pars.expected_state = self._ALL_COMPLETED
コード例 #3
0
    def __init__(self, tc_conf, global_conf, ts_conf, factory):

        BtBase.__init__(self, tc_conf, global_conf, ts_conf, factory)

        if not self._pars.expected_state:
            self._pars.expected_state = self._STATUS_ACCEPTED
コード例 #4
0
    def __init__(self, tc_conf, global_conf, ts_conf, factory=None):
        """
        Constructor
        """

        BtBase.__init__(self, tc_conf, global_conf, ts_conf, factory)
コード例 #5
0
ファイル: BtAllowProfile.py プロジェクト: zenghui0-0/tempfile
 def __init__(self, tc_conf, global_conf, ts_conf, factory):
     BtBase.__init__(self, tc_conf, global_conf, ts_conf, factory)
     self._bt_ui_actions = self._device.get_uecmd(self.PY_UIAUTOMATOR)