Searched refs:META_DATA_PREFERENCE_CATEGORY (Results 1 – 2 of 2) sorted by relevance
55 private static final String META_DATA_PREFERENCE_CATEGORY = "com.android.settings.category"; field in ExtraSettingsLoaderTest76 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 …]
50 private static final String META_DATA_PREFERENCE_CATEGORY = "com.android.settings.category"; field in ExtraSettingsLoader72 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()