Home
last modified time | relevance | path

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

123

/frameworks/base/tests/net/java/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 …]
/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/support/preference/src/androidTest/java/androidx/preference/tests/
DExpandablePreferenceTest.java84 assertEquals("Preference 2, Preference 3", preferenceGroupAdapter.getItem(1).getSummary()); in expandablePreference_inPreferenceScreen_collapsesCorrectly()
108 assertEquals("Preference 2, Preference 3", preferenceGroupAdapter.getItem(2).getSummary()); in expandablePreference_inCategory_collapsesCorrectly()
135 assertEquals("Preference 2, Preference 3", preferenceGroupAdapter.getItem(3).getSummary()); in expandablePreference_inNestedCategory_collapsesCorrectly()
161 assertEquals("Preference 2, Preference 3", preferenceGroupAdapter.getItem(2).getSummary()); in expandablePreference_inCategoryContainingAnotherCategory_collapsesCorrectly()
174 assertEquals(title, preferenceGroupAdapter.getItem(2).getSummary()); in expandablePreference_inCategoryContainingAnotherCategory_collapsesCorrectly()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/
DAbstractPreferenceController.java50 final CharSequence summary = getSummary(); in refreshSummary()
93 public CharSequence getSummary() { in getSummary() method in AbstractPreferenceController
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java65 assertEquals("Should be collapsed initially", "TestSummary", mItem.getSummary()); in testInitialState()
92 "TestSummaryExpanded", mItem.getSummary()); in testExpanded()
112 "TestSummary", mItem.getSummary()); in testCollapsed()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/
DAbstractPreferenceControllerTest.java89 assertThat(mPreference.getSummary()).isEqualTo(TestPrefController.TEST_SUMMARY); in updateState_hasSummary_shouldSetSummary()
118 public CharSequence getSummary() { in getSummary() method in AbstractPreferenceControllerTest.TestPrefController
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
DSuggestionTest.java65 assertThat(suggestion.getSummary()).isEqualTo(TEST_SUMMARY); in buildSuggestion_allFieldsShouldBeSet()
98 assertThat(newSuggestion.getSummary()).isEqualTo(TEST_SUMMARY); in buildSuggestion_fromParcelable()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java103 public CharSequence getSummary() { in getSummary() method in Item
143 CharSequence summary = getSummary(); in onBindView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DBetterListPreference.java36 public CharSequence getSummary() { in getSummary() method in BetterListPreference
DRadioListPreference.java59 public CharSequence getSummary() { in getSummary() method in RadioListPreference
61 return super.getSummary(); in getSummary()
/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/support/preference/src/main/java/androidx/preference/
DListPreference.java173 public CharSequence getSummary() { in getSummary() method in ListPreference
176 return super.getSummary(); in getSummary()
DPreferenceManager.java654 if (!TextUtils.equals(p1.getSummary(), p2.getSummary())) { in arePreferenceContentsTheSame()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java821 public String getSummary() { in getSummary() method in AccessPoint
835 summary.append(getSummary(mContext, getDetailedState(), in getSettingsSummary()
842 summary.append(getSummary(mContext, getDetailedState(), in getSettingsSummary()
1208 public static String getSummary(Context context, String ssid, DetailedState state, in getSummary() method in AccessPoint
1265 public static String getSummary(Context context, DetailedState state, boolean isEphemeral) { in getSummary() method in AccessPoint
1266 return getSummary(context, null, state, isEphemeral, null); in getSummary()
1269 public static String getSummary(Context context, DetailedState state, boolean isEphemeral, in getSummary() method in AccessPoint
1271 return getSummary(context, null, state, isEphemeral, passpointProvider); in getSummary()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemInflaterTest.java57 child1.getSummary()); in testInflate()
DItemTest.java130 assertEquals("Summary should be \"TestSummary\"", "TestSummary", item.getSummary()); in testProperties()
142 assertNull("Default summary should be null", item.getSummary()); in testDefaultValues()
/frameworks/base/core/java/android/preference/
DMultiCheckPreference.java190 public CharSequence getSummary() { in getSummary() method in MultiCheckPreference
192 return super.getSummary(); in getSummary()
DListPreference.java164 public CharSequence getSummary() { in getSummary() method in ListPreference
167 return super.getSummary(); in getSummary()
DTwoStatePreference.java210 final CharSequence summary = getSummary(); in syncSummaryView()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DSerialNumberPreferenceControllerTest.java85 assertThat(mPreference.getSummary()).isEqualTo(serial); in testDisplay_hasSerial_shouldSetSummary()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DAccessPointPreferenceTest.java71 when(pref.getSummary()).thenReturn(summary); in refresh_openNetwork_updateContentDescription()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java71 public CharSequence getSummary() { in getSummary() method in ExpandableSwitchItem
/frameworks/base/core/java/android/service/settings/suggestions/
DSuggestion.java83 public CharSequence getSummary() { in getSummary() method in Suggestion
/frameworks/support/preference/src/androidTest/java/androidx/preference/
DPreferenceGroupInitialExpandedChildrenCountTest.java180 assertEquals(summary, expandButton.getSummary()); in createPreferenceGroupAdapter_setExpandButtonSummary()
200 assertEquals(summary, expandButton.getSummary()); in createPreferenceGroupAdapter_expandButtonSummaryShouldListVisiblePreferencesOnly()

123