Home
last modified time | relevance | path

Searched refs:mGeocodeListenerCaptor (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkCountryCodeTest.java114 @Captor private ArgumentCaptor<Geocoder.GeocodeListener> mGeocodeListenerCaptor; field in ThreadNetworkCountryCodeTest
223 anyDouble(), anyDouble(), anyInt(), mGeocodeListenerCaptor.capture()); in locationCountryCode_locationChanged_locationCountryCodeIsUsed()
224 mGeocodeListenerCaptor.getValue().onGeocode(List.of(newAddress(TEST_COUNTRY_CODE_US))); in locationCountryCode_locationChanged_locationCountryCodeIsUsed()
238 anyDouble(), anyDouble(), anyInt(), mGeocodeListenerCaptor.capture()); in wifiCountryCode_bothWifiAndLocationAreAvailable_wifiCountryCodeIsUsed()
243 mGeocodeListenerCaptor.getValue().onGeocode(addresses); in wifiCountryCode_bothWifiAndLocationAreAvailable_wifiCountryCodeIsUsed()
303 anyDouble(), anyDouble(), anyInt(), mGeocodeListenerCaptor.capture()); in telephonyCountryCode_bothTelephonyAndLocationAvailable_telephonyCodeIsUsed()
304 mGeocodeListenerCaptor.getValue().onGeocode(List.of(newAddress(TEST_COUNTRY_CODE_US))); in telephonyCountryCode_bothTelephonyAndLocationAvailable_telephonyCodeIsUsed()
329 anyDouble(), anyDouble(), anyInt(), mGeocodeListenerCaptor.capture()); in telephonyCountryCode_locationIsAvailable_lastKnownTelephonyCodeIsUsed()
330 mGeocodeListenerCaptor.getValue().onGeocode(List.of(newAddress(TEST_COUNTRY_CODE_US))); in telephonyCountryCode_locationIsAvailable_lastKnownTelephonyCodeIsUsed()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbCountryCodeTest.java109 private ArgumentCaptor<Geocoder.GeocodeListener> mGeocodeListenerCaptor; field in UwbCountryCodeTest
264 anyDouble(), anyDouble(), anyInt(), mGeocodeListenerCaptor.capture()); in testSetCountryCodeFromLocation()
268 mGeocodeListenerCaptor.getValue().onGeocode(addresses); in testSetCountryCodeFromLocation()
396 anyDouble(), anyDouble(), anyInt(), mGeocodeListenerCaptor.capture()); in testChangeInLocationCountryCode()
400 mGeocodeListenerCaptor.getValue().onGeocode(addresses); in testChangeInLocationCountryCode()
422 anyDouble(), anyDouble(), anyInt(), mGeocodeListenerCaptor.capture()); in testChangeInTelephonyCountryCodeWhenWifiAndLocationCountryCodeAvailable()
426 mGeocodeListenerCaptor.getValue().onGeocode(addresses); in testChangeInTelephonyCountryCodeWhenWifiAndLocationCountryCodeAvailable()