Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java84 when(mClientModeManager.setCountryCode(anyString())).thenReturn(true); in setUp()
92 }).when(mClientModeManager).setCountryCode( in setUp()
135 verify(mClientModeManager).setCountryCode(anyString()); in useDefaultCountryCode()
150 verify(mClientModeManager).setCountryCode(anyString()); in useTelephonyCountryCodeOnBootup()
166 verify(mClientModeManager).setCountryCode(anyString()); in useTelephonyCountryCodeOnChange()
190 verify(mClientModeManager, times(3)).setCountryCode(anyString()); in telephonyCountryCodeChangeAfterSupplicantStarts()
215 verify(mClientModeManager, times(3)).setCountryCode(anyString()); in telephonyCountryCodeChangeAfterSupplicantStop()
223 verify(mClientModeManager, times(3)).setCountryCode(anyString()); in telephonyCountryCodeChangeAfterSupplicantStop()
247 verify(mClientModeManager, times(2)).setCountryCode(anyString()); in telephonyCountryCodeChangeAfterL2Connected()
288 verify(mClientModeManager, times(2)).setCountryCode(anyString()); in telephonyCountryCodeChangeAfterL2ConnectedOnTwoClientModeManager()
[all …]
DWifiNativeTest.java1279 when(mStaIfaceHal.setCountryCode(any(), any())).thenReturn(true); in testSetStaCountryCodeSuccessful()
1283 verify(mStaIfaceHal).setCountryCode(WIFI_IFACE_NAME, testCountryCode); in testSetStaCountryCodeSuccessful()
1291 when(mStaIfaceHal.setCountryCode(any(), any())).thenReturn(false); in testSetStaCountryCodeFailure()
1295 verify(mStaIfaceHal).setCountryCode(WIFI_IFACE_NAME, testCountryCode); in testSetStaCountryCodeFailure()
DSupplicantStaIfaceHalTest.java1732 when(mISupplicantStaIfaceMock.setCountryCode(any(byte[].class))).thenReturn(mStatusSuccess); in testSetCountryCode()
1736 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, testCountryCode)); in testSetCountryCode()
1737 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode()
1741 assertTrue(mDut.setCountryCode(WLAN0_IFACE_NAME, testCountryCode)); in testSetCountryCode()
1742 verify(mISupplicantStaIfaceMock).setCountryCode(eq(testCountryCode.getBytes())); in testSetCountryCode()
1747 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, null)); in testSetCountryCode()
1748 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode()
1750 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, "U")); in testSetCountryCode()
1751 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode()
DWifiVendorHalTest.java1891 when(mIWifiApIface.setCountryCode(any())) in testSetApCountryCode()
1903 verify(mIWifiApIface).setCountryCode(eq(expected)); in testSetApCountryCode()
1913 when(mIWifiApIface.setCountryCode(any())) in testRemoteExceptionIsHandled()
4079 when(mIWifiChipV15.setCountryCode(any())).thenReturn(mWifiStatusSuccess); in testSetCountryCodeWithHalV1_5()
4085 verify(mIWifiChipV15, never()).setCountryCode(any()); in testSetCountryCodeWithHalV1_5()
4089 verify(mIWifiChipV15).setCountryCode(eq(expected)); in testSetCountryCodeWithHalV1_5()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanOnlyModeImpl.java53 public boolean setCountryCode(String countryCode) { in setCountryCode() method in ScanOnlyModeImpl
DClientModeDefaults.java192 default boolean setCountryCode(String countryCode) { in setCountryCode() method
DClientMode.java225 boolean setCountryCode(String countryCode); in setCountryCode() method
DWifiCountryCode.java458 if (!cm.setCountryCode(country)) { in setCountryCodeNative()
DConcreteClientModeManager.java1374 public boolean setCountryCode(String countryCode) { in setCountryCode() method in ConcreteClientModeManager
1375 return getClientMode().setCountryCode(countryCode); in setCountryCode()
DSupplicantStaIfaceHal.java2289 public boolean setCountryCode(@NonNull String ifaceName, String codeStr) { in setCountryCode() method in SupplicantStaIfaceHal
2294 return setCountryCode(ifaceName, countryCodeBytes); in setCountryCode()
2299 private boolean setCountryCode(@NonNull String ifaceName, byte[/* 2 */] code) { in setCountryCode() method in SupplicantStaIfaceHal
2305 SupplicantStatus status = iface.setCountryCode(code); in setCountryCode()
DSoftApManager.java590 private int setCountryCode() { in setCountryCode() method in SoftApManager
629 result = setCountryCode(); in startSoftAp()
DWifiVendorHal.java1981 WifiStatus status = iWifiChipV15.setCountryCode(code); in setChipCountryCode()
2037 WifiStatus status = iface.setCountryCode(code); in setApCountryCode()
DWifiNative.java2259 if (mSupplicantStaIfaceHal.setCountryCode(ifaceName, countryCode)) {
DClientModeImpl.java6452 public boolean setCountryCode(String countryCode) {
/packages/apps/Contacts/src/com/android/contacts/compat/
DPhoneNumberUtilsCompat.java161 builder.setCountryCode(Integer.toString(phoneNumber.getCountryCode())); in createTtsSpanLollipop()
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
DCivicLocation.java231 address.setCountryCode(mCountryCode); // Country in toAddress()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java387 address.setCountryCode(readUTF(dis)); in lookupAddress()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt897 Landroid/net/wifi/IWifiManager$Stub$Proxy;->setCountryCode(Ljava/lang/String;)V
1024 Landroid/net/wifi/IWifiManager;->setCountryCode(Ljava/lang/String;)V
1888 Landroid/net/wifi/WifiManager;->setCountryCode(Ljava/lang/String;)V