Home
last modified time | relevance | path

Searched refs:getSummary (Results 1 – 25 of 602) sorted by relevance

12345678910>>...25

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStorageSizesControllerTest.java58 assertThat(mAppPreference.getSummary()).isEqualTo(COMPUTING); in requestingUpdateBeforeValuesSetIsComputing()
59 assertThat(mCachePreference.getSummary()).isEqualTo(COMPUTING); in requestingUpdateBeforeValuesSetIsComputing()
60 assertThat(mDataPreference.getSummary()).isEqualTo(COMPUTING); in requestingUpdateBeforeValuesSetIsComputing()
61 assertThat(mTotalPreference.getSummary()).isEqualTo(COMPUTING); in requestingUpdateBeforeValuesSetIsComputing()
69 assertThat(mAppPreference.getSummary()).isEqualTo(INVALID_SIZE); in requestingUpdateAfterFailureHasErrorText()
70 assertThat(mCachePreference.getSummary()).isEqualTo(INVALID_SIZE); in requestingUpdateAfterFailureHasErrorText()
71 assertThat(mDataPreference.getSummary()).isEqualTo(INVALID_SIZE); in requestingUpdateAfterFailureHasErrorText()
72 assertThat(mTotalPreference.getSummary()).isEqualTo(INVALID_SIZE); in requestingUpdateAfterFailureHasErrorText()
86 assertThat(mAppPreference.getSummary()).isEqualTo("1 B"); in properlyPopulatedAfterValidEntry()
87 assertThat(mCachePreference.getSummary()).isEqualTo("10 B"); in properlyPopulatedAfterValidEntry()
[all …]
DDefaultAppsPreferenceControllerTest.java97 assertThat(mPreferenceController.getSummary()).isEqualTo("Browser1, Phone1, and Sms1"); in getSummary_allAvailable_shouldReturnAll()
108 assertThat(mPreferenceController.getSummary()).isEqualTo("Browser1 and Phone1"); in getSummary_browserAndDialerAvailable_shouldReturnBrowserAndDialer()
120 assertThat(mPreferenceController.getSummary()).isEqualTo("Browser1 and Sms1"); in getSummary_browserAndSmsAvailable_shouldReturnBrowserAndSms()
132 assertThat(mPreferenceController.getSummary()).isEqualTo("Phone1 and Sms1"); in getSummary_dialerAndSmsAvailable_shouldReturnDialerAndSms()
143 assertThat(mPreferenceController.getSummary()).isEqualTo("Browser1"); in getSummary_browserAvailable_shouldReturnBrowser()
154 assertThat(mPreferenceController.getSummary()).isEqualTo("Phone1"); in getSummary_dialerAvailable_shouldReturnDialer()
166 assertThat(mPreferenceController.getSummary()).isEqualTo("Sms1"); in getSummary_smsAvailable_shouldReturnSms()
177 assertThat(mPreferenceController.getSummary()).isNull(); in getSummary_noneAvailable_shouldReturnNull()
/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DConnectivityPacketSummaryTest.java42 private String getSummary(String hexBytes) { in getSummary() method in ConnectivityPacketSummaryTest
67 assertEquals(expected, getSummary(packet)); in testParseICMPv6DADProbe()
89 assertEquals(expected, getSummary(packet)); in testParseICMPv6RS()
122 assertEquals(expected, getSummary(packet)); in testParseICMPv6RA()
145 assertEquals(expected, getSummary(packet)); in testParseICMPv6NS()
170 assertEquals(expected, getSummary(packet)); in testInvalidICMPv6NDLength()
191 assertEquals(expected, getSummary(packet)); in testParseICMPv6NA()
210 assertEquals(expected, getSummary(packet)); in testParseARPRequest()
231 assertEquals(expected, getSummary(packet)); in testParseARPReply()
277 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Discover()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptionAppearancePreferenceControllerTest.java66 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_noScale_shouldReturnDefaultSummary()
75 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_smallestScale_shouldReturnExpectedSummary()
84 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_smallScale_shouldReturnExpectedSummary()
93 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_mediumScale_shouldReturnExpectedSummary()
102 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_largeScale_shouldReturnExpectedSummary()
111 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_largestScale_shouldReturnExpectedSummary()
121 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_setByAppPreset_shouldReturnExpectedSummary()
131 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_whiteOnBlackPreset_shouldReturnExpectedSummary()
141 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_blackOnWhitePreset_shouldReturnExpectedSummary()
151 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_yellowOnBlackPreset_shouldReturnExpectedSummary()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DKeyboardPreferenceControllerTest.java106 assertThat(mPreference.getSummary()).isEqualTo(EMPTY); in refreshUi_noInputMethodInfo()
120 assertThat(mPreference.getSummary()).isNotNull(); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo()
121 assertThat(mPreference.getSummary().toString().contains(PLACEHOLDER_LABEL)).isTrue(); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo()
137 assertThat(mPreference.getSummary()).isNotNull(); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo()
138 assertThat(mPreference.getSummary().toString().contains(PLACEHOLDER_LABEL)).isTrue(); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo()
139 assertThat(mPreference.getSummary().toString().contains(PLACEHOLDER_LABEL_1)).isTrue(); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo()
157 assertThat(mPreference.getSummary()).isNotNull(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
158 assertThat(mPreference.getSummary().toString().contains(PLACEHOLDER_LABEL)).isTrue(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
159 assertThat(mPreference.getSummary().toString().contains(PLACEHOLDER_LABEL_1)).isTrue(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
160 assertThat(mPreference.getSummary().toString().contains(PLACEHOLDER_LABEL_2)).isTrue(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherSecurityPreferenceControllerTest.java92 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA3-Personal"); in onPreferenceChange_toWpa3Sae_shouldUpdateSecurityValue()
101 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA2/WPA3-Personal"); in onPreferenceChange_toWpa3SaeTransition_shouldUpdateSecurityValue()
110 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA2-Personal"); in onPreferenceChange_toWpa2Psk_shouldUpdateSecurityValue()
119 assertThat(mPreference.getSummary().toString()).isEqualTo("None"); in onPreferenceChange_toNone_shouldUpdateSecurityValue()
133 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA3-Personal"); in updateDisplay_toWpa3Sae_shouldUpdateSecurityValue()
147 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA2/WPA3-Personal"); in updateDisplay_toWpa3SaeTransition_shouldUpdateSecurityValue()
161 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA2-Personal"); in updateDisplay_toWpa2Psk_shouldUpdateSecurityValue()
174 assertThat(mPreference.getSummary().toString()).isEqualTo("None"); in updateDisplay_toNone_shouldUpdateSecurityValue()
189 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA2-Personal"); in updateDisplay_toWpa3SaeButNotSupportWpa3_shouldBeDefaultToWpa2()
204 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA2-Personal"); in updateDisplay_toWpa3SaeTransitionButNotSupportWpa3_shouldBeDefaultToWpa2()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/
DEditInfoActivityTest.java164 assertThat(addressPreference.getSummary()).isNotEqualTo(unknownAddress); in testClearAllPreferences()
165 assertThat(bloodTypePreference.getSummary()).isNotEqualTo(unknownBloodType); in testClearAllPreferences()
166 assertThat(allergiesPreference.getSummary()).isNotEqualTo(unknownAllergies); in testClearAllPreferences()
167 assertThat(medicationsPreference.getSummary()).isNotEqualTo(unknownMedications); in testClearAllPreferences()
168 assertThat(medicalConditionsPreference.getSummary()).isNotEqualTo(unknownMedicalConditions); in testClearAllPreferences()
169 assertThat(organDonorPreference.getSummary()).isNotEqualTo(unknownOrganDonor); in testClearAllPreferences()
194 assertThat(addressPreference.getSummary()).isNull(); in testClearAllPreferences()
195 assertThat(bloodTypePreference.getSummary().toString()).isEqualTo(unknownBloodType); in testClearAllPreferences()
196 assertThat(allergiesPreference.getSummary()).isNull(); in testClearAllPreferences()
197 assertThat(medicationsPreference.getSummary()).isNull(); in testClearAllPreferences()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DSmartAutoRotatePreferenceControllerTest.java121 assertThat(mController.getSummary()).isEqualTo("Off"); in getSummary_settingsIsOff_returnsOff()
128 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_settingsIsOn_returnsOn()
136 assertThat(mController.getSummary()).isEqualTo("Off"); in getSummary_autoRotateOffSmartAutoRotateOn_returnsOff()
144 assertThat(mController.getSummary()).isEqualTo("On - Face-based"); in updatePreference_smartAutoRotateOn_returnsFaceBased()
153 assertThat(mController.getSummary()).isEqualTo("Off"); in getSummary_noSmartAuto_returnsOff()
163 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_noSmartAuto_returnsOn()
173 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_noCameraPermission_returnsOn()
182 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_cameraDisabled_returnsOn()
191 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_powerSaveEnabled_returnsOn()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DStoragePreferenceControllerTest.java114 assertThat(mPreference.getSummary()) in onCreate_nullSize_calculatingSummary()
129 assertThat(mPreference.getSummary()) in onCreate_validApp_sizeSummary()
142 assertThat(mPreference.getSummary()) in onCreate_lateAppLoad_updateSummary()
147 assertThat(mPreference.getSummary()) in onCreate_lateAppLoad_updateSummary()
160 assertThat(mPreference.getSummary()) in onCreate_packageSizeChange_updateSummary()
165 assertThat(mPreference.getSummary()) in onCreate_packageSizeChange_updateSummary()
178 assertThat(mPreference.getSummary()) in onCreate_otherPackageSizeChange_doesNotUpdateSummary()
183 assertThat(mPreference.getSummary()) in onCreate_otherPackageSizeChange_doesNotUpdateSummary()
/packages/apps/Settings/tests/unit/src/com/android/settings/security/
DScreenLockPreferenceDetailsUtilsTest.java118 assertThat(mScreenLockPreferenceDetailsUtils.getSummary(USER_ID)).isEqualTo(summary); in getSummary_unsecureAndDisabledPattern_shouldReturnUnlockModeOff()
129 assertThat(mScreenLockPreferenceDetailsUtils.getSummary(USER_ID)).isEqualTo(summary); in getSummary_unsecurePattern_shouldReturnUnlockModeNone()
141 assertThat(mScreenLockPreferenceDetailsUtils.getSummary(USER_ID)).isEqualTo(summary); in getSummary_passwordQualitySomething_shouldUnlockModePattern()
153 assertThat(mScreenLockPreferenceDetailsUtils.getSummary(USER_ID)).isEqualTo(summary); in getSummary_passwordQualityNumeric_shouldUnlockModePin()
164 assertThat(mScreenLockPreferenceDetailsUtils.getSummary(USER_ID)).isEqualTo(summary); in getSummary_passwordQualityNumericComplex_shouldUnlockModePin()
176 assertThat(mScreenLockPreferenceDetailsUtils.getSummary(USER_ID)).isEqualTo(summary); in getSummary_passwordQualityAlphabetic_shouldUnlockModePassword()
188 assertThat(mScreenLockPreferenceDetailsUtils.getSummary(USER_ID)).isEqualTo(summary); in getSummary_passwordQualityAlphanumeric_shouldUnlockModePassword()
200 assertThat(mScreenLockPreferenceDetailsUtils.getSummary(USER_ID)).isEqualTo(summary); in getSummary_passwordQualityComplex_shouldUnlockModePassword()
212 assertThat(mScreenLockPreferenceDetailsUtils.getSummary(USER_ID)).isEqualTo(summary); in getSummary_passwordQualityManaged_shouldUnlockModePassword()
222 assertNull(mScreenLockPreferenceDetailsUtils.getSummary(USER_ID)); in getSummary_unsupportedPasswordQuality_shouldReturnNull()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreferenceTest.java62 assertThat(preference.getSummary().toString()).isEqualTo("30 days ago"); in testPreferenceSummary()
81 assertThat(preference.getSummary().toString()).isEqualTo("2 days ago"); in testTwoDayPreferenceSummary()
100 assertThat(preference.getSummary().toString()).isEqualTo("Yesterday"); in testYesterdayPreferenceSummary()
119 assertThat(preference.getSummary().toString()).isEqualTo("Today"); in testTodayPreferenceSummary()
138 assertThat(preference.getSummary().toString()).isEqualTo("Not used in last year"); in testNeverUsedPreferenceSummary()
158 assertThat(preference.getSummary().toString()).isEqualTo("Not sure when last used"); in testUnknownLastUsePreferenceSummary()
178 assertThat(preference.getSummary().toString()).isEqualTo("30 days ago"); in testSizeSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsDataRoleControllerTest.java141 assertThat(devicePref.getSummary()) in onClickDevice_hostEnabled_shouldSetDevice()
153 assertThat(devicePref.getSummary()) in onClickDeviceTwice_hostEnabled_shouldSetDeviceOnce()
168 assertThat(devicePref.getSummary()) in onClickDeviceAndRefresh_success_shouldClearSubtext()
174 assertThat(devicePref.getSummary()).isEqualTo(""); in onClickDeviceAndRefresh_success_shouldClearSubtext()
186 assertThat(devicePref.getSummary()) in onClickDeviceAndRefresh_failed_shouldShowFailureText()
192 assertThat(devicePref.getSummary()) in onClickDeviceAndRefresh_failed_shouldShowFailureText()
207 assertThat(devicePref.getSummary()) in onClickDevice_timedOut_shouldShowFailureText()
213 assertThat(devicePref.getSummary()) in onClickDevice_timedOut_shouldShowFailureText()
DUsbDetailsPowerRoleControllerTest.java157 assertThat(pref.getSummary()) in onClick_sink_shouldSetSource()
169 assertThat(pref.getSummary()) in onClickTwice_sink_shouldSetSourceOnce()
184 assertThat(pref.getSummary()) in onClickDeviceAndRefresh_success_shouldClearSubtext()
190 assertThat(pref.getSummary()).isEqualTo(""); in onClickDeviceAndRefresh_success_shouldClearSubtext()
202 assertThat(pref.getSummary()) in onClickDeviceAndRefresh_failed_shouldShowFailureText()
208 assertThat(pref.getSummary()) in onClickDeviceAndRefresh_failed_shouldShowFailureText()
223 assertThat(pref.getSummary()) in onClickDevice_timedOut_shouldShowFailureText()
228 assertThat(pref.getSummary()) in onClickDevice_timedOut_shouldShowFailureText()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DShowOnLockscreenNotificationPreferenceControllerTest.java96 assertThat(mPreference.getSummary().toString()) in updateState_noNotifsOnLockscreen()
113 assertThat(mPreference.getSummary().toString()) in updateState_alertingNotifsOnLockscreen()
130 assertThat(mPreference.getSummary().toString()) in updateState_allNotifsOnLockscreen()
142 assertThat(mPreference.getSummary().toString()) in updateState_alertingNotifsOnLockscreen_isDefault()
164 assertThat(mPreference.getSummary()) in updateState_dpmSaysNo()
190 assertThat(mPreference.getSummary()) in onPreferenceChange_allToAlerting()
211 assertThat(mPreference.getSummary()) in onPreferenceChange_noneToAll()
232 assertThat(mPreference.getSummary()) in onPreferenceChange_alertingToNone()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncPreferenceControllerTest.java101 assertThat(mPreference.getSummary()) in refreshUi_notSameAccountType_shouldNotCount()
121 assertThat(mPreference.getSummary()) in refreshUi_adapterInvisible_shouldNotCount()
139 assertThat(mPreference.getSummary()) in refreshUi_notSyncable_shouldNotCount()
160 assertThat(mPreference.getSummary()) in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount()
179 assertThat(mPreference.getSummary()) in refreshUi_masterAutomaticSyncUsed_shouldCount()
199 assertThat(mPreference.getSummary()) in refreshUi_automaticSyncEnabled_shouldCount()
243 assertThat(mPreference.getSummary()) in refreshUi_someEnabled_shouldSetSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DConversationHeaderPreferenceControllerTest.java131 assertEquals("", mController.getSummary()); in testGetSummary()
135 assertEquals(appRow.label, mController.getSummary()); in testGetSummary()
139 assertTrue(mController.getSummary().toString().contains(group.getName())); in testGetSummary()
140 assertTrue(mController.getSummary().toString().contains(appRow.label)); in testGetSummary()
143 assertFalse(mController.getSummary().toString().contains(group.getName())); in testGetSummary()
144 assertTrue(mController.getSummary().toString().contains(appRow.label)); in testGetSummary()
149 assertEquals("", mController.getSummary()); in testGetSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/
DDarkModeActivationPreferenceControllerTest.java127 assertThat(mController.getSummary().toString()).isEqualTo("summary_on_manual"); in nightMode_toggleButton_onManual()
138 assertThat(mController.getSummary().toString()).isEqualTo("summary_off_manual"); in nightMode_toggleButton_offManual()
149 assertThat(mController.getSummary().toString()).isEqualTo("summary_on_custom"); in nightMode_toggleButton_onCustom()
160 assertThat(mController.getSummary().toString()).isEqualTo("summary_off_custom"); in nightMode_toggleButton_offCustom()
173 assertThat(mController.getSummary().toString()).isEqualTo("summary_on_custom_bedtime"); in nightMode_toggleButton_onCustomBedtime()
186 assertThat(mController.getSummary().toString()).isEqualTo("summary_off_custom_bedtime"); in nightMode_toggleButton_offCustomBedtime()
197 assertThat(mController.getSummary().toString()).isEqualTo("summary_on_auto"); in nightMode_toggleButton_onAuto()
208 assertThat(mController.getSummary().toString()).isEqualTo("summary_off_auto"); in nightMode_toggleButton_offAuto()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DTopLevelLocationPreferenceControllerTest.java54 assertThat(mController.getSummary()).isEqualTo( in getSummary_whenLocationIsOff_shouldReturnStringForOff()
64 mController.getSummary(); in getSummary_whenLocationIsOn_shouldPreservePreviousText()
69 assertThat(mController.getSummary()).isEqualTo( in getSummary_whenLocationIsOn_shouldPreservePreviousText()
80 assertThat(mController.getSummary()).isEqualTo( in getSummary_whenLocationAppCountIsOne_shouldShowSingularString()
91 assertThat(mController.getSummary()).isEqualTo( in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceControllerTest.java264 assertThat(mPreference.getSummary()).isEqualTo( in updateState_shouldSetSummary()
285 assertThat(mPreference.getSummary()).isEqualTo(TEST_DEVICE_NAME_1); in updateState_oneHeadsetsAvailableAndActivated_shouldSetDeviceName()
307 assertThat(mPreference.getSummary()).isEqualTo(TEST_DEVICE_NAME_2); in updateState_moreThanOneHfpBtDevicesAreAvailable_shouldSetActivatedDeviceName()
327 assertThat(mPreference.getSummary()).isEqualTo( in updateState_withAvailableDevicesWiredHeadsetActivated_shouldSetDefaultSummary()
345 assertThat(mPreference.getSummary()).isEqualTo( in updateState_noAvailableHeadsetBtDevices_shouldSetDefaultSummary()
369 assertThat(mPreference.getSummary()).isEqualTo(mLeftBluetoothHapDevice.getName()); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()
395 assertThat(mPreference.getSummary()).isEqualTo(mRightBluetoothHapDevice.getName()); in updateState_moreThanOneHapBtDevicesAreAvailable_shouldSetActivatedDeviceName()
426 assertThat(mPreference.getSummary()).isEqualTo(mLeftBluetoothHapDevice.getName()); in updateState_hapBtDeviceWithSameId_shouldSetActivatedDeviceName()
461 assertThat(mPreference.getSummary()).isEqualTo(mRightBluetoothHapDevice.getName()); in updateState_hapBtDeviceWithSameIdButDifferentOrder_shouldSetActivatedDeviceName()
490 assertThat(mPreference.getSummary()).isEqualTo(mRightBluetoothHapDevice.getName()); in updateState_hapBtDeviceWithDifferentId_shouldSetActivatedDeviceName()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatterySaverControllerTest.java81 assertThat(mBatterySaverController.getSummary()).isEqualTo("On"); in getSummary_batterySaverOn_showSummaryOn()
90 assertThat(mBatterySaverController.getSummary()).isEqualTo("Will turn on at 15%"); in getSummary_batterySaverOffButScheduled_showSummaryScheduled()
99 assertThat(mBatterySaverController.getSummary()).isEqualTo("Off"); in getSummary_batterySaverOffButScheduledZeroPercent_showSummaryOff()
110 assertThat(mBatterySaverController.getSummary()). in getSummary_batterySaverOffButScheduledBasedOnRoutine_showSummaryBasedOnRoutine()
118 assertThat(mBatterySaverController.getSummary()).isEqualTo("Off"); in getSummary_batterySaverOff_showSummaryOff()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DNetworkProviderCallsSmsControllerTest.java170 assertTrue(TextUtils.equals(mController.getSummary(), in getSummary_noSim_returnNoSim()
191 assertTrue(TextUtils.equals(mController.getSummary(), summary)); in getSummary_invalidSubId_returnUnavailable()
214 assertTrue(TextUtils.equals(mController.getSummary(), summary)); in getSummary_oneIsInvalidSubIdTwoIsValidSubId_returnOneIsUnavailable()
229 assertThat(mPreference.getSummary()).isEqualTo(DISPLAY_NAME_1); in getSummary_oneSubscription_returnDisplayName()
246 assertTrue(TextUtils.equals(mController.getSummary(), summary)); in getSummary_allSubscriptionsHaveNoPreferredStatus_returnDisplayName()
275 assertTrue(TextUtils.equals(mController.getSummary(), summary)); in getSummary_oneSubscriptionsIsCallPreferredTwoIsSmsPreferred_returnStatus()
304 assertTrue(TextUtils.equals(mController.getSummary(), summary)); in getSummary_oneSubscriptionsIsSmsPreferredTwoIsCallPreferred_returnStatus()
330 assertTrue(TextUtils.equals(mController.getSummary(), summary)); in getSummary_oneSubscriptionsIsSmsPreferredAndIsCallPreferred_returnStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeBypassingAppsPreferenceControllerTest.java113 assertThat(mController.getSummary().contains(entry.label)).isTrue(); in testUpdateBypassingApps()
153 assertThat(mController.getSummary().contains(entry1.label)).isTrue(); in testUpdateBypassingApps_multipleApps()
154 assertThat(mController.getSummary().contains(entry2.label)).isTrue(); in testUpdateBypassingApps_multipleApps()
188 assertThat(mController.getSummary().contains("No apps")).isTrue(); in testUpdateBypassingApps_conversation()
221 assertThat(mController.getSummary().contains(entry.label)).isTrue(); in testUpdateBypassingApps_demotedConversation()
235 assertThat(mController.getSummary()).isNull(); in testUpdateAppsBypassingDnd_nullAppsList()
249 assertThat(mController.getSummary().contains("No apps")).isTrue(); in testUpdateAppsBypassingDnd_emptyAppsList()
278 assertThat(mController.getSummary().contains("No apps")).isTrue(); in testUpdateAppsBypassingDnd_alarmsOnly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherApBandPreferenceControllerTest.java98 assertThat(mPreference.getSummary()).isEqualTo(ALL_BANDS); in display_5GhzSupported_shouldDisplayFullList()
109 assertThat(mPreference.getSummary()) in display_noCountryCode_shouldDisable()
121 assertThat(mPreference.getSummary()) in display_5GhzNotSupported_shouldDisable()
138 assertThat(mPreference.getSummary()).isEqualTo(ALL_BANDS); in changePreference_With5G_shouldUpdateValue()
144 assertThat(mPreference.getSummary()).isEqualTo(ALL_BANDS); in changePreference_With5G_shouldUpdateValue()
150 assertThat(mPreference.getSummary()).isEqualTo(TWO_GHZ_STRING); in changePreference_With5G_shouldUpdateValue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountSyncPreferenceControllerTest.java105 assertThat(mPreference.getSummary()) in updateSummary_adapterInvisible_shouldNotCount()
118 assertThat(mPreference.getSummary()) in updateSummary_notSameAccountType_shouldNotCount()
132 assertThat(mPreference.getSummary()) in updateSummary_notSyncable_shouldNotCount()
147 assertThat(mPreference.getSummary()) in updateSummary_syncDisabled_shouldNotCount()
160 assertThat(mPreference.getSummary()) in updateSummary_syncEnabled_shouldCount()
182 assertThat(mPreference.getSummary()) in updateSummary_multipleSyncAdapters_shouldSetSummary()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceControllerTest.java114 assertThat(mController.getSummary()).isEqualTo(Build.MODEL); in constructor_defaultDeviceNameIsModelName()
122 assertThat(mController.getSummary()).isEqualTo("Test"); in constructor_deviceNameLoadedIfSet()
141 assertThat(mPreference.getSummary()).isEqualTo(TESTING_STRING); in setDeviceName_preferenceUpdatedWhenDeviceNameUpdated()
180 assertThat(mPreference.getSummary()).isEqualTo(TESTING_STRING); in setDeviceName_okInDeviceNameWarningDialog_shouldChangePreferenceText()
189 assertThat(mPreference.getSummary()).isNotEqualTo(TESTING_STRING); in setDeviceName_cancelInDeviceNameWarningDialog_shouldNotChangePreferenceText()
190 assertThat(mPreference.getText()).isEqualTo(mPreference.getSummary()); in setDeviceName_cancelInDeviceNameWarningDialog_shouldNotChangePreferenceText()

12345678910>>...25