Lines Matching refs:Modem
13 class Modem(object): class
77 def Modem(self): member in Modem
79 return dbus.Interface(obj, Modem.MODEM_INTERFACE)
83 return dbus.Interface(obj, Modem.SIMPLE_MODEM_INTERFACE)
87 return dbus.Interface(obj, Modem.CDMA_MODEM_INTERFACE)
91 return dbus.Interface(obj, Modem.GOBI_MODEM_INTERFACE)
95 return dbus.Interface(obj, Modem.GSM_MODEM_INTERFACE)
99 return dbus.Interface(obj, Modem.GSM_CARD_INTERFACE)
103 return dbus.Interface(obj, Modem.GSM_SMS_INTERFACE)
107 return dbus.Interface(obj, Modem.GSM_NETWORK_INTERFACE)
111 obj_iface = dbus.Interface(obj, Modem.PROPERTIES_INTERFACE)
116 Modem.MODEM_INTERFACE,
117 Modem.SIMPLE_MODEM_INTERFACE,
118 Modem.CDMA_MODEM_INTERFACE,
119 Modem.GSM_MODEM_INTERFACE,
120 Modem.GSM_NETWORK_INTERFACE,
121 Modem.GOBI_MODEM_INTERFACE]
173 return Modem._ACCESS_TECH_TO_TECHNOLOGY[tech]
178 self.GetAll(Modem.GSM_CARD_INTERFACE)
185 return self.Modem().GetInfo()[2]
231 props = self.GetAll(Modem.MODEM_INTERFACE)
233 Modem._MM_MODEM_STATE_CONNECTING,
234 Modem._MM_MODEM_STATE_DISCONNECTING
238 props = self.GetAll(Modem.MODEM_INTERFACE)
245 self.Modem().Enable(enable, timeout=MODEM_TIMEOUT, **kwargs)
251 self.Modem().Disconnect(timeout=MODEM_TIMEOUT)
271 return Modem(self, path)