Home
last modified time | relevance | path

Searched refs:return_cb (Results 1 – 18 of 18) sorted by relevance

/external/autotest/client/cros/cellular/pseudomodem/
Ddisable_machine.py18 def __init__(self, modem, return_cb, raise_cb): argument
20 self.return_cb = return_cb
95 if self.return_cb:
96 self.return_cb()
135 if self.return_cb:
136 self.return_cb()
168 if self.return_cb:
169 self.return_cb()
Denable_machine.py18 def __init__(self, modem, return_cb, raise_cb): argument
20 self.return_cb = return_cb
66 if self.return_cb:
67 self.return_cb()
88 if self.return_cb:
89 self.return_cb()
Dmodem_3gpp.py335 def Register(self, operator_id, return_cb=None, raise_cb=None): argument
368 self.RegisterWithNetwork(operator_id, return_cb, raise_cb)
413 def Scan(self, return_cb, raise_cb): argument
426 return_cb(scan_result)
430 self, operator_id="", return_cb=None, raise_cb=None): argument
443 return_cb,
466 def Connect(self, properties, return_cb, raise_cb): argument
480 return_cb,
487 def Disconnect(self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
502 return_cb,
Dmodem_cdma.py145 def Activate(self, carrier, return_cb, raise_cb): argument
162 return_cb,
304 self, operator_id="", return_cb=None, raise_cb=None): argument
317 return_cb,
338 def Connect(self, properties, return_cb, raise_cb): argument
352 return_cb,
359 def Disconnect(self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
374 return_cb,
Ddisconnect_machine.py18 def __init__(self, modem, bearer_path, return_cb, raise_cb, argument
22 self.return_cb = return_cb
61 self.return_cb(*self.return_cb_args)
Dutils.py106 def _wrap_async_return(return_cb, fname, logger): argument
116 @functools.wraps(return_cb)
120 return_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
Dconnect_machine.py19 def __init__(self, modem, properties, return_cb, raise_cb): argument
22 self.return_cb = return_cb
156 self.return_cb(bearer_path)
Dcdma_activate_machine.py19 def __init__(self, modem, return_cb, raise_cb): argument
21 self._return_cb = return_cb
Dmodem.py371 self.Enable(False, return_cb=_SetLocked)
390 def Enable(self, enable, return_cb=None, raise_cb=None): argument
411 return_cb,
418 return_cb,
424 self, operator_id="", return_cb=None, raise_cb=None): argument
Dregister_machine.py18 def __init__(self, modem, operator_code="", return_cb=None, raise_cb=None): argument
22 self._return_cb = return_cb
/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)
/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_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
80 self._scan_ok_callback = return_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
481 return_cb(bearer_path)
500 def Disconnect(self, bearer, return_cb, raise_cb, **kwargs): argument
510 return_cb()
513 return_cb()
/external/autotest/client/site_tests/cellular_ConnectFailure/
Dcellular_ConnectFailure.py48 def Connect(self, properties, return_cb, raise_cb): argument