Home
last modified time | relevance | path

Searched refs:getDisplayName (Results 1 – 25 of 142) sorted by relevance

123456

/external/apache-harmony/support/src/test/java/tests/support/
DSupport_NetworkInterface.java34 if ((theInterface.getDisplayName() in useInterface()
36 || (theInterface.getDisplayName() in useInterface()
38 || (theInterface.getDisplayName() in useInterface()
40 || (theInterface.getDisplayName() in useInterface()
42 || (theInterface.getDisplayName().equals("MS TCP Loopback interface"))) { in useInterface()
48 if ((theInterface.getDisplayName().equals("lo")) in useInterface()
49 || (theInterface.getDisplayName().equals("teredo"))) { in useInterface()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/
DTimeZoneNameProviderICU.java19 public String getDisplayName(String ID, boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZoneNameProviderICU
30 String lstd = tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getDisplayName()
31 String ldst = tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date); in getDisplayName()
32 String sstd = tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getDisplayName()
33 String sdst = tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date); in getDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHoliday.java148 public String getDisplayName() { in getDisplayName() method in Holiday
149 return getDisplayName(ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
164 public String getDisplayName(Locale locale) in getDisplayName() method in Holiday
166 return getDisplayName(ULocale.forLocale(locale)); in getDisplayName()
181 public String getDisplayName(ULocale locale) in getDisplayName() method in Holiday
DTimeZone.java429 public final String getDisplayName() { in getDisplayName() method in TimeZone
444 public final String getDisplayName(Locale locale) { in getDisplayName() method in TimeZone
459 public final String getDisplayName(ULocale locale) { in getDisplayName() method in TimeZone
478 public final String getDisplayName(boolean daylight, int style) { in getDisplayName() method in TimeZone
479 return getDisplayName(daylight, style, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
499 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZone
500 return getDisplayName(daylight, style, ULocale.forLocale(locale)); in getDisplayName()
520 public String getDisplayName(boolean daylight, int style, ULocale locale) { in getDisplayName() method in TimeZone
597 result = tznames.getDisplayName(ZoneMeta.getCanonicalCLDRID(this), nameType, date); in _getDisplayName()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1000 String name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1002 String name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1004 String name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1014 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1016 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1018 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1028 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1030 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1032 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1042 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_TERRITORY); in TestDisplayName()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java533 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
534 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
545 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
550 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
580 abstract String getDisplayName(ULocale ol, ULocale dl); in getDisplayName() method in Collator.ServiceShim
1086 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator
1087 return getShim().getDisplayName(ULocale.forLocale(objectLocale), in getDisplayName()
1099 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator
1100 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
1111 static public String getDisplayName(Locale objectLocale) { in getDisplayName() method in Collator
[all …]
DCollatorServiceShim.java73 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() method in CollatorServiceShim.CFactory
75 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
113 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in CollatorServiceShim
115 return service.getDisplayName(id, displayLocale); in getDisplayName()
/external/junit/src/org/junit/runner/
DDescription.java102 public String getDisplayName() { in getDisplayName() method in Description
149 return getDisplayName().hashCode(); in hashCode()
157 return getDisplayName().equals(d.getDisplayName()); in equals()
162 return getDisplayName(); in toString()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTimeZoneNameTest.java102 tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : in getIcuDisplayName()
103 tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getIcuDisplayName()
107 tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : in getIcuDisplayName()
108 tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getIcuDisplayName()
118 String name = tz.getDisplayName(daylight, style, loc); in checkDisplayName()
142 name = tz.getDisplayName(daylight, style, icuLoc); in checkDisplayName()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationServiceTest.java79 String name = Collator.getDisplayName(fu_FU); in TestRegister()
88 String name = Collator.getDisplayName(fu_FU, fu_FU); in TestRegister()
137 String getDisplayName(ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.CollatorInfo
143 name = locale.getDisplayName(displayLocale); in TestRegisterFactory()
169 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.TestFactory
172 return ci.getDisplayName(displayLocale); in TestRegisterFactory()
241 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
286 String name = Collator.getDisplayName(fu_FU); in TestRegisterFactory()
291 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTest.java207 public String getDisplayName(String id, ULocale l) { in TestAPI()
272 confirmIdentical("27) get display name", service.getDisplayName("en_US_VALLEY_GEEK"), null); in TestAPI()
275 String name = service.getDisplayName("en_US_SURFER_DUDE", ULocale.US); in TestAPI()
310 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
314 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
328 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
332 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
631 public String getDisplayName(String id, ULocale locale) { in getDisplayName() method in ICUServiceTest.CalifornioLanguageFactory
657 suffix = super.getDisplayName(id, locale); in getDisplayName()
804 public String getDisplayName(String id, ULocale locale) { in TestWrapFactory() method in ICUServiceTest.WrapFactory
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHolidayTest.java93 logln("holiday: " + h.getDisplayName()); in exerciseHoliday()
94 logln("holiday in " + locale + ": " + h.getDisplayName(locale)); in exerciseHoliday()
109 errln("Error: "+h.getDisplayName()+".firstBetween("+first+", "+now+")="+second); in exerciseHoliday()
182 errln("Patience exceeded for " + h.getDisplayName() +" at " + d); in exerciseHoliday()
186 … errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); in exerciseHoliday()
332 if ("Christmas".equals(h.getDisplayName(ULocale.US))) { in TestDisplayName()
333 if ("Christmas".equals(h.getDisplayName(ULocale.GERMANY))) { in TestDisplayName()
/external/icu/icu4c/source/test/intltest/
Dsvccoll.cpp153 Collator::getDisplayName(fu_FU, displayName); in TestRegister()
164 Collator::getDisplayName(fu_FU, fu_FU, displayName); in TestRegister()
222 UnicodeString& getDisplayName(const Locale& displayLocale, UnicodeString& name) const;
239 CollatorInfo::getDisplayName(const Locale& displayLocale, UnicodeString& name) const { in getDisplayName() function in CollatorInfo
248 return locale.getDisplayName(displayLocale, name); in getDisplayName()
294 virtual UnicodeString& getDisplayName(const Locale& objectLocale, in getDisplayName() function in TestFactory
300 ci->getDisplayName(displayLocale, result); in getDisplayName()
446 Collator::getDisplayName(fu_FU, name); in TestRegisterFactory()
451 Collator::getDisplayName(fu_FU, fu_FU_FOO, name); in TestRegisterFactory()
Dicusvtst.cpp527 …virtual UnicodeString& getDisplayName(const UnicodeString& /*id*/, const Locale& /*locale*/, Unico… in getDisplayName() function in AnonymousStringFactory
589 …UnicodeString& getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString& result… in getDisplayName() function in TestMultipleKeyStringFactory
600 loc.getDisplayName(locale, result); in getDisplayName()
714 service.getDisplayName("en_US_VALLEY_GEEK", name); in testAPI_Two()
720 service.getDisplayName("en_US_SURFER_DUDE", name, Locale::getEnglish()); in testAPI_Two()
761 service.getDisplayName(actualID, displayName, Locale::getEnglish()); in testAPI_Two()
765 service.getDisplayName(id, displayName, Locale::getEnglish()); in testAPI_Two()
783 service.getDisplayName(actualID, displayName, Locale::getEnglish()); in testAPI_Two()
787 service.getDisplayName(id, displayName, Locale::getEnglish()); in testAPI_Two()
848 …UnicodeString& getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString& result… in getDisplayName() function in CalifornioLanguageFactory
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dtimezone.h635 UnicodeString& getDisplayName(UnicodeString& result) const;
650 UnicodeString& getDisplayName(const Locale& locale, UnicodeString& result) const;
664 UnicodeString& getDisplayName(UBool daylight, EDisplayType style, UnicodeString& result) const;
680 …UnicodeString& getDisplayName(UBool daylight, EDisplayType style, const Locale& locale, UnicodeStr…
/external/nist-sip/java/gov/nist/javax/sip/header/
DReplyTo.java110 public String getDisplayName() { in getDisplayName() method in ReplyTo
111 return address.getDisplayName(); in getDisplayName()
DFrom.java109 public String getDisplayName() { in getDisplayName() method in From
110 return address.getDisplayName(); in getDisplayName()
DTo.java128 public String getDisplayName() { in getDisplayName() method in To
131 return address.getDisplayName(); in getDisplayName()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DTimeZoneJDK.java79 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZoneJDK
80 return fJdkTz.getDisplayName(daylight, style, locale); in getDisplayName()
84 public String getDisplayName(boolean daylight, int style, ULocale locale) { in getDisplayName() method in TimeZoneJDK
85 return fJdkTz.getDisplayName(daylight, style, locale.toLocale()); in getDisplayName()
/external/icu/icu4c/source/i18n/
Dcoll.cpp114 CollatorFactory::getDisplayName(const Locale& objectLocale, in getDisplayName() function in CollatorFactory
118 return objectLocale.getDisplayName(displayLocale, result); in getDisplayName()
565 UnicodeString& U_EXPORT2 Collator::getDisplayName(const Locale& objectLocale, in getDisplayName() function in Collator
573 return gService->getDisplayName(locNameStr, name, displayLocale); in getDisplayName()
576 return objectLocale.getDisplayName(displayLocale, name); in getDisplayName()
579 UnicodeString& U_EXPORT2 Collator::getDisplayName(const Locale& objectLocale, in getDisplayName() function in Collator
582 return getDisplayName(objectLocale, Locale::getDefault(), name); in getDisplayName()
727 getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString& result) const;
749 CFactory::getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString& result) cons… in getDisplayName() function in CFactory
757 return _delegate->getDisplayName(loc, locale, result); in getDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUService.java255 public String getDisplayName(String id, ULocale locale); in getDisplayName() method
322 public String getDisplayName(String identifier, ULocale locale) { in getDisplayName() method in ICUService.SimpleFactory
628 public String getDisplayName(String id) { in getDisplayName() method in ICUService
629 return getDisplayName(id, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
637 public String getDisplayName(String id, ULocale locale) { in getDisplayName() method in ICUService
641 return f.getDisplayName(id, locale); in getDisplayName()
648 return f.getDisplayName(id, locale); in getDisplayName()
718 dncache.put(f.getDisplayName(id, locale), id); in getDisplayNames()
/external/icu/icu4c/source/common/
Dserv.h266 …virtual UnicodeString& getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString…
337 …virtual UnicodeString& getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString…
696 UnicodeString& getDisplayName(const UnicodeString& id, UnicodeString& result) const;
708 …UnicodeString& getDisplayName(const UnicodeString& id, UnicodeString& result, const Locale& locale…
Dlocdispnames.cpp205 Locale::getDisplayName( UnicodeString& name ) const in getDisplayName() function in Locale
207 return this->getDisplayName(getDefault(), name); in getDisplayName()
211 Locale::getDisplayName(const Locale &displayLocale, in getDisplayName() function in Locale
249 BreakIterator::getDisplayName(const Locale& objectLocale, in getDisplayName() function in BreakIterator
252 return objectLocale.getDisplayName(name); in getDisplayName()
258 BreakIterator::getDisplayName(const Locale& objectLocale, in getDisplayName() function in BreakIterator
262 return objectLocale.getDisplayName(displayLocale, name); in getDisplayName()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DTimeZoneICU.java52 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZoneICU
53 return fIcuTz.getDisplayName(daylight, style, locale); in getDisplayName()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegression.java368 /*String name =*/ tz.getDisplayName(true, Integer.MAX_VALUE, in Test4151429()
628 z.getDisplayName(false, TimeZone.SHORT, (ULocale)null); in Test4159922()
635 z.getDisplayName((ULocale)null); in Test4159922()
857 z1.getDisplayName(false, TimeZone.SHORT), "GMT+1:30", in Test4176686()
859 z1.getDisplayName(false, TimeZone.LONG ), "GMT+01:30", in Test4176686()
861 z1.getDisplayName(true, TimeZone.SHORT), "GMT+1:30", in Test4176686()
863 z1.getDisplayName(true, TimeZone.LONG ), "GMT+01:30", in Test4176686()
865 z2.getDisplayName(false, TimeZone.SHORT), "GMT+1:30", in Test4176686()
867 z2.getDisplayName(false, TimeZone.LONG ), "GMT+01:30", in Test4176686()
869 z2.getDisplayName(true, TimeZone.SHORT), "GMT+2:15", in Test4176686()
[all …]

123456