Home | History | Annotate | Download | only in location

Lines Matching refs:country

18 import android.location.Country;
46 public TestCountryDetector(String country, String provider) {
47 this(country, provider, 1000 * 60 * 5);
50 public TestCountryDetector(String country, String provider, long queryLocationTimeout) {
52 mCountry = country;
158 public void onCountryDetected(Country country) {
160 if (country != null) {
161 mCountryCode = country.getCountryIso();
183 final String country = "us";
186 TestCountryDetector detector = new TestCountryDetector(country, provider);
220 final String country = "us";
223 TestCountryDetector detector = new TestCountryDetector(country, provider);
234 // There is no way to stop the thread, let's test it could be stopped, after get country
245 final String country = "us";
248 TestCountryDetector detector = new TestCountryDetector(country, provider);
263 final String country = "us";
266 TestCountryDetector detector = new TestCountryDetector(country, provider, timeout) {
286 final String country = "us";
288 TestCountryDetector detector = new TestCountryDetector(country, provider) {
299 // We didn't find country.
323 final String country = "us";
326 TestCountryDetector detector = new TestCountryDetector(country, provider, timeout);