Home
last modified time | relevance | path

Searched refs:raise_cb (Results 1 – 17 of 17) sorted by relevance

/external/autotest/client/cros/cellular/pseudomodem/
Ddisconnect_machine.py18 def __init__(self, modem, bearer_path, return_cb, raise_cb, argument
23 self.raise_cb = raise_cb
52 self.raise_cb(e)
80 self.raise_cb(
90 self.raise_cb(
101 self.raise_cb(
111 self.raise_cb(pm_errors.MMCoreError(
Dconnect_machine.py19 def __init__(self, modem, properties, return_cb, raise_cb): argument
23 self.raise_cb = raise_cb
51 self.raise_cb(pm_errors.MMCoreError(
81 self.raise_cb(pm_errors.MMCoreError(pm_errors.MMCoreError.FAILED,
159 self.raise_cb(e)
189 self.raise_cb(pm_errors.MMCoreError(
198 self.raise_cb(
206 self.raise_cb(
214 self.raise_cb(
Denable_machine.py18 def __init__(self, modem, return_cb, raise_cb): argument
21 self.raise_cb = raise_cb
35 if self.raise_cb:
36 self.raise_cb(pm_errors.MMCoreError(
Dmodem_cdma.py145 def Activate(self, carrier, return_cb, raise_cb): argument
163 raise_cb)
304 self, operator_id="", return_cb=None, raise_cb=None): argument
318 raise_cb)
338 def Connect(self, properties, return_cb, raise_cb): argument
353 raise_cb)
359 def Disconnect(self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
375 raise_cb,
Dmodem_3gpp.py326 def Register(self, operator_id, return_cb=None, raise_cb=None): argument
359 self.RegisterWithNetwork(operator_id, return_cb, raise_cb)
363 self.Disconnect(mm1_constants.ROOT_PATH, _Reregister, raise_cb)
404 def Scan(self, return_cb, raise_cb): argument
421 self, operator_id="", return_cb=None, raise_cb=None): argument
435 raise_cb)
457 def Connect(self, properties, return_cb, raise_cb): argument
472 raise_cb)
478 def Disconnect(self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
494 raise_cb,
Dutils.py125 def _wrap_async_raise(raise_cb, fname, logger): argument
135 @functools.wraps(raise_cb)
140 raise_cb(*args, **kwargs)
Dmodem_simple.py23 def Connect(self, properties, return_cb, raise_cb): argument
59 def Disconnect(self, bearer, return_cb, raise_cb, *return_cb_args): argument
Ddisable_machine.py18 def __init__(self, modem, return_cb, raise_cb): argument
21 self.raise_cb = raise_cb
Dcdma_activate_machine.py19 def __init__(self, modem, return_cb, raise_cb): argument
22 self._raise_cb = raise_cb
Dregister_machine.py18 def __init__(self, modem, operator_code="", return_cb=None, raise_cb=None): argument
23 self._raise_cb = raise_cb
Dconnect_cdma_machine.py32 self.raise_cb(pm_errors.MMCoreError(pm_errors.MMCoreError.FAILED,
Dmodem.py390 def Enable(self, enable, return_cb=None, raise_cb=None): argument
412 raise_cb)
419 raise_cb)
424 self, operator_id="", return_cb=None, raise_cb=None): argument
/external/autotest/client/site_tests/cellular_ConnectFailure/
Dcellular_ConnectFailure.py48 def Connect(self, properties, return_cb, raise_cb): argument
50 raise_cb(pm_errors.MMCoreError(pm_errors.MMCoreError.FAILED))
/external/autotest/client/site_tests/cellular_ScanningProperty/files/
Dmodems.py76 def Scan(self, return_cb, raise_cb): argument
81 self._scan_failed_callback = raise_cb
/external/autotest/client/site_tests/cellular_DisconnectFailure/
Dcellular_DisconnectFailure.py53 self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
91 self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
128 self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
/external/autotest/client/site_tests/cellular_ServiceName/
Dcellular_ServiceName.py43 self, operator_id='', return_cb=None, raise_cb=None): argument
49 self, TEST_3GPP_ROAMING_OPERATOR_CODE, return_cb, raise_cb)
/external/autotest/client/cros/cellular/
Dpseudo_modem.py475 def Connect(self, unused_props, return_cb, raise_cb, **kwargs): argument
493 raise_cb(mm1.ConnectionUnknownError())
510 def Disconnect(self, bearer, return_cb, raise_cb, **kwargs): argument
525 raise_cb(mm1.ConnectionUnknownError())