Home
last modified time | relevance | path

Searched refs:META_DATA_PREFERENCE_CATEGORY (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java55 private static final String META_DATA_PREFERENCE_CATEGORY = "com.android.settings.category"; field in ExtraSettingsLoaderTest
76 intent.putExtra(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_stringResources_shouldLoadResources()
80 bundle.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_stringResources_shouldLoadResources()
106 intent.putExtra(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_metadataBundleIsValue()
110 bundle.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_metadataBundleIsValue()
138 assertThat(b.getString(META_DATA_PREFERENCE_CATEGORY)).isEqualTo(FAKE_CATEGORY); in testLoadPreference_metadataBundleIsValue()
146 intent.putExtra(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_integerResources_shouldLoadResources()
150 bundle.putInt(META_DATA_PREFERENCE_CATEGORY, R.string.fake_category); in testLoadPreference_integerResources_shouldLoadResources()
182 intent.putExtra(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_noDefaultSummary()
185 bundle.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_noDefaultSummary()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsLoader.java50 private static final String META_DATA_PREFERENCE_CATEGORY = "com.android.settings.category"; field in ExtraSettingsLoader
72 String extraCategory = intent.getStringExtra(META_DATA_PREFERENCE_CATEGORY); in loadPreferences()
105 if (metaData.containsKey(META_DATA_PREFERENCE_CATEGORY)) { in loadPreferences()
106 if (metaData.get(META_DATA_PREFERENCE_CATEGORY) instanceof Integer) { in loadPreferences()
107 category = res.getString(metaData.getInt(META_DATA_PREFERENCE_CATEGORY)); in loadPreferences()
109 category = metaData.getString(META_DATA_PREFERENCE_CATEGORY); in loadPreferences()