Lines Matching refs:apn
60 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':
185 apn.ClearField('bearer_bitmask')
186 return apn
188 for apn in carrier_settings.apns.apn:
189 clean(apn)
212 apns = base_setting.apns.apn[:]
213 apns = merge_apns(apns, patch.apns.apn[:])
214 del base_setting.apns.apn[:]
215 base_setting.apns.apn.extend(apns)
243 apns = setting.apns.apn[:]
244 apns = merge_apns(apns, patch.apns.apn[:])
245 del setting.apns.apn[:]
246 setting.apns.apn.extend(apns)
335 apn = apns_dict.get(cname_of_mccmnc)
336 if apn:
337 setting.apns.CopyFrom(apn.apns)