Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java53 when(mWifiNative.setCountryCode(any(), anyString())).thenReturn(true); in setUp()
71 verify(mWifiNative).setCountryCode(any(), anyString()); in useDefaultCountryCode()
81 mWifiCountryCode.setCountryCode(mTelephonyCountryCode); in useTelephonyCountryCode()
87 verify(mWifiNative).setCountryCode(any(), anyString()); in useTelephonyCountryCode()
101 mWifiCountryCode.setCountryCode(mTelephonyCountryCode); in setTelephonyCountryCodeAfterSupplicantStarts()
104 verify(mWifiNative, times(2)).setCountryCode(any(), anyString()); in setTelephonyCountryCodeAfterSupplicantStarts()
119 mWifiCountryCode.setCountryCode(mTelephonyCountryCode); in setTelephonyCountryCodeAfterL2Connected()
124 verify(mWifiNative, times(2)).setCountryCode(any(), anyString()); in setTelephonyCountryCodeAfterL2Connected()
138 mWifiCountryCode.setCountryCode(mTelephonyCountryCode); in resetCountryCodeWhenOutOfService()
141 mWifiCountryCode.setCountryCode(""); in resetCountryCodeWhenOutOfService()
[all …]
DWifiServiceImplTest.java2530 mWifiServiceImpl.setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCode()
2531 verify(mWifiCountryCode).setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCode()
2544 mWifiServiceImpl.setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCodeFailsWithoutConnectivityInternalPermission()
2545 verify(mWifiCountryCode, never()).setCountryCode(TEST_COUNTRY_CODE); in testSetCountryCodeFailsWithoutConnectivityInternalPermission()
DWifiVendorHalTest.java1271 when(mIWifiApIface.setCountryCode(any())) in testSetCountryCodeHal()
1283 verify(mIWifiApIface).setCountryCode(eq(expected)); in testSetCountryCodeHal()
1293 when(mIWifiApIface.setCountryCode(any())) in testRemoteExceptionIsHandled()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DLocaleTrackerTest.java101 verify(mWifiManager).setCountryCode(US_COUNTRY_CODE); in testUpdateOperatorNumericSync()
110 verify(mWifiManager).setCountryCode(US_COUNTRY_CODE); in testUpdateOperatorNumericAsync()
119 verify(mWifiManager).setCountryCode(US_COUNTRY_CODE); in testNoSim()
129 verify(mWifiManager).setCountryCode(COUNTRY_CODE_UNAVAILABLE); in testBootupInAirplaneModeOn()
137 verify(mWifiManager).setCountryCode(US_COUNTRY_CODE); in testTogglingAirplaneMode()
143 verify(mWifiManager).setCountryCode(COUNTRY_CODE_UNAVAILABLE); in testTogglingAirplaneMode()
148 verify(mWifiManager, times(2)).setCountryCode(US_COUNTRY_CODE); in testTogglingAirplaneMode()
158 verify(mWifiManager).setCountryCode(COUNTRY_CODE_UNAVAILABLE); in testCellInfoUnavailableRetry()
163 verify(mWifiManager).setCountryCode(US_COUNTRY_CODE); in testCellInfoUnavailableRetry()
173 verify(mWifiManager).setCountryCode(COUNTRY_CODE_UNAVAILABLE); in testOutOfAirplaneMode()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java116 public synchronized boolean setCountryCode(String countryCode) { in setCountryCode() method in WifiCountryCode
202 if (mWifiNative.setCountryCode(mWifiNative.getClientInterfaceName(), country)) { in setCountryCodeNative()
DSupplicantStaIfaceHal.java1853 public boolean setCountryCode(@NonNull String ifaceName, String codeStr) { in setCountryCode() method in SupplicantStaIfaceHal
1856 return setCountryCode(ifaceName, NativeUtil.stringToByteArray(codeStr)); in setCountryCode()
1861 private boolean setCountryCode(@NonNull String ifaceName, byte[/* 2 */] code) { in setCountryCode() method in SupplicantStaIfaceHal
1867 SupplicantStatus status = iface.setCountryCode(code); in setCountryCode()
DWifiNative.java1495 public boolean setCountryCode(@NonNull String ifaceName, String countryCode) { in setCountryCode() method in WifiNative
1496 return mSupplicantStaIfaceHal.setCountryCode(ifaceName, countryCode); in setCountryCode()
DWifiServiceImpl.java2158 public void setCountryCode(String countryCode) { in setCountryCode() method in WifiServiceImpl
2163 mCountryCode.setCountryCode(countryCode); in setCountryCode()
DWifiVendorHal.java1830 WifiStatus status = iface.setCountryCode(code); in setCountryCodeHal()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl104 void setCountryCode(String country); in setCountryCode() method
DWifiManager.java1729 public void setCountryCode(@NonNull String country) {
1731 mService.setCountryCode(country);
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java942 mWifiManager.setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCode()
943 verify(mWifiService).setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCode()
952 doThrow(new SecurityException()).when(mWifiService).setCountryCode(anyString()); in testSetWifiCountryCodeFailedOnSecurityException()
953 mWifiManager.setCountryCode(TEST_COUNTRY_CODE); in testSetWifiCountryCodeFailedOnSecurityException()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DLocaleTracker.java412 .setCountryCode(countryIso); in updateLocale()
DMccTable.java410 wM.setCountryCode(country); in setWifiCountryCodeFromMcc()
DPhone.java539 wM.setCountryCode(country); in Phone()
/frameworks/base/location/java/android/location/
DAddress.java267 public void setCountryCode(String countryCode) { in setCountryCode() method in Address
/frameworks/base/core/java/android/text/style/
DTtsSpan.java1306 public TelephoneBuilder setCountryCode(String countryCode) { in setCountryCode() method in TtsSpan.TelephoneBuilder
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java2623 builder.setCountryCode(Integer.toString(phoneNumber.getCountryCode())); in createTtsSpan()
/frameworks/base/services/
Dart-profile602 HSPLandroid/hardware/wifi/supplicant/V1_0/ISupplicantStaIface;->setCountryCode([B)Landroid/hardware…
/frameworks/base/config/
Dboot-image-profile.txt3021 HPLandroid/location/Address;->setCountryCode(Ljava/lang/String;)V
26517 HSPLandroid/net/wifi/IWifiManager$Stub$Proxy;->setCountryCode(Ljava/lang/String;)V
26572 HSPLandroid/net/wifi/IWifiManager;->setCountryCode(Ljava/lang/String;)V
26676 HSPLandroid/net/wifi/WifiManager;->setCountryCode(Ljava/lang/String;)V
37751 HSPLcom/android/i18n/phonenumbers/Phonemetadata$PhoneMetadata;->setCountryCode(I)Lcom/android/i18n/…
37792 HSPLcom/android/i18n/phonenumbers/Phonenumber$PhoneNumber;->setCountryCode(I)Lcom/android/i18n/phon…
Dhiddenapi-public-dex.txt19496 Landroid/location/Address;->setCountryCode(Ljava/lang/String;)V
46058 Landroid/text/style/TtsSpan$TelephoneBuilder;->setCountryCode(Ljava/lang/String;)Landroid/text/styl…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13702 method public void setCountryCode(java.lang.String);
30942 method public android.text.style.TtsSpan.TelephoneBuilder setCountryCode(java.lang.String);
/frameworks/base/api/
Dcurrent.txt21524 method public void setCountryCode(java.lang.String);
44623 method public android.text.style.TtsSpan.TelephoneBuilder setCountryCode(java.lang.String);