Home
last modified time | relevance | path

Searched refs:mCountryCode (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java47 private final String mCountryCode; field in SimCard
64 mCountryCode = other.mCountryCode; in SimCard()
79 mCountryCode = countryCode != null ? countryCode.toUpperCase(Locale.US) : null; in SimCard()
106 return PhoneNumberUtils.formatNumber(mPhoneNumber, mCountryCode); in getFormattedPhone()
114 return mCountryCode; in getCountryCode()
208 Objects.equals(mCountryCode, simCard.mCountryCode); in equals()
213 int result = Objects.hash(mSimId, mPhoneNumber, mCountryCode); in hashCode()
228 ", mCountryCode='" + mCountryCode + '\'' + in toString()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkService.java43 @Nullable private ThreadNetworkCountryCode mCountryCode; field in ThreadNetworkService
64 mContext, mPersistentSettings, () -> mCountryCode.getCountryCode()); in onBootPhase()
65 mCountryCode = in onBootPhase()
73 mCountryCode.initialize(); in onBootPhase()
78 requireNonNull(mCountryCode)); in onBootPhase()
119 if (mCountryCode != null) { in dump()
120 mCountryCode.dump(fd, pw, args); in dump()
DThreadNetworkCountryCode.java139 private String mCountryCode; field in ThreadNetworkCountryCode.CountryCodeInfo
158 mCountryCode = countryCode; in CountryCodeInfo()
177 return mCountryCode; in getCountryCode()
185 return Objects.equals(countryCodeInfo.mCountryCode, mCountryCode); in isCountryCodeMatch()
191 + mCountryCode in toString()
DThreadNetworkShellCommand.java67 private final ThreadNetworkCountryCode mCountryCode; field in ThreadNetworkShellCommand
79 mCountryCode = countryCode; in ThreadNetworkShellCommand()
258 mCountryCode.setOverrideCountryCode(countryCode); in forceCountryCode()
260 mCountryCode.clearOverrideCountryCode(); in forceCountryCode()
267 getOutputWriter().println("Thread country code = " + mCountryCode.getCountryCode()); in getCountryCode()
/packages/modules/Uwb/ranging/framework/java/android/ranging/uwb/
DUwbRangingCapabilities.java60 private final String mCountryCode; field in UwbRangingCapabilities
75 mCountryCode = builder.mCountryCode; in UwbRangingCapabilities()
97 mCountryCode = in.readString(); in UwbRangingCapabilities()
253 return mCountryCode; in getCountryCode()
278 dest.writeString(mCountryCode); in writeToParcel()
299 private String mCountryCode; field in UwbRangingCapabilities.Builder
459 this.mCountryCode = countryCode; in setCountryCode()
502 + mCountryCode in toString()
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
DCivicLocation.java60 private final String mCountryCode; // Two character country code (ISO 3166 standard). field in CivicLocation
74 this.mCountryCode = countryCode; in CivicLocation()
91 mCountryCode = in.readString(); in CivicLocation()
115 parcel.writeString(mCountryCode); in writeToParcel()
215 String addressLine4 = mCountryCode; in toAddress()
232 address.setCountryCode(mCountryCode); // Country in toAddress()
263 && Objects.equals(mCountryCode, other.mCountryCode) in equals()
271 return Objects.hash(mIsValid, mCountryCode, Arrays.hashCode(civicAddressKeys), in hashCode()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApModeConfiguration.java38 private final String mCountryCode; field in SoftApModeConfiguration
60 mCountryCode = countryCode; in SoftApModeConfiguration()
77 return mCountryCode; in getCountryCode()
DSoftApManager.java196 private String mCountryCode; field in SoftApManager
491 mCountryCode = apConfig.getCountryCode(); in SoftApManager()
510 mCountryCode, in SoftApManager()
699 mCountryCode, in getSoftApModeConfiguration()
736 pw.println("mSoftApCountryCode: " + mCountryCode); in dump()
871 if (TextUtils.isEmpty(mCountryCode)) { in setCountryCode()
882 mApInterfaceName, mCountryCode.toUpperCase(Locale.ROOT))) { in setCountryCode()
903 + " iface " + mApInterfaceName + " country " + mCountryCode); in startSoftAp()
920 mWifiNative, mCoexManager, mResourceCache, mCountryCode, in startSoftAp()
1247 if (TextUtils.isEmpty(mCountryCode) && mResourceCache in processMessageImpl()
[all …]
DWifiInjector.java167 private final WifiCountryCode mCountryCode; field in WifiInjector
541 mCountryCode = new WifiCountryCode(mContext, mActiveModeWarden, mWifiP2pMetrics, in WifiInjector()
553 mWifiCarrierInfoManager, mCountryCode, mWifiDialogManager, in WifiInjector()
690 mCountryCode.enableVerboseLogging(verboseEnabled); in enableVerboseLogging()
764 return mCountryCode; in getWifiCountryCode()
DWifiServiceImpl.java334 private final WifiCountryCode mCountryCode; field in WifiServiceImpl
742 mCountryCode = mWifiInjector.getWifiCountryCode(); in WifiServiceImpl()
901 mCountryCode.setTelephonyCountryCodeAndUpdate(countryCode); in checkAndStartWifi()
1086 mCountryCode.registerListener(mCountryCodeTracker); in handleBootCompleted()
2077 mCountryCode.getCountryCode(), null), requestorWs, null)) { in startSoftAp()
2112 mCountryCode.getCountryCode(), null /* request */), callingUid, packageName, null); in startTetheredHotspot()
2156 mCountryCode.getCountryCode(), request), callingUid, packageName, callback); in startTetheredHotspotRequest()
2337 mCountryCode.getCurrentDriverCountryCode())) { in onDriverCountryCodeChanged()
2339 + mCountryCode.getCurrentDriverCountryCode()); in onDriverCountryCodeChanged()
2360 if (!mCountryCode.isDriverCountryCodeWorldMode() in onDriverCountryCodeChanged()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneNumberFormatter.java35 private final String mCountryCode; field in PhoneNumberFormatter.TextWatcherLoadAsyncTask
41 mCountryCode = countryCode; in TextWatcherLoadAsyncTask()
48 return PhoneNumberFormattingTextWatcherCompat.newInstance(mCountryCode); in doInBackground()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkShellCommandTest.java88 @Mock private ThreadNetworkCountryCode mCountryCode; field in ThreadNetworkShellCommandTest
105 mShellCommand = new ThreadNetworkShellCommand(mContext, mControllerService, mCountryCode); in setUp()
128 when(mCountryCode.getCountryCode()).thenReturn("US"); in getCountryCode_testingPermissionIsChecked()
139 when(mCountryCode.getCountryCode()).thenReturn("US"); in getCountryCode_currentCountryCodePrinted()
159 verify(mCountryCode).setOverrideCountryCode(eq("US")); in forceSetCountryCodeEnabled_countryCodeIsOverridden()
166 verify(mCountryCode).clearOverrideCountryCode(); in forceSetCountryCodeDisabled_overriddenCountryCodeIsCleared()
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/
DNumberVerificationActivity.java34 private EditText mCountryCode; field in NumberVerificationActivity
60 mCountryCode = findViewById(R.id.countryCode); in onCreate()
67 new PhoneNumberRange(mCountryCode.getText().toString(), in onCreate()
/packages/modules/Uwb/ranging/uwb_backend/src/com/android/ranging/uwb/backend/internal/
DRangingCapabilities.java63 private final String mCountryCode; field in RangingCapabilities
112 this.mCountryCode = countryCode; in RangingCapabilities()
180 return mCountryCode; in getCountryCode()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DNetworkDetail.java120 private String mCountryCode; field in NetworkDetail
451 mCountryCode = country.getCountryCode(); in NetworkDetail()
564 mCountryCode = base.mCountryCode; in NetworkDetail()
703 return mCountryCode; in getCountryCode()
759 that.mRoamingConsortiums) && Objects.equals(mCountryCode, that.mCountryCode) in equals()
781 + mDtimInterval + ", mCountryCode='" + mCountryCode + '\'' in toString()
805 mAnqpDomainID, mAnqpOICount, mDtimInterval, mCountryCode, mExtendedCapabilities, in hashCode()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraSpecificationParams.java116 private final String mCountryCode; field in FiraSpecificationParams
253 mCountryCode = countryCode; in FiraSpecificationParams()
417 return mCountryCode; in getCountryCode()
479 bundle.putString(KEY_COUNTRY_CODE, mCountryCode); in toBundle()
655 private String mCountryCode = null; field in FiraSpecificationParams.Builder
958 mCountryCode = value; in setCountryCode()
1009 mCountryCode = params.mCountryCode; in Builder()
1052 mCountryCode, in build()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbCountryCode.java130 private String mCountryCode = null; field in UwbCountryCode
602 if (!forceUpdate && Objects.equals(country, mCountryCode)) { in setCountryCode()
604 return new Pair<>(STATUS_CODE_OK, mCountryCode); in setCountryCode()
611 mCountryCode = country; in setCountryCode()
634 return mCountryCode; in getCountryCode()
711 pw.println("mCountryCode: " + mCountryCode); in dump()
/packages/modules/Uwb/ranging/service/java/com/android/server/ranging/uwb/
DUwbConfigSelector.java95 private final String mCountryCode; field in UwbConfigSelector
156 mCountryCode = capabilities.getCountryCode(); in UwbConfigSelector()
258 .setCountryCode(mCountryCode) in getPeerConfigs()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java2839 public String mCountryCode = "00"; field in InformationElementUtil.Country
2866 mCountryCode = (String.valueOf(letter1) + letter2).toUpperCase(Locale.US); in from()
2884 return mCountryCode; in getCountryCode()