Home
last modified time | relevance | path

Searched refs:setCountryCode (Results 1 – 21 of 21) 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.java2978 mWifiServiceImpl.setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCode()
2979 verify(mWifiCountryCode).setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCode()
2992 mWifiServiceImpl.setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCodeFailsWithoutConnectivityInternalPermission()
2993 verify(mWifiCountryCode, never()).setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCodeFailsWithoutConnectivityInternalPermission()
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.java120 public synchronized boolean setCountryCode(String countryCode) { in setCountryCode() method in WifiCountryCode
213 if (mWifiNative.setCountryCode(mWifiNative.getClientInterfaceName(), country)) { in setCountryCodeNative()
DSupplicantStaIfaceHal.java2035 public boolean setCountryCode(@NonNull String ifaceName, String codeStr) { in setCountryCode() method in SupplicantStaIfaceHal
2040 return setCountryCode(ifaceName, countryCodeBytes); in setCountryCode()
2045 private boolean setCountryCode(@NonNull String ifaceName, byte[/* 2 */] code) { in setCountryCode() method in SupplicantStaIfaceHal
2051 SupplicantStatus status = iface.setCountryCode(code); in setCountryCode()
DWifiNative.java1806 public boolean setCountryCode(@NonNull String ifaceName, String countryCode) { in setCountryCode() method in WifiNative
1807 return mSupplicantStaIfaceHal.setCountryCode(ifaceName, countryCode); in setCountryCode()
DWifiServiceImpl.java2378 public void setCountryCode(String countryCode) { in setCountryCode() method in WifiServiceImpl
2383 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.java2370 public void setCountryCode(@NonNull String country) {
2372 mService.setCountryCode(country);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DLocaleTrackerTest.java131 verify(mWifiManager, times(countryCodes.length)).setCountryCode( in verifyCountryCodeNotified()
/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/opt/telephony/src/java/com/android/internal/telephony/
DLocaleTracker.java414 wifiManager.setCountryCode(countryIso); in updateLocale()
DPhone.java581 wM.setCountryCode(country); in Phone()
/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.java978 mWifiManager.setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCode()
979 verify(mWifiService).setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCode()
988 doThrow(new SecurityException()).when(mWifiService).setCountryCode(anyString()); in testSetWifiCountryCodeFailedOnSecurityException()
989 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.java2616 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/ ...