Lines Matching refs:setting
82 def clean_apn(setting): argument
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)
240 for setting in base_settings.setting:
241 if setting.canonical_name == patch.canonical_name:
242 clean_apn(setting)
243 apns = setting.apns.apn[:]
245 del setting.apns.apn[:]
246 setting.apns.apn.extend(apns)
250 base_settings.setting.extend([patch])
316 for setting in others.setting:
317 if not setting.HasField('apns'):
318 carrier_id = to_carrier_id(setting.canonical_name)
322 if setting.HasField('configs'):
323 for conf in setting.configs.config:
337 setting.apns.CopyFrom(apn.apns)
339 sanitise_carrier_config(others.setting)
344 def sanitise_carrier_config(setting): argument
346 for carrier_setting in setting:
377 for setting in others.setting:
378 if setting.canonical_name in other_carriers:
379 carrier_configs_map[setting.canonical_name] = setting.configs
387 for setting in others.setting:
388 if setting.canonical_name in cnames:
389 carrier_id = to_carrier_id(setting.canonical_name)
393 setting.configs.config.extend(carrier_configs_map[mccmnc].config[:])
395 setting.configs.config.extend(carrier_configs_map[mcc].config[:])
439 copy_others_setting = others.setting[:]
440 del others.setting[:]
441 others.setting.extend([
442 setting for setting in copy_others_setting
443 if setting.canonical_name not in mcc_only_carriers
451 apns = get_input(FLAGS.in_file).setting