/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStorageSizesControllerTest.java | 58 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 …]
|
D | DefaultAppsPreferenceControllerTest.java | 97 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/ |
D | ConnectivityPacketSummaryTest.java | 42 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/unit/src/com/android/car/settings/inputmethod/ |
D | KeyboardPreferenceControllerTest.java | 106 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/ |
D | WifiTetherSecurityPreferenceControllerTest.java | 92 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/ |
D | EditInfoActivityTest.java | 164 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/ |
D | SmartAutoRotatePreferenceControllerTest.java | 113 assertThat(mController.getSummary()).isEqualTo("Off"); in getSummary_settingsIsOff_returnsOff() 120 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_settingsIsOn_returnsOn() 128 assertThat(mController.getSummary()).isEqualTo("Off"); in getSummary_autoRotateOffSmartAutoRotateOn_returnsOff() 136 assertThat(mController.getSummary()).isEqualTo("On - Face-based"); in updatePreference_smartAutoRotateOn_returnsFaceBased() 145 assertThat(mController.getSummary()).isEqualTo("Off"); in getSummary_noSmartAuto_returnsOff() 155 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_noSmartAuto_returnsOn() 165 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_noCameraPermission_returnsOn() 174 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_cameraDisabled_returnsOn() 183 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_powerSaveEnabled_returnsOn()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | NotificationVibrationIntensityPreferenceControllerTest.java | 99 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/ |
D | HandsFreeProfileOutputPreferenceControllerTest.java | 237 assertThat(mPreference.getSummary()).isEqualTo( in updateState_shouldSetSummary() 259 assertThat(mPreference.getSummary()).isEqualTo(TEST_DEVICE_NAME_1); in updateState_oneHeadsetsAvailableAndActivated_shouldSetDeviceName() 282 assertThat(mPreference.getSummary()).isEqualTo(TEST_DEVICE_NAME_2); in updateState_moreThanOneHfpBtDevicesAreAvailable_shouldSetActivatedDeviceName() 302 assertThat(mPreference.getSummary()).isEqualTo( in updateState_withAvailableDevicesWiredHeadsetActivated_shouldSetDefaultSummary() 320 assertThat(mPreference.getSummary()).isEqualTo( in updateState_noAvailableHeadsetBtDevices_shouldSetDefaultSummary() 345 assertThat(mPreference.getSummary()).isEqualTo(mLeftBluetoothHapDevice.getName()); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName() 372 assertThat(mPreference.getSummary()).isEqualTo(mRightBluetoothHapDevice.getName()); in updateState_moreThanOneHapBtDevicesAreAvailable_shouldSetActivatedDeviceName() 404 assertThat(mPreference.getSummary()).isEqualTo(mLeftBluetoothHapDevice.getName()); in updateState_hapBtDeviceWithSameId_shouldSetActivatedDeviceName() 440 assertThat(mPreference.getSummary()).isEqualTo(mRightBluetoothHapDevice.getName()); in updateState_hapBtDeviceWithSameIdButDifferentOrder_shouldSetActivatedDeviceName() 470 assertThat(mPreference.getSummary()).isEqualTo(mRightBluetoothHapDevice.getName()); in updateState_hapBtDeviceWithDifferentId_shouldSetActivatedDeviceName() [all …]
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppDeletionPreferenceTest.java | 62 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/ |
D | UsbDetailsDataRoleControllerTest.java | 141 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()
|
D | UsbDetailsPowerRoleControllerTest.java | 157 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/ |
D | ShowOnLockscreenNotificationPreferenceControllerTest.java | 97 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()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountSyncPreferenceControllerTest.java | 101 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/ |
D | ConversationHeaderPreferenceControllerTest.java | 131 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()
|
D | HeaderPreferenceControllerTest.java | 138 assertEquals("", mController.getSummary()); in testGetSummary() 142 assertEquals(appRow.label, mController.getSummary()); in testGetSummary() 146 assertTrue(mController.getSummary().toString().contains(group.getName())); in testGetSummary() 147 assertTrue(mController.getSummary().toString().contains(appRow.label)); in testGetSummary() 150 assertFalse(mController.getSummary().toString().contains(group.getName())); in testGetSummary() 151 assertTrue(mController.getSummary().toString().contains(appRow.label)); in testGetSummary() 156 assertEquals("", mController.getSummary()); in testGetSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkSummaryControllerTest.java | 130 assertThat(mController.getSummary()).isEqualTo("Add a network"); in getSummary_noSubscriptions_correctSummaryAndClickHandler() 142 assertThat(TextUtils.isEmpty(mController.getSummary())).isTrue(); in getSummary_noSubscriptionsNoEuiccMgr_correctSummaryAndClickHandler() 156 assertThat(mController.getSummary()).isEqualTo("sub1"); in getSummary_oneSubscription_correctSummaryAndClickHandler() 180 assertThat(mController.getSummary()).isEqualTo("Tap to activate sub1"); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler() 200 assertThat(mController.getSummary()).isEqualTo("sub1"); in getSummary_oneInactivePSim_canDisablePsim_correctSummaryAndClickHandler() 223 assertThat(mController.getSummary()).isEqualTo("2 SIMs"); in getSummary_twoSubscriptions_correctSummaryAndFragment() 241 assertThat(mController.getSummary()).isEqualTo("2 SIMs"); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 248 assertThat(mController.getSummary()).isEqualTo("sub1"); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 272 assertThat(mController.getSummary()).isEqualTo("sub1"); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment() 284 assertThat(mController.getSummary()).isEqualTo("2 SIMs"); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiWakeupPreferenceControllerTest.java | 92 assertThat(preference.getSummary()) in updateState_wifiWakeupEnableScanningDisable_wifiWakeupDisabled() 106 assertThat(preference.getSummary()) in updateState_preferenceSetCheckedWhenWakeupSettingEnabled() 118 assertThat(preference.getSummary()) in updateState_preferenceSetUncheckedWhenWakeupSettingDisabled() 142 assertThat(TextUtils.equals(preference.getSummary(), mController.getNoLocationSummary())) in updateState_preferenceSetUncheckedWhenWakeupSettingEnabledNoLocation() 155 assertThat(TextUtils.equals(preference.getSummary(), mController.getNoLocationSummary())) in updateState_preferenceSetUncheckedWhenWakeupSettingDisabledLocationEnabled() 169 assertThat(TextUtils.equals(preference.getSummary(), mController.getNoLocationSummary())) in updateState_preferenceSetUncheckedWhenWifiScanningDisabledLocationEnabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeBypassingAppsPreferenceControllerTest.java | 113 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/unit/src/com/android/settings/network/ |
D | NetworkProviderCallsSmsControllerTest.java | 170 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/accounts/ |
D | AccountSyncPreferenceControllerTest.java | 105 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/wifi/tether/ |
D | WifiTetherApBandPreferenceControllerTest.java | 98 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/unit/src/com/android/settings/deviceinfo/ |
D | DeviceNamePreferenceControllerTest.java | 114 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()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | WifiTetherBasePreferenceControllerTest.java | 72 protected String getSummary() { in getSummary() method in WifiTetherBasePreferenceControllerTest.TestWifiTetherBasePreferenceController 117 assertThat(mPreference.getSummary()).isEqualTo(DEFAULT_SUMMARY); in noSummaryToShow_defaultSummarySet_shouldShowDefaultSummary() 126 assertThat(mPreference.getSummary()).isEqualTo(null); in noSummaryToShow_defaultSummaryNotSet_shouldNotShowSummary() 135 assertThat(mPreference.getSummary()).isEqualTo(SUMMARY); in summaryToShow_defaultSummarySet_shouldShowNonDefaultSummary() 144 assertThat(mPreference.getSummary()).isEqualTo(SUMMARY); in summaryToShow_defaultSummaryNotSet_shouldShowNonDefaultSummary()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoPreferenceController.java | 98 public CharSequence getSummary() { in getSummary() method in ImeiInfoPreferenceController 99 return getSummary(0); in getSummary() 102 private CharSequence getSummary(int simSlot) { in getSummary() method in ImeiInfoPreferenceController 132 Sliceable.setCopyContent(mContext, getSummary(0), getTitle(0)); in copy() 137 preference.setSummary(getSummary(simSlot)); in updatePreference()
|