Home
last modified time | relevance | path

Searched refs:apn (Results 1 – 5 of 5) sorted by relevance

/tools/carrier_settings/python/
Dupdate_carrier_data.py60 def find_apn(apn, apns): argument
63 if equals_apn(apn, a):
91 if not setting.HasField('apns') or len(setting.apns.apn) <= 1:
93 apns = setting.apns.apn[:]
95 del setting.apns.apn[:]
96 setting.apns.apn.extend(cleaned_apns)
101 for apn in dest_apns:
103 merge_mms_apn(apn, source)
183 def clean(apn): argument
184 if apn.HasField('bearer_bitmask') and apn.bearer_bitmask == '0':
[all …]
Dupdate_apn.py155 typelist = [apn.strip().lower() for apn in typestr.split(',')]
205 apn = carrier_settings_pb2.ApnItem()
206 apn.name = node.getAttribute('carrier')
207 apn.value = node.getAttribute('apn')
208 apn.type.extend(map_apntype(node.getAttribute('type')))
211 setattr(apn, key, APN_PROTOCOL_MAP[node.getAttribute(key).lower()])
216 setattr(apn, 'bearer_bitmask', node.getAttribute(key))
219 setattr(apn, key, APN_SKIPXLAT_MAP[int(node.getAttribute(key))])
222 setattr(apn, key, node.getAttribute(key))
225 setattr(apn, APN_REMAP_KEYS[key], node.getAttribute(key))
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/cellular_lib/
DAndroidCellularDut.py59 def set_apn(self, name, apn, type='default'): argument
67 self.ad.droid.telephonySetAPN(name, apn, type)
DBaseCellularDut.py56 def set_apn(self, name, apn, type='default'): argument
/tools/carrier_settings/proto/
Dcarrier_settings.proto55 // The name of APN, map to xml apn "carrier" attribute
59 // "apn" attribute, eg. vzwinternet
157 repeated ApnItem apn = 2; field