Home | History | Annotate | Download | only in cellular

Lines Matching refs:sim

9 user to test shill and UI behaviors when a supported SIM is inserted
101 class SIM(DBusObjectWithProperties):
102 """SIM Object.
104 Mock SIM Card and the typical information it might contain.
105 SIM cards of different carriers can be created by providing
106 the MCC, MNC, operator name, imsi, and msin. SIM objects are
143 name='/Sim/0'):
147 self.mcc = mcc or SIM.MCC_LIST.get(mcc_country, '000')
151 self.imsi = imsi or (self.mcc + self.mnc + SIM.DEFAULT_IMSI)
156 """Creates a SIM card object for a given carrier."""
157 args = SIM.CARRIERS.get(carrier, [])
158 return SIM(manager, *args)
285 sim=None):
296 sim: a SIM object.
310 self.sim = sim
340 # 'Sim': type='o'
365 if self.sim:
366 properties['Sim'] = ObjectPath(self.sim.path)
639 overseas SIM cards
671 SIM.CARRIERS.keys()))
705 sim_card = SIM.FromCarrier(string.lower(options.carrier_name),
707 with GSMModem(manager, sim=sim_card) as modem: