OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CountryDetector
(Results
1 - 11
of
11
) sorted by null
/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/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
...]
/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/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();
/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/telephony/java/android/telephony/
PhoneNumberUtils.java
28
import android.location.
CountryDetector
;
[
all
...]
/frameworks/base/core/java/android/app/
ContextImpl.java
59
import android.location.
CountryDetector
;
376
return new
CountryDetector
(ICountryDetector.Stub.asInterface(b));
[
all
...]
Completed in 5347 milliseconds