Home
last modified time | relevance | path

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

/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkCountryCodeTest.java113 @Captor private ArgumentCaptor<LocationListener> mLocationListenerCaptor; field in ThreadNetworkCountryCodeTest
219 anyString(), anyLong(), anyFloat(), mLocationListenerCaptor.capture()); in locationCountryCode_locationChanged_locationCountryCodeIsUsed()
220 mLocationListenerCaptor.getValue().onLocationChanged(mLocation); in locationCountryCode_locationChanged_locationCountryCodeIsUsed()
234 anyString(), anyLong(), anyFloat(), mLocationListenerCaptor.capture()); in wifiCountryCode_bothWifiAndLocationAreAvailable_wifiCountryCodeIsUsed()
235 mLocationListenerCaptor.getValue().onLocationChanged(mLocation); in wifiCountryCode_bothWifiAndLocationAreAvailable_wifiCountryCodeIsUsed()
299 anyString(), anyLong(), anyFloat(), mLocationListenerCaptor.capture()); in telephonyCountryCode_bothTelephonyAndLocationAvailable_telephonyCodeIsUsed()
300 mLocationListenerCaptor.getValue().onLocationChanged(mLocation); in telephonyCountryCode_bothTelephonyAndLocationAvailable_telephonyCodeIsUsed()
325 anyString(), anyLong(), anyFloat(), mLocationListenerCaptor.capture()); in telephonyCountryCode_locationIsAvailable_lastKnownTelephonyCodeIsUsed()
326 mLocationListenerCaptor.getValue().onLocationChanged(mLocation); in telephonyCountryCode_locationIsAvailable_lastKnownTelephonyCodeIsUsed()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbCountryCodeTest.java107 private ArgumentCaptor<LocationListener> mLocationListenerCaptor; field in UwbCountryCodeTest
382 anyString(), anyLong(), anyFloat(), mLocationListenerCaptor.capture()); in testGeocodingLocation_error()
383 mLocationListenerCaptor.getValue().onLocationChanged(mLocation); in testGeocodingLocation_error()
393 anyString(), anyLong(), anyFloat(), mLocationListenerCaptor.capture()); in testChangeInLocationCountryCode()
394 mLocationListenerCaptor.getValue().onLocationChanged(mLocation); in testChangeInLocationCountryCode()
419 anyString(), anyLong(), anyFloat(), mLocationListenerCaptor.capture()); in testChangeInTelephonyCountryCodeWhenWifiAndLocationCountryCodeAvailable()
420 mLocationListenerCaptor.getValue().onLocationChanged(mLocation); in testChangeInTelephonyCountryCodeWhenWifiAndLocationCountryCodeAvailable()