Home
last modified time | relevance | path

Searched refs:getCountryCode (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java137 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCode()); in resetCountryCodeWhenOutOfService()
139 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCode()); in resetCountryCodeWhenOutOfService()
142 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCode()); in resetCountryCodeWhenOutOfService()
161 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCode()); in doNotResetCountryCodeWhenOutOfService()
163 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCode()); in doNotResetCountryCodeWhenOutOfService()
166 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCode()); in doNotResetCountryCodeWhenOutOfService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsNumberUtils.java388 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { in checkInternationalNumberPlan()
392 } else if ((countryCode = getCountryCode(context, numberNoNBPCD)) > 0) { in checkInternationalNumberPlan()
400 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { in checkInternationalNumberPlan()
408 if ((countryCode = getCountryCode(context, numberNoIDD)) > 0) { in checkInternationalNumberPlan()
416 if (!number.startsWith("0") && (countryCode = getCountryCode(context, number)) > 0) { in checkInternationalNumberPlan()
427 private static int getCountryCode(Context context, String number) { in getCountryCode() method in SmsNumberUtils
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbHIDDescriptor.java47 public byte getCountryCode() { in getCountryCode() method in UsbHIDDescriptor
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java155 public synchronized String getCountryCode() { in getCountryCode() method in WifiCountryCode
DWifiInjector.java466 mFrameworkFacade, mWifiNative, mCountryCode.getCountryCode(), callback, in makeSoftApManager()
DWifiServiceImpl.java2174 public String getCountryCode() { in getCountryCode() method in WifiServiceImpl
2179 String country = mCountryCode.getCountryCode(); in getCountryCode()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl106 String getCountryCode(); in getCountryCode() method
DWifiManager.java1743 public String getCountryCode() {
1745 String country = mService.getCountryCode();
/frameworks/base/services/core/java/com/android/server/location/
DLocationBasedCountryDetector.java82 country = addresses.get(0).getCountryCode(); in getCountryFromLocation()
/frameworks/base/location/java/android/location/
DAddress.java259 public String getCountryCode() { in getCountryCode() method in Address
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1553 return pn.getCountryCode() != util.getCountryCodeForRegion(defaultCountryIso); in isInternationalNumber()
1584 (pn.getCountryCode() == util.getCountryCodeForRegion(KOREA_ISO_COUNTRY_CODE)) && in formatNumber()
1594 pn.getCountryCode() == util.getCountryCodeForRegion(JAPAN_ISO_COUNTRY_CODE) && in formatNumber()
2623 builder.setCountryCode(Integer.toString(phoneNumber.getCountryCode())); in createTtsSpan()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3753 Landroid/net/wifi/WifiManager;->getCountryCode()Ljava/lang/String;
Dboot-image-profile.txt24334 HSPLandroid/location/Address;->getCountryCode()Ljava/lang/String;
26539 HSPLandroid/net/wifi/IWifiManager;->getCountryCode()Ljava/lang/String;
37730 HSPLcom/android/i18n/phonenumbers/Phonemetadata$PhoneMetadata;->getCountryCode()I
37783 HSPLcom/android/i18n/phonenumbers/Phonenumber$PhoneNumber;->getCountryCode()I
Dhiddenapi-public-dex.txt19475 Landroid/location/Address;->getCountryCode()Ljava/lang/String;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13681 method public java.lang.String getCountryCode();
/frameworks/base/api/
Dcurrent.txt21503 method public java.lang.String getCountryCode();