Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java58 when(mWifiNative.setCountryCode(any(), anyString())).thenReturn(true); in setUp()
76 verify(mWifiNative).setCountryCode(any(), anyString()); in useDefaultCountryCode()
86 mWifiCountryCode.setCountryCode(mTelephonyCountryCode); in useTelephonyCountryCode()
92 verify(mWifiNative).setCountryCode(any(), anyString()); in useTelephonyCountryCode()
106 mWifiCountryCode.setCountryCode(mTelephonyCountryCode); in setTelephonyCountryCodeAfterSupplicantStarts()
109 verify(mWifiNative, times(2)).setCountryCode(any(), anyString()); in setTelephonyCountryCodeAfterSupplicantStarts()
124 mWifiCountryCode.setCountryCode(mTelephonyCountryCode); in setTelephonyCountryCodeAfterL2Connected()
129 verify(mWifiNative, times(2)).setCountryCode(any(), anyString()); in setTelephonyCountryCodeAfterL2Connected()
143 mWifiCountryCode.setCountryCode(mTelephonyCountryCode); in resetCountryCodeWhenOutOfService()
146 mWifiCountryCode.setCountryCode(""); in resetCountryCodeWhenOutOfService()
[all …]
DSupplicantStaIfaceHalTest.java1659 when(mISupplicantStaIfaceMock.setCountryCode(any(byte[].class))).thenReturn(mStatusSuccess); in testSetCountryCode()
1663 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, testCountryCode)); in testSetCountryCode()
1664 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode()
1668 assertTrue(mDut.setCountryCode(WLAN0_IFACE_NAME, testCountryCode)); in testSetCountryCode()
1669 verify(mISupplicantStaIfaceMock).setCountryCode(eq(testCountryCode.getBytes())); in testSetCountryCode()
1674 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, null)); in testSetCountryCode()
1675 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode()
1677 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, "U")); in testSetCountryCode()
1678 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode()
DWifiServiceImplTest.java3113 mWifiServiceImpl.setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCode()
3114 verify(mWifiCountryCode).setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCode()
3127 mWifiServiceImpl.setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCodeFailsWithoutNetworkStackPermission()
3128 verify(mWifiCountryCode, never()).setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCodeFailsWithoutNetworkStackPermission()
DWifiVendorHalTest.java1337 when(mIWifiApIface.setCountryCode(any())) in testSetCountryCodeHal()
1349 verify(mIWifiApIface).setCountryCode(eq(expected)); in testSetCountryCodeHal()
1359 when(mIWifiApIface.setCountryCode(any())) in testRemoteExceptionIsHandled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java139 public synchronized boolean setCountryCode(String countryCode) { in setCountryCode() method in WifiCountryCode
236 if (mWifiNative.setCountryCode(mWifiNative.getClientInterfaceName(), country)) { in setCountryCodeNative()
DSupplicantStaIfaceHal.java2059 public boolean setCountryCode(@NonNull String ifaceName, String codeStr) { in setCountryCode() method in SupplicantStaIfaceHal
2064 return setCountryCode(ifaceName, countryCodeBytes); in setCountryCode()
2069 private boolean setCountryCode(@NonNull String ifaceName, byte[/* 2 */] code) { in setCountryCode() method in SupplicantStaIfaceHal
2075 SupplicantStatus status = iface.setCountryCode(code); in setCountryCode()
DWifiNative.java1807 public boolean setCountryCode(@NonNull String ifaceName, String countryCode) { in setCountryCode() method in WifiNative
1808 return mSupplicantStaIfaceHal.setCountryCode(ifaceName, countryCode); in setCountryCode()
DWifiServiceImpl.java2420 public void setCountryCode(String countryCode) { in setCountryCode() method in WifiServiceImpl
2425 mCountryCode.setCountryCode(countryCode); in setCountryCode()
DWifiVendorHal.java1448 WifiStatus status = iface.setCountryCode(code); in setCountryCodeHal()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl110 void setCountryCode(String country); in setCountryCode() method
DWifiManager.java2403 public void setCountryCode(@NonNull String country) {
2405 mService.setCountryCode(country);
/frameworks/base/wifi/java/android/net/wifi/rtt/
DCivicLocation.java231 address.setCountryCode(mCountryCode); // Country in toAddress()
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java207 public void setCountryCode(String country) { in setCountryCode() method in BaseWifiService
/frameworks/base/location/java/android/location/
DAddress.java267 public void setCountryCode(String countryCode) { in setCountryCode() method in Address
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java981 mWifiManager.setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCode()
982 verify(mWifiService).setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCode()
991 doThrow(new SecurityException()).when(mWifiService).setCountryCode(anyString()); in testSetWifiCountryCodeFailedOnSecurityException()
992 mWifiManager.setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCodeFailedOnSecurityException()
/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/config/
Dboot-image-profile.txt10783 HSPLandroid/net/wifi/IWifiManager$Stub$Proxy;->setCountryCode(Ljava/lang/String;)V
10963 HSPLandroid/net/wifi/WifiManager;->setCountryCode(Ljava/lang/String;)V
19711 HSPLcom/android/i18n/phonenumbers/Phonemetadata$PhoneMetadata;->setCountryCode(I)Lcom/android/i18n/…
19753 HSPLcom/android/i18n/phonenumbers/Phonenumber$PhoneNumber;->setCountryCode(I)Lcom/android/i18n/phon…
Dhiddenapi-greylist-max-o.txt46412 Landroid/net/wifi/IWifiManager$Stub$Proxy;->setCountryCode(Ljava/lang/String;)V
46539 Landroid/net/wifi/IWifiManager;->setCountryCode(Ljava/lang/String;)V
47441 Landroid/net/wifi/WifiManager;->setCountryCode(Ljava/lang/String;)V
/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/non-updatable-api/
Dcurrent.txt22895 method public void setCountryCode(String);
48562 method public android.text.style.TtsSpan.TelephoneBuilder setCountryCode(String);
/frameworks/base/api/
Dcurrent.txt22895 method public void setCountryCode(String);
48706 method public android.text.style.TtsSpan.TelephoneBuilder setCountryCode(String);