HomeSort by relevance Sort by last modified time
    Searched defs:countryCode (Results 1 - 25 of 33) sorted by null

1 2

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAddress.java 15 private String countryCode;
83 return countryCode;
87 public void setCountryCode(String countryCode) {
88 this.countryCode = countryCode;
ShadowGeocoder.java 25 private String countryCode;
51 address.setCountryCode(countryCode);
85 * @param countryCode the country code for the response
87 public void setSimulatedResponse(String address, String city, String state, String zip, String countryCode) {
92 this.countryCode = countryCode;
  /libcore/luni/src/main/java/libcore/icu/
TimeZoneNames.java 150 String countryCode = locale.getCountry();
153 if (line.startsWith(countryCode)) {
  /packages/apps/Dialer/src/com/android/dialer/dialpad/
SmartDialPrefix.java 108 final String countryCode;
116 public PhoneNumberTokens(String countryCode, int countryCodeOffset, int nanpCodeOffset) {
117 this.countryCode = countryCode;
261 String countryCode = "";
273 countryCode = number.substring(1, i);
274 if (isValidCountryCode(countryCode)) {
285 countryCode = "1";
296 if (countryCode.equals("") && normalizedNumber.length() == 10){
301 } else if (countryCode.equals("1") && normalizedNumber.length() == 11)
    [all...]
  /libcore/luni/src/main/java/java/util/
Locale.java 258 private transient String countryCode;
272 this.countryCode = upperCaseCountryCode;
302 countryCode = "";
318 countryCode = country.toUpperCase(Locale.US);
343 && countryCode.equals(o.countryCode)
372 return countryCode;
399 if (countryCode.isEmpty()) {
430 localeString = toNewString("fil", countryCode, variantCode);
470 if (!countryCode.isEmpty())
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
AddressTest.java 65 String countryCode = "US";
66 address.setCountryCode(countryCode);
67 assertEquals(countryCode, address.getCountryCode());
209 "locality=null,thoroughfare=null,postalCode=95120,countryCode=null," +
  /cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyManagerTest.java 320 String countryCode = mTelephonyManager.getNetworkCountryIso();
322 assertTrue("Country code '" + countryCode + "' did not match "
324 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
332 String countryCode = mTelephonyManager.getSimCountryIso();
334 assertTrue("Country code '" + countryCode + "' did not match "
336 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
AsYouTypeFormatter.java 581 int countryCode = phoneUtil.extractCountryCode(nationalNumber, numberWithoutCountryCallingCode);
582 if (countryCode == 0) {
587 String newRegionCode = phoneUtil.getRegionCodeForCountryCode(countryCode);
589 currentMetaData = phoneUtil.getMetadataForNonGeographicalRegion(countryCode);
593 String countryCodeString = Integer.toString(countryCode);
  /frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZoneData.java 386 final String countryCode = fields[0];
399 if (countryCode == null && !timeZoneId.startsWith("Etc/GMT")) {
406 String country = mCountryCodeToNameMap.get(countryCode);
408 country = getCountryNames(lang, countryCode);
409 mCountryCodeToNameMap.put(countryCode, country);
483 private String getCountryNames(String lang, String countryCode) {
486 if (PALESTINE_COUNTRY_CODE.equalsIgnoreCase(countryCode)) {
489 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale);
492 if (!countryCode.equals(countryDisplayName)) {
507 if (mBackupCountryCodes[i].equals(countryCode)) {
    [all...]
  /libcore/luni/src/main/native/
libcore_icu_ICU.cpp 142 ScopedUtfChars countryCode(env, javaCountryCode);
143 ScopedResourceBundle currency(ures_getByKey(currencyMap.get(), countryCode.c_str(), NULL, &status));
574 jstring countryCode = env->NewStringUTF(Locale::createFromName(localeName.c_str()).getCountry());
575 jstring internationalCurrencySymbol = ICU_getCurrencyCode(env, NULL, countryCode);
576 env->DeleteLocalRef(countryCode);
577 countryCode = NULL;
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
ReverseGeocoder.java 193 String countryCode = addr1CountryCode;
195 if (!countryCode.equals(currentCountry)) {
196 closestCommonLocation += ", " + adminArea + " " + countryCode;
245 String countryCode = addr1CountryCode;
246 if (!countryCode.equals(currentCountry)) {
247 if (countryCode != null && countryCode.length() > 0) {
248 closestCommonLocation += " " + countryCode;
  /external/chromium_org/third_party/icu/source/i18n/
zstrfmt.cpp 785 UnicodeString countryCode;
786 ZoneMeta::getCanonicalCountry(utzid, countryCode);
787 if (!countryCode.isEmpty()) {
800 getLocalizedCountry(countryCode, fLocale, country);
960 ZoneMeta::getZoneIdByMetazone(mzid, countryCode, preferredID);
    [all...]
  /external/icu4c/i18n/
tzgnames.cpp 559 char countryCode[ULOC_COUNTRY_CAPACITY];
561 int32_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_INV);
562 countryCode[ccLen] = 0;
565 fLocaleDisplayNames->regionDisplayName(countryCode, country);
808 char countryCode[ULOC_COUNTRY_CAPACITY];
810 int32_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_INV);
811 countryCode[ccLen] = 0;
814 fTimeZoneNames->getReferenceZoneID(mzID, countryCode, regionalGolden)
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pService.java     [all...]
  /frameworks/base/wifi/java/android/net/wifi/
WifiStateMachine.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.artifact.repository_1.1.1.R36x_v20100901.jar 
com.ibm.icu_4.2.1.v20100412.jar 
  /prebuilts/tools/common/m2/internal/commons-lang/commons-lang/2.4/
commons-lang-2.4.jar 
  /prebuilts/tools/common/m2/internal/com/ibm/icu/icu4j/2.6.1/
icu4j-2.6.1.jar 
  /prebuilts/misc/common/icu4j/
icu4j.jar 
  /prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 

Completed in 960 milliseconds

1 2