/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCountryCodeTest.java | 84 when(mClientModeManager.setCountryCode(anyString())).thenReturn(true); in setUp() 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() [all …]
|
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()
|
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()
|
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()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScanOnlyModeImpl.java | 53 public boolean setCountryCode(String countryCode) { in setCountryCode() method in ScanOnlyModeImpl
|
D | ClientModeDefaults.java | 192 default boolean setCountryCode(String countryCode) { in setCountryCode() method
|
D | ClientMode.java | 225 boolean setCountryCode(String countryCode); in setCountryCode() method
|
D | WifiCountryCode.java | 458 if (!cm.setCountryCode(country)) { in setCountryCodeNative()
|
D | ConcreteClientModeManager.java | 1374 public boolean setCountryCode(String countryCode) { in setCountryCode() method in ConcreteClientModeManager 1375 return getClientMode().setCountryCode(countryCode); in setCountryCode()
|
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()
|
D | SoftApManager.java | 590 private int setCountryCode() { in setCountryCode() method in SoftApManager 629 result = setCountryCode(); in startSoftAp()
|
D | WifiVendorHal.java | 1981 WifiStatus status = iWifiChipV15.setCountryCode(code); in setChipCountryCode() 2037 WifiStatus status = iface.setCountryCode(code); in setApCountryCode()
|
D | WifiNative.java | 2259 if (mSupplicantStaIfaceHal.setCountryCode(ifaceName, countryCode)) {
|
D | ClientModeImpl.java | 6452 public boolean setCountryCode(String countryCode) {
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | PhoneNumberUtilsCompat.java | 161 builder.setCountryCode(Integer.toString(phoneNumber.getCountryCode())); in createTtsSpanLollipop()
|
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/ |
D | CivicLocation.java | 231 address.setCountryCode(mCountryCode); // Country in toAddress()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ReverseGeocoder.java | 387 address.setCountryCode(readUTF(dis)); in lookupAddress()
|
/packages/modules/Wifi/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 897 Landroid/net/wifi/IWifiManager$Stub$Proxy;->setCountryCode(Ljava/lang/String;)V 1024 Landroid/net/wifi/IWifiManager;->setCountryCode(Ljava/lang/String;)V 1888 Landroid/net/wifi/WifiManager;->setCountryCode(Ljava/lang/String;)V
|