Home
last modified time | relevance | path

Searched refs:TEST_COUNTRY_CODE (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java45 private static final String TEST_COUNTRY_CODE = "TestCountry"; field in ApConfigUtilTest
192 mWifiNative, TEST_COUNTRY_CODE, mAllowed2GChannels, config)); in updateApChannelConfigWithoutHal()
223 mWifiNative, TEST_COUNTRY_CODE, mAllowed2GChannels, config)); in updateApChannelConfigWithChannelSpecified()
241 mWifiNative, TEST_COUNTRY_CODE, mAllowed2GChannels, config)); in updateApChannelConfigWith5GBandNoChannelAllowed()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java90 private static final String TEST_COUNTRY_CODE = "TestCountry"; field in SoftApManagerTest
144 TEST_INTERFACE_NAME, TEST_COUNTRY_CODE.toUpperCase(Locale.ROOT))) in setUp()
236 TEST_COUNTRY_CODE, in startSoftApDefaultConfigFailedToLoad()
280 TEST_COUNTRY_CODE, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
323 TEST_COUNTRY_CODE, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
405 TEST_INTERFACE_NAME, TEST_COUNTRY_CODE.toUpperCase(Locale.ROOT))) in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
412 TEST_COUNTRY_CODE, in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
424 TEST_INTERFACE_NAME, TEST_COUNTRY_CODE.toUpperCase(Locale.ROOT)); in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
485 startSoftApAndVerifyEnabled(softApConfig, TEST_COUNTRY_CODE); in startSoftApOn2GhzNoFailForCountryCodeSetFailure()
487 TEST_INTERFACE_NAME, TEST_COUNTRY_CODE.toUpperCase(Locale.ROOT)); in startSoftApOn2GhzNoFailForCountryCodeSetFailure()
[all …]
DWifiServiceImplTest.java179 private static final String TEST_COUNTRY_CODE = "US"; field in WifiServiceImplTest
3113 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()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java101 private static final String TEST_COUNTRY_CODE = "US"; field in WifiManagerTest
981 mWifiManager.setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCode()
982 verify(mWifiService).setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCode()
992 mWifiManager.setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCodeFailedOnSecurityException()