Home
last modified time | relevance | path

Searched refs:mGeocoder (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
DReverseGeocoderTask.java35 private Geocoder mGeocoder; field in ReverseGeocoderTask
42 mGeocoder = geocoder; in ReverseGeocoderTask()
53 mGeocoder.getFromLocation(mLat, mLng, 1); in doInBackground()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkCountryCodeTest.java96 @Mock Geocoder mGeocoder; field in ThreadNetworkCountryCodeTest
163 mGeocoder, in newCountryCodeWithOemSource()
209 verifyNoMoreInteractions(mGeocoder); in initialize_locationUseIsDisabled_locationFunctionIsNotCalled()
221 verify(mGeocoder) in locationCountryCode_locationChanged_locationCountryCodeIsUsed()
236 verify(mGeocoder) in wifiCountryCode_bothWifiAndLocationAreAvailable_wifiCountryCodeIsUsed()
301 verify(mGeocoder) in telephonyCountryCode_bothTelephonyAndLocationAvailable_telephonyCodeIsUsed()
327 verify(mGeocoder) in telephonyCountryCode_locationIsAvailable_lastKnownTelephonyCodeIsUsed()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkCountryCode.java107 @Nullable private final Geocoder mGeocoder; field in ThreadNetworkCountryCode
227 mGeocoder = geocoder; in ThreadNetworkCountryCode()
269 if ((mGeocoder != null) && isLocationUseForCountryCodeEnabled()) { in registerGeocoderCountryCodeCallback()
296 if ((location == null) || (mGeocoder == null)) return; in setCountryCodeFromGeocodingLocation()
306 mGeocoder.getFromLocation( in setCountryCodeFromGeocodingLocation()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbCountryCodeTest.java88 @Mock Geocoder mGeocoder; field in UwbCountryCodeTest
146 when(mUwbInjector.makeGeocoder()).thenReturn(mGeocoder); in setUp()
263 verify(mGeocoder).getFromLocation( in testSetCountryCodeFromLocation()
289 verifyNoMoreInteractions(mGeocoder); in testSetCountryCodeWhenLocationUseIsDisabled()
395 verify(mGeocoder).getFromLocation( in testChangeInLocationCountryCode()
421 verify(mGeocoder).getFromLocation( in testChangeInTelephonyCountryCodeWhenWifiAndLocationCountryCodeAvailable()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java73 private Geocoder mGeocoder; field in ReverseGeocoder
80 mGeocoder = new Geocoder(mContext); in ReverseGeocoder()
320 List<Address> addresses = mGeocoder.getFromLocation(latitude, longitude, 1); in lookupAddress()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbCountryCode.java99 private final Geocoder mGeocoder; field in UwbCountryCode
155 mGeocoder = uwbInjector.makeGeocoder(); in UwbCountryCode()
181 mGeocoder.getFromLocation( in setCountryCodeFromGeocodingLocation()