Searched refs:META_DATA_PREFERENCE_TITLE (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | ExtraSettingsLoaderTest.java | 24 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE; 108 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_uriResources_shouldNotLoadStaticResources() 133 bundle1.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE1); in testLoadPreference_sortPreferences_byMetadata() 141 bundle2.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE2); in testLoadPreference_sortPreferences_byMetadata() 165 bundle1.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE1); in testLoadPreference_sortPreferences_byPackageName() 172 bundle2.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE2); in testLoadPreference_sortPreferences_byPackageName() 195 bundle1.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE1); in testLoadPreference_sortPreferences_prioritizeMetadata() 202 bundle2.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE2); in testLoadPreference_sortPreferences_prioritizeMetadata() 226 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_isTopLevel_topLevelMetadataSet() 245 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_notSystem_notLoaded()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | ExtraSettingsLoaderTest.java | 22 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/ |
D | CandidateSuggestion.java | 58 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/ |
D | ExtraSettingsLoader.java | 24 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE; 143 title = extractMetaDataString(metaData, META_DATA_PREFERENCE_TITLE, res); in loadPreferences()
|
D | ExtraSettingsPreferenceController.java | 25 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE; 228 mContext, uri, providerMap, META_DATA_PREFERENCE_TITLE); in refreshTitle()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountDetailDashboardFragmentTest.java | 21 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE; 150 mActivityInfo.metaData.putString(META_DATA_PREFERENCE_TITLE, "summary"); in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | SettingsSearchIndexablesProviderTest.java | 4 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE; 81 activityInfo.metaData.putString(META_DATA_PREFERENCE_TITLE, "title"); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 29 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE; 142 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_TITLE, R.string.settings_label); in setUp() 151 mSwitchMetaData.putInt(META_DATA_PREFERENCE_TITLE, R.string.settings_label); in setUp() 214 metaData.putInt(META_DATA_PREFERENCE_TITLE, R.string.settings_label); in bindPreference_providerTileWithPendingIntent_shouldBindIntent() 666 metaData.putInt(META_DATA_PREFERENCE_TITLE, R.string.settings_label); in clickPreference_providerTileWithPendingIntent_singleUser_executesPendingIntent() 689 metaData.putInt(META_DATA_PREFERENCE_TITLE, R.string.settings_label); in clickPreference_providerTileWithPendingIntent_multiUser_showsProfileDialog()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImpl.java | 33 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_TITLE; 289 mContext, uri, providerMap, META_DATA_PREFERENCE_TITLE);
|