Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/preference/
DListPreferenceTest.java33 assertTrue(lp.getSummary() == null); in testListPreferenceSummaryFromEntries()
36 assertEquals(entries[1], lp.getSummary()); in testListPreferenceSummaryFromEntries()
39 assertEquals(entries[2], lp.getSummary()); in testListPreferenceSummaryFromEntries()
42 assertTrue(lp.getSummary() == null); in testListPreferenceSummaryFromEntries()
45 assertEquals("The color is " + entries[2], lp.getSummary()); in testListPreferenceSummaryFromEntries()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/
DAbstractPreferenceController.java59 final CharSequence summary = getSummary(); in refreshSummary()
102 public CharSequence getSummary() { in getSummary() method in AbstractPreferenceController
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java64 assertEquals("Should be collapsed initially", "TestSummary", mItem.getSummary()); in testInitialState()
91 "getSummary should be expanded summary", "TestSummaryExpanded", mItem.getSummary()); in testExpanded()
112 assertEquals("getSummary should be collapsed summary", "TestSummary", mItem.getSummary()); in testCollapsed()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiEntryPreferenceTest.java87 when(mMockWifiEntry.getSummary(false /* concise */)).thenReturn(MOCK_SUMMARY); in setUp()
113 assertThat(pref.getSummary()).isEqualTo(MOCK_SUMMARY); in constructor_shouldSetWifiEntryTitleAndSummary()
143 when(mMockWifiEntry.getSummary(false /* concise */)).thenReturn(updatedSummary); in summaryChanged_refresh_shouldUpdateSummary()
147 assertThat(pref.getSummary()).isEqualTo(updatedSummary); in summaryChanged_refresh_shouldUpdateSummary()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/
DAbstractPreferenceControllerTest.java102 assertThat(mPreference.getSummary()).isEqualTo(TestPrefController.TEST_SUMMARY); in updateState_hasSummary_shouldSetSummary()
132 public CharSequence getSummary() { in getSummary() method in AbstractPreferenceControllerTest.TestPrefController
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
DBarView.java76 mBarSummary.setText(barViewInfo.getSummary()); in updateView()
91 CharSequence getSummary() { in getSummary() method in BarView
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilder.java436 final NotificationEntry existingSummary = group.getSummary(); in groupNotifs()
502 if (group.getSummary() != null && children.size() == 0) { in pruneIncompleteGroups()
506 NotificationEntry summary = group.getSummary(); in pruneIncompleteGroups()
513 } else if (group.getSummary() == null in pruneIncompleteGroups()
521 if (group.getSummary() != null) { in pruneIncompleteGroups()
522 final NotificationEntry summary = group.getSummary(); in pruneIncompleteGroups()
569 if (ge.getSummary() != null) { in annulAddition()
578 if (entry == entry.getParent().getSummary() in annulAddition()
623 mGroups.values().removeIf(ge -> ge.getSummary() == null && ge.getChildren().isEmpty()); in freeEmptyGroups()
DGroupEntry.java53 public NotificationEntry getSummary() { in getSummary() method in GroupEntry
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
DSuggestionTest.java66 assertThat(suggestion.getSummary()).isEqualTo(TEST_SUMMARY); in buildSuggestion_allFieldsShouldBeSet()
99 assertThat(newSuggestion.getSummary()).isEqualTo(TEST_SUMMARY); in buildSuggestion_fromParcelable()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DWifiMacAddressPreferenceControllerTest.java113 assertThat(mPreference.getSummary()) in updateConnectivity_null_setMacUnavailable()
122 assertThat(mPreference.getSummary()).isEqualTo(TEST_MAC_ADDRESS); in updateConnectivity_validMac_setValidMac()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DPhoneMediaDeviceTest.java67 assertThat(mPhoneMediaDevice.getSummary()) in updateSummary_isActiveIsTrue_returnActiveString()
75 assertThat(mPhoneMediaDevice.getSummary()).isEmpty(); in updateSummary_notActive_returnEmpty()
DInfoMediaDeviceTest.java81 assertThat(mInfoMediaDevice.getSummary()).isEqualTo(null); in getSummary_clientPackageNameIsNull_returnNull()
88 assertThat(mInfoMediaDevice.getSummary()) in getSummary_clientPackageNameIsNotNull_returnActive()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java101 public CharSequence getSummary() { in getSummary() method in Item
141 CharSequence summary = getSummary(); in onBindView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DBetterListPreference.java37 public CharSequence getSummary() { in getSummary() method in BetterListPreference
DRadioListPreference.java57 public CharSequence getSummary() { in getSummary() method in RadioListPreference
59 return super.getSummary(); in getSummary()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiEntry.java273 public String getSummary() { in getSummary() method in WifiEntry
274 return getSummary(true /* concise */); in getSummary()
286 public abstract String getSummary(boolean concise); in getSummary() method in WifiEntry
843 .append(getSummary()) in toString()
/frameworks/rs/script_api/
DGenerateHeaderFiles.cpp115 writeComment(file, name, constant.getSummary(), constant.getDescription(), in writeConstantComment()
198 writeComment(file, name, type.getSummary(), type.getDescription(), type.deprecated(), true); in writeTypeComment()
285 writeComment(file, function.getName(), function.getSummary(), function.getDescription(), in writeFunctionComment()
DGenerateDocumentation.cpp270 *stream << definition->getSummary() << "\n"; in writeSummaryTableEntry()
496 *file << " <span class='normal'>: " << constant->getSummary() << "</span>\n"; in writeDetailedConstant()
535 *file << " <span class='normal'>: " << type->getSummary() << "</span>\n"; in writeDetailedType()
564 *file << " <span class='normal'>: " << function->getSummary() << "</span>\n"; in writeDetailedFunction()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DPasspointWifiEntryTest.java101 assertThat(passpointWifiEntry.getSummary()).isNotEqualTo(expired); in testGetSummary_expiredTimeNotAvailable_notShowExpired()
115 assertThat(spyEntry.getSummary()).isEqualTo(expired); in testGetSummary_expired_showExpired()
167 assertThat(entry.getSummary()).isEqualTo("Connected"); in testGetSummary_connectedWifiNetwork_showsConnected()
/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/
DAppEntityInfo.java58 public CharSequence getSummary() { in getSummary() method in AppEntityInfo
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemTest.java127 assertEquals("Summary should be \"TestSummary\"", "TestSummary", item.getSummary()); in testProperties()
139 assertNull("Default summary should be null", item.getSummary()); in testDefaultValues()
DItemInflaterTest.java56 assertEquals("Summary of second child should be Summary2", "Summary2", child1.getSummary()); in testInflate()
/frameworks/base/core/java/android/preference/
DMultiCheckPreference.java197 public CharSequence getSummary() { in getSummary() method in MultiCheckPreference
199 return super.getSummary(); in getSummary()
DListPreference.java173 public CharSequence getSummary() { in getSummary() method in ListPreference
176 return super.getSummary(); in getSummary()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiEntryPreference.java148 setSummary(mWifiEntry.getSummary(false /* concise */)); in refresh()
243 final CharSequence summary = getSummary(); in buildContentDescription()

123