Searched refs:getCandidateLocales (Results 1 – 3 of 3) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ControlTest.java | 288 List<Locale> result = control.getCandidateLocales("baseName", in test_getCandidateLocales_LStringLLocale() 301 result = control.getCandidateLocales("baseName", new Locale("one", in test_getCandidateLocales_LStringLLocale() 307 result = control.getCandidateLocales("baseName", new Locale("one", "", in test_getCandidateLocales_LStringLLocale() 313 result = control.getCandidateLocales("baseName", new Locale("", "two", in test_getCandidateLocales_LStringLLocale() 319 result = control.getCandidateLocales("baseName", new Locale("", "", in test_getCandidateLocales_LStringLLocale() 324 result = control.getCandidateLocales("baseName", new Locale("", "two", in test_getCandidateLocales_LStringLLocale() 329 result = control.getCandidateLocales("baseName", Locale.ROOT); in test_getCandidateLocales_LStringLLocale() 333 control.getCandidateLocales(null, Locale.US); in test_getCandidateLocales_LStringLLocale() 340 control.getCandidateLocales("baseName", null); in test_getCandidateLocales_LStringLLocale()
|
D | ResourceBundleTest.java | 38 assertEquals("[en_US, en, ]", c.getCandidateLocales("base", Locale.US).toString()); in test_getCandidateLocales() 39 … assertEquals("[de_CH, de, ]", c.getCandidateLocales("base", new Locale("de", "CH")).toString()); in test_getCandidateLocales()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 1353 List<Locale> candidateLocales = control.getCandidateLocales(baseName, targetLocale); in getBundleImpl() 2360 public List<Locale> getCandidateLocales(String baseName, Locale locale) { in getCandidateLocales() method in ResourceBundle.Control
|