OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:countrydetector
(Results
1 - 16
of
16
) 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
;
48
final
CountryDetector
countryDetector
=
49
(
CountryDetector
) mContext.getSystemService(Context.COUNTRY_DETECTOR);
51
if (
countryDetector
!= null) country =
countryDetector
.detectCountry();
54
// Fallback to Locale if there are issues with
CountryDetector
59
countryDetector
.addCountryListener(new CountryListener() {
ContactsDatabaseHelper.java
38
import android.location.
CountryDetector
;
[
all
...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/
GeoUtil.java
21
import android.location.
CountryDetector
;
40
final
CountryDetector
detector =
41
(
CountryDetector
) context.getSystemService(Context.COUNTRY_DETECTOR);
48
// Fallback to Locale if have issues with
CountryDetector
55
final
CountryDetector
countryDetector
=
56
(
CountryDetector
) context.getSystemService(Context.COUNTRY_DETECTOR);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
PhoneNumberTestService.java
22
import android.location.
CountryDetector
;
115
final
CountryDetector
countryDetector
=
116
(
CountryDetector
) getSystemService(Context.COUNTRY_DETECTOR);
117
return
countryDetector
.detectCountry().getCountryIso();
/frameworks/base/location/java/android/location/
CountryDetector.java
52
public class
CountryDetector
{
83
private final static String TAG = "
CountryDetector
";
93
public
CountryDetector
(ICountryDetector service) {
/packages/apps/Mms/src/com/android/mms/
MmsApp.java
26
import android.location.
CountryDetector
;
52
private
CountryDetector
mCountryDetector;
78
mCountryDetector = (
CountryDetector
) getSystemService(Context.COUNTRY_DETECTOR);
/frameworks/base/telephony/java/com/android/internal/telephony/
CallerInfo.java
24
import android.location.
CountryDetector
;
566
CountryDetector
detector = (
CountryDetector
) context.getSystemService(
573
Rlog.e(TAG, "
CountryDetector
.detectCountry() returned null.");
578
Rlog.w(TAG, "No
CountryDetector
; falling back to countryIso based on locale: "
/packages/apps/InCallUI/src/com/android/incallui/
CallerInfo.java
24
import android.location.
CountryDetector
;
564
CountryDetector
detector = (
CountryDetector
) context.getSystemService(
571
Log.e(TAG, "
CountryDetector
.detectCountry() returned null.");
576
Log.w(TAG, "No
CountryDetector
; falling back to countryIso based on locale: "
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java
40
import android.location.
CountryDetector
;
94
private
CountryDetector
mMockCountryDetector = new
CountryDetector
(null){
/frameworks/base/services/java/com/android/server/
CountryDetectorService.java
81
private final static String TAG = "
CountryDetector
";
SystemServer.java
354
CountryDetectorService
countryDetector
= null;
598
countryDetector
= new CountryDetectorService(context);
599
ServiceManager.addService(Context.COUNTRY_DETECTOR,
countryDetector
);
[
all
...]
/frameworks/base/telephony/java/android/telephony/
PhoneNumberUtils.java
28
import android.location.
CountryDetector
;
[
all
...]
/frameworks/base/services/java/com/android/server/location/
ComprehensiveCountryDetector.java
61
private final static String TAG = "
CountryDetector
";
/frameworks/base/core/java/android/app/
ContextImpl.java
59
import android.location.
CountryDetector
;
376
return new
CountryDetector
(ICountryDetector.Stub.asInterface(b));
[
all
...]
/frameworks/base/core/java/android/content/
Context.java
[
all
...]
Completed in 2867 milliseconds