/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 109 public int countryCode; field in SmsNumberUtils.NumberEntry 200 int countryCode = numberEntry.countryCode; in formatNumber() local 203 && networkPortionNumber.length() >= 11 && countryCode != NANP_CC) { in formatNumber() 380 int countryCode = -1; in checkInternationalNumberPlan() local 388 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { in checkInternationalNumberPlan() 389 numberEntry.countryCode = countryCode; in checkInternationalNumberPlan() 392 } else if ((countryCode = getCountryCode(context, numberNoNBPCD)) > 0) { in checkInternationalNumberPlan() 393 numberEntry.countryCode = countryCode; in checkInternationalNumberPlan() 400 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { in checkInternationalNumberPlan() 401 numberEntry.countryCode = countryCode; in checkInternationalNumberPlan() [all …]
|
/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiCountryCode.java | 120 public synchronized boolean setCountryCode(String countryCode) { in setCountryCode() argument 121 Log.d(TAG, "Receive set country code request: " + countryCode); in setCountryCode() 125 if (TextUtils.isEmpty(countryCode)) { in setCountryCode() 131 mTelephonyCountryCode = countryCode.toUpperCase(Locale.US); in setCountryCode()
|
D | SoftApManager.java | 125 String countryCode, in SoftApManager() argument 134 mCountryCode = countryCode; in SoftApManager()
|
D | WifiNative.java | 1806 public boolean setCountryCode(@NonNull String ifaceName, String countryCode) { in setCountryCode() argument 1807 return mSupplicantStaIfaceHal.setCountryCode(ifaceName, countryCode); in setCountryCode() 2699 public boolean setCountryCodeHal(@NonNull String ifaceName, String countryCode) { in setCountryCodeHal() argument 2700 return mWifiVendorHal.setCountryCodeHal(ifaceName, countryCode); in setCountryCodeHal()
|
D | WifiVendorHal.java | 1435 public boolean setCountryCodeHal(@NonNull String ifaceName, String countryCode) { in setCountryCodeHal() argument 1436 if (countryCode == null) return boolResult(false); in setCountryCodeHal() 1437 if (countryCode.length() != 2) return boolResult(false); in setCountryCodeHal() 1440 code = NativeUtil.stringToByteArray(countryCode); in setCountryCodeHal()
|
D | WifiServiceImpl.java | 2378 public void setCountryCode(String countryCode) { in setCountryCode() argument 2379 Slog.i(TAG, "WifiService trying to set country code to " + countryCode); in setCountryCode() 2383 mCountryCode.setCountryCode(countryCode); in setCountryCode()
|
D | ClientModeImpl.java | 771 BackupManagerProxy backupManagerProxy, WifiCountryCode countryCode, in ClientModeImpl() argument 824 mCountryCode = countryCode; in ClientModeImpl()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberFormattingTextWatcher.java | 71 public PhoneNumberFormattingTextWatcher(String countryCode) { in PhoneNumberFormattingTextWatcher() argument 72 if (countryCode == null) throw new IllegalArgumentException(); in PhoneNumberFormattingTextWatcher() 73 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode); in PhoneNumberFormattingTextWatcher()
|
D | PhoneNumberRange.java | 71 public PhoneNumberRange(@NonNull String countryCode, @NonNull String prefix, in PhoneNumberRange() argument 74 if (!Pattern.matches("[0-9]*", countryCode)) { in PhoneNumberRange() 80 mCountryCode = countryCode; in PhoneNumberRange()
|
D | PhoneNumberUtils.java | 3027 public CountryCallingCodeAndNewIndex(int countryCode, int newIndex) { in CountryCallingCodeAndNewIndex() argument 3028 this.countryCallingCode = countryCode; in CountryCallingCodeAndNewIndex()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 116 String countryCode, in updateApChannelConfig() argument 128 && countryCode == null) { in updateApChannelConfig()
|
/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/base/core/java/android/util/ |
D | TimeUtils.java | 92 public static @Nullable List<String> getTimeZoneIdsForCountryCode(@NonNull String countryCode) { in getTimeZoneIdsForCountryCode() argument 93 if (countryCode == null) { in getTimeZoneIdsForCountryCode() 98 timeZoneFinder.lookupCountryTimeZones(countryCode.toLowerCase()); in getTimeZoneIdsForCountryCode()
|
/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 | 495 String countryCode = responderLocation.getCivicLocationCountryCode(); in testLcrTestCivicLocationAddress() local 499 assertEquals("US", countryCode); in testLcrTestCivicLocationAddress()
|
/frameworks/layoutlib/bridge/src/libcore/icu/ |
D | ICU_Delegate.java | 134 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) { in getDisplayCountryNative() argument
|
/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/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 126 private SoftApManager createSoftApManager(SoftApModeConfiguration config, String countryCode) { in createSoftApManager() argument 134 countryCode, in createSoftApManager() 1065 SoftApModeConfiguration softApConfig, String countryCode) throws Exception { in startSoftApAndVerifyEnabled() argument 1069 mSoftApManager = createSoftApManager(softApConfig, countryCode); in startSoftApAndVerifyEnabled()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccProfile.java | 644 String countryCode = operator.substring(0, 3); in setExternalState() local 645 if (countryCode != null) { in setExternalState() 647 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/ ... |