Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherApBandPreferenceControllerTest.java85 when(mWifiManager.getCountryCode()).thenReturn("US"); in display_5GhzSupported_shouldDisplayFullList()
97 when(mWifiManager.getCountryCode()).thenReturn(null); in display_noCountryCode_shouldDisable()
109 when(mWifiManager.getCountryCode()).thenReturn("US"); in display_5GhzNotSupported_shouldDisable()
121 when(mWifiManager.getCountryCode()).thenReturn("US"); in changePreference_noDualModeWith5G_shouldUpdateValue()
148 when(mWifiManager.getCountryCode()).thenReturn("US"); in changePreference_dualModeWith5G_shouldUpdateValue()
175 when(mWifiManager.getCountryCode()).thenReturn("US"); in updateDisplay_shouldUpdateValue()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java134 if (currentAddress != null && currentAddress.getCountryCode() != null) { in computeAddress()
136 currentCountry = checkNull(currentAddress.getCountryCode()); in computeAddress()
146 String addr1CountryCode = checkNull(addr1.getCountryCode()); in computeAddress()
147 String addr2CountryCode = checkNull(addr2.getCountryCode()); in computeAddress()
342 writeUTF(dos, address.getCountryCode()); in lookupAddress()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java191 public String getCountryCode() { in getCountryCode() method in CarWifiManager
192 return mWifiManager.getCountryCode(); in getCountryCode()
DWifiTetherApBandPreferenceController.java154 String countryCode = getCarWifiManager().getCountryCode(); in is5GhzBandSupported()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
DNumberTransformer.java93 .setTransformedNumberCountryCallingCode(phoneNumber.getCountryCode()) in doAssistedDialingTransformation()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarWifiManager.java142 protected String getCountryCode() { in getCountryCode() method in ShadowCarWifiManager
/packages/apps/Dialer/java/com/android/contacts/common/
DMoreContactUtils.java109 if (util.parse(dataPart1, null).getCountryCode() == 1) { in shouldCollapsePhoneNumbers()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherApBandPreferenceController.java131 final String countryCode = mWifiManager.getCountryCode(); in is5GhzBandSupported()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherApBandPreferenceController.java131 final String countryCode = mWifiManager.getCountryCode(); in is5GhzBandSupported()
/packages/apps/Contacts/src/com/android/contacts/compat/
DPhoneNumberUtilsCompat.java161 builder.setCountryCode(Integer.toString(phoneNumber.getCountryCode())); in createTtsSpanLollipop()
/packages/apps/Contacts/src/com/android/contacts/
DMoreContactUtils.java107 if (util.parse(dataPart1, null).getCountryCode() == 1) { in shouldCollapsePhoneNumbers()
/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java117 public String getCountryCode() { in getCountryCode() method in SimCard
/packages/apps/Dialer/java/com/android/dialer/location/
DCountryDetector.java265 return addresses.get(0).getCountryCode(); in doInBackground()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsActivityCommon.java393 return parsedNumber.getCountryCode(); in doInBackground()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java877 (systemCountryCode > 0 && parsedNumber.getCountryCode() == systemCountryCode) ? in formatForDisplay()