OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LocationProvider
(Results
1 - 25
of
48
) sorted by null
1
2
/external/chromium_org/content/port/browser/
location_provider.h
14
class
LocationProvider
;
17
class
LocationProvider
{
19
virtual ~
LocationProvider
() {}
21
typedef base::Callback<void(const
LocationProvider
*, const Geoposition&)>
35
// Important: a
LocationProvider
may be instantiated and StartProvider() may
/external/chromium_org/content/browser/geolocation/
location_arbitrator_impl.h
25
class
LocationProvider
;
56
virtual
LocationProvider
* NewNetworkLocationProvider(
61
virtual
LocationProvider
* NewSystemLocationProvider();
67
void RegisterProvider(
LocationProvider
* provider);
74
void LocationUpdateAvailable(const
LocationProvider
* provider,
86
LocationProvider
::LocationProviderUpdateCallback provider_callback_;
87
ScopedVector<
LocationProvider
> providers_;
90
const
LocationProvider
* position_provider_;
103
LocationProvider
* NewSystemLocationProvider();
mock_location_provider.h
28
//
LocationProvider
implementation.
53
LocationProvider
* NewMockLocationProvider();
56
LocationProvider
* NewAutoSuccessMockLocationProvider();
59
LocationProvider
* NewAutoFailMockLocationProvider();
63
LocationProvider
* NewAutoSuccessMockNetworkLocationProvider();
location_provider_base.h
14
: NON_EXPORTED_BASE(public
LocationProvider
) {
22
// Overridden from
LocationProvider
:
location_provider_android.cc
47
LocationProvider
* NewSystemLocationProvider() {
mock_location_provider.cc
120
LocationProvider
* NewMockLocationProvider() {
124
LocationProvider
* NewAutoSuccessMockLocationProvider() {
128
LocationProvider
* NewAutoFailMockLocationProvider() {
132
LocationProvider
* NewAutoSuccessMockNetworkLocationProvider() {
location_arbitrator_impl.cc
49
for (ScopedVector<
LocationProvider
>::iterator i = providers_.begin();
70
for (ScopedVector<
LocationProvider
>::iterator i = providers_.begin();
107
LocationProvider
* provider =
116
LocationProvider
* provider) {
126
const
LocationProvider
* provider,
148
LocationProvider
* LocationArbitratorImpl::NewNetworkLocationProvider(
162
LocationProvider
* LocationArbitratorImpl::NewSystemLocationProvider() {
network_location_provider_unittest.cc
38
void LocationUpdateAvailable(const
LocationProvider
* provider,
46
const
LocationProvider
* updated_provider_;
128
LocationProvider
* CreateProvider(bool set_permission_granted) {
129
LocationProvider
* provider = NewNetworkLocationProvider(
330
scoped_ptr<
LocationProvider
> provider(CreateProvider(true));
337
scoped_ptr<
LocationProvider
> provider(CreateProvider(true));
346
scoped_ptr<
LocationProvider
> provider(CreateProvider(true));
354
scoped_ptr<
LocationProvider
> provider(CreateProvider(true));
369
scoped_ptr<
LocationProvider
> provider(CreateProvider(true));
473
scoped_ptr<
LocationProvider
> provider(CreateProvider(true))
[
all
...]
location_arbitrator_impl_unittest.cc
84
virtual
LocationProvider
* NewNetworkLocationProvider(
92
virtual
LocationProvider
* NewSystemLocationProvider() OVERRIDE {
313
LocationProvider
* fakeProvider =
/cts/tests/tests/location/src/android/location/cts/
LocationProviderTest.java
23
import android.location.
LocationProvider
;
66
LocationProvider
locationProvider
= mLocationManager.getProvider(PROVIDER_NAME);
67
assertEquals(PROVIDER_NAME,
locationProvider
.getName());
71
LocationProvider
locationProvider
= mLocationManager.getProvider(PROVIDER_NAME);
76
assertTrue(
locationProvider
.meetsCriteria(criteria));
LocationManagerTest.java
33
import android.location.
LocationProvider
;
82
LocationProvider
lp = mManager.getProvider(TEST_MOCK_PROVIDER_NAME);
108
LocationProvider
provider = mManager.getProvider(TEST_MOCK_PROVIDER_NAME);
123
LocationProvider
provider = mManager.getProvider(TEST_MOCK_PROVIDER_NAME);
209
LocationProvider
p = mManager.getProvider(TEST_MOCK_PROVIDER_NAME);
626
final int status =
LocationProvider
.TEMPORARILY_UNAVAILABLE;
[
all
...]
/frameworks/base/services/java/com/android/server/location/
PassiveProvider.java
29
import android.location.
LocationProvider
;
83
return
LocationProvider
.AVAILABLE;
85
return
LocationProvider
.TEMPORARILY_UNAVAILABLE;
MockProvider.java
22
import android.location.
LocationProvider
;
99
return
LocationProvider
.AVAILABLE;
LocationProviderProxy.java
24
import android.location.
LocationProvider
;
248
if (service == null) return
LocationProvider
.TEMPORARILY_UNAVAILABLE;
258
return
LocationProvider
.TEMPORARILY_UNAVAILABLE;
GpsLocationProvider.java
39
import android.location.
LocationProvider
;
88
* A GPS implementation of
LocationProvider
used by LocationManager.
225
private int mStatus =
LocationProvider
.TEMPORARILY_UNAVAILABLE;
413
networkState =
LocationProvider
.TEMPORARILY_UNAVAILABLE;
415
networkState =
LocationProvider
.AVAILABLE;
575
mNetworkAvailable = (state ==
LocationProvider
.AVAILABLE);
[
all
...]
/frameworks/base/location/java/android/location/
LocationProvider.java
36
public class
LocationProvider
{
43
* in the name of a
LocationProvider
52
* Constructs a
LocationProvider
with the given name. Provider names must
59
public
LocationProvider
(String name, ProviderProperties properties) {
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
LocationProviderFactory.java
22
* Factory to create a
LocationProvider
to allow us to inject
26
private static LocationProviderFactory.
LocationProvider
sProviderImpl;
31
public interface
LocationProvider
{
41
public static void setLocationProviderImpl(LocationProviderFactory.
LocationProvider
provider) {
46
public static
LocationProvider
get(Context context) {
59
implements LocationListener, LocationProviderFactory.
LocationProvider
{
62
private static final String TAG = "
LocationProvider
";
LocationProviderAdapter.java
28
private LocationProviderFactory.
LocationProvider
mImpl;
/frameworks/base/location/tests/locationtests/src/android/location/
LocationManagerTest.java
23
import android.location.
LocationProvider
;
42
LocationProvider
p = manager.getProvider("bogus");
47
LocationProvider
p = manager.getProvider("network");
52
LocationProvider
p = manager.getProvider("gps");
81
LocationProvider
p = manager.getProvider("gps");
/packages/apps/Camera/src/com/android/camera/
LocationManager.java
21
import android.location.
LocationProvider
;
165
case
LocationProvider
.OUT_OF_SERVICE:
166
case
LocationProvider
.TEMPORARILY_UNAVAILABLE: {
/packages/apps/Camera2/src/com/android/camera/
LocationManager.java
21
import android.location.
LocationProvider
;
165
case
LocationProvider
.OUT_OF_SERVICE:
166
case
LocationProvider
.TEMPORARILY_UNAVAILABLE: {
/packages/apps/LegacyCamera/src/com/android/camera/
LocationManager.java
21
import android.location.
LocationProvider
;
165
case
LocationProvider
.OUT_OF_SERVICE:
166
case
LocationProvider
.TEMPORARILY_UNAVAILABLE: {
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
FusedLocationProvider.java
32
import android.location.
LocationProvider
;
128
return
LocationProvider
.AVAILABLE;
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
MockLocationProvider.java
19
public class MockLocationProvider implements LocationProviderFactory.
LocationProvider
{
/external/chromium_org/content/public/browser/
content_browser_client.h
85
class
LocationProvider
;
571
// Allows an embedder to return its own
LocationProvider
implementation.
576
virtual
LocationProvider
* OverrideSystemLocationProvider();
Completed in 770 milliseconds
1
2