Home
last modified time | relevance | path

Searched refs:DEFAULT_SUMMARY (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilitySettingsTest.java101 private static final String DEFAULT_SUMMARY = "default summary"; field in AccessibilitySettingsTest
170 doReturn(DEFAULT_SUMMARY).when(mServiceInfo).loadSummary(any()); in getServiceSummary_invisibleToggle_shortcutEnabled_showsOnSummary()
179 DEFAULT_SUMMARY)); in getServiceSummary_invisibleToggle_shortcutEnabled_showsOnSummary()
186 doReturn(DEFAULT_SUMMARY).when(mServiceInfo).loadSummary(any()); in getServiceSummary_invisibleToggle_shortcutDisabled_showsOffSummary()
194 DEFAULT_SUMMARY)); in getServiceSummary_invisibleToggle_shortcutDisabled_showsOffSummary()
248 doReturn(DEFAULT_SUMMARY).when(mServiceInfo).loadSummary(any()); in getServiceSummary_enableServiceShortcutOffAndHasSummary_showsEnabledSummary()
256 DEFAULT_SUMMARY)); in getServiceSummary_enableServiceShortcutOffAndHasSummary_showsEnabledSummary()
261 doReturn(DEFAULT_SUMMARY).when(mServiceInfo).loadSummary(any()); in getServiceSummary_enableServiceShortcutOnAndHasSummary_showsEnabledSummary()
270 DEFAULT_SUMMARY)); in getServiceSummary_enableServiceShortcutOnAndHasSummary_showsEnabledSummary()
275 doReturn(DEFAULT_SUMMARY).when(mServiceInfo).loadSummary(any()); in getServiceSummary_disableServiceShortcutOnAndHasSummary_showsDisabledSummary()
[all …]
DRestrictedPreferenceHelperTest.java70 private static final String DEFAULT_SUMMARY = "default summary"; field in RestrictedPreferenceHelperTest
174 when(mockInfo.loadSummary(any())).thenReturn(DEFAULT_SUMMARY); in setMockAccessibilityShortcutInfo()
DToggleFeaturePreferenceFragmentTest.java103 private static final String DEFAULT_SUMMARY = "default summary"; field in ToggleFeaturePreferenceFragmentTest
435 DEFAULT_SUMMARY, DEFAULT_DESCRIPTION); in createFooterPreference_shouldSetAsExpectedValue() local
440 assertThat(accessibilityFooterPreference.getSummary()).isEqualTo(DEFAULT_SUMMARY); in createFooterPreference_shouldSetAsExpectedValue()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherBasePreferenceControllerTest.java53 private static final String DEFAULT_SUMMARY = "DEFAULT_SUMMARY"; field in WifiTetherBasePreferenceControllerTest
113 mController.setConfigSummaries(/* summary= */ null, DEFAULT_SUMMARY); in noSummaryToShow_defaultSummarySet_shouldShowDefaultSummary()
117 assertThat(mPreference.getSummary()).isEqualTo(DEFAULT_SUMMARY); in noSummaryToShow_defaultSummarySet_shouldShowDefaultSummary()
131 mController.setConfigSummaries(SUMMARY, DEFAULT_SUMMARY); in summaryToShow_defaultSummarySet_shouldShowNonDefaultSummary()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DPairedBluetoothDevicesTest.java75 private static final String DEFAULT_SUMMARY = "DEFAULT_SUMMARY"; field in PairedBluetoothDevicesTest
435 when(cachedDevice.getCarConnectionSummary(anyBoolean())).thenReturn(DEFAULT_SUMMARY); in addBluetoothDevice()