Searched refs:geocoder (Results 1 – 5 of 5) sorted by relevance
/external/libphonenumber/geocoder/test/com/google/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoderTest.java | 30 private final PhoneNumberOfflineGeocoder geocoder = field in PhoneNumberOfflineGeocoderTest 73 geocoder.getDescriptionForNumber(US_NUMBER1, Locale.SIMPLIFIED_CHINESE)); in testGetDescriptionForNumberWithNoDataFile() 75 geocoder.getDescriptionForNumber(BS_NUMBER1, new Locale("en", "US"))); in testGetDescriptionForNumberWithNoDataFile() 77 geocoder.getDescriptionForNumber(AU_NUMBER, new Locale("en", "US"))); in testGetDescriptionForNumberWithNoDataFile() 78 assertEquals("", geocoder.getDescriptionForNumber(NUMBER_WITH_INVALID_COUNTRY_CODE, in testGetDescriptionForNumberWithNoDataFile() 80 assertEquals("", geocoder.getDescriptionForNumber(INTERNATIONAL_TOLL_FREE, in testGetDescriptionForNumberWithNoDataFile() 88 geocoder.getDescriptionForNumber(US_NUMBER4, new Locale("en", "US"))); in testGetDescriptionForNumberWithMissingPrefix() 95 geocoder.getDescriptionForNumber(NANPA_TOLL_FREE, new Locale("en", "US"))); in testGetDescriptionForNumberBelongingToMultipleCountriesIsEmpty() 100 geocoder.getDescriptionForNumber(US_NUMBER1, new Locale("en", "US"))); in testGetDescriptionForNumber_en_US() 102 geocoder.getDescriptionForNumber(US_NUMBER2, new Locale("en", "US"))); in testGetDescriptionForNumber_en_US() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowGeocoderTest.java | 24 private Geocoder geocoder; field in ShadowGeocoderTest 29 geocoder = new Geocoder(context); in setUp() 46 assertThat(geocoder.getFromLocation(90.0,90.0,1)).hasSize(0); in getFromLocationReturnsAnEmptyArrayByDefault() 51 ShadowGeocoder shadowGeocoder = shadowOf(geocoder); in getFromLocationReturnsTheOverwrittenListLimitingByMaxResults() 56 List<Address> result = geocoder.getFromLocation(90.0, 90.0, 1); in getFromLocationReturnsTheOverwrittenListLimitingByMaxResults() 59 result = geocoder.getFromLocation(90.0, 90.0, 2); in getFromLocationReturnsTheOverwrittenListLimitingByMaxResults() 62 result = geocoder.getFromLocation(90.0, 90.0, 3); in getFromLocationReturnsTheOverwrittenListLimitingByMaxResults() 69 geocoder.getFromLocation(91.0, 90.0, 1); in getFromLocation_throwsExceptionForInvalidLatitude() 79 geocoder.getFromLocation(15.0, -211.0, 1); in getFromLocation_throwsExceptionForInvalidLongitude()
|
/external/libphonenumber/ |
D | Android.bp | 42 "repackaged/geocoder/src", 48 "repackaged/geocoder/src/**/*.java", 79 srcs: ["geocoder/src/**/*.java"], 80 java_resource_dirs: ["geocoder/src"], 86 // For unbundled use - without geocoder 103 "geocoder/test/**/*.java", 110 "geocoder/test",
|
D | build-full.gradle | 8 'geocoder/src'
|
D | release_notes.txt | 152 - Made isNumberGeographical public, and changed the geocoder to 524 - Changing the offline geocoder to not return any country at all if the number 712 - Added PhoneNumberToTimeZonesMapper including unittests to the geocoder maven project. 734 - Restructured the geocoder binary generation code, moving the classes under tools/ from 739 - Restructured the geocoder, moving the utility classes to a new module internal/prefixmapper. 1241 - An offline phone number geocoder has been added. The current implementation just returns the
|