Home
last modified time | relevance | path

Searched refs:acceptLanguage (Results 1 – 21 of 21) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/parser/
DAcceptLanguageParser.java66 public AcceptLanguageParser(String acceptLanguage) { in AcceptLanguageParser() argument
67 super(acceptLanguage); in AcceptLanguageParser()
92 AcceptLanguage acceptLanguage = new AcceptLanguage(); in parse() local
93 acceptLanguage.setHeaderName(SIPHeaderNames.ACCEPT_LANGUAGE); in parse()
98 acceptLanguage.setLanguageRange(value.getTokenValue()); in parse()
112 acceptLanguage.setQValue(fl); in parse()
121 acceptLanguageList.add(acceptLanguage); in parse()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DULocaleTest.java682 ULocale result = ULocale.acceptLanguage("en-US, en-GB, en-CA, es-US", locales, fallback); in testAcceptLanguageStringULocaleArrayBooleanArray()
685 result = ULocale.acceptLanguage("en-US, en-GB, es-US-NEWMEXICO", locales, fallback); in testAcceptLanguageStringULocaleArrayBooleanArray()
710 ULocale result = ULocale.acceptLanguage(accept_locales, locales, fallback); in testAcceptLanguageULocaleArrayULocaleArrayBooleanArray()
713 result = ULocale.acceptLanguage(accept_locales2, locales, fallback); in testAcceptLanguageULocaleArrayULocaleArrayBooleanArray()
723 ULocale result = ULocale.acceptLanguage("en-CA, en-GB, es-US", fallback); in testAcceptLanguageStringBooleanArray()
726 result = ULocale.acceptLanguage("es-US-NEWMEXICO", fallback); in testAcceptLanguageStringBooleanArray()
744 ULocale result = ULocale.acceptLanguage(accept_locales, fallback); in testAcceptLanguageULocaleArrayBooleanArray()
747 result = ULocale.acceptLanguage(accept_locales2, fallback); in testAcceptLanguageULocaleArrayBooleanArray()
/external/nist-sip/java/javax/sip/header/
DAcceptLanguageHeader.java10 void setAcceptLanguage(Locale acceptLanguage); in setAcceptLanguage() argument
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java1866 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() method in ULocale
1880 return acceptLanguage(acceptList, availableLocales, fallback); in acceptLanguage()
1898 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[] in acceptLanguage() method in ULocale
1961 public static ULocale acceptLanguage(String acceptLanguageList, boolean[] fallback) { in acceptLanguage() method in ULocale
1962 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
1981 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, boolean[] fallback) { in acceptLanguage() method in ULocale
1982 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
1989 static ULocale[] parseAcceptLanguage(String acceptLanguage, boolean isLenient) in parseAcceptLanguage() argument
2021 acceptLanguage += ","; // append comma to simplify the parsing code in parseAcceptLanguage()
2025 for (n = 0; n < acceptLanguage.length(); n++) { in parseAcceptLanguage()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java1983 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() method in ULocale
1997 return acceptLanguage(acceptList, availableLocales, fallback); in acceptLanguage()
2016 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[] in acceptLanguage() method in ULocale
2080 public static ULocale acceptLanguage(String acceptLanguageList, boolean[] fallback) { in acceptLanguage() method in ULocale
2081 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
2101 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, boolean[] fallback) { in acceptLanguage() method in ULocale
2102 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
2109 static ULocale[] parseAcceptLanguage(String acceptLanguage, boolean isLenient) in parseAcceptLanguage() argument
2141 acceptLanguage += ","; // append comma to simplify the parsing code in parseAcceptLanguage()
2145 for (n = 0; n < acceptLanguage.length(); n++) { in parseAcceptLanguage()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java1761 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() method in ULocale
1775 return acceptLanguage(acceptList, availableLocales, fallback); in acceptLanguage()
1794 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[] in acceptLanguage() method in ULocale
1858 public static ULocale acceptLanguage(String acceptLanguageList, boolean[] fallback) { in acceptLanguage() method in ULocale
1859 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
1879 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, boolean[] fallback) { in acceptLanguage() method in ULocale
1880 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
1887 static ULocale[] parseAcceptLanguage(String acceptLanguage, boolean isLenient) in parseAcceptLanguage() argument
1918 acceptLanguage += ","; // append comma to simplify the parsing code in parseAcceptLanguage()
1922 for (n = 0; n < acceptLanguage.length(); n++) { in parseAcceptLanguage()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DHeaderFactoryImpl.java129 AcceptLanguage acceptLanguage = new AcceptLanguage(); in createAcceptLanguageHeader() local
130 acceptLanguage.setAcceptLanguage(language); in createAcceptLanguageHeader()
132 return acceptLanguage; in createAcceptLanguageHeader()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java344 String acceptLanguage = ACCEPT_LANGUAGES[i]; in TestSetLocales() local
345 logln("Accept language: " + acceptLanguage); in TestSetLocales()
348 gp.setLocales(acceptLanguage); in TestSetLocales()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java347 String acceptLanguage = ACCEPT_LANGUAGES[i]; in TestSetLocales() local
348 logln("Accept language: " + acceptLanguage); in TestSetLocales()
351 gp.setLocales(acceptLanguage); in TestSetLocales()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java1570 ULocale n = ULocale.acceptLanguage(ACCEPT_LANGUAGE_HTTP[i], r); in TestAcceptLanguage()
1680 ULocale n = ULocale.acceptLanguage(StringToULocaleArray(ACCEPT_LANGUAGE_HTTP[i]), r); in TestAcceptLanguage2()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java1567 ULocale n = ULocale.acceptLanguage(ACCEPT_LANGUAGE_HTTP[i], r); in TestAcceptLanguage()
1677 ULocale n = ULocale.acceptLanguage(StringToULocaleArray(ACCEPT_LANGUAGE_HTTP[i]), r); in TestAcceptLanguage2()
/external/icu/icu4j/tools/build/
Dicu4j55.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j57.api3.gz
Dicu4j54.api3.gz
Dicu4j59.api3.gz
Dicu4j58.api3.gz
Dicu4j61.api3.gz12;ICU4J 61.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz
Dicu4j62.api3.gz
Dicu4j63.api3.gz