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.java142 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCode()); in resetCountryCodeWhenOutOfService()
144 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCode()); in resetCountryCodeWhenOutOfService()
147 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCode()); in resetCountryCodeWhenOutOfService()
166 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCode()); in doNotResetCountryCodeWhenOutOfService()
168 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCode()); in doNotResetCountryCodeWhenOutOfService()
171 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.java164 public synchronized String getCountryCode() { in getCountryCode() method in WifiCountryCode
DWifiInjector.java537 mFrameworkFacade, mWifiNative, mCountryCode.getCountryCode(), callback, in makeSoftApManager()
DWifiServiceImpl.java2394 public String getCountryCode() { in getCountryCode() method in WifiServiceImpl
2399 String country = mCountryCode.getCountryCode(); in getCountryCode()
/frameworks/base/services/core/java/com/android/server/location/
DLocationBasedCountryDetector.java82 country = addresses.get(0).getCountryCode(); in getCountryFromLocation()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl112 String getCountryCode(); in getCountryCode() method
DWifiManager.java2385 public String getCountryCode() {
2387 String country = mService.getCountryCode();
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java212 public String getCountryCode() { in getCountryCode() method in BaseWifiService
/frameworks/base/location/java/android/location/
DAddress.java259 public String getCountryCode() { in getCountryCode() method in Address
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1559 return pn.getCountryCode() != util.getCountryCodeForRegion(defaultCountryIso); in isInternationalNumber()
1590 (pn.getCountryCode() == util.getCountryCodeForRegion(KOREA_ISO_COUNTRY_CODE)) && in formatNumber()
1600 pn.getCountryCode() == util.getCountryCodeForRegion(JAPAN_ISO_COUNTRY_CODE) && in formatNumber()
2616 builder.setCountryCode(Integer.toString(phoneNumber.getCountryCode())); in createTtsSpan()
/frameworks/base/config/
Dboot-image-profile.txt9096 HSPLandroid/location/Address;->getCountryCode()Ljava/lang/String;
19690 HSPLcom/android/i18n/phonenumbers/Phonemetadata$PhoneMetadata;->getCountryCode()I
19745 HSPLcom/android/i18n/phonenumbers/Phonenumber$PhoneNumber;->getCountryCode()I
Dhiddenapi-greylist-max-o.txt49735 Landroid/net/wifi/IWifiManager$Stub$Proxy;->getCountryCode()Ljava/lang/String;
49869 Landroid/net/wifi/IWifiManager;->getCountryCode()Ljava/lang/String;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13681 method public java.lang.String getCountryCode();
/frameworks/base/api/
Dcurrent.txt22608 method public String getCountryCode();