Home
last modified time | relevance | path

Searched refs:displayName (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/time/chrono/
DChronologyDisplayNameTest.java54 String displayName = chronology.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testDisplayName() local
55 assertNotNull(displayName); in testDisplayName()
56 assertFalse("".equals(displayName)); in testDisplayName()
65 String displayName = era.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testEras() local
66 assertNotNull(displayName); in testEras()
67 assertFalse("".equals(displayName)); in testEras()
68 assertTrue("Era name for " + era + " not unique.", eraNames.add(displayName)); in testEras()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java69 private String displayName; field in NetworkInterface
272 return "".equals(displayName) ? null : displayName; in getDisplayName()
463 ni.displayName = name; in getAll()
734 if (displayName != null) { in toString()
735 result += " (" + displayName + ")"; in toString()
/libcore/ojluni/src/main/java/java/util/
DTimeZone.java411 String displayName = names.getDisplayName(canonicalID, nameType, now); in getDisplayName() local
412 if (displayName != null) { in getDisplayName()
413 return displayName; in getDisplayName()
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharset.java102 public java.lang.String displayName() { in displayName() method in Charset
110 public java.lang.String displayName(java.util.Locale locale) { in displayName() method in Charset
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneId.java283 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), displayName("UTC" + id)); in factory_of_String_offsetBasedValid_prefixUTC()
294 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), displayName("GMT" + id)); in factory_of_String_offsetBasedValid_prefixGMT()
305 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), displayName("UT" + id)); in factory_of_String_offsetBasedValid_prefixUT()
310 private String displayName(String id) { in displayName() method in TCKZoneId
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java731 public String displayName() {
759 public String displayName(Locale locale) {
/libcore/luni/src/test/java/libcore/java/util/
DLocaleTest.java213 private static void assertObsolete(String newCode, String oldCode, String displayName) { in assertObsolete() argument
224 assertEquals(displayName, newLocale.getDisplayLanguage(newLocale)); in assertObsolete()
225 assertEquals(displayName, oldLocale.getDisplayLanguage(newLocale)); in assertObsolete()
226 assertEquals(displayName, newLocale.getDisplayLanguage(oldLocale)); in assertObsolete()
227 assertEquals(displayName, oldLocale.getDisplayLanguage(oldLocale)); in assertObsolete()
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...