Home
last modified time | relevance | path

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

12345678910>>...21

/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/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DKeyboardPreferenceControllerTest.java93 assertThat(mPreference.getSummary()).isEqualTo(EMPTY); in refreshUi_noInputMethodInfo()
106 assertThat(mPreference.getSummary()).isNotNull(); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo()
107 assertThat(mPreference.getSummary().toString().contains(DUMMY_LABEL)).isTrue(); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo()
121 assertThat(mPreference.getSummary()).isNotNull(); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo()
122 assertThat(mPreference.getSummary().toString().contains(DUMMY_LABEL)).isTrue(); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo()
123 assertThat(mPreference.getSummary().toString().contains(DUMMY_LABEL_1)).isTrue(); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo()
138 assertThat(mPreference.getSummary()).isNotNull(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
139 assertThat(mPreference.getSummary().toString().contains(DUMMY_LABEL)).isTrue(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
140 assertThat(mPreference.getSummary().toString().contains(DUMMY_LABEL_1)).isTrue(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
141 assertThat(mPreference.getSummary().toString().contains(DUMMY_LABEL_2)).isTrue(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAppsPickerBasePreferenceControllerTest.java134 assertThat(preference.getSummary()).isEqualTo( in refreshUi_noCandidates_hasSingleNoneElement()
175 assertThat(mPreferenceGroup.findPreference(testKey).getSummary()).isEqualTo( in refreshUi_hasAdditionalCandidateAsDefault_secondElementIsSelected()
194 assertThat(TextUtils.isEmpty(currentDefault.getSummary())).isFalse(); in performClick_currentDefaultApp_nothingHappened()
195 assertThat(TextUtils.isEmpty(otherOption.getSummary())).isTrue(); in performClick_currentDefaultApp_nothingHappened()
199 assertThat(TextUtils.isEmpty(currentDefault.getSummary())).isFalse(); in performClick_currentDefaultApp_nothingHappened()
200 assertThat(TextUtils.isEmpty(otherOption.getSummary())).isTrue(); in performClick_currentDefaultApp_nothingHappened()
218 assertThat(TextUtils.isEmpty(currentDefault.getSummary())).isFalse(); in performClick_otherOptionNoMessage_otherOptionSelected()
219 assertThat(TextUtils.isEmpty(otherOption.getSummary())).isTrue(); in performClick_otherOptionNoMessage_otherOptionSelected()
223 assertThat(TextUtils.isEmpty(currentDefault.getSummary())).isTrue(); in performClick_otherOptionNoMessage_otherOptionSelected()
224 assertThat(TextUtils.isEmpty(otherOption.getSummary())).isFalse(); in performClick_otherOptionNoMessage_otherOptionSelected()
[all …]
/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/wifi/tether/
DWifiTetherApBandPreferenceControllerTest.java92 assertThat(mPreference.getSummary()).isEqualTo(ALL_BANDS); in display_5GhzSupported_shouldDisplayFullList()
103 assertThat(mPreference.getSummary()) in display_noCountryCode_shouldDisable()
115 assertThat(mPreference.getSummary()) in display_5GhzNotSupported_shouldDisable()
130 assertThat(mPreference.getSummary()).isEqualTo(FIVE_GHZ_STRING); in changePreference_noDualModeWith5G_shouldUpdateValue()
136 assertThat(mPreference.getSummary()).isEqualTo(FIVE_GHZ_STRING); in changePreference_noDualModeWith5G_shouldUpdateValue()
142 assertThat(mPreference.getSummary()).isEqualTo(TWO_GHZ_STRING); in changePreference_noDualModeWith5G_shouldUpdateValue()
157 assertThat(mPreference.getSummary()).isEqualTo(ALL_BANDS); in changePreference_dualModeWith5G_shouldUpdateValue()
163 assertThat(mPreference.getSummary()).isEqualTo(ALL_BANDS); in changePreference_dualModeWith5G_shouldUpdateValue()
169 assertThat(mPreference.getSummary()).isEqualTo(TWO_GHZ_STRING); in changePreference_dualModeWith5G_shouldUpdateValue()
DWifiTetherSecurityPreferenceControllerTest.java68 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA2-Personal"); in onPreferenceChange_securityValueUpdated()
72 assertThat(mPreference.getSummary().toString()).isEqualTo("None"); in onPreferenceChange_securityValueUpdated()
81 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA2-Personal"); in updateDisplay_preferenceUpdated()
89 assertThat(mPreference.getSummary().toString()).isEqualTo("None"); in updateDisplay_preferenceUpdated()
96 assertThat(mPreference.getSummary().toString()).isEqualTo("WPA2-Personal"); in updateDisplay_preferenceUpdated()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DNotificationVibrationIntensityPreferenceControllerTest.java99 assertThat(mPreference.getSummary()) in updateState_withMultipleIntensitySuport_shouldRefreshSummary()
105 assertThat(mPreference.getSummary()) in updateState_withMultipleIntensitySuport_shouldRefreshSummary()
111 assertThat(mPreference.getSummary()) in updateState_withMultipleIntensitySuport_shouldRefreshSummary()
117 assertThat(mPreference.getSummary()) in updateState_withMultipleIntensitySuport_shouldRefreshSummary()
129 assertThat(mPreference.getSummary()) in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary()
135 assertThat(mPreference.getSummary()) in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary()
141 assertThat(mPreference.getSummary()) in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary()
147 assertThat(mPreference.getSummary()) in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceControllerTest.java236 assertThat(mPreference.getSummary()).isEqualTo( in updateState_shouldSetSummary()
257 assertThat(mPreference.getSummary()).isEqualTo(TEST_DEVICE_NAME_1); in updateState_oneHeadsetsAvailableAndActivated_shouldSetDeviceName()
279 assertThat(mPreference.getSummary()).isEqualTo(TEST_DEVICE_NAME_2); in updateState_moreThanOneHfpBtDevicesAreAvailable_shouldSetActivatedDeviceName()
299 assertThat(mPreference.getSummary()).isEqualTo( in updateState_withAvailableDevicesWiredHeadsetActivated_shouldSetDefaultSummary()
317 assertThat(mPreference.getSummary()).isEqualTo( in updateState_noAvailableHeadsetBtDevices_shouldSetDefaultSummary()
341 assertThat(mPreference.getSummary()).isEqualTo(mLeftBluetoothHapDevice.getName()); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()
367 assertThat(mPreference.getSummary()).isEqualTo(mRightBluetoothHapDevice.getName()); in updateState_moreThanOneHapBtDevicesAreAvailable_shouldSetActivatedDeviceName()
398 assertThat(mPreference.getSummary()).isEqualTo(mLeftBluetoothHapDevice.getName()); in updateState_hapBtDeviceWithSameId_shouldSetActivatedDeviceName()
433 assertThat(mPreference.getSummary()).isEqualTo(mRightBluetoothHapDevice.getName()); in updateState_hapBtDeviceWithSameIdButDifferentOrder_shouldSetActivatedDeviceName()
462 assertThat(mPreference.getSummary()).isEqualTo(mRightBluetoothHapDevice.getName()); in updateState_hapBtDeviceWithDifferentId_shouldSetActivatedDeviceName()
[all …]
DMediaOutputPreferenceControllerTest.java224 assertThat(mPreference.getSummary()).isNull(); in updateState_withConnectedBtDevice_withoutActiveBtDevice_setDefaultSummary()
226 assertThat(mPreference.getSummary()).isEqualTo( in updateState_withConnectedBtDevice_withoutActiveBtDevice_setDefaultSummary()
244 assertThat(mPreference.getSummary()).isNull(); in updateState_withActiveBtDevice_setActivatedDeviceName()
246 assertThat(mPreference.getSummary()).isEqualTo(TEST_DEVICE_NAME_1); in updateState_withActiveBtDevice_setActivatedDeviceName()
286 assertThat(mPreference.getSummary()).isNull(); in updateState_withActiveHADevice_setActivatedDeviceName()
288 assertThat(mPreference.getSummary()).isEqualTo(TEST_HAP_DEVICE_NAME_1); in updateState_withActiveHADevice_setActivatedDeviceName()
315 assertThat(mPreference.getSummary()).isEqualTo( in updateState_shouldSetSummary()
331 assertThat(mPreference.getSummary()).isEqualTo( in updateState_duringACall_shouldSetDefaultSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DShowOnLockscreenNotificationPreferenceControllerTest.java97 assertThat(mPreference.getSummary()) in updateState_noNotifsOnLockscreen()
114 assertThat(mPreference.getSummary()) in updateState_alertingNotifsOnLockscreen()
131 assertThat(mPreference.getSummary()) in updateState_allNotifsOnLockscreen()
143 assertThat(mPreference.getSummary()) in updateState_allNotifsOnLockscreen_isDefault()
165 assertThat(mPreference.getSummary()) in updateState_dpmSaysNo()
191 assertThat(mPreference.getSummary()) in onPreferenceChange_allToAlerting()
212 assertThat(mPreference.getSummary()) in onPreferenceChange_noneToAll()
233 assertThat(mPreference.getSummary()) in onPreferenceChange_alertingToNone()
DHeaderPreferenceControllerTest.java127 assertEquals("", mController.getSummary()); in testGetSummary()
131 assertEquals(appRow.label, mController.getSummary()); in testGetSummary()
135 assertTrue(mController.getSummary().toString().contains(group.getName())); in testGetSummary()
136 assertTrue(mController.getSummary().toString().contains(appRow.label)); in testGetSummary()
139 assertFalse(mController.getSummary().toString().contains(group.getName())); in testGetSummary()
140 assertTrue(mController.getSummary().toString().contains(appRow.label)); in testGetSummary()
145 assertEquals("", mController.getSummary()); in testGetSummary()
/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/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/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncPreferenceControllerTest.java99 assertThat(mPreference.getSummary()) in refreshUi_notSameAccountType_shouldNotCount()
117 assertThat(mPreference.getSummary()) in refreshUi_adapterInvisible_shouldNotCount()
133 assertThat(mPreference.getSummary()) in refreshUi_notSyncable_shouldNotCount()
152 assertThat(mPreference.getSummary()) in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount()
169 assertThat(mPreference.getSummary()) in refreshUi_masterAutomaticSyncUsed_shouldCount()
187 assertThat(mPreference.getSummary()) in refreshUi_automaticSyncEnabled_shouldCount()
223 assertThat(mPreference.getSummary()) in refreshUi_someEnabled_shouldSetSummary()
DAccountListPreferenceControllerTest.java128 assertThat(firstPref.getSummary()).isEqualTo("Type 1"); in refreshUi_hasAccounts_shouldDisplayAccounts()
132 assertThat(secondPref.getSummary()).isEqualTo("Type 2"); in refreshUi_hasAccounts_shouldDisplayAccounts()
149 assertThat(firstPref.getSummary()).isEqualTo("Type 1"); in refreshUi_hasUnauthenticatedAccount_shouldNotDisplayAccount()
153 assertThat(secondPref.getSummary()).isEqualTo("Type 2"); in refreshUi_hasUnauthenticatedAccount_shouldNotDisplayAccount()
172 assertThat(firstPref.getSummary()).isEqualTo("Type 1"); in onAccountsUpdate_isThisUser_shouldForceUpdate()
207 assertThat(firstPref.getSummary()).isEqualTo("Type 1"); in onUsersUpdate_shouldForceUpdate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DTopLevelSecurityPreferenceControllerTest.java64 mController.getSummary(); in geSummary_hasFace_hasStaticSummary()
77 mController.getSummary(); in geSummary_hasFingerPrint_hasStaticSummary()
89 mController.getSummary(); in geSummary_noFpFeature_shouldSetSummaryWithNoBiometrics()
102 mController.getSummary(); in geSummary_noFpHardware_shouldSetSummaryWithNoBiometrics()
114 mController.getSummary(); in geSummary_noFaceFeature_shouldSetSummaryWithNoBiometrics()
127 mController.getSummary(); in geSummary_noFaceHardware_shouldSetSummaryWithNoBiometrics()
/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/robotests/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceControllerTest.java95 assertThat(mController.getSummary()).isEqualTo(Build.MODEL); in constructor_defaultDeviceNameIsModelName()
103 assertThat(mController.getSummary()).isEqualTo("Test"); in constructor_deviceNameLoadedIfSet()
122 assertThat(mPreference.getSummary()).isEqualTo(TESTING_STRING); in setDeviceName_preferenceUpdatedWhenDeviceNameUpdated()
167 assertThat(mPreference.getSummary()).isEqualTo(TESTING_STRING); in setDeviceName_okInDeviceNameWarningDialog_shouldChangePreferenceText()
176 assertThat(mPreference.getSummary()).isNotEqualTo(TESTING_STRING); in setDeviceName_cancelInDeviceNameWarningDialog_shouldNotChangePreferenceText()
177 assertThat(mPreference.getText()).isEqualTo(mPreference.getSummary()); in setDeviceName_cancelInDeviceNameWarningDialog_shouldNotChangePreferenceText()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DEnhanced4gLtePreferenceControllerTest.java112 assertThat(mPreference.getSummary()).isEqualTo( in updateState_doNotShow4GForLTE_showVolteTitleAndSummary()
119 assertThat(mPreference.getSummary()).isEqualTo( in updateState_doNotShow4GForLTE_showVolteTitleAndSummary()
131 assertThat(mPreference.getSummary()).isEqualTo( in updateState_show4GForLTE_show4GTitleAndSummary()
138 assertThat(mPreference.getSummary()).isEqualTo( in updateState_show4GForLTE_show4GTitleAndSummary()
150 assertThat(mPreference.getSummary()).isEqualTo( in updateState_variantAdvancedCalling_showAdvancedCallingTitleAndSummary()
157 assertThat(mPreference.getSummary()).isEqualTo( in updateState_variantAdvancedCalling_showAdvancedCallingTitleAndSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java131 assertThat(mController.getSummary()).isEqualTo("Add a network"); in getSummary_noSubscriptions_correctSummaryAndClickHandler()
143 assertThat(TextUtils.isEmpty(mController.getSummary())).isTrue(); in getSummary_noSubscriptionsNoEuiccMgr_correctSummaryAndClickHandler()
156 assertThat(mController.getSummary()).isEqualTo("sub1"); in getSummary_oneSubscription_correctSummaryAndClickHandler()
179 assertThat(mController.getSummary()).isEqualTo("Tap to activate sub1"); in getSummary_oneInactivePSim_correctSummaryAndClickHandler()
196 assertThat(mController.getSummary()).isEqualTo("2 SIMs"); in getSummary_twoSubscriptions_correctSummaryAndFragment()
212 assertThat(mController.getSummary()).isEqualTo("2 SIMs"); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
219 assertThat(mController.getSummary()).isEqualTo("sub1"); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
240 assertThat(mController.getSummary()).isEqualTo("sub1"); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment()
252 assertThat(mController.getSummary()).isEqualTo("2 SIMs"); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DAppPermissionsEntryPreferenceControllerTest.java119 assertThat(mPreference.getSummary()).isNull(); in refreshUi_noGrantedPermissions_setsNullSummary()
128 assertThat(mPreference.getSummary()).isEqualTo( in refreshUi_grantedPermissions_aboveMax_setsSummary_maxCountDefinedByController()
138 assertThat(mPreference.getSummary()).isEqualTo("Apps using microphone, sms, and contacts"); in refreshUi_grantedPermissions_setsSummary_inOrderDefinedByController()
147 assertThat(mPreference.getSummary()).isEqualTo("Apps using location and camera"); in refreshUi_grantedPermissions_onlyTwo_setsSummary()
156 assertThat(mPreference.getSummary()).isEqualTo("Apps using camera"); in refreshUi_grantedPermissions_onlyOne_setsSummary()
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
DImeiInfoPreferenceController.java94 public CharSequence getSummary() { in getSummary() method in ImeiInfoPreferenceController
95 return getSummary(0); in getSummary()
98 private CharSequence getSummary(int simSlot) { in getSummary() method in ImeiInfoPreferenceController
138 Sliceable.setCopyContent(mContext, getSummary(0), getTitle(0)); in copy()
143 preference.setSummary(getSummary(simSlot)); in updatePreference()

12345678910>>...21