Lines Matching refs:provider
46 public TestCountryDetector(String country, String provider) {
47 this(country, provider, 1000 * 60 * 5);
50 public TestCountryDetector(String country, String provider, long queryLocationTimeout) {
53 mLocation = new Location(provider);
87 protected boolean isAcceptableProvider(String provider) {
89 return mAcceptableProviders.contains(provider);
96 protected void registerListener(String provider, LocationListener listener) {
97 assertNotNull(provider);
98 mListeners.put(provider, listener);
184 final String provider = "Good";
186 TestCountryDetector detector = new TestCountryDetector(country, provider);
221 final String provider = "Good";
223 TestCountryDetector detector = new TestCountryDetector(country, provider);
246 final String provider = "Good";
248 TestCountryDetector detector = new TestCountryDetector(country, provider);
264 final String provider = "Good";
266 TestCountryDetector detector = new TestCountryDetector(country, provider, timeout) {
287 final String provider = "Good";
288 TestCountryDetector detector = new TestCountryDetector(country, provider) {
324 final String provider = "Good";
326 TestCountryDetector detector = new TestCountryDetector(country, provider, timeout);