Home
last modified time | relevance | path

Searched refs:setCountryCodeHal (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java115 when(mWifiNative.setCountryCodeHal( in setUp()
343 verify(mWifiNative, never()).setCountryCodeHal(eq(TEST_INTERFACE_NAME), any()); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
371 when(mWifiNative.setCountryCodeHal( in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
389 verify(mWifiNative).setCountryCodeHal( in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
418 verify(mWifiNative, never()).setCountryCodeHal(eq(TEST_INTERFACE_NAME), any()); in startSoftApOn24GhzNoFailForNoCountryCode()
434 verify(mWifiNative, never()).setCountryCodeHal(eq(TEST_INTERFACE_NAME), any()); in startSoftApOnAnyGhzNoFailForNoCountryCode()
449 when(mWifiNative.setCountryCodeHal(eq(TEST_INTERFACE_NAME), any())).thenReturn(false); in startSoftApOn2GhzNoFailForCountryCodeSetFailure()
452 verify(mWifiNative).setCountryCodeHal( in startSoftApOn2GhzNoFailForCountryCodeSetFailure()
468 when(mWifiNative.setCountryCodeHal(eq(TEST_INTERFACE_NAME), any())).thenReturn(false); in startSoftApOnAnyNoFailForCountryCodeSetFailure()
471 verify(mWifiNative).setCountryCodeHal( in startSoftApOnAnyNoFailForCountryCodeSetFailure()
DWifiVendorHalTest.java1342 assertFalse(mWifiVendorHal.setCountryCodeHal(TEST_IFACE_NAME, null)); in testSetCountryCodeHal()
1343 assertFalse(mWifiVendorHal.setCountryCodeHal(TEST_IFACE_NAME, "")); in testSetCountryCodeHal()
1344 assertFalse(mWifiVendorHal.setCountryCodeHal(TEST_IFACE_NAME, "A")); in testSetCountryCodeHal()
1346 assertTrue(mWifiVendorHal.setCountryCodeHal(TEST_IFACE_NAME, "CA")); in testSetCountryCodeHal()
1347 assertFalse(mWifiVendorHal.setCountryCodeHal(TEST_IFACE_NAME, "ZZZ")); in testSetCountryCodeHal()
1362 assertFalse(mWifiVendorHal.setCountryCodeHal(TEST_IFACE_NAME, "CA")); in testRemoteExceptionIsHandled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java259 } else if (!mWifiNative.setCountryCodeHal( in startSoftAp()
DWifiNative.java2699 public boolean setCountryCodeHal(@NonNull String ifaceName, String countryCode) { in setCountryCodeHal() method in WifiNative
2700 return mWifiVendorHal.setCountryCodeHal(ifaceName, countryCode); in setCountryCodeHal()
DWifiVendorHal.java1435 public boolean setCountryCodeHal(@NonNull String ifaceName, String countryCode) { in setCountryCodeHal() method in WifiVendorHal