Home
last modified time | relevance | path

Searched refs:cid (Results 1 – 6 of 6) sorted by relevance

/tools/carrier_settings/python/
Dupdate_carrier_data.py111 def to_string(cid): argument
113 ret = cid.mcc_mnc
114 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 …]
Dupdate_apn.py46 def to_string(cid): argument
48 ret = cid.mcc_mnc
49 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): argument
71 name = to_string(cid)
[all …]
/tools/carrier_settings/java/
DCarrierConfigConverterV2.java180 int cid = -1; in convert() local
182 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() local
219 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() local
232 if (aospCarrierList.containsKey(cid)) { in convert()
233 carriers.addAll(aospCarrierList.get(cid)); in convert()
[all …]
DCarrierProtoUtils.java227 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());
DGenCarrierList.java94 for (CarrierId cid : cm.getCarrierIdList()) { in generate()
95 list.add(cm.toBuilder().clearCarrierId().addCarrierId(cid).build()); in generate()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/
DFtraceImporterState.kt95 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>()