OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:countryCode
(Results
1 - 25
of
30
) 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/
SmartDialTrie.java
58
final String
countryCode
;
61
public CountryCodeWithOffset(int offset, String
countryCode
) {
62
this.
countryCode
=
countryCode
;
161
if ((code.
countryCode
.equals("1") || code.offset == 0) && mFormatNanp) {
195
final String
countryCode
= number.substring(1, i);
196
if (isValidCountryCode(
countryCode
)) {
197
return new CountryCodeWithOffset(i,
countryCode
);
451
private static boolean isValidCountryCode(String
countryCode
) {
455
return sCountryCodes.contains(
countryCode
);
[
all
...]
/libcore/luni/src/main/java/java/util/
Locale.java
236
private transient String
countryCode
;
250
this.
countryCode
= upperCaseCountryCode;
280
countryCode
= "";
296
countryCode
= country.toUpperCase(Locale.US);
321
&&
countryCode
.equals(o.
countryCode
)
350
return
countryCode
;
377
if (
countryCode
.isEmpty()) {
408
localeString = toNewString("fil",
countryCode
, variantCode);
448
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
314
String
countryCode
= mTelephonyManager.getNetworkCountryIso();
316
assertTrue("Country code '" +
countryCode
+ "' did not match "
318
Pattern.matches(ISO_COUNTRY_CODE_PATTERN,
countryCode
));
326
String
countryCode
= mTelephonyManager.getSimCountryIso();
328
assertTrue("Country code '" +
countryCode
+ "' did not match "
330
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));
609
jstring
countryCode
= env->NewStringUTF(Locale::createFromName(localeName.c_str()).getCountry());
610
jstring internationalCurrencySymbol = ICU_getCurrencyCode(env, NULL,
countryCode
);
611
env->DeleteLocalRef(
countryCode
);
612
countryCode
= NULL;
[
all
...]
/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/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);
810
char
countryCode
[ULOC_COUNTRY_CAPACITY];
812
int32_t ccLen = usCountryCode.extract(0, usCountryCode.length(),
countryCode
, sizeof(
countryCode
), US_INV);
813
countryCode
[ccLen] = 0;
816
fTimeZoneNames->getReferenceZoneID(mzID,
countryCode
, regionalGolden)
[
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/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
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/4/
android.jar
Completed in 2432 milliseconds
1
2