Home
last modified time | relevance | path

Searched refs:getTitle (Results 1 – 25 of 567) sorted by relevance

12345678910>>...23

/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/prefs/
DTmaEnumPrefs.java25 String getTitle(); in getTitle() method
43 public String getTitle() { in getTitle() method in TmaEnumPrefs.TmaAccountType
44 return mPrefValue.getTitle(); in getTitle()
72 public String getTitle() { in getTitle() method in TmaEnumPrefs.TmaReplyDelay
73 return mPrefValue.getTitle(); in getTitle()
100 public String getTitle() { in getTitle() method in TmaEnumPrefs.TmaBrowseNodeType
101 return mPrefValue.getTitle(); in getTitle()
123 public String getTitle() { in getTitle() method in TmaEnumPrefs.TmaLoginEventOrder
124 return mPrefValue.getTitle(); in getTitle()
145 public String getTitle() { in getTitle() method in TmaEnumPrefs.PrefValueImpl
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUsersPreferenceProviderTest.java91 assertThat(first.getTitle()).isEqualTo( in testCreateUserList_firstUserIsCurrentUser()
101 assertThat(userList.get(0).getTitle()).isEqualTo( in testCreateUserList_repeatedGuestUserNotShown()
103 assertThat(userList.get(1).getTitle()).isEqualTo(TEST_OTHER_USER_1_NAME); in testCreateUserList_repeatedGuestUserNotShown()
104 assertThat(userList.get(2).getTitle()).isEqualTo(TEST_OTHER_USER_2_NAME); in testCreateUserList_repeatedGuestUserNotShown()
112 assertThat(userList.get(userList.size() - 1).getTitle()).isEqualTo( in testCreateUserList_guestShownAsSeparateLastElement()
123 assertThat(userList.get(0).getTitle()).isEqualTo(TEST_OTHER_USER_1_NAME); in testCreateUserList_currentUserNotShown()
124 assertThat(userList.get(1).getTitle()).isEqualTo(TEST_OTHER_USER_2_NAME); in testCreateUserList_currentUserNotShown()
125 assertThat(userList.get(2).getTitle()).isEqualTo( in testCreateUserList_currentUserNotShown()
136 assertThat(userList.get(0).getTitle()).isEqualTo( in testCreateUserList_guestNotShown()
138 assertThat(userList.get(1).getTitle()).isEqualTo(TEST_OTHER_USER_1_NAME); in testCreateUserList_guestNotShown()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java83 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsIntentSlice()
125 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsToggleSlice()
162 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsSliderSlice()
198 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsCopyableSlice()
230 assertThat(metadata.getTitle()).isEqualTo(sliceData.getTitle()); in testSettingsUnavailableSlice()
318 expectedKeywords.add(data.getTitle()); in assertKeywords()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSliceBuilderUtils.java205 sliceData.getTitle())) { in getSubtitleText()
280 .setTitle(sliceData.getTitle()) in buildToggleSlice()
284 ListBuilder.ICON_IMAGE, sliceData.getTitle())) in buildToggleSlice()
301 .setTitle(sliceData.getTitle()) in buildIntentSlice()
306 sliceData.getTitle()))) in buildIntentSlice()
320 ListBuilder.ICON_IMAGE, sliceData.getTitle()); in buildSliderSlice()
326 .setTitle(sliceData.getTitle()) in buildSliderSlice()
343 sliceData.getTitle()); in buildCopyableSlice()
351 .setTitle(sliceData.getTitle()) in buildCopyableSlice()
386 return SliceAction.create(intent, icon, ListBuilder.ICON_IMAGE, sliceData.getTitle()); in getCopyableAction()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetupSkipDialogTest.java56 shadowAlertDialog.getTitle()); in frpMessages_areShownCorrectly_whenNotSupported()
71 shadowAlertDialog.getTitle()); in frpMessages_areShownCorrectly_whenSupported()
86 shadowAlertDialog.getTitle()); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly()
101 shadowAlertDialog.getTitle()); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly()
116 shadowAlertDialog.getTitle()); in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly()
131 shadowAlertDialog.getTitle()); in dialogMessage_whenSkipPinSetupForFingerprint_shouldShownCorrectly()
146 shadowAlertDialog.getTitle()); in dialogMessage_whenSkipPasswordSetupForFingerprint_shouldShownCorrectly()
161 shadowAlertDialog.getTitle()); in dialogMessage_whenSkipPatternSetupForFingerprint_shouldShownCorrectly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/
DPrintJobPreferenceControllerTest.java106 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_CREATED()
117 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_QUEUED()
128 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_STARTED()
140 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_QUEUED_and_jobInfo_CANCELLING()
152 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_STARTED_and_jobInfo_CANCELLING()
163 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_FAILED()
174 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_BLOCKED()
186 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_BLOCKED_and_jobInfo_CANCELLING()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBuilderUtils.java211 sliceData.getTitle())) { in getSubtitleText()
273 .setTitle(sliceData.getTitle()) in buildToggleSlice()
277 ListBuilder.ICON_IMAGE, sliceData.getTitle())) in buildToggleSlice()
294 .setTitle(sliceData.getTitle()) in buildIntentSlice()
299 sliceData.getTitle()))) in buildIntentSlice()
317 ListBuilder.ICON_IMAGE, sliceData.getTitle()); in buildSliderSlice()
331 .setTitle(sliceData.getTitle()) in buildSliderSlice()
349 sliceData.getTitle()); in buildCopyableSlice()
357 .setTitle(sliceData.getTitle()) in buildCopyableSlice()
392 return SliceAction.create(intent, icon, ListBuilder.ICON_IMAGE, sliceData.getTitle()); in getCopyableAction()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountListPreferenceControllerTest.java103 assertThat(mPreferenceCategory.getTitle()).isEqualTo(expectedTitle); in onCreate_preferenceCategoryTitleShouldBeSet()
113 assertThat(noAccountPref.getTitle()).isEqualTo( in refreshUi_hasNoAccounts_shouldDisplayNoAccountPref()
127 assertThat(firstPref.getTitle()).isEqualTo("Account1"); in refreshUi_hasAccounts_shouldDisplayAccounts()
131 assertThat(secondPref.getTitle()).isEqualTo("Account2"); in refreshUi_hasAccounts_shouldDisplayAccounts()
148 assertThat(firstPref.getTitle()).isEqualTo("Account1"); in refreshUi_hasUnauthenticatedAccount_shouldNotDisplayAccount()
152 assertThat(secondPref.getTitle()).isEqualTo("Account2"); in refreshUi_hasUnauthenticatedAccount_shouldNotDisplayAccount()
171 assertThat(firstPref.getTitle()).isEqualTo("Account3"); in onAccountsUpdate_isThisUser_shouldForceUpdate()
206 assertThat(firstPref.getTitle()).isEqualTo("Account3"); in onUsersUpdate_shouldForceUpdate()
DChooseAccountPreferenceControllerTest.java111 assertThat(acct1Pref.getTitle()).isEqualTo("Type 1"); in refreshUi_authenticatorPreferencesShouldBeSet()
114 assertThat(acct2Pref.getTitle()).isEqualTo("Type 2"); in refreshUi_authenticatorPreferencesShouldBeSet()
129 assertThat(acct1Pref.getTitle()).isEqualTo("Type 1"); in refreshUi_hasAccountTypeFilter_shouldFilterAccounts()
144 assertThat(acct1Pref.getTitle()).isEqualTo("Type 2"); in refreshUi_hasAccountExclusionFilter_shouldFilterAccounts()
165 assertThat(acct2Pref.getTitle()).isEqualTo("Type 2"); in refreshUi_doesNotHaveAuthoritiesInFilter_shouldNotBeShown()
186 assertThat(acct1Pref.getTitle()).isEqualTo("Type 1"); in refreshUi_hasAuthoritiesInFilter_shouldBeShown()
189 assertThat(acct2Pref.getTitle()).isEqualTo("Type 2"); in refreshUi_hasAuthoritiesInFilter_shouldBeShown()
204 assertThat(acct3Pref.getTitle()).isEqualTo("Type 3"); in onAccountsUpdate_currentUserUpdated_shouldForceUpdate()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreferenceTest.java61 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testPreferenceSummary()
80 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testTwoDayPreferenceSummary()
99 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testYesterdayPreferenceSummary()
118 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testTodayPreferenceSummary()
137 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testNeverUsedPreferenceSummary()
157 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testUnknownLastUsePreferenceSummary()
177 assertThat(preference.getTitle()).isEqualTo(TEST_PACKAGE_LABEL); in testSizeSummary()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaItemMetadata.java128 return (getTitle() != null) ? getTitle().hashCode() : 0; in getPlaceholderHash()
133 return "title: " + getTitle() + " uri: " + getNonEmptyArtworkUri(); in toString()
193 public CharSequence getTitle() { in getTitle() method in MediaItemMetadata
194 return mMediaDescription.getTitle(); in getTitle()
355 && Objects.equals(getTitle(), that.getTitle()) in equals()
409 + mMediaDescription != null ? mMediaDescription.getTitle().toString() : "-" in toString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DEnhanced4gLtePreferenceControllerTest.java110 assertThat(mPreference.getTitle()).isEqualTo( in updateState_doNotShow4GForLTE_showVolteTitleAndSummary()
117 assertThat(mPreference.getTitle()).isEqualTo( in updateState_doNotShow4GForLTE_showVolteTitleAndSummary()
129 assertThat(mPreference.getTitle()).isEqualTo( in updateState_show4GForLTE_show4GTitleAndSummary()
136 assertThat(mPreference.getTitle()).isEqualTo( in updateState_show4GForLTE_show4GTitleAndSummary()
148 assertThat(mPreference.getTitle()).isEqualTo( in updateState_variantAdvancedCalling_showAdvancedCallingTitleAndSummary()
155 assertThat(mPreference.getTitle()).isEqualTo( in updateState_variantAdvancedCalling_showAdvancedCallingTitleAndSummary()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DMasterClearAccountsPreferenceControllerTest.java92 assertThat(mPreferenceGroup.getPreference(0).getTitle()).isEqualTo( in onCreate_addsTitlePreference()
139 assertThat(mPreferenceGroup.getPreference(1).getTitle()).isEqualTo(accountName1); in refreshUi_multipleProfiles_showsAllAccounts()
140 assertThat(mPreferenceGroup.getPreference(2).getTitle()).isEqualTo(accountName2); in refreshUi_multipleProfiles_showsAllAccounts()
157 assertThat(mPreferenceGroup.getPreference(1).getTitle()).isNotEqualTo(accountNameNoDesc); in refreshUi_missingAccountDescription_skipsAccount()
174 assertThat(mPreferenceGroup.getPreference(2).getTitle()).isEqualTo(addedAccountName); in refreshUi_accountAdded_addsPreferenceToGroup()
191 assertThat(mPreferenceGroup.getPreference(0).getTitle()).isNotEqualTo(accountNameToRemove); in refreshUi_accountRemoved_removesPreferenceFromGroup()
DResetNetworkSubscriptionPreferenceControllerTest.java253 String title = mListPreference.getTitle().toString(); in refreshUi_title_fourthPriority_subscriptionNetworkIds()
274 assertThat(mListPreference.getTitle()).isEqualTo(subInfo.getCarrierName()); in refreshUi_title_thirdPriority_subscriptionCarrierName()
291 assertThat(mListPreference.getTitle()).isEqualTo(subInfo.getNumber()); in refreshUi_title_secondPriority_subscriptionNumber()
308 assertThat(mListPreference.getTitle()).isEqualTo(subInfo.getDisplayName()); in refreshUi_title_firstPriority_subscriptionDisplayName()
320 assertThat(mListPreference.getTitle()).isEqualTo("sub2"); in handlePreferenceChanged_updatesTitle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelSliceTest.java126 assertThat(metadata.getTitle()).isEqualTo( in getSlice_hasSuggestedApp_shouldHaveNotificationChannelTitle()
170 assertThat(metadata.getTitle()).isEqualTo(mContext.getString(R.string.no_suggested_app)); in getSlice_noRecentlyInstalledApp_shouldHaveNoSuggestedAppTitle()
183 assertThat(metadata.getTitle()).isEqualTo(mContext.getString(R.string.no_suggested_app)); in getSlice_noMultiChannelApp_shouldHaveNoSuggestedAppTitle()
197 assertThat(metadata.getTitle()).isEqualTo(mContext.getString(R.string.no_suggested_app)); in getSlice_insufficientNotificationSentCount_shouldHaveNoSuggestedAppTitle()
209 assertThat(metadata.getTitle()).isEqualTo(mContext.getString(R.string.no_suggested_app)); in getSlice_isSystemApp_shouldHaveNoSuggestedAppTitle()
222 assertThat(metadata.getTitle()).isEqualTo(mContext.getString(R.string.no_suggested_app)); in getSlice_isNotificationBanned_shouldHaveNoSuggestedAppTitle()
300 assertThat(metadata.getTitle()).isEqualTo(mContext.getString(R.string.no_suggested_app)); in getSlice_isAllDisplayableChannelBlocked_shouldHaveNoSuggestedAppTitle()
315 assertThat(metadata.getTitle()).isEqualTo(mContext.getString(R.string.no_suggested_app)); in getSlice_isInteractedPackage_shouldHaveNoSuggestedAppTitle()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java98 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_stringResources_shouldLoadResources()
132 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_metadataBundleIsValue()
172 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_integerResources_shouldLoadResources()
201 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_noDefaultSummary()
231 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_noCategory_shouldSetToDeviceCategory()
283 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_shouldLoadDefaultIcon()
350 assertThat(p.getTitle()).isEqualTo(FAKE_TITLE); in testLoadPreference_systemApp_returnsPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSwitchPreferenceControllerTest.java77 assertThat(TextUtils.equals(mFooterPreference.getTitle(), text)).isTrue(); in updateText_bluetoothOffScanningOn()
86 assertThat(mFooterPreference.getTitle()).isEqualTo(BLUETOOTH_INFO_STRING); in updateText_bluetoothOffScanningOff()
95 assertThat(mFooterPreference.getTitle()).isEqualTo(BLUETOOTH_INFO_STRING); in updateText_bluetoothOnScanningOff()
104 assertThat(mFooterPreference.getTitle()).isEqualTo(BLUETOOTH_INFO_STRING); in updateText_bluetoothOnScanningOn()
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
DImeiInfoPreferenceController.java111 ImeiInfoDialogFragment.show(mFragment, simSlot, preference.getTitle().toString()); in handlePreferenceTreeClick()
138 Sliceable.setCopyContent(mContext, getSummary(0), getTitle(0)); in copy()
142 preference.setTitle(getTitle(simSlot)); in updatePreference()
156 private CharSequence getTitle(int simSlot) { in getTitle() method in ImeiInfoPreferenceController
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectWifiState.java107 lastWifiTitle = getActions().get(lastSelectedActionPosition).getTitle(); in updateNetworkList()
118 if (TextUtils.equals(getActions().get(i).getTitle(), title)) { in moveToPosition()
230 mUserChoiceInfo.put(UserChoiceInfo.SELECT_WIFI, action.getTitle().toString()); in onGuidedActionClicked()
245 return o1.getTitle().toString().compareTo(o2.getTitle().toString()); in compare()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DCustomRingtone.java48 public String getTitle() { return mTitle; } in getTitle() method in CustomRingtone
61 return String.CASE_INSENSITIVE_ORDER.compare(getTitle(), other.getTitle()); in compareTo()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporter.java82 calendar.getTitle(), calendar.getUuid(), calendar.getEventCount())); in importCalendars()
142 values.put(CalendarContract.Calendars.NAME, calendar.getTitle()); in createCalendar()
143 values.put(CalendarContract.Calendars.CALENDAR_DISPLAY_NAME, calendar.getTitle()); in createCalendar()
159 logd(TAG, "insert(calId=" + calId + ", event=" + event.getTitle() + ")"); in insertEvent()
163 values.put(CalendarContract.Events.TITLE, event.getTitle()); in insertEvent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceDataTest.java62 assertThat(data.getTitle()).isEqualTo(TITLE); in testBuilder_buildsMatchingObject()
141 assertThat(data.getTitle()).isEqualTo(TITLE); in testBuilder_noSubtitle_buildsMatchingObject()
164 assertThat(data.getTitle()).isEqualTo(TITLE); in testBuilder_noScreenTitle_buildsMatchingObject()
187 assertThat(data.getTitle()).isEqualTo(TITLE); in testBuilder_noIcon_buildsMatchingObject()
211 assertThat(data.getTitle()).isEqualTo(TITLE); in testBuilder_noUri_buildsMatchingObject()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DSubRatingsFragment.java72 protected String getTitle() { in getTitle() method in SubRatingsFragment
73 return getString(R.string.option_subrating_title, mRating.getTitle()); in getTitle()
96 super(mRating.getTitle(), mRating.getDescription()); in RatingItem()
156 super(subRating.getTitle(), subRating.getDescription()); in SubRatingItem()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DAppsRowManagerTest.java89 assertEquals(TestProvidersAccess.INSPECTOR.title, chipDataList.get(0).getTitle()); in testUpdateList_byRootItem()
91 assertEquals(TestProvidersAccess.PICKLES.title, chipDataList.get(1).getTitle()); in testUpdateList_byRootItem()
108 assertEquals(TestProvidersAccess.INSPECTOR.title, chipDataList.get(0).getTitle()); in testUpdateList_byHybridItem()
111 assertEquals(TestProvidersAccess.PICKLES.title, chipDataList.get(1).getTitle()); in testUpdateList_byHybridItem()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DKnowledgeGraph.java81 JSONObject result = getResultFromKG(album.getTitle(), "MusicAlbum"); in populateAlbum()
98 JSONObject result = getResultFromKG(movie.getTitle(), "Movie"); in populateMovie()
114 JSONObject result = getResultFromKG(series.getTitle(), "TVSeries"); in populateSeries()
130 JSONObject result = getResultFromKG(episode.getSeries().getTitle(), "TVEpisode"); in populateEpisode()

12345678910>>...23