Home
last modified time | relevance | path

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

12345678910>>...22

/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/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()
70 public String getTitle() { in getTitle() method in TmaEnumPrefs.TmaNodeReplyDelay
71 return mPrefValue.getTitle(); in getTitle()
95 public String getTitle() { in getTitle() method in TmaEnumPrefs.TmaBrowseNodeType
96 return mPrefValue.getTitle(); in getTitle()
117 public String getTitle() { in getTitle() method in TmaEnumPrefs.PrefValueImpl
/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/src/com/android/settings/slices/
DSliceBuilderUtils.java209 sliceData.getTitle())) { in getSubtitleText()
269 .setTitle(sliceData.getTitle()) in buildToggleSlice()
273 ListBuilder.ICON_IMAGE, sliceData.getTitle())) in buildToggleSlice()
290 .setTitle(sliceData.getTitle()) in buildIntentSlice()
295 sliceData.getTitle()))) in buildIntentSlice()
313 ListBuilder.ICON_IMAGE, sliceData.getTitle()); in buildSliderSlice()
319 .setTitle(sliceData.getTitle()) in buildSliderSlice()
337 sliceData.getTitle()); in buildCopyableSlice()
345 .setTitle(sliceData.getTitle()) in buildCopyableSlice()
380 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/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/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/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/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/TV/src/com/android/tv/dvr/ui/
DDvrSeriesScheduledFragment.java165 mSeriesRecording.getTitle()); in getDescription()
175 mSeriesRecording.getTitle(), in getDescription()
183 mSeriesRecording.getTitle(), in getDescription()
192 mSeriesRecording.getTitle()); in getDescription()
199 mSeriesRecording.getTitle(), in getDescription()
/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/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaItemMetadata.java155 public CharSequence getTitle() { in getTitle() method in MediaItemMetadata
156 return mMediaDescription.getTitle(); in getTitle()
235 int titleHash = (metadata.getTitle() != null) ? metadata.getTitle().hashCode() : 0; in getPlaceholderDrawable()
491 && Objects.equals(getTitle(), that.getTitle()) in equals()
545 + mMediaDescription != null ? mMediaDescription.getTitle().toString() : "-" in toString()
/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/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/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragmentTest.java130 assertThat(shadowDialog.getTitle()).isEqualTo("Restrict app?"); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog()
152 assertThat(shadowDialog.getTitle()).isEqualTo("Restrict 2 apps?"); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()
182 assertThat(shadowDialog.getTitle()).isEqualTo("Restrict 6 apps?"); in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog()
201 assertThat(shadowDialog.getTitle()).isEqualTo("Remove restriction?"); in testOnCreateDialog_unRestrictAppTip_fireUnRestrictDialog()

12345678910>>...22