Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbShellCommandTest.java150 verify(mUwbCountryCode, never()).setOverrideCountryCode(any()); in testForceSetCountryCode()
159 verify(mUwbCountryCode).setOverrideCountryCode(any()); in testForceSetCountryCode()
169 verify(mUwbCountryCode, never()).setOverrideCountryCode(any()); in testForceClearCountryCode()
DUwbCountryCodeTest.java498 mUwbCountryCode.setOverrideCountryCode(TEST_COUNTRY_CODE_OTHER); in testForceOverrideCodeWhenTelephonyAndWifiAvailable()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkCountryCodeTest.java428 mThreadNetworkCountryCode.setOverrideCountryCode(TEST_COUNTRY_CODE_CN); in setOverrideCountryCode_defaultCountryCodeAvailable_overrideCountryCodeIsUsed()
436 mThreadNetworkCountryCode.setOverrideCountryCode(TEST_COUNTRY_CODE_CN); in clearOverrideCountryCode_defaultCountryCodeAvailable_defaultCountryCodeIsUsed()
448 mThreadNetworkCountryCode.setOverrideCountryCode(TEST_COUNTRY_CODE_CN); in setCountryCodeFailed_defaultCountryCodeAvailable_countryCodeIsNotUpdated()
DThreadNetworkShellCommandTest.java158 verify(mCountryCode).setOverrideCountryCode(eq("US")); in forceSetCountryCodeEnabled_countryCodeIsOverridden()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkShellCommand.java238 mCountryCode.setOverrideCountryCode(countryCode); in forceCountryCode()
DThreadNetworkCountryCode.java580 public synchronized void setOverrideCountryCode(String countryCode) {
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbCountryCode.java462 public synchronized void setOverrideCountryCode(String countryCode) { in setOverrideCountryCode() method in UwbCountryCode
DUwbShellCommand.java1230 mUwbCountryCode.setOverrideCountryCode(countryCode); in onCommand()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java358 public synchronized void setOverrideCountryCode(String countryCode) { in setOverrideCountryCode() method in WifiCountryCode
DWifiShellCommand.java904 mWifiCountryCode.setOverrideCountryCode(countryCode); in onCommand()
DWifiServiceImpl.java4948 public void setOverrideCountryCode(@NonNull String countryCode) {
4964 mWifiThreadRunner.post(() -> mCountryCode.setOverrideCountryCode(countryCode),
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl191 void setOverrideCountryCode(String country); in setOverrideCountryCode() method
DBaseWifiService.java340 public void setOverrideCountryCode(@NonNull String countryCode) { in setOverrideCountryCode() method in BaseWifiService
DWifiManager.java5063 public void setOverrideCountryCode(@NonNull String country) { in setOverrideCountryCode() method in WifiManager
5065 mService.setOverrideCountryCode(country); in setOverrideCountryCode()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java679 mWifiCountryCode.setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCodeAndOnCountryCodeChangePending()
DWifiServiceImplTest.java9782 mWifiServiceImpl.setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCodeThrowsSecurityExceptionOnMissingPermissions()
9793 mWifiServiceImpl.setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCode()
9795 verify(mWifiCountryCode).setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCode()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java3586 mWifiManager.setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCode()
3587 verify(mWifiService).setOverrideCountryCode(eq(TEST_COUNTRY_CODE)); in testSetOverrideCountryCode()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt798 …ndroid.Manifest.permission.MANAGE_WIFI_COUNTRY_CODE) public void setOverrideCountryCode(@NonNull S…