Searched refs:bearer_path (Results 1 – 7 of 7) sorted by relevance
18 def __init__(self, modem, bearer_path, return_cb, raise_cb, argument21 self.bearer_path = bearer_path44 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 +
118 bearer_path = None128 bearer_path = p131 assert bearer_path is None135 bearer_path = self._modem.CreateBearer(self.connect_props)137 return bearer_path147 bearer_path = self._GetBearerToActivate()148 self._modem.ActivateBearer(bearer_path)155 'ConnectMachine: Returning bearer path: %s', bearer_path)156 self.return_cb(bearer_path)
529 def ActivateBearer(self, bearer_path): argument540 logging.info('ActivateBearer: %s', bearer_path)541 bearer = self.bearers.get(bearer_path, None)543 message = 'Could not find bearer with path "%s"' % bearer_path555 message = 'Bearer with path "%s" already active.', bearer_path560 self.active_bearers[bearer_path] = bearer564 def DeactivateBearer(self, bearer_path): argument574 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 …]
359 def Disconnect(self, bearer_path, return_cb, raise_cb, *return_cb_args): argument369 logging.info('ModemCdma.Disconnect: %s', bearer_path)373 bearer_path,
487 def Disconnect(self, bearer_path, return_cb, raise_cb, *return_cb_args): argument497 logging.info('Disconnect: %s', bearer_path)501 bearer_path,
53 self, bearer_path, return_cb, raise_cb, *return_cb_args): argument91 self, bearer_path, return_cb, raise_cb, *return_cb_args): argument128 self, bearer_path, return_cb, raise_cb, *return_cb_args): argument
480 bearer_path = '/Bearer/0'481 return_cb(bearer_path)