Home
last modified time | relevance | path

Searched refs:META_DATA_PREFERENCE_CATEGORY (Results 1 – 3 of 3) 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/tests/unit/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java58 private static final String META_DATA_PREFERENCE_CATEGORY = "com.android.settings.category"; field in ExtraSettingsLoaderTest
98 intent.putExtra(META_DATA_PREFERENCE_CATEGORY, category); in executeLoadPreferences()
110 bundle.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_uriResources_shouldNotLoadStaticResources()
134 bundle1.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_sortPreferences_byMetadata()
142 bundle2.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_sortPreferences_byMetadata()
166 bundle1.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_sortPreferences_byPackageName()
173 bundle2.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_sortPreferences_byPackageName()
196 bundle1.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_sortPreferences_prioritizeMetadata()
203 bundle2.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_sortPreferences_prioritizeMetadata()
228 bundle.putString(META_DATA_PREFERENCE_CATEGORY, DEVICE_CATEGORY); in testLoadPreference_isTopLevel_topLevelMetadataSet()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsLoader.java60 private static final String META_DATA_PREFERENCE_CATEGORY = "com.android.settings.category"; field in ExtraSettingsLoader
108 String extraCategory = intent.getStringExtra(META_DATA_PREFERENCE_CATEGORY); in loadPreferences()
155 category = extractMetaDataString(metaData, META_DATA_PREFERENCE_CATEGORY, res); in loadPreferences()