Home
last modified time | relevance | path

Searched refs:cid (Results 1 – 7 of 7) 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.java182 int cid = -1; in convert() local
184 cid = Integer.parseInt(cidAndCarrierName.split("_", -1)[0]); in convert()
189 assetsXmls.put(KEY_CID_PREFIX + cid, parseXmlDoc(fullChildName, xmlDocBuilder)); in convert()
220 int cid = Integer.parseInt(xml.getKey().substring(KEY_CID_PREFIX.length())); in convert() local
221 if (aospCarrierList.containsKey(cid)) { in convert()
222 carriers.addAll(aospCarrierList.get(cid)); in convert()
224 System.err.printf("Undefined cid %d in assets/. Ignore.\n", cid); in convert()
233 int cid = Integer.parseInt(cidAsString); in convert() local
234 if (aospCarrierList.containsKey(cid)) { in convert()
235 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>()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_parse_utils.py320 cid = res[0]
321 setup_data_call[msg_id]['response']['cid'] = cid
350 cid = setup_data_call[last_message_id]['response']['cid']
351 if 'cid = %s' % cid not in line['log_message']:
808 cid = res[0]
809 deactivate_data_call[msg_id]['request']['cid'] = cid
855 cid = deactivate_data_call[last_message_id]['request']['cid']
856 if 'cid = %s' % cid not in line['log_message']: