Home
last modified time | relevance | path

Searched refs:expectedTitle (Results 1 – 13 of 13) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
H A DBatterySaverScheduleSeekBarControllerTest.java46 final CharSequence expectedTitle = "50%"; in onPreferenceChange_updatesSettingsGlobal() local
52 assertThat(mController.mSeekBarPreference.getTitle()).isEqualTo(expectedTitle); in onPreferenceChange_updatesSettingsGlobal()
53 verify(mController.mSeekBarPreference).overrideSeekBarStateDescription(expectedTitle); in onPreferenceChange_updatesSettingsGlobal()
67 final CharSequence expectedTitle = "5%"; in updateSeekBar_percentageMode_hasCorrectProperties() local
74 assertThat(mController.mSeekBarPreference.getTitle()).isEqualTo(expectedTitle); in updateSeekBar_percentageMode_hasCorrectProperties()
75 verify(mController.mSeekBarPreference).overrideSeekBarStateDescription(expectedTitle); in updateSeekBar_percentageMode_hasCorrectProperties()
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/privacy/
H A DMicQcPanelTest.java133 String expectedTitle = mContext in testGetQCItem_micEnabled_onlyOneActivePrivacyItem_secondRowActiveApp() local
143 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_onlyOneActivePrivacyItem_secondRowActiveApp()
161 String expectedTitle = in testGetQCItem_micDisabled_onlyOneInactivePhonePrivacyItem_secondRowInactiveApp() local
172 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micDisabled_onlyOneInactivePhonePrivacyItem_secondRowInactiveApp()
195 String expectedTitle = mContext in testGetQCItem_micEnabled_multiplePrivacyItems_secondRowActiveApp() local
210 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_multiplePrivacyItems_secondRowActiveApp()
215 String expectedTitle = mContext in testGetQCItem_micEnabled_multiplePrivacyItems_thirdRowActivePhone() local
230 assertThat(list.getRows().get(2).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_multiplePrivacyItems_thirdRowActivePhone()
235 String expectedTitle = mContext in testGetQCItem_micEnabled_multiplePrivacyItems_fourthRowInactiveApps() local
251 assertThat(list.getRows().get(3).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_multiplePrivacyItems_fourthRowInactiveApps()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
H A DChooseLockGenericTest.java167 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText() local
173 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText()
183 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText() local
189 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText()
199 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText() local
205 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText()
215 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText() local
221 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText()
438 CharSequence expectedTitle = in updatePreferencesOrFinish_ComplexityIsMergedWithDPM_AppIsHigher() local
441 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_ComplexityIsMergedWithDPM_AppIsHigher()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
H A DCaCertsCurrentUserPreferenceControllerTest.java73 private void assertUpdateState(boolean isCompMode, String expectedTitle) { in assertUpdateState() argument
80 assertThat(preference.getTitle()).isEqualTo(expectedTitle); in assertUpdateState()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationHistoryTest.java50 String expectedTitle = "title" + index; in getHistoricalNotification() local
66 .setTitle(expectedTitle) in getHistoricalNotification()
81 String expectedTitle = "title"; in testHistoricalNotificationBuilder() local
94 .setTitle(expectedTitle) in testHistoricalNotificationBuilder()
106 assertThat(n.getTitle()).isEqualTo(expectedTitle); in testHistoricalNotificationBuilder()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/tv/
H A DTvPipNotificationTests.kt172 private fun StatusBarNotification.isPipNotificationWithTitle(expectedTitle: String): Boolean =
173 tag == "TvPip" && title == expectedTitle
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationHistoryFilterTest.java50 String expectedTitle = "title" + index; in getHistoricalNotification() local
62 .setTitle(expectedTitle) in getHistoricalNotification()
H A DNotificationHistoryProtoHelperTest.java57 String expectedTitle = "title" + index; in getHistoricalNotification() local
73 .setTitle(expectedTitle) in getHistoricalNotification()
H A DNotificationHistoryDatabaseTest.java78 String expectedTitle = "title" + index; in getHistoricalNotification() local
90 .setTitle(expectedTitle) in getHistoricalNotification()
H A DNotificationHistoryManagerTest.java72 String expectedTitle = "title" + index; in getHistoricalNotification() local
84 .setTitle(expectedTitle) in getHistoricalNotification()
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
H A DNetworkNotificationManagerTest.java422 final String expectedTitle = "title " + expectedTitleArg; in doNotificationTextTest() local
424 doReturn(expectedTitle).when(mResources).getString(expectedTitleRes, expectedTitleArg); in doNotificationTextTest()
434 assertEquals(expectedTitle, notif.extras.getString(Notification.EXTRA_TITLE)); in doNotificationTextTest()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
H A DAccountListPreferenceControllerTest.java137 String expectedTitle = ResourceTestUtils.getString(mContext, "account_list_title", in onCreate_preferenceCategoryTitleShouldBeSet() local
139 assertThat(mPreference.getTitle().toString()).isEqualTo(expectedTitle); in onCreate_preferenceCategoryTitleShouldBeSet()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DBluetoothDetailsProfilesControllerTest.java212 String expectedTitle = in verifyProfileSwitchTitles() local
214 assertThat(switches.get(i).getTitle()).isEqualTo(expectedTitle); in verifyProfileSwitchTitles()