Home
last modified time | relevance | path

Searched refs:setCountryCode (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java74 when(mWifiNative.setCountryCode(any(), anyString())).thenReturn(true); in setUp()
111 verify(mWifiNative).setCountryCode(any(), anyString()); in useDefaultCountryCode()
126 verify(mWifiNative).setCountryCode(any(), anyString()); in useTelephonyCountryCodeOnBootup()
142 verify(mWifiNative).setCountryCode(any(), anyString()); in useTelephonyCountryCodeOnChange()
159 verify(mWifiNative, times(2)).setCountryCode(any(), anyString()); in telephonyCountryCodeChangeAfterSupplicantStarts()
179 verify(mWifiNative, times(2)).setCountryCode(any(), anyString()); in telephonyCountryCodeChangeAfterL2Connected()
241 verify(mWifiNative).setCountryCode(any(), eq(oemCountryCodeUpper)); in useUSLocaleForConversionToUpperCase()
245 verify(mWifiNative).setCountryCode(any(), eq(telephonyCountryCodeUpper)); in useUSLocaleForConversionToUpperCase()
DSupplicantStaIfaceHalTest.java1494 when(mISupplicantStaIfaceMock.setCountryCode(any(byte[].class))).thenReturn(mStatusSuccess); in testSetCountryCode()
1498 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, testCountryCode)); in testSetCountryCode()
1499 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode()
1503 assertTrue(mDut.setCountryCode(WLAN0_IFACE_NAME, testCountryCode)); in testSetCountryCode()
1504 verify(mISupplicantStaIfaceMock).setCountryCode(eq(testCountryCode.getBytes())); in testSetCountryCode()
1509 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, null)); in testSetCountryCode()
1510 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode()
1512 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, "U")); in testSetCountryCode()
1513 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode()
DWifiVendorHalTest.java1383 when(mIWifiApIface.setCountryCode(any())) in testSetCountryCodeHal()
1395 verify(mIWifiApIface).setCountryCode(eq(expected)); in testSetCountryCodeHal()
1405 when(mIWifiApIface.setCountryCode(any())) in testRemoteExceptionIsHandled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java98 setCountryCode(mTelephonyManager.getNetworkCountryIso()); in initializeTelephonyCountryCodeIfNeeded()
158 private boolean setCountryCode(String countryCode) { in setCountryCode() method in WifiCountryCode
187 if (!setCountryCode(countryCode)) return false; in setCountryCodeAndUpdate()
273 if (mWifiNative.setCountryCode(mWifiNative.getClientInterfaceName(), country)) { in setCountryCodeNative()
DSoftApManager.java365 private int setCountryCode() { in setCountryCode() method in SoftApManager
410 result = setCountryCode(); in startSoftAp()
DSupplicantStaIfaceHal.java2147 public boolean setCountryCode(@NonNull String ifaceName, String codeStr) { in setCountryCode() method in SupplicantStaIfaceHal
2152 return setCountryCode(ifaceName, countryCodeBytes); in setCountryCode()
2157 private boolean setCountryCode(@NonNull String ifaceName, byte[/* 2 */] code) { in setCountryCode() method in SupplicantStaIfaceHal
2163 SupplicantStatus status = iface.setCountryCode(code); in setCountryCode()
DWifiNative.java2004 public boolean setCountryCode(@NonNull String ifaceName, String countryCode) {
2005 return mSupplicantStaIfaceHal.setCountryCode(ifaceName, countryCode);
DWifiVendorHal.java1506 WifiStatus status = iface.setCountryCode(code); in setCountryCodeHal()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DCivicLocation.java231 address.setCountryCode(mCountryCode); // Country in toAddress()
/frameworks/base/location/java/android/location/
DAddress.java267 public void setCountryCode(String countryCode) { in setCountryCode() method in Address
/frameworks/base/core/java/android/text/style/
DTtsSpan.java1306 public TelephoneBuilder setCountryCode(String countryCode) { in setCountryCode() method in TtsSpan.TelephoneBuilder
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java2622 builder.setCountryCode(Integer.toString(phoneNumber.getCountryCode())); in createTtsSpan()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13702 method public void setCountryCode(java.lang.String);
30942 method public android.text.style.TtsSpan.TelephoneBuilder setCountryCode(java.lang.String);
/frameworks/base/config/
Dboot-image-profile.txt27369 HSPLcom/android/i18n/phonenumbers/Phonemetadata$PhoneMetadata;->setCountryCode(I)Lcom/android/i18n/…
27414 HSPLcom/android/i18n/phonenumbers/Phonenumber$PhoneNumber;->setCountryCode(I)Lcom/android/i18n/phon…
/frameworks/base/api/
Dcurrent.txt23430 method public void setCountryCode(String);
50807 method public android.text.style.TtsSpan.TelephoneBuilder setCountryCode(String);