Home
last modified time | relevance | path

Searched refs:return_cb (Results 1 – 16 of 16) 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_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,
Dmodem_3gpp.py326 def Register(self, operator_id, return_cb=None, raise_cb=None): argument
359 self.RegisterWithNetwork(operator_id, return_cb, raise_cb)
404 def Scan(self, return_cb, raise_cb): argument
417 return_cb(scan_result)
421 self, operator_id="", return_cb=None, raise_cb=None): argument
434 return_cb,
457 def Connect(self, properties, return_cb, raise_cb): argument
471 return_cb,
478 def Disconnect(self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
493 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
Dregister_machine.py18 def __init__(self, modem, operator_code="", return_cb=None, raise_cb=None): argument
22 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
/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_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
491 return_cb(bearer_path)
510 def Disconnect(self, bearer, return_cb, raise_cb, **kwargs): argument
520 return_cb()
523 return_cb()
/external/autotest/client/site_tests/cellular_ConnectFailure/
Dcellular_ConnectFailure.py48 def Connect(self, properties, return_cb, raise_cb): argument