Home
last modified time | relevance | path

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

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiCountryCodeTest.java53 private static final String TEST_COUNTRY_CODE = "JP"; field in WifiCountryCodeTest
388 mWifiCountryCode.setDefaultCountryCode(TEST_COUNTRY_CODE); in setDefaultCountryCode()
389 verify(mClientModeManager).setCountryCode(eq(TEST_COUNTRY_CODE)); in setDefaultCountryCode()
390 assertEquals(TEST_COUNTRY_CODE, mWifiCountryCode.getCountryCodeSentToDriver()); in setDefaultCountryCode()
391 verify(mSettingsConfigStore).put(eq(WIFI_DEFAULT_COUNTRY_CODE), eq(TEST_COUNTRY_CODE)); in setDefaultCountryCode()
392 assertEquals(TEST_COUNTRY_CODE, mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE)); in setDefaultCountryCode()
H A DSoftApManagerTest.java106 private static final String TEST_COUNTRY_CODE = "TestCountry"; field in SoftApManagerTest
259 TEST_INTERFACE_NAME, TEST_COUNTRY_CODE.toUpperCase(Locale.ROOT))) in setUp()
594 startSoftApAndVerifyEnabled(softApConfig, TEST_COUNTRY_CODE); in startSoftApOn2GhzNoFailForCountryCodeSetFailure()
614 startSoftApAndVerifyEnabled(softApConfig, TEST_COUNTRY_CODE); in startSoftApOnAnyNoFailForCountryCodeSetFailure()
664 softApModeConfig, TEST_COUNTRY_CODE, ROLE_SOFTAP_TETHERED); in startSoftApApInterfaceFailedToStart()
1888 startSoftApAndVerifyEnabled(softApConfig, TEST_COUNTRY_CODE, null); in startSoftApAndVerifyEnabled()
2129 startSoftApAndVerifyEnabled(apConfig, TEST_COUNTRY_CODE, null); in testSoftApEnableWhenDaulBandConfigwithChannelSetWhenACSNotSupport()
2484 TEST_COUNTRY_CODE, ROLE_SOFTAP_TETHERED); in testSetupDualBandForSoftApModeApInterfaceName()
3118 mSoftApManager.updateCountryCode(TEST_COUNTRY_CODE + "TW"); in testUpdateCountryCodeWhenConfigDisabled()
3132 mSoftApManager.updateCountryCode(TEST_COUNTRY_CODE + "TW"); in testUpdateCountryCodeWhenConfigEnabled()
[all …]
H A DWifiServiceImplTest.java238 private static final String TEST_COUNTRY_CODE = "US"; field in WifiServiceImplTest
7846 mWifiServiceImpl.setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCodeThrowsSecurityExceptionOnMissingPermissions()
7857 mWifiServiceImpl.setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCode()
7859 verify(mWifiCountryCode).setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCode()
7900 mWifiServiceImpl.setDefaultCountryCode(TEST_COUNTRY_CODE); in testSetDefaultCountryCodeThrowsSecurityExceptionOnMissingPermissions()
7911 mWifiServiceImpl.setDefaultCountryCode(TEST_COUNTRY_CODE); in testSetDefaultCountryCode()
7913 verify(mWifiCountryCode).setDefaultCountryCode(TEST_COUNTRY_CODE); in testSetDefaultCountryCode()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
H A DApConfigUtilTest.java63 private static final String TEST_COUNTRY_CODE = "TestCountry"; field in ApConfigUtilTest
488 TEST_COUNTRY_CODE, configBuilder, configBuilder.build(), false)); in updateApChannelConfigWithoutHal()
518 TEST_COUNTRY_CODE, configBuilder, configBuilder.build(), false)); in updateApChannelConfigWithChannelSpecified()
536 TEST_COUNTRY_CODE, configBuilder, configBuilder.build(), false)); in updateApChannelConfigWith5GBandNoChannelAllowed()
559 TEST_COUNTRY_CODE, configBuilder, configBuilder.build(), false)); in updateApChannelConfigWithAcsDisabledOemConfigured()
576 TEST_COUNTRY_CODE, configBuilder, configBuilder.build(), true)); in updateApChannelConfigWithAcsEnabled()
/aosp12/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
H A DWifiNl80211ManagerTest.java114 private static final String TEST_COUNTRY_CODE = "US"; field in WifiNl80211ManagerTest
780 mWificondEventHandler.OnRegDomainChanged(TEST_COUNTRY_CODE); in testCountryCodeChangedListenerInvocation()
781 verify(mCountryCodeChangedListener).onCountryCodeChanged(TEST_COUNTRY_CODE); in testCountryCodeChangedListenerInvocation()
782 verify(mCountryCodeChangedListener2).onCountryCodeChanged(TEST_COUNTRY_CODE); in testCountryCodeChangedListenerInvocation()
787 mWificondEventHandler.OnRegDomainChanged(TEST_COUNTRY_CODE); in testCountryCodeChangedListenerInvocation()
788 verify(mCountryCodeChangedListener).onCountryCodeChanged(TEST_COUNTRY_CODE); in testCountryCodeChangedListenerInvocation()
789 verify(mCountryCodeChangedListener2, never()).onCountryCodeChanged(TEST_COUNTRY_CODE); in testCountryCodeChangedListenerInvocation()
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/
H A DWifiManagerTest.java148 private static final String TEST_COUNTRY_CODE = "US"; field in WifiManagerTest
3312 mWifiManager.setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCode()
3313 verify(mWifiService).setOverrideCountryCode(eq(TEST_COUNTRY_CODE)); in testSetOverrideCountryCode()
3332 mWifiManager.setDefaultCountryCode(TEST_COUNTRY_CODE); in testSetDefaultCountryCode()
3333 verify(mWifiService).setDefaultCountryCode(eq(TEST_COUNTRY_CODE)); in testSetDefaultCountryCode()