Searched refs:configKey (Results 1 – 5 of 5) sorted by relevance
113 String configKey = key.substring(CONFIG_OVERRIDE_KEY_PREFIX.length()); in loadCurrentConfig() local115 if (configKey.endsWith("bool")) { in loadCurrentConfig()116 ((SwitchPreference) preference).setChecked(config.getBoolean(configKey)); in loadCurrentConfig()117 } else if (configKey.endsWith("int")) { in loadCurrentConfig()118 ((EditTextPreference) preference).setText(String.valueOf(config.getInt(configKey))); in loadCurrentConfig()119 } else if (configKey.endsWith("string")) { in loadCurrentConfig()120 ((EditTextPreference) preference).setText(config.getString(configKey)); in loadCurrentConfig()121 } else if (configKey.endsWith("string_array")) { in loadCurrentConfig()122 ((EditTextPreference) preference).setText(toCsv(config.getStringArray(configKey))); in loadCurrentConfig()124 throw Assert.createAssertionFailException("unknown type for key " + configKey); in loadCurrentConfig()[all …]
37 final long configKey = intent.getLongExtra(StatsManager.EXTRA_STATS_CONFIG_KEY, -1); in onReceive() local41 + configKey + " subscriptionId = " + subscriptionId); in onReceive()
139 String configKey; in doSsOverUtPrecautions() local141 configKey = CarrierConfigManager.KEY_CALL_FORWARDING_OVER_UT_WARNING_BOOL; in doSsOverUtPrecautions()143 configKey = CarrierConfigManager.KEY_CALL_BARRING_OVER_UT_WARNING_BOOL; in doSsOverUtPrecautions()145 if (b != null && b.getBoolean(configKey) in doSsOverUtPrecautions()
1076 private boolean getConfig(String configKey, int defaultResId) { in getConfig() argument1078 DeviceConfig.NAMESPACE_CONTACTS_PROVIDER, configKey, in getConfig()