Home
last modified time | relevance | path

Searched refs:raise_cb (Results 1 – 19 of 19) 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_3gpp.py335 def Register(self, operator_id, return_cb=None, raise_cb=None): argument
368 self.RegisterWithNetwork(operator_id, return_cb, raise_cb)
372 self.Disconnect(mm1_constants.ROOT_PATH, _Reregister, raise_cb)
413 def Scan(self, return_cb, raise_cb): argument
430 self, operator_id="", return_cb=None, raise_cb=None): argument
444 raise_cb)
466 def Connect(self, properties, return_cb, raise_cb): argument
481 raise_cb)
487 def Disconnect(self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
503 raise_cb,
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,
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
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
Dconnect_cdma_machine.py32 self.raise_cb(pm_errors.MMCoreError(pm_errors.MMCoreError.FAILED,
/external/autotest/client/site_tests/cellular_ActivateCDMA/files/
Dmodems.py56 def Activate(self, carrier, return_cb, raise_cb): argument
64 carrier, return_cb, raise_cb)
67 raise_cb(pm_errors.MMCdmaActivationError(
/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_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_ActivateLTE/files/
Dmodems.py80 self, operator_id='', return_cb=None, raise_cb=None): argument
83 self, operator_id, return_cb, raise_cb)
/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_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.py465 def Connect(self, unused_props, return_cb, raise_cb, **kwargs): argument
483 raise_cb(mm1.ConnectionUnknownError())
500 def Disconnect(self, bearer, return_cb, raise_cb, **kwargs): argument
515 raise_cb(mm1.ConnectionUnknownError())