Searched refs:cid (Results 1 – 6 of 6) sorted by relevance
111 def to_string(cid): argument113 ret = cid.mcc_mnc114 if cid.HasField('spn'):115 ret += 'SPN=' + cid.spn.upper()116 if cid.HasField('imsi'):117 ret += 'IMSI=' + cid.imsi.upper()118 if cid.HasField('gid1'):119 ret += 'GID1=' + cid.gid1.upper()125 cid = carrier_list_pb2.CarrierId()128 cid.mcc_mnc = cid_string[:ind][all …]
46 def to_string(cid): argument48 ret = cid.mcc_mnc49 if cid.HasField('spn'):50 ret += 'SPN=' + cid.spn.upper()51 if cid.HasField('imsi'):52 ret += 'IMSI=' + cid.imsi.upper()53 if cid.HasField('gid1'):54 ret += 'GID1=' + cid.gid1.upper()58 def get_cname(cid, known_carriers): argument71 name = to_string(cid)[all …]
180 int cid = -1; in convert() local182 cid = Integer.parseInt(cidAndCarrierName.split("_", -1)[0]); in convert()187 assetsXmls.put(KEY_CID_PREFIX + cid, parseXmlDoc(fullChildName, xmlDocBuilder)); in convert()218 int cid = Integer.parseInt(xml.getKey().substring(KEY_CID_PREFIX.length())); in convert() local219 if (aospCarrierList.containsKey(cid)) { in convert()220 carriers.addAll(aospCarrierList.get(cid)); in convert()222 System.err.printf("Undefined cid %d in assets/. Ignore.\n", cid); in convert()231 int cid = Integer.parseInt(cidAsString); in convert() local232 if (aospCarrierList.containsKey(cid)) { in convert()233 carriers.addAll(aospCarrierList.get(cid)); in convert()[all …]
227 final CarrierId cid = cm.getCarrierId(0);228 switch (cid.getMvnoDataCase()) {230 return "GID1=" + cid.getGid1();232 return "IMSI=" + cid.getImsi();234 return "SPN=" + cid.getSpn();238 throw new AssertionError("uncaught case " + cid.getMvnoDataCase());
94 for (CarrierId cid : cm.getCarrierIdList()) { in generate()95 list.add(cm.toBuilder().clearCarrierId().addCarrierId(cid).build()); in generate()
95 fun cpuFor(cid: Int): CpuModelFragment { in <lambda>()96 var cpu = cpuMap[cid] in <lambda>()98 cpu = CpuModelFragment(cid) in <lambda>()101 cpuMap.put(cid, cpu) in <lambda>()102 return cpuMap[cid]!! in <lambda>()