OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:countryDetector
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
ComprehensiveCountryDetectorTest.java
146
TestCountryDetector
countryDetector
= new TestCountryDetector() {
153
countryDetector
.setCountryListener(listener);
154
Country country =
countryDetector
.detectCountry();
157
assertFalse(
countryDetector
.locationBasedDetectorStarted());
158
assertFalse(
countryDetector
.locationRefreshStarted());
159
countryDetector
.stop();
167
TestCountryDetector
countryDetector
= new TestCountryDetector() {
174
countryDetector
.setCountryListener(listener);
175
Country country =
countryDetector
.detectCountry();
177
assertTrue(
countryDetector
.locationBasedDetectorStarted())
[
all
...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
CountryMonitor.java
21
import android.location.
CountryDetector
;
46
final
CountryDetector
countryDetector
=
47
(
CountryDetector
) mContext.getSystemService(Context.COUNTRY_DETECTOR);
48
mCurrentCountryIso =
countryDetector
.detectCountry().getCountryIso();
49
countryDetector
.addCountryListener(new CountryListener() {
/frameworks/base/services/java/com/android/server/
SystemServer.java
260
CountryDetectorService
countryDetector
= null;
437
countryDetector
= new CountryDetectorService(context);
438
ServiceManager.addService(Context.COUNTRY_DETECTOR,
countryDetector
);
631
final CountryDetectorService countryDetectorF =
countryDetector
;
[
all
...]
Completed in 50 milliseconds