/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/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | CaptioningAppearancePreferenceControllerTest.java | 68 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_noScale_shouldReturnDefaultSummary() 79 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_smallestScale_shouldReturnExpectedSummary() 90 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_smallScale_shouldReturnExpectedSummary() 101 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_mediumScale_shouldReturnExpectedSummary() 112 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_largeScale_shouldReturnExpectedSummary() 123 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_largestScale_shouldReturnExpectedSummary() 133 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_setByAppPreset_shouldReturnExpectedSummary() 143 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_whiteOnBlackPreset_shouldReturnExpectedSummary() 153 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_blackOnWhitePreset_shouldReturnExpectedSummary() 163 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_yellowOnBlackPreset_shouldReturnExpectedSummary() [all …]
|
D | AccessibilityHearingAidPreferenceControllerTest.java | 141 assertThat(mHearingAidPreference.getSummary().toString().contentEquals( in getSummary_connectedAshaHearingAidRightSide_connectedRightSideSummary() 159 assertThat(mHearingAidPreference.getSummary().toString().contentEquals( in getSummary_connectedAshaHearingAidBothSide_connectedBothSideSummary() 176 assertThat(mHearingAidPreference.getSummary().toString().contentEquals( in getSummary_connectedLeAudioHearingAidLeftSide_connectedLeftSideSummary() 193 assertThat(mHearingAidPreference.getSummary().toString().contentEquals( in getSummary_connectedLeAudioHearingAidRightSide_connectedRightSideSummary() 210 assertThat(mHearingAidPreference.getSummary().toString().contentEquals( in getSummary_connectedLeAudioHearingAidLeftAndRightSide_connectedSummary() 226 assertThat(mHearingAidPreference.getSummary().toString()).isEqualTo( in getSummary_connectedLeAudioHearingAidBothSide_connectedBothSideSummary() 243 assertThat(mHearingAidPreference.getSummary().toString().contentEquals( in getSummary_connectedMultipleHearingAids_connectedMultipleDevicesSummary() 255 assertThat(mHearingAidPreference.getSummary()).isEqualTo( in getSummary_bluetoothOff_disconnectedSummary() 269 assertThat(mHearingAidPreference.getSummary().toString()).isEqualTo( in onServiceConnected_onHearingAidProfileConnected_updateSummary() 283 assertThat(mHearingAidPreference.getSummary().toString()).isEqualTo( in onServiceConnected_onHapClientProfileConnected_updateSummary()
|
/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/spa_unit/src/com/android/settings/network/ |
D | NetworkProviderCallsSmsControllerTest.kt | 44 val summary = controller.getSummary( in <lambda>() 57 val summary = controller.getSummary( in <lambda>() 70 val summary = controller.getSummary( in <lambda>() 81 val summary = controller.getSummary( in <lambda>() 92 val summary = controller.getSummary( in <lambda>() 103 val summary = controller.getSummary( in <lambda>() 114 val summary = controller.getSummary( in <lambda>() 125 val summary = controller.getSummary( in <lambda>()
|
/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/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | CaCertsCurrentUserPreferenceControllerTest.java | 71 assertThat(mPreference.getSummary()).isEqualTo( in testNoInstalledCaCerts_preferenceDisabled() 86 assertThat(mPreference.getSummary()).isEqualTo( in testNoInstalledCaCerts_preferenceDisabled_zoneWrite() 101 assertThat(mPreference.getSummary()).isEqualTo( in testNoInstalledCaCerts_preferenceDisabled_zoneRead() 116 assertThat(mPreference.getSummary()).isEqualTo( in testNoInstalledCaCerts_preferenceDisabled_zoneHidden() 129 assertThat(mPreference.getSummary()).isEqualTo(mRealContext.getResources() in testInstalledCaCerts_preferenceEnabled() 142 assertThat(mPreference.getSummary()).isEqualTo(mRealContext.getResources() in testInstalledCaCerts_preferenceEnabled_zoneWrite() 156 assertThat(mPreference.getSummary()).isEqualTo(mRealContext.getResources() in testInstalledCaCerts_preferenceEnabled_zoneRead() 170 assertThat(mPreference.getSummary()).isEqualTo(mRealContext.getResources() in testInstalledCaCerts_preferenceEnabled_zoneHidden()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | SmartAutoRotatePreferenceControllerTest.java | 123 assertThat(mController.getSummary()).isEqualTo("Off"); in getSummary_settingsIsOff_returnsOff() 130 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_settingsIsOn_returnsOn() 138 assertThat(mController.getSummary()).isEqualTo("Off"); in getSummary_autoRotateOffSmartAutoRotateOn_returnsOff() 146 assertThat(mController.getSummary()).isEqualTo("On - Face-based"); in updatePreference_smartAutoRotateOn_returnsFaceBased() 155 assertThat(mController.getSummary()).isEqualTo("Off"); in getSummary_noSmartAuto_returnsOff() 165 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_noSmartAuto_returnsOn() 175 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_noCameraPermission_returnsOn() 184 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_cameraDisabled_returnsOn() 193 assertThat(mController.getSummary()).isEqualTo("On"); in getSummary_powerSaveEnabled_returnsOn()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | StoragePreferenceControllerTest.java | 114 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/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/location/ |
D | TopLevelLocationPreferenceControllerTest.java | 55 assertThat(mController.getSummary()).isEqualTo( in getSummary_whenLocationIsOff_shouldReturnStringForOff() 65 mController.getSummary(); in getSummary_whenLocationIsOn_shouldPreservePreviousText() 70 assertThat(mController.getSummary()).isEqualTo( in getSummary_whenLocationIsOn_shouldPreservePreviousText() 80 assertThat(mController.getSummary()).isEqualTo( in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() 90 assertThat(mController.getSummary()).isEqualTo( in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/security/ |
D | ScreenLockPreferenceDetailsUtilsTest.java | 118 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/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ShowOnLockscreenNotificationPreferenceControllerTest.java | 96 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/ |
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/fuelgauge/ |
D | BatterySaverControllerTest.java | 77 assertThat(mBatterySaverController.getSummary()).isEqualTo("On"); in getSummary_batterySaverOn_showSummaryOn() 86 assertThat(mBatterySaverController.getSummary()).isEqualTo("Will turn on at 15%"); in getSummary_batterySaverOffButScheduled_showSummaryScheduled() 95 assertThat(mBatterySaverController.getSummary()).isEqualTo("Off"); in getSummary_batterySaverOffButScheduledZeroPercent_showSummaryOff() 106 assertThat(mBatterySaverController.getSummary()) in getSummary_batterySaverOffButScheduledBasedOnRoutine_showSummaryBasedOnRoutine() 114 assertThat(mBatterySaverController.getSummary()).isEqualTo("Off"); in getSummary_batterySaverOff_showSummaryOff()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/ |
D | DarkModeActivationPreferenceControllerTest.java | 131 assertThat(mController.getSummary().toString()).isEqualTo("summary_on_manual"); in nightMode_toggleButton_onManual() 142 assertThat(mController.getSummary().toString()).isEqualTo("summary_off_manual"); in nightMode_toggleButton_offManual() 153 assertThat(mController.getSummary().toString()).isEqualTo("summary_on_custom"); in nightMode_toggleButton_onCustom() 164 assertThat(mController.getSummary().toString()).isEqualTo("summary_off_custom"); in nightMode_toggleButton_offCustom() 177 assertThat(mController.getSummary().toString()).isEqualTo("summary_on_custom_bedtime"); in nightMode_toggleButton_onCustomBedtime() 190 assertThat(mController.getSummary().toString()).isEqualTo("summary_off_custom_bedtime"); in nightMode_toggleButton_offCustomBedtime() 201 assertThat(mController.getSummary().toString()).isEqualTo("summary_on_auto"); in nightMode_toggleButton_onAuto() 212 assertThat(mController.getSummary().toString()).isEqualTo("summary_off_auto"); in nightMode_toggleButton_offAuto()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsDataRoleControllerTest.java | 144 assertThat(devicePref.getSummary()) in onClickDevice_hostEnabled_shouldSetDevice() 155 assertThat(devicePref.getSummary()) in onClickDeviceTwice_hostEnabled_shouldSetDeviceOnce() 169 assertThat(devicePref.getSummary()) in onClickDeviceAndRefresh_success_shouldClearSubtext() 175 assertThat(devicePref.getSummary()).isEqualTo(""); in onClickDeviceAndRefresh_success_shouldClearSubtext() 186 assertThat(devicePref.getSummary()) in onClickDeviceAndRefresh_failed_shouldShowFailureText() 192 assertThat(devicePref.getSummary()) in onClickDeviceAndRefresh_failed_shouldShowFailureText() 206 assertThat(devicePref.getSummary()) in onClickDevice_timedOut_shouldShowFailureText() 212 assertThat(devicePref.getSummary()) in onClickDevice_timedOut_shouldShowFailureText()
|
D | UsbDetailsPowerRoleControllerTest.java | 165 assertThat(pref.getSummary()) in onClick_sink_shouldSetSource() 178 assertThat(pref.getSummary()) in onClickTwice_sink_shouldSetSourceOnce() 194 assertThat(pref.getSummary()) in onClickDeviceAndRefresh_success_shouldClearSubtext() 200 assertThat(pref.getSummary()).isEqualTo(""); in onClickDeviceAndRefresh_success_shouldClearSubtext() 213 assertThat(pref.getSummary()) in onClickDeviceAndRefresh_failed_shouldShowFailureText() 219 assertThat(pref.getSummary()) in onClickDeviceAndRefresh_failed_shouldShowFailureText() 235 assertThat(pref.getSummary()) in onClickDevice_timedOut_shouldShowFailureText() 240 assertThat(pref.getSummary()) in onClickDevice_timedOut_shouldShowFailureText()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | ConversationHeaderPreferenceControllerTest.java | 139 assertEquals("", mController.getSummary()); in testGetSummary() 143 assertEquals(appRow.label, mController.getSummary()); in testGetSummary() 147 assertTrue(mController.getSummary().toString().contains(group.getName())); in testGetSummary() 148 assertTrue(mController.getSummary().toString().contains(appRow.label)); in testGetSummary() 151 assertFalse(mController.getSummary().toString().contains(group.getName())); in testGetSummary() 152 assertTrue(mController.getSummary().toString().contains(appRow.label)); in testGetSummary() 157 assertEquals("", mController.getSummary()); in testGetSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | MemtagHelperTest.java | 130 assertThat(MemtagHelper.getSummary()).isEqualTo(R.string.memtag_on); in getSummary_memtagAndZygoteSupportsMemoryTagging_memtag_on() 139 assertThat(MemtagHelper.getSummary()).isEqualTo(R.string.memtag_off_pending); in getSummary_noMemtagAndZygoteSupportsMemoryTagging_memtag_off_pending() 148 assertThat(MemtagHelper.getSummary()).isEqualTo(R.string.memtag_off); in getSummary_noMemtagAndNoZygoteSupportsMemoryTagging_memtag_off() 157 assertThat(MemtagHelper.getSummary()).isEqualTo(R.string.memtag_on_pending); in getSummary_memtagAndNoZygoteSupportsMemoryTagging_memtag_on_pending() 166 assertThat(MemtagHelper.getSummary()).isEqualTo(R.string.memtag_force_off); in getSummary_forceOffOverride_memtag_force_off() 175 assertThat(MemtagHelper.getSummary()).isEqualTo(R.string.memtag_force_on); in getSummary_forceOffOverride_memtag_force_on()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/development/bluetooth/ |
D | BluetoothStackLogPreferenceControllerTest.java | 96 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in verifyDefaultState_enablesDefaultLogLevelEntriesAndValuesSameSize() 117 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in onPreferenceChanged_enableBluetoothStackVerboseLogLevel() 138 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in onPreferenceChanged_enableBluetoothStackDebugLogLevel() 159 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in onPreferenceChanged_enableBluetoothStackInfoLogLevel() 181 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in onPreferenceChanged_enableBluetoothStackWarnLogLevel() 202 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in onPreferenceChanged_enableBluetoothStackErrorLogLevel() 216 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries[mController in onDeveloperOptionsDisabled_shouldDisablePreference()
|
/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()
|