Home | History | Annotate | Download | only in pseudomodem

Lines Matching refs:sim

77         self.sim = None
164 'Sim' : dbus.types.ObjectPath(mm1_constants.ROOT_PATH)
311 def SetSIM(self, sim):
313 Assigns a SIM object to this Modem. It exposes the SIM object via DBus
314 and sets 'Sim' property of this Modem to the path of the SIM.
316 @param sim: An instance of sim.SIM.
321 self.sim = sim
322 if not sim:
325 val = sim.path
326 self.sim.SetBus(self.bus)
327 self.sim.modem = self
329 self.Set(mm1_constants.I_MODEM, 'Sim', dbus.types.ObjectPath(val))
350 if not self.sim:
351 logging.info('SIM lock is the only kind of lock that is currently '
352 'supported. No SIM present, nothing to do.')
355 self.sim.lock_type)
357 self.sim.unlock_retries)
358 if self.sim.locked:
360 logging.info('There is a SIM lock in place. Setting state to '
370 logging.info('SIM got locked. Disabling modem.')
378 logging.info('SIM became unlocked! Setting state to INITIALIZING.')
381 logging.info('SIM became unlocked! Setting state to DISABLED.')
431 be handled here (such as activation, the presence of a valid SIM card,
646 if self.sim:
647 manager.Remove(self.sim)
656 if self.sim:
657 self.sim.Reset()
659 if self.sim:
661 'Sim',
662 dbus.types.ObjectPath(self.sim.path))