Home
last modified time | relevance | path

Searched refs:onCountryCodeChanged (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbCountryCodeTest.java196 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, DEFAULT_COUNTRY_CODE); in testSetDefaultCountryCodeWhenNoCountryCodeAvailable()
205 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testInitializeCountryCodeFromTelephony()
221 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, ISO_COUNTRY_CODE); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListEmptyAndFlagEnabled()
237 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, ISO_COUNTRY_CODE); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListNullAndFlagEnabled()
260 verify(mListener, never()).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testSkipWhenExceptionThrownInInitializeCountryCodeFromTelephony()
269 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testInitializeCountryCodeFromTelephonyVerifyListener()
278 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testSetCountryCodeFromTelephony()
286 verify(mListener, never()).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testSetCountryCodeFromTelephony()
303 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testSetCountryCodeFromLocation()
311 verify(mListener, never()).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testSetCountryCodeFromLocation()
[all …]
DUwbServiceCoreTest.java433 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, VALID_COUNTRY_CODE); in enableUwbWithCountryCodeChangedCallback()
484 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, VALID_COUNTRY_CODE); in testCachedSpecificationResetOnCountryCodeChange()
566 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, "00"); in testEnableWithCountryCode_success()
574 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, "US"); in testEnableWithCountryCode_success()
665 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_ANDROID_REGULATION_UWB_OFF, "JP"); in testCountryCodeChange_fromValidCountry_statusRegulationUwbOff()
776 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, VALID_COUNTRY_CODE); in testEnableWhenInitializeDelayed()
892 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, VALID_COUNTRY_CODE); in testOnCountryCodeChanged_valid_whenAdapterStateDisabled()
916 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, VALID_COUNTRY_CODE); in testOnCountryCodeChanged_valid_whenAdapterStateEnabledInactive()
932 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, "00"); in testOnCountryCodeChanged_invalid_whenAdapterStateDisabled()
940 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, "00"); in testOnCountryCodeChanged_invalid_whenAdapterStateDisabled()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbCountryCode.java166 void onCountryCodeChanged(int statusCode, @Nullable String newCountryCode); in onCountryCodeChanged() method
623 listener.onCountryCodeChanged(status, country); in setCountryCode()
DUwbServiceCore.java512 public void onCountryCodeChanged(int setCountryCodeStatus, @Nullable String countryCode) { in onCountryCodeChanged() method in UwbServiceCore
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java1558 mCountryCodeChangedListenerCaptor.getValue().onCountryCodeChanged(testCountryCode); in testCountryCodeChangedListener()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNative.java405 public void onCountryCodeChanged(String country) { in onCountryCodeChanged() method in WifiNative.CountryCodeChangeListenerInternal