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.java1869 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() method in ULocale
1883 return acceptLanguage(acceptList, availableLocales, fallback); in acceptLanguage()
1901 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[] in acceptLanguage() method in ULocale
1964 public static ULocale acceptLanguage(String acceptLanguageList, boolean[] fallback) { in acceptLanguage() method in ULocale
1965 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
1984 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, boolean[] fallback) { in acceptLanguage() method in ULocale
1985 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
1992 static ULocale[] parseAcceptLanguage(String acceptLanguage, boolean isLenient) in parseAcceptLanguage() argument
2024 acceptLanguage += ","; // append comma to simplify the parsing code in parseAcceptLanguage()
2028 for (n = 0; n < acceptLanguage.length(); n++) { in parseAcceptLanguage()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java1991 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() method in ULocale
2005 return acceptLanguage(acceptList, availableLocales, fallback); in acceptLanguage()
2024 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[] in acceptLanguage() method in ULocale
2088 public static ULocale acceptLanguage(String acceptLanguageList, boolean[] fallback) { in acceptLanguage() method in ULocale
2089 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
2109 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, boolean[] fallback) { in acceptLanguage() method in ULocale
2110 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
2117 static ULocale[] parseAcceptLanguage(String acceptLanguage, boolean isLenient) in parseAcceptLanguage() argument
2149 acceptLanguage += ","; // append comma to simplify the parsing code in parseAcceptLanguage()
2153 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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java1628 ULocale n = ULocale.acceptLanguage(ACCEPT_LANGUAGE_HTTP[i], r); in TestAcceptLanguage()
1738 ULocale n = ULocale.acceptLanguage(StringToULocaleArray(ACCEPT_LANGUAGE_HTTP[i]), r); in TestAcceptLanguage2()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java1631 ULocale n = ULocale.acceptLanguage(ACCEPT_LANGUAGE_HTTP[i], r); in TestAcceptLanguage()
1741 ULocale n = ULocale.acceptLanguage(StringToULocaleArray(ACCEPT_LANGUAGE_HTTP[i]), r); in TestAcceptLanguage2()
/external/icu/icu4j/tools/build/
Dicu4j57.api3.gz12;ICU4J 57.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j58.api3.gz12;ICU4J 58.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j61.api3.gz
Dicu4j59.api3.gz12;ICU4J 59.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz
Dicu4j65.api3.gz
Dicu4j64.api3.gz12;ICU4J 64.2;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j66.api3.gz
Dicu4j63.api3.gz