OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CountryDetector
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/location/java/android/location/
CountryDetector.java
49
public class
CountryDetector
{
80
private final static String TAG = "
CountryDetector
";
90
public
CountryDetector
(ICountryDetector service) {
/packages/apps/Contacts/src/com/android/contacts/location/
CountryDetector.java
24
public class
CountryDetector
{
25
private static final String TAG = "
CountryDetector
";
27
private static
CountryDetector
sInstance;
47
private
CountryDetector
(Context context) {
52
private
CountryDetector
(Context context, TelephonyManager telephonyManager,
60
* Factory method for {@link
CountryDetector
} that allows the caller to provide mock objects.
62
public
CountryDetector
getInstanceForTest(Context context, TelephonyManager telephonyManager,
64
return new
CountryDetector
(context, telephonyManager, localeProvider);
73
public synchronized static
CountryDetector
getInstance(Context context) {
75
sInstance = new
CountryDetector
(context.getApplicationContext())
[
all
...]
/packages/apps/Dialer/java/com/android/dialer/location/
CountryDetector.java
63
public class
CountryDetector
{
75
@VisibleForTesting public static
CountryDetector
instance;
83
public
CountryDetector
(
104
"
CountryDetector
.registerForLocationUpdates",
109
LogUtil.i("
CountryDetector
.registerForLocationUpdates", "registering for location updates");
122
/** @return the single instance of the {@link
CountryDetector
} */
123
public static synchronized
CountryDetector
getInstance(Context context) {
127
new
CountryDetector
(
211
// of
CountryDetector
to make this work for tests which is weird
213
processLocationUpdate(context,
CountryDetector
.getInstance(context).geocoder, location)
[
all
...]
Completed in 202 milliseconds