Searched refs:DEFAULT_COUNTRY_CODE (Results 1 – 5 of 5) sorted by relevance
19 import static com.android.server.uwb.UwbCountryCode.DEFAULT_COUNTRY_CODE;164 DEFAULT_COUNTRY_CODE.getBytes(StandardCharsets.UTF_8)); in testSetDefaultCountryCodeWhenNoCountryCodeAvailable()165 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, DEFAULT_COUNTRY_CODE); in testSetDefaultCountryCodeWhenNoCountryCodeAvailable()371 DEFAULT_COUNTRY_CODE.getBytes(StandardCharsets.UTF_8)); in testWifiECallback_error()372 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, DEFAULT_COUNTRY_CODE); in testWifiECallback_error()385 DEFAULT_COUNTRY_CODE.getBytes(StandardCharsets.UTF_8)); in testGeocodingLocation_error()386 verify(mListener).onCountryCodeChanged(STATUS_CODE_OK, DEFAULT_COUNTRY_CODE); in testGeocodingLocation_error()447 DEFAULT_COUNTRY_CODE.getBytes(StandardCharsets.UTF_8)); in testUseLastKnownTelephonyCountryCodeWhenWifiAndTelephonyCountryCodeNotAvailable()535 .putExtra(TelephonyManager.EXTRA_NETWORK_COUNTRY, DEFAULT_COUNTRY_CODE) in testUseCacheWhenTelephonyAndWifiNotAvailable()538 mWifiCountryCodeReceiverCaptor.getValue().onActiveCountryCodeChanged(DEFAULT_COUNTRY_CODE); in testUseCacheWhenTelephonyAndWifiNotAvailable()[all …]
21 import static com.android.server.thread.ThreadNetworkCountryCode.DEFAULT_COUNTRY_CODE;190 assertThat(mThreadNetworkCountryCode.getCountryCode()).isEqualTo(DEFAULT_COUNTRY_CODE); in initialize_defaultCountryCodeIsUsed()291 .isEqualTo(ThreadNetworkCountryCode.DEFAULT_COUNTRY_CODE); in wifiCountryCode_wifiCountryCodeIsInactive_defaultCountryCodeIsUsed()421 .setCountryCode(eq(DEFAULT_COUNTRY_CODE), mOperationReceiverCaptor.capture()); in updateCountryCode_forceUpdateDefaultCountryCode_countryCodeIsUpdated()440 assertThat(mThreadNetworkCountryCode.getCountryCode()).isEqualTo(DEFAULT_COUNTRY_CODE); in clearOverrideCountryCode_defaultCountryCodeAvailable_defaultCountryCodeIsUsed()452 assertThat(mThreadNetworkCountryCode.getCountryCode()).isEqualTo(DEFAULT_COUNTRY_CODE); in setCountryCodeFailed_defaultCountryCodeAvailable_countryCodeIsNotUpdated()
28 import static com.android.server.thread.ThreadNetworkCountryCode.DEFAULT_COUNTRY_CODE;223 () -> DEFAULT_COUNTRY_CODE); in setUp()
73 public static final String DEFAULT_COUNTRY_CODE = "00"; field in UwbCountryCode398 Log.i(TAG, "No valid country code, reset to " + DEFAULT_COUNTRY_CODE); in setCountryCode()399 country = DEFAULT_COUNTRY_CODE; in setCountryCode()452 && !countryCode.equals(DEFAULT_COUNTRY_CODE) in isValid()
68 @VisibleForTesting public static final String DEFAULT_COUNTRY_CODE = "WW"; field in ThreadNetworkCountryCode102 new CountryCodeInfo(DEFAULT_COUNTRY_CODE, COUNTRY_CODE_SOURCE_DEFAULT);