Searched refs:onCountryCodeChanged (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbCountryCodeTest.java | 165 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, DEFAULT_COUNTRY_CODE); in testSetDefaultCountryCodeWhenNoCountryCodeAvailable() 174 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testInitializeCountryCodeFromTelephony() 190 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, ISO_COUNTRY_CODE); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListEmptyAndFlagEnabled() 206 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, ISO_COUNTRY_CODE); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListNullAndFlagEnabled() 229 verify(mListener, never()).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testSkipWhenExceptionThrownInInitializeCountryCodeFromTelephony() 238 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testInitializeCountryCodeFromTelephonyVerifyListener() 247 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testSetCountryCodeFromTelephony() 255 verify(mListener, never()).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testSetCountryCodeFromTelephony() 272 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testSetCountryCodeFromLocation() 280 verify(mListener, never()).onCountryCodeChanged(STATUS_CODE_OK, TEST_COUNTRY_CODE); in testSetCountryCodeFromLocation() [all …]
|
D | UwbServiceCoreTest.java | 391 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, VALID_COUNTRY_CODE); in enableUwbWithCountryCodeChangedCallback() 436 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, VALID_COUNTRY_CODE); in testCachedSpecificationResetOnCountryCodeChange() 518 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, "00"); in testEnableWithCountryCode_success() 526 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, "US"); in testEnableWithCountryCode_success() 617 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_ANDROID_REGULATION_UWB_OFF, "JP"); in testCountryCodeChange_fromValidCountry_statusRegulationUwbOff() 728 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, VALID_COUNTRY_CODE); in testEnableWhenInitializeDelayed() 842 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, VALID_COUNTRY_CODE); in testOnCountryCodeChanged_valid_whenAdapterStateDisabled() 866 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, VALID_COUNTRY_CODE); in testOnCountryCodeChanged_valid_whenAdapterStateEnabledInactive() 882 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, "00"); in testOnCountryCodeChanged_invalid_whenAdapterStateDisabled() 890 mUwbServiceCore.onCountryCodeChanged(STATUS_CODE_OK, "00"); in testOnCountryCodeChanged_invalid_whenAdapterStateDisabled() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbCountryCode.java | 144 void onCountryCodeChanged(int statusCode, @Nullable String newCountryCode); in onCountryCodeChanged() method 422 listener.onCountryCodeChanged(status, country); in setCountryCode()
|
D | UwbServiceCore.java | 502 public void onCountryCodeChanged(int setCountryCodeStatus, @Nullable String countryCode) { in onCountryCodeChanged() method in UwbServiceCore
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNativeTest.java | 1462 mCountryCodeChangedListenerCaptor.getValue().onCountryCodeChanged(testCountryCode); in testCountryCodeChangedListener()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 313 public void onCountryCodeChanged(String country) { in onCountryCodeChanged() method in WifiNative.CountryCodeChangeListenerInternal
|