/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 113 public int countryCode; field in SmsNumberUtils.NumberEntry 205 int countryCode = numberEntry.countryCode; in formatNumber() local 208 && networkPortionNumber.length() >= 11 && countryCode != NANP_CC) { in formatNumber() 414 int countryCode = -1; in checkInternationalNumberPlan() local 422 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { in checkInternationalNumberPlan() 423 numberEntry.countryCode = countryCode; in checkInternationalNumberPlan() 426 } else if ((countryCode = getCountryCode(context, numberNoNBPCD)) > 0) { in checkInternationalNumberPlan() 427 numberEntry.countryCode = countryCode; in checkInternationalNumberPlan() 434 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { in checkInternationalNumberPlan() 435 numberEntry.countryCode = countryCode; in checkInternationalNumberPlan() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiCountryCode.java | 75 String countryCode = intent.getStringExtra(TelephonyManager.EXTRA_NETWORK_COUNTRY); in WifiCountryCode() 77 setCountryCodeAndUpdate(countryCode); in WifiCountryCode() 125 synchronized void enableForceCountryCode(String countryCode) { in enableForceCountryCode() argument 126 if (TextUtils.isEmpty(countryCode)) { in enableForceCountryCode() 131 mTelephonyCountryCode = countryCode.toUpperCase(Locale.US); in enableForceCountryCode() 158 private boolean setCountryCode(String countryCode) { in setCountryCode() argument 163 Log.d(TAG, "Set telephony country code to: " + countryCode); in setCountryCode() 167 if (TextUtils.isEmpty(countryCode)) { in setCountryCode() 174 mTelephonyCountryCode = countryCode.toUpperCase(Locale.US); in setCountryCode() 186 private boolean setCountryCodeAndUpdate(String countryCode) { in setCountryCodeAndUpdate() argument [all …]
|
D | WifiShellCommand.java | 328 String countryCode = getNextArgRequired(); in onCommand() local 329 if (!(countryCode.length() == 2 in onCommand() 330 && countryCode.chars().allMatch(Character::isLetter))) { in onCommand() 335 mWifiCountryCode.enableForceCountryCode(countryCode); in onCommand()
|
D | SoftApManager.java | 167 String countryCode, in SoftApManager() argument 179 mCountryCode = countryCode; in SoftApManager()
|
D | WifiNative.java | 2004 public boolean setCountryCode(@NonNull String ifaceName, String countryCode) { 2005 return mSupplicantStaIfaceHal.setCountryCode(ifaceName, countryCode); 2968 public boolean setCountryCodeHal(@NonNull String ifaceName, String countryCode) { 2969 return mWifiVendorHal.setCountryCodeHal(ifaceName, countryCode);
|
D | WifiVendorHal.java | 1493 public boolean setCountryCodeHal(@NonNull String ifaceName, String countryCode) { in setCountryCodeHal() argument 1494 if (countryCode == null) return boolResult(false); in setCountryCodeHal() 1495 if (countryCode.length() != 2) return boolResult(false); in setCountryCodeHal() 1498 code = NativeUtil.stringToByteArray(countryCode); in setCountryCodeHal()
|
D | ClientModeImpl.java | 746 BackupManagerProxy backupManagerProxy, WifiCountryCode countryCode, in ClientModeImpl() argument 810 mCountryCode = countryCode; in ClientModeImpl()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneData.java | 386 final String countryCode = fields[0]; in loadTzsInZoneTab() local 399 if (countryCode == null && !timeZoneId.startsWith("Etc/GMT")) { in loadTzsInZoneTab() 406 String country = mCountryCodeToNameMap.get(countryCode); in loadTzsInZoneTab() 408 country = getCountryNames(lang, countryCode); in loadTzsInZoneTab() 409 mCountryCodeToNameMap.put(countryCode, country); in loadTzsInZoneTab() 482 private String getCountryNames(String lang, String countryCode) { in getCountryNames() argument 485 if (PALESTINE_COUNTRY_CODE.equalsIgnoreCase(countryCode)) { in getCountryNames() 488 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale); in getCountryNames() 491 if (!countryCode.equals(countryDisplayName)) { in getCountryNames() 506 if (mBackupCountryCodes[i].equals(countryCode)) { in getCountryNames() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberFormattingTextWatcher.java | 70 public PhoneNumberFormattingTextWatcher(String countryCode) { in PhoneNumberFormattingTextWatcher() argument 71 if (countryCode == null) throw new IllegalArgumentException(); in PhoneNumberFormattingTextWatcher() 72 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode); in PhoneNumberFormattingTextWatcher()
|
D | PhoneNumberRange.java | 72 public PhoneNumberRange(@NonNull String countryCode, @NonNull String prefix, in PhoneNumberRange() argument 75 if (!Pattern.matches("[0-9]*", countryCode)) { in PhoneNumberRange() 81 mCountryCode = countryCode; in PhoneNumberRange()
|
D | PhoneNumberUtils.java | 3035 public CountryCallingCodeAndNewIndex(int countryCode, int newIndex) { in CountryCallingCodeAndNewIndex() argument 3036 this.countryCallingCode = countryCode; in CountryCallingCodeAndNewIndex()
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | CivicLocation.java | 72 public CivicLocation(@Nullable byte[] civicTLVs, @Nullable String countryCode) { in CivicLocation() argument 73 this.mCountryCode = countryCode; in CivicLocation() 74 if (countryCode == null || countryCode.length() != COUNTRY_CODE_LENGTH) { in CivicLocation()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MccTable.java | 217 String countryCode = null; in geoCountryCodeForMccMnc() local 219 countryCode = countryCodeForMccMncNoFallback(mccMnc); in geoCountryCodeForMccMnc() 221 if (TextUtils.isEmpty(countryCode)) { in geoCountryCodeForMccMnc() 223 countryCode = MccTable.countryCodeForMcc(mccMnc.mcc); in geoCountryCodeForMccMnc() 225 return countryCode; in geoCountryCodeForMccMnc()
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 99 public static @Nullable List<String> getTimeZoneIdsForCountryCode(@NonNull String countryCode) { in getTimeZoneIdsForCountryCode() argument 100 if (countryCode == null) { in getTimeZoneIdsForCountryCode() 105 timeZoneFinder.lookupCountryTimeZones(countryCode.toLowerCase()); in getTimeZoneIdsForCountryCode()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCountryCodeTest.java | 94 private void sendCountryCodeChangedBroadcast(String countryCode) { in sendCountryCodeChangedBroadcast() argument 96 intent.putExtra(TelephonyManager.EXTRA_NETWORK_COUNTRY, countryCode); in sendCountryCodeChangedBroadcast()
|
D | SoftApManagerTest.java | 188 private SoftApManager createSoftApManager(SoftApModeConfiguration config, String countryCode) { in createSoftApManager() argument 196 countryCode, in createSoftApManager() 1914 SoftApModeConfiguration softApConfig, String countryCode) throws Exception { in startSoftApAndVerifyEnabled() argument 1938 mSoftApManager = createSoftApManager(softApConfig, countryCode); in startSoftApAndVerifyEnabled()
|
/frameworks/base/services/core/java/com/android/server/emergency/ |
D | EmergencyAffordanceService.java | 87 String countryCode = intent.getStringExtra(TelephonyManager.EXTRA_NETWORK_COUNTRY); 91 NETWORK_COUNTRY_CHANGED, slotId, 0, countryCode).sendToTarget();
|
/frameworks/base/location/java/android/location/ |
D | Address.java | 267 public void setCountryCode(String countryCode) { in setCountryCode() argument 268 mCountryCode = countryCode; in setCountryCode()
|
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/ |
D | ResponderLocationTest.java | 496 String countryCode = responderLocation.getCivicLocationCountryCode(); in testLcrTestCivicLocationAddress() local 500 assertEquals("US", countryCode); in testLcrTestCivicLocationAddress()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 352 String countryCode, in updateApChannelConfig() argument 364 && countryCode == null) { in updateApChannelConfig()
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 1306 public TelephoneBuilder setCountryCode(String countryCode) { in setCountryCode() argument 1307 return setStringArgument(TtsSpan.ARG_COUNTRY_CODE, countryCode); in setCountryCode()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccProfile.java | 696 String countryCode = operator.substring(0, 3); in setExternalState() local 697 if (countryCode != null) { in setExternalState() 699 MccTable.countryCodeForMcc(countryCode)); in setExternalState()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |