/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | CaptioningAppearancePreferenceControllerTest.java | 66 final String expectedSummary = in getSummary_noScale_shouldReturnDefaultSummary() local 68 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_noScale_shouldReturnDefaultSummary() 77 final String expectedSummary = in getSummary_smallestScale_shouldReturnExpectedSummary() local 79 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_smallestScale_shouldReturnExpectedSummary() 88 final String expectedSummary = in getSummary_smallScale_shouldReturnExpectedSummary() local 90 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_smallScale_shouldReturnExpectedSummary() 99 final String expectedSummary = in getSummary_mediumScale_shouldReturnExpectedSummary() local 101 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_mediumScale_shouldReturnExpectedSummary() 110 final String expectedSummary = in getSummary_largeScale_shouldReturnExpectedSummary() local 112 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_largeScale_shouldReturnExpectedSummary() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/ |
D | FloatingButtonShortcutOptionControllerTest.java | 77 String expectedSummary = mContext.getString( in getSummary_inSuw_verifySummary() local 81 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_inSuw_verifySummary() 86 String expectedSummary = mContext.getText( in getSummary_notInSuw_verifySummary() local 93 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_notInSuw_verifySummary()
|
D | EditShortcutsPreferenceFragmentTest.java | 313 String expectedSummary = StringUtil.getIcuPluralsString(mContext, 3, in fragmentResumed_enableTouchExploration_gestureShortcutOptionSummaryUpdated() local 328 assertThat(preference.getSummary().toString()).isEqualTo(expectedSummary); in fragmentResumed_enableTouchExploration_gestureShortcutOptionSummaryUpdated() 334 String expectedSummary = StringUtil.getIcuPluralsString(mContext, 2, in fragmentPaused_enableTouchExploration_gestureShortcutOptionSummaryNotUpdated() local 349 assertThat(preference.getSummary().toString()).isEqualTo(expectedSummary); in fragmentPaused_enableTouchExploration_gestureShortcutOptionSummaryNotUpdated() 356 String expectedSummary = StringUtil.getIcuPluralsString(mContext, 2, in fragmentResumed_enableTouchExploration_qsShortcutOptionSummaryUpdated() local 369 assertThat(preference.getSummary().toString()).isEqualTo(expectedSummary); in fragmentResumed_enableTouchExploration_qsShortcutOptionSummaryUpdated() 376 String expectedSummary = StringUtil.getIcuPluralsString(mContext, 1, in fragmentPaused_enableTouchExploration_qsShortcutOptionSummaryNotUpdated() local 389 assertThat(preference.getSummary().toString()).isEqualTo(expectedSummary); in fragmentPaused_enableTouchExploration_qsShortcutOptionSummaryNotUpdated()
|
D | TwoFingerDoubleTapShortcutOptionControllerTest.java | 86 String expectedSummary = mContext.getString( in displayPreference_verifyScreenTextSet() local 92 assertThat(mShortcutOptionPreference.getSummary().toString()).isEqualTo(expectedSummary); in displayPreference_verifyScreenTextSet()
|
D | TripleTapShortcutOptionControllerTest.java | 88 String expectedSummary = mContext.getString( in displayPreference_verifyTitleSummaryText() local 94 assertThat(mShortcutOptionPreference.getSummary().toString()).isEqualTo(expectedSummary); in displayPreference_verifyTitleSummaryText()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/ |
D | RegionZonePreferenceControllerTest.java | 57 String expectedSummary = "Los Angeles (GMT-08:00)"; in updateState_matchTimeZoneName() local 58 assertThat(controller.getSummary().toString()).isEqualTo(expectedSummary); in updateState_matchTimeZoneName() 59 assertThat(preference.getSummary().toString()).isEqualTo(expectedSummary); in updateState_matchTimeZoneName()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothSummaryUpdaterTest.java | 285 final String expectedSummary = in getConnectedDeviceSummary_hasConnectedDevice_returnOneDeviceSummary() local 288 assertThat(mSummaryUpdater.getConnectedDeviceSummary()).isEqualTo(expectedSummary); in getConnectedDeviceSummary_hasConnectedDevice_returnOneDeviceSummary() 299 final String expectedSummary = in getConnectedDeviceSummary_multipleDevices_returnMultipleDevicesSummary() local 302 assertThat(mSummaryUpdater.getConnectedDeviceSummary()).isEqualTo(expectedSummary); in getConnectedDeviceSummary_multipleDevices_returnMultipleDevicesSummary()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | FailedPasswordWipeCurrentUserPreferenceControllerTest.java | 121 String expectedSummary = mRealContext.getResources().getQuantityString( in testUpdateState_set() local 124 verifyPreferenceSummarySet(mPreference, expectedSummary); in testUpdateState_set()
|
D | EnterpriseSetDefaultAppsListPreferenceControllerTest.java | 279 CharSequence expectedSummary = getSummary(expectedApps); in assertPreference() local 283 + " expectedSummary: " + expectedSummary); in assertPreference() 288 .isEqualTo(expectedSummary); in assertPreference()
|
D | BaseEnterprisePrivacyPreferenceControllerTestCase.java | 99 String expectedSummary = mRealContext.getResources().getQuantityString( 102 verifyPreferenceSummarySet(preference, expectedSummary);
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/ |
D | StatusUiDataTest.kt | 102 val expectedSummary = "a quick settings summary" in getSummary_withPendingActions_returnsQsSummary() constant 104 .thenReturn(expectedSummary) in getSummary_withPendingActions_returnsQsSummary() 108 assertThat(actualSummary).isEqualTo(expectedSummary) in getSummary_withPendingActions_returnsQsSummary()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | BiometricsSafetySourceTest.java | 691 private void assertSafetySourceDisabledDataSet(String expectedTitle, String expectedSummary) { in assertSafetySourceDisabledDataSet() argument 703 assertThat(safetySourceStatus.getSummary().toString()).isEqualTo(expectedSummary); in assertSafetySourceDisabledDataSet() 714 String expectedTitle, String expectedSummary, String expectedSettingsClassName) { in assertSafetySourceEnabledDataSet() argument 726 assertThat(safetySourceStatus.getSummary().toString()).isEqualTo(expectedSummary); in assertSafetySourceEnabledDataSet()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | InternetPreferenceControllerTest.java | 273 final String expectedSummary = in updateCellularSummary_getActiveSubscriptionInfo_cbrs() local 277 assertThat(mPreference.getSummary()).isEqualTo(expectedSummary); in updateCellularSummary_getActiveSubscriptionInfo_cbrs()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/ |
D | NotificationListenerCheckInternalTest.kt | 475 val expectedSummary = context.getString(R.string.notification_listener_warning_card_content) in createSafetySourceIssue() constant 513 assertThat(safetySourceIssue.summary).isEqualTo(expectedSummary) in createSafetySourceIssue()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 573 final String expectedSummary = mContext.getString(R.string.wifi_time_remaining, in entityHeader_shouldShowShortRemainingTime() local 580 inOrder.verify(mMockHeaderController).setSecondSummary(expectedSummary); in entityHeader_shouldShowShortRemainingTime() 593 final String expectedSummary = mContext.getString( in entityHeader_shouldShowExpiryDate() local 598 inOrder.verify(mMockHeaderController).setSecondSummary(expectedSummary); in entityHeader_shouldShowExpiryDate()
|