Home
last modified time | relevance | path

Searched refs:bearer_path (Results 1 – 7 of 7) sorted by relevance

/external/autotest/client/cros/cellular/pseudomodem/
Ddisconnect_machine.py18 def __init__(self, modem, bearer_path, return_cb, raise_cb, argument
21 self.bearer_path = bearer_path
44 if self.bearer_path == mm1_constants.ROOT_PATH:
48 self._modem.DeactivateBearer(self.bearer_path)
95 if self.bearer_path == mm1_constants.ROOT_PATH:
97 elif not (self.bearer_path in self._modem.bearers):
99 self.bearer_path)
105 elif not (self.bearer_path in self._modem.active_bearers):
107 self.bearer_path +
Dconnect_machine.py118 bearer_path = None
128 bearer_path = p
131 assert bearer_path is None
135 bearer_path = self._modem.CreateBearer(self.connect_props)
137 return bearer_path
147 bearer_path = self._GetBearerToActivate()
148 self._modem.ActivateBearer(bearer_path)
155 'ConnectMachine: Returning bearer path: %s', bearer_path)
156 self.return_cb(bearer_path)
Dmodem.py529 def ActivateBearer(self, bearer_path): argument
540 logging.info('ActivateBearer: %s', bearer_path)
541 bearer = self.bearers.get(bearer_path, None)
543 message = 'Could not find bearer with path "%s"' % bearer_path
555 message = 'Bearer with path "%s" already active.', bearer_path
560 self.active_bearers[bearer_path] = bearer
564 def DeactivateBearer(self, bearer_path): argument
574 logging.info('DeactivateBearer: %s', bearer_path)
575 bearer = self.bearers.get(bearer_path, None)
579 'Could not find bearer with path "%s".' % bearer_path)
[all …]
Dmodem_cdma.py359 def Disconnect(self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
369 logging.info('ModemCdma.Disconnect: %s', bearer_path)
373 bearer_path,
Dmodem_3gpp.py478 def Disconnect(self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
488 logging.info('Disconnect: %s', bearer_path)
492 bearer_path,
/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/cros/cellular/
Dpseudo_modem.py490 bearer_path = '/Bearer/0'
491 return_cb(bearer_path)