Home
last modified time | relevance | path

Searched refs:setCountryCode (Results 1 – 25 of 38) sorted by relevance

12

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiCountryCodeTest.java92 }).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 DWifiNativeTest.java1279 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 DSupplicantStaIfaceHalTest.java1732 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 DWifiVendorHalTest.java1891 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 DScanOnlyModeImpl.java53 public boolean setCountryCode(String countryCode) { in setCountryCode() method in ScanOnlyModeImpl
H A DClientModeDefaults.java192 default boolean setCountryCode(String countryCode) { in setCountryCode() method
H A DClientMode.java225 boolean setCountryCode(String countryCode); in setCountryCode() method
H A DWifiCountryCode.java458 if (!cm.setCountryCode(country)) { in setCountryCodeNative()
H A DConcreteClientModeManager.java1374 public boolean setCountryCode(String countryCode) { in setCountryCode() method in ConcreteClientModeManager
1375 return getClientMode().setCountryCode(countryCode); in setCountryCode()
H A DSoftApManager.java590 private int setCountryCode() { in setCountryCode() method in SoftApManager
629 result = setCountryCode(); in startSoftAp()
H A DSupplicantStaIfaceHal.java2289 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 Dwifi_chip_hidl_test.cpp183 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 Dwifi_ap_iface.cpp66 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 Dwifi_ap_iface.h51 Return<void> setCountryCode(const hidl_array<int8_t, 2>& code,
H A Dwifi_chip.h181 Return<void> setCountryCode(const hidl_array<int8_t, 2>& code,
H A Dwifi_legacy_hal.h671 wifi_error setCountryCode(const std::string& iface_name,
/aosp12/hardware/interfaces/wifi/1.0/vts/functional/
H A Dwifi_ap_iface_hidl_test.cpp88 HIDL_INVOKE(wifi_ap_iface_, setCountryCode, kCountryCode).code); in TEST_P()
/aosp12/hardware/interfaces/wifi/1.0/
H A DIWifiApIface.hal35 setCountryCode(int8_t[2] code) generates (WifiStatus status);
/aosp12/packages/apps/Contacts/src/com/android/contacts/compat/
H A DPhoneNumberUtilsCompat.java161 builder.setCountryCode(Integer.toString(phoneNumber.getCountryCode())); in createTtsSpanLollipop()
/aosp12/hardware/interfaces/wifi/1.5/
H A DIWifiChip.hal237 * @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 DCivicLocation.java231 address.setCountryCode(mCountryCode); // Country in toAddress()
/aosp12/frameworks/base/location/java/android/location/
H A DAddress.java267 public void setCountryCode(String countryCode) { in setCountryCode() method in Address
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DReverseGeocoder.java387 address.setCountryCode(readUTF(dis)); in lookupAddress()
/aosp12/frameworks/base/core/java/android/text/style/
H A DTtsSpan.java1306 public TelephoneBuilder setCountryCode(String countryCode) { in setCountryCode() method in TtsSpan.TelephoneBuilder
/aosp12/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
H A Dsupplicant_sta_iface_hidl_test.cpp452 sta_iface_->setCountryCode( in TEST_P()

12