Home
last modified time | relevance | path

Searched refs:META_DATA_PREFERENCE_TITLE (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java22 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE;
78 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_stringResources_shouldLoadResources()
108 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_metadataBundleIsValue()
136 assertThat(b.getString(META_DATA_PREFERENCE_TITLE)).isEqualTo(FAKE_TITLE); in testLoadPreference_metadataBundleIsValue()
148 bundle.putInt(META_DATA_PREFERENCE_TITLE, R.string.fake_title); in testLoadPreference_integerResources_shouldLoadResources()
184 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_noDefaultSummary()
212 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_noCategory_shouldSetToDeviceCategory()
241 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_noCategoryMatched_shouldNotReturnPreferences()
265 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_shouldLoadDefaultIcon()
320 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_systemApp_returnsPreferences()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/
DCandidateSuggestion.java58 public static final String META_DATA_PREFERENCE_TITLE = "com.android.settings.title"; field in CandidateSuggestion
198 title = getStringFromBundle(overrideData, META_DATA_PREFERENCE_TITLE); in updateBuilder()
199 if (TextUtils.isEmpty(title) && metaData.containsKey(META_DATA_PREFERENCE_TITLE)) { in updateBuilder()
200 if (metaData.get(META_DATA_PREFERENCE_TITLE) instanceof Integer) { in updateBuilder()
201 title = res.getString(metaData.getInt(META_DATA_PREFERENCE_TITLE)); in updateBuilder()
203 title = metaData.getString(META_DATA_PREFERENCE_TITLE); in updateBuilder()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsLoader.java22 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE;
86 if (metaData.containsKey(META_DATA_PREFERENCE_TITLE)) { in loadPreferences()
87 if (metaData.get(META_DATA_PREFERENCE_TITLE) instanceof Integer) { in loadPreferences()
88 title = res.getString(metaData.getInt(META_DATA_PREFERENCE_TITLE)); in loadPreferences()
90 title = metaData.getString(META_DATA_PREFERENCE_TITLE); in loadPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountDetailDashboardFragmentTest.java21 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE;
146 mActivityInfo.metaData.putString(META_DATA_PREFERENCE_TITLE, "summary"); in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java27 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE;
123 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_TITLE, R.string.settings_label); in setUp()
132 mSwitchMetaData.putInt(META_DATA_PREFERENCE_TITLE, R.string.settings_label); in setUp()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFeatureProviderImpl.java33 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE;
250 mContext, uri, providerMap, META_DATA_PREFERENCE_TITLE);