Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityShortcutsTutorialTest.java261 final String expectedTitle = mContext.getString( in createAccessibilityTutorialDialog_qsShortcut_inSuwTalkbackOn_verifyText() local
284 expectedTitle, in createAccessibilityTutorialDialog_qsShortcut_inSuwTalkbackOn_verifyText()
293 final String expectedTitle = mContext.getString( in createAccessibilityTutorialDialog_qsShortcut_notInSuwTalkbackOn_verifyText() local
310 expectedTitle, in createAccessibilityTutorialDialog_qsShortcut_notInSuwTalkbackOn_verifyText()
319 final String expectedTitle = mContext.getString( in createAccessibilityTutorialDialog_qsShortcut_inSuwTalkbackOff_verifyText() local
341 expectedTitle, in createAccessibilityTutorialDialog_qsShortcut_inSuwTalkbackOff_verifyText()
350 final String expectedTitle = mContext.getString( in createAccessibilityTutorialDialog_qsShortcut_notInSuwTalkbackOff_verifyText() local
367 expectedTitle, in createAccessibilityTutorialDialog_qsShortcut_notInSuwTalkbackOff_verifyText()
374 final String expectedTitle = mContext.getString( in createAccessibilityTutorialDialog_volumeKeysShortcut_verifyText() local
387 expectedTitle, in createAccessibilityTutorialDialog_volumeKeysShortcut_verifyText()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleSeekBarControllerTest.java50 final CharSequence expectedTitle = "50%"; in onPreferenceChange_withoutOnStopTrackingTouch_updatesTitleAndDescriptionOnly() local
56 assertThat(mController.mSeekBarPreference.getTitle()).isEqualTo(expectedTitle); in onPreferenceChange_withoutOnStopTrackingTouch_updatesTitleAndDescriptionOnly()
57 verify(mController.mSeekBarPreference).overrideSeekBarStateDescription(expectedTitle); in onPreferenceChange_withoutOnStopTrackingTouch_updatesTitleAndDescriptionOnly()
62 final CharSequence expectedTitle = "50%"; in onPreferenceChange_withOnStopTrackingTouch_updatesSettingsGlobal() local
69 assertThat(mController.mSeekBarPreference.getTitle()).isEqualTo(expectedTitle); in onPreferenceChange_withOnStopTrackingTouch_updatesSettingsGlobal()
70 verify(mController.mSeekBarPreference).overrideSeekBarStateDescription(expectedTitle); in onPreferenceChange_withOnStopTrackingTouch_updatesSettingsGlobal()
98 final CharSequence expectedTitle = "10%"; in updateSeekBar_percentageMode_hasCorrectProperties() local
108 assertThat(mController.mSeekBarPreference.getTitle()).isEqualTo(expectedTitle); in updateSeekBar_percentageMode_hasCorrectProperties()
109 verify(mController.mSeekBarPreference).overrideSeekBarStateDescription(expectedTitle); in updateSeekBar_percentageMode_hasCorrectProperties()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/privacy/
DCameraQcPanelTest.java142 String expectedTitle = mContext.getString(R.string.privacy_chip_app_using_sensor_suffix, in testGetQCItem_cameraEnabled_onlyOneActivePrivacyItem_secondRowActiveApp() local
152 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_cameraEnabled_onlyOneActivePrivacyItem_secondRowActiveApp()
172 String expectedTitle = in testGetQCItem_cameraDisabled_onlyOneInactivePhonePrivacyItem_secondRowInactiveApp() local
183 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_cameraDisabled_onlyOneInactivePhonePrivacyItem_secondRowInactiveApp()
206 String expectedTitle = mContext.getString(R.string.privacy_chip_app_using_sensor_suffix, in testGetQCItem_cameraEnabled_multiplePrivacyItems_secondRowActiveApp() local
221 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_cameraEnabled_multiplePrivacyItems_secondRowActiveApp()
226 String expectedTitle = mContext.getString(R.string.privacy_chip_app_using_sensor_suffix, in testGetQCItem_cameraEnabled_multiplePrivacyItems_thirdRowActivePhone() local
241 assertThat(list.getRows().get(2).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_cameraEnabled_multiplePrivacyItems_thirdRowActivePhone()
246 String expectedTitle = mContext in testGetQCItem_cameraEnabled_multiplePrivacyItems_fourthRowInactiveApps() local
262 assertThat(list.getRows().get(3).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_cameraEnabled_multiplePrivacyItems_fourthRowInactiveApps()
DMicQcPanelTest.java142 String expectedTitle = mContext.getString(R.string.privacy_chip_app_using_sensor_suffix, in testGetQCItem_micEnabled_onlyOneActivePrivacyItem_secondRowActiveApp() local
152 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_onlyOneActivePrivacyItem_secondRowActiveApp()
170 String expectedTitle = in testGetQCItem_micDisabled_onlyOneInactivePhonePrivacyItem_secondRowInactiveApp() local
181 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micDisabled_onlyOneInactivePhonePrivacyItem_secondRowInactiveApp()
204 String expectedTitle = mContext.getString(R.string.privacy_chip_app_using_sensor_suffix, in testGetQCItem_micEnabled_multiplePrivacyItems_secondRowActiveApp() local
219 assertThat(list.getRows().get(1).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_multiplePrivacyItems_secondRowActiveApp()
224 String expectedTitle = mContext.getString(R.string.privacy_chip_app_using_sensor_suffix, in testGetQCItem_micEnabled_multiplePrivacyItems_thirdRowActivePhone() local
239 assertThat(list.getRows().get(2).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_multiplePrivacyItems_thirdRowActivePhone()
244 String expectedTitle = mContext in testGetQCItem_micEnabled_multiplePrivacyItems_fourthRowInactiveApps() local
260 assertThat(list.getRows().get(3).getTitle()).isEqualTo(expectedTitle); in testGetQCItem_micEnabled_multiplePrivacyItems_fourthRowInactiveApps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericTest.java209 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText() local
215 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText()
225 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText() local
231 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText()
241 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText() local
247 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText()
257 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText() local
263 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText()
407 CharSequence expectedTitle = mActivity.getString(R.string.private_space_lock_setup_title); in onSetNewPassword_withTitleAndDescription_displaysPassedTitleAndDescription() local
410 assertThat(mActivity.getTitle().toString().contentEquals(expectedTitle)).isTrue(); in onSetNewPassword_withTitleAndDescription_displaysPassedTitleAndDescription()
[all …]
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/
DConsentNotificationTriggerTest.java163 final String expectedTitle = in testEuNotification_gaUxFlagEnabled() local
189 .isEqualTo(expectedTitle); in testEuNotification_gaUxFlagEnabled()
232 final String expectedTitle = in testNonEuNotifications_gaUxEnabled() local
259 .isEqualTo(expectedTitle); in testNonEuNotifications_gaUxEnabled()
277 final String expectedTitle = in testEuNotifications_gaUxEnabled_nonDismissable() local
303 .isEqualTo(expectedTitle); in testEuNotifications_gaUxEnabled_nonDismissable()
363 final String expectedTitle = in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() local
388 .isEqualTo(expectedTitle); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage()
492 final String expectedTitle = in testRvcUxNotification() local
542 .isEqualTo(expectedTitle); in testRvcUxNotification()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DCaCertsCurrentUserPreferenceControllerTest.java75 private void assertUpdateState(boolean isCompMode, String expectedTitle) { in assertUpdateState() argument
82 assertThat(preference.getTitle()).isEqualTo(expectedTitle); in assertUpdateState()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java277 private void assertPreference(List<Preference> prefs, int index, CharSequence expectedTitle, in assertPreference() argument
282 + " expectedTitle: " + expectedTitle in assertPreference()
286 .isEqualTo(expectedTitle); in assertPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/
DTwoFingerDoubleTapShortcutOptionControllerTest.java84 String expectedTitle = mContext.getString( in displayPreference_verifyScreenTextSet() local
91 assertThat(mShortcutOptionPreference.getTitle().toString()).isEqualTo(expectedTitle); in displayPreference_verifyScreenTextSet()
DTripleTapShortcutOptionControllerTest.java86 String expectedTitle = mContext.getString( in displayPreference_verifyTitleSummaryText() local
93 assertThat(mShortcutOptionPreference.getTitle().toString()).isEqualTo(expectedTitle); in displayPreference_verifyTitleSummaryText()
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DBiometricsSafetySourceTest.java691 private void assertSafetySourceDisabledDataSet(String expectedTitle, String expectedSummary) { in assertSafetySourceDisabledDataSet() argument
702 assertThat(safetySourceStatus.getTitle().toString()).isEqualTo(expectedTitle); in assertSafetySourceDisabledDataSet()
714 String expectedTitle, String expectedSummary, String expectedSettingsClassName) { in assertSafetySourceEnabledDataSet() argument
725 assertThat(safetySourceStatus.getTitle().toString()).isEqualTo(expectedTitle); in assertSafetySourceEnabledDataSet()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java514 final String expectedTitle = "title " + expectedTitleArg; in doNotificationTextTest() local
516 doReturn(expectedTitle).when(mResources).getString(expectedTitleRes, expectedTitleArg); in doNotificationTextTest()
526 assertEquals(expectedTitle, notif.extras.getString(Notification.EXTRA_TITLE)); in doNotificationTextTest()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DNotificationListenerCheckInternalTest.kt472 val expectedTitle = in createSafetySourceIssue() constant
511 assertThat(safetySourceIssue.title).isEqualTo(expectedTitle) in createSafetySourceIssue()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountListPreferenceControllerTest.java136 String expectedTitle = ResourceTestUtils.getString(mContext, "account_list_title", in onCreate_preferenceCategoryTitleShouldBeSet() local
138 assertThat(mPreference.getTitle().toString()).isEqualTo(expectedTitle); in onCreate_preferenceCategoryTitleShouldBeSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java242 String expectedTitle = in verifyProfileSwitchTitles() local
244 assertThat(switches.get(i).getTitle()).isEqualTo(expectedTitle); in verifyProfileSwitchTitles()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiDialogManagerTest.java203 @Nullable String expectedTitle, in verifySimpleDialogLaunchIntent() argument
223 .isEqualTo(expectedTitle); in verifySimpleDialogLaunchIntent()