Searched refs:setApCountryCode (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNativeTest.java | 1304 when(mWifiVendorHal.setApCountryCode(any(), any())).thenReturn(true); in testSetApCountryCodeSuccessful() 1307 mWifiNative.setApCountryCode(WIFI_IFACE_NAME, testCountryCode); in testSetApCountryCodeSuccessful() 1308 verify(mWifiVendorHal).setApCountryCode(WIFI_IFACE_NAME, testCountryCode); in testSetApCountryCodeSuccessful() 1316 when(mWifiVendorHal.setApCountryCode(any(), any())).thenReturn(false); in testSetApCountryCodeFailure() 1319 mWifiNative.setApCountryCode(WIFI_IFACE_NAME, testCountryCode); in testSetApCountryCodeFailure() 1320 verify(mWifiVendorHal).setApCountryCode(WIFI_IFACE_NAME, testCountryCode); in testSetApCountryCodeFailure()
|
D | SoftApManagerTest.java | 258 when(mWifiNative.setApCountryCode( in setUp() 494 verify(mWifiNative, never()).setApCountryCode(eq(TEST_INTERFACE_NAME), any()); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode() 522 when(mWifiNative.setApCountryCode( in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure() 529 verify(mWifiNative).setApCountryCode( in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure() 559 verify(mWifiNative, never()).setApCountryCode(eq(TEST_INTERFACE_NAME), any()); in startSoftApOn24GhzNoFailForNoCountryCode() 576 verify(mWifiNative, never()).setApCountryCode(eq(TEST_INTERFACE_NAME), any()); in startSoftApOnAnyGhzNoFailForNoCountryCode() 592 when(mWifiNative.setApCountryCode(eq(TEST_INTERFACE_NAME), any())).thenReturn(false); in startSoftApOn2GhzNoFailForCountryCodeSetFailure() 595 verify(mWifiNative).setApCountryCode( in startSoftApOn2GhzNoFailForCountryCodeSetFailure() 612 when(mWifiNative.setApCountryCode(eq(TEST_INTERFACE_NAME), any())).thenReturn(false); in startSoftApOnAnyNoFailForCountryCodeSetFailure() 615 verify(mWifiNative).setApCountryCode( in startSoftApOnAnyNoFailForCountryCodeSetFailure() [all …]
|
D | WifiVendorHalTest.java | 1896 assertFalse(mWifiVendorHal.setApCountryCode(TEST_IFACE_NAME, null)); in testSetApCountryCode() 1897 assertFalse(mWifiVendorHal.setApCountryCode(TEST_IFACE_NAME, "")); in testSetApCountryCode() 1898 assertFalse(mWifiVendorHal.setApCountryCode(TEST_IFACE_NAME, "A")); in testSetApCountryCode() 1900 assertTrue(mWifiVendorHal.setApCountryCode(TEST_IFACE_NAME, "CA")); in testSetApCountryCode() 1901 assertFalse(mWifiVendorHal.setApCountryCode(TEST_IFACE_NAME, "ZZZ")); in testSetApCountryCode() 1916 assertFalse(mWifiVendorHal.setApCountryCode(TEST_IFACE_NAME, "CA")); in testRemoteExceptionIsHandled()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SoftApManager.java | 601 if (!mWifiNative.setApCountryCode( in setCountryCode() 1525 && mWifiNative.setApCountryCode( in processMessage()
|
D | WifiNative.java | 3402 public boolean setApCountryCode(@NonNull String ifaceName, String countryCode) { 3403 if (mWifiVendorHal.setApCountryCode(ifaceName, countryCode)) {
|
D | WifiVendorHal.java | 2024 public boolean setApCountryCode(@NonNull String ifaceName, String countryCode) { in setApCountryCode() method in WifiVendorHal
|