Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/voicemail/impl/configui/
DConfigOverrideFragment.java113 String configKey = key.substring(CONFIG_OVERRIDE_KEY_PREFIX.length()); in loadCurrentConfig() local
115 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 …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DAnomalyDetectionReceiver.java37 final long configKey = intent.getLongExtra(StatsManager.EXTRA_STATS_CONFIG_KEY, -1); in onReceive() local
41 + configKey + " subscriptionId = " + subscriptionId); in onReceive()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionReceiver.java37 final long configKey = intent.getLongExtra(StatsManager.EXTRA_STATS_CONFIG_KEY, -1); in onReceive() local
41 + configKey + " subscriptionId = " + subscriptionId); in onReceive()
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java139 String configKey; in doSsOverUtPrecautions() local
141 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()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java1076 private boolean getConfig(String configKey, int defaultResId) { in getConfig() argument
1078 DeviceConfig.NAMESPACE_CONTACTS_PROVIDER, configKey, in getConfig()