/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiCountryCodeTest.java | 92 }).when(mClientModeManager).setCountryCode( in setUp() 135 verify(mClientModeManager).setCountryCode(anyString()); in useDefaultCountryCode() 150 verify(mClientModeManager).setCountryCode(anyString()); in useTelephonyCountryCodeOnBootup() 166 verify(mClientModeManager).setCountryCode(anyString()); in useTelephonyCountryCodeOnChange() 190 verify(mClientModeManager, times(3)).setCountryCode(anyString()); in telephonyCountryCodeChangeAfterSupplicantStarts() 215 verify(mClientModeManager, times(3)).setCountryCode(anyString()); in telephonyCountryCodeChangeAfterSupplicantStop() 223 verify(mClientModeManager, times(3)).setCountryCode(anyString()); in telephonyCountryCodeChangeAfterSupplicantStop() 247 verify(mClientModeManager, times(2)).setCountryCode(anyString()); in telephonyCountryCodeChangeAfterL2Connected() 288 verify(mClientModeManager, times(2)).setCountryCode(anyString()); in telephonyCountryCodeChangeAfterL2ConnectedOnTwoClientModeManager() 350 verify(mClientModeManager).setCountryCode(oemCountryCodeUpper); in useUSLocaleForConversionToUpperCase() [all …]
|
H A D | WifiNativeTest.java | 1279 when(mStaIfaceHal.setCountryCode(any(), any())).thenReturn(true); in testSetStaCountryCodeSuccessful() 1283 verify(mStaIfaceHal).setCountryCode(WIFI_IFACE_NAME, testCountryCode); in testSetStaCountryCodeSuccessful() 1291 when(mStaIfaceHal.setCountryCode(any(), any())).thenReturn(false); in testSetStaCountryCodeFailure() 1295 verify(mStaIfaceHal).setCountryCode(WIFI_IFACE_NAME, testCountryCode); in testSetStaCountryCodeFailure()
|
H A D | SupplicantStaIfaceHalTest.java | 1732 when(mISupplicantStaIfaceMock.setCountryCode(any(byte[].class))).thenReturn(mStatusSuccess); in testSetCountryCode() 1736 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, testCountryCode)); in testSetCountryCode() 1737 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode() 1741 assertTrue(mDut.setCountryCode(WLAN0_IFACE_NAME, testCountryCode)); in testSetCountryCode() 1742 verify(mISupplicantStaIfaceMock).setCountryCode(eq(testCountryCode.getBytes())); in testSetCountryCode() 1747 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, null)); in testSetCountryCode() 1748 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode() 1750 assertFalse(mDut.setCountryCode(WLAN0_IFACE_NAME, "U")); in testSetCountryCode() 1751 verify(mISupplicantStaIfaceMock, never()).setCountryCode(any(byte[].class)); in testSetCountryCode()
|
H A D | WifiVendorHalTest.java | 1891 when(mIWifiApIface.setCountryCode(any())) in testSetApCountryCode() 1903 verify(mIWifiApIface).setCountryCode(eq(expected)); in testSetApCountryCode() 1913 when(mIWifiApIface.setCountryCode(any())) in testRemoteExceptionIsHandled() 4079 when(mIWifiChipV15.setCountryCode(any())).thenReturn(mWifiStatusSuccess); in testSetCountryCodeWithHalV1_5() 4085 verify(mIWifiChipV15, never()).setCountryCode(any()); in testSetCountryCodeWithHalV1_5() 4089 verify(mIWifiChipV15).setCountryCode(eq(expected)); in testSetCountryCodeWithHalV1_5()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | ScanOnlyModeImpl.java | 53 public boolean setCountryCode(String countryCode) { in setCountryCode() method in ScanOnlyModeImpl
|
H A D | ClientModeDefaults.java | 192 default boolean setCountryCode(String countryCode) { in setCountryCode() method
|
H A D | ClientMode.java | 225 boolean setCountryCode(String countryCode); in setCountryCode() method
|
H A D | WifiCountryCode.java | 458 if (!cm.setCountryCode(country)) { in setCountryCodeNative()
|
H A D | ConcreteClientModeManager.java | 1374 public boolean setCountryCode(String countryCode) { in setCountryCode() method in ConcreteClientModeManager 1375 return getClientMode().setCountryCode(countryCode); in setCountryCode()
|
H A D | SoftApManager.java | 590 private int setCountryCode() { in setCountryCode() method in SoftApManager 629 result = setCountryCode(); in startSoftAp()
|
H A D | SupplicantStaIfaceHal.java | 2289 public boolean setCountryCode(@NonNull String ifaceName, String codeStr) { in setCountryCode() method in SupplicantStaIfaceHal 2294 return setCountryCode(ifaceName, countryCodeBytes); in setCountryCode() 2299 private boolean setCountryCode(@NonNull String ifaceName, byte[/* 2 */] code) { in setCountryCode() method in SupplicantStaIfaceHal 2305 SupplicantStatus status = iface.setCountryCode(code); in setCountryCode()
|
/aosp12/hardware/interfaces/wifi/1.5/vts/functional/ |
H A D | wifi_chip_hidl_test.cpp | 183 TEST_P(WifiChipHidlTest, setCountryCode) { in TEST_P() argument 189 HIDL_INVOKE(wifi_chip_, setCountryCode, kCountryCode).code); in TEST_P()
|
/aosp12/hardware/interfaces/wifi/1.5/default/ |
H A D | wifi_ap_iface.cpp | 66 Return<void> WifiApIface::setCountryCode(const hidl_array<int8_t, 2>& code, in setCountryCode() function in android::hardware::wifi::V1_5::implementation::WifiApIface 119 legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->setCountryCode( in setCountryCodeInternal()
|
H A D | wifi_ap_iface.h | 51 Return<void> setCountryCode(const hidl_array<int8_t, 2>& code,
|
H A D | wifi_chip.h | 181 Return<void> setCountryCode(const hidl_array<int8_t, 2>& code,
|
H A D | wifi_legacy_hal.h | 671 wifi_error setCountryCode(const std::string& iface_name,
|
/aosp12/hardware/interfaces/wifi/1.0/vts/functional/ |
H A D | wifi_ap_iface_hidl_test.cpp | 88 HIDL_INVOKE(wifi_ap_iface_, setCountryCode, kCountryCode).code); in TEST_P()
|
/aosp12/hardware/interfaces/wifi/1.0/ |
H A D | IWifiApIface.hal | 35 setCountryCode(int8_t[2] code) generates (WifiStatus status);
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | PhoneNumberUtilsCompat.java | 161 builder.setCountryCode(Integer.toString(phoneNumber.getCountryCode())); in createTtsSpanLollipop()
|
/aosp12/hardware/interfaces/wifi/1.5/ |
H A D | IWifiChip.hal | 237 * @1.0::ISupplicantStaIface::setCountryCode & 238 * @1.0::IWifiApIface:setCountryCode are deprecated in favor of this 248 setCountryCode(int8_t[2] code) generates (WifiStatus status);
|
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/rtt/ |
H A D | CivicLocation.java | 231 address.setCountryCode(mCountryCode); // Country in toAddress()
|
/aosp12/frameworks/base/location/java/android/location/ |
H A D | Address.java | 267 public void setCountryCode(String countryCode) { in setCountryCode() method in Address
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | ReverseGeocoder.java | 387 address.setCountryCode(readUTF(dis)); in lookupAddress()
|
/aosp12/frameworks/base/core/java/android/text/style/ |
H A D | TtsSpan.java | 1306 public TelephoneBuilder setCountryCode(String countryCode) { in setCountryCode() method in TtsSpan.TelephoneBuilder
|
/aosp12/hardware/interfaces/wifi/supplicant/1.0/vts/functional/ |
H A D | supplicant_sta_iface_hidl_test.cpp | 452 sta_iface_->setCountryCode( in TEST_P()
|