Home
last modified time | relevance | path

Searched refs:DEFAULT_COUNTRY_CODE (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbCountryCodeTest.java19 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 …]
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkCountryCodeTest.java21 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()
DThreadNetworkControllerServiceTest.java28 import static com.android.server.thread.ThreadNetworkCountryCode.DEFAULT_COUNTRY_CODE;
223 () -> DEFAULT_COUNTRY_CODE); in setUp()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbCountryCode.java73 public static final String DEFAULT_COUNTRY_CODE = "00"; field in UwbCountryCode
398 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()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkCountryCode.java68 @VisibleForTesting public static final String DEFAULT_COUNTRY_CODE = "WW"; field in ThreadNetworkCountryCode
102 new CountryCodeInfo(DEFAULT_COUNTRY_CODE, COUNTRY_CODE_SOURCE_DEFAULT);