OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sGpsInterface
(Results
1 - 3
of
3
) sorted by null
/hardware/libhardware_legacy/gps/
gps.cpp
8
static const GpsInterface*
sGpsInterface
= NULL;
15
sGpsInterface
= gps_get_qemu_interface();
16
if (
sGpsInterface
) {
24
sGpsInterface
= gps_get_hardware_interface();
26
if (!
sGpsInterface
)
33
if (
sGpsInterface
== NULL)
36
return
sGpsInterface
;
/hardware/libhardware_legacy/tests/gpstest/
gpstest.cpp
25
static const GpsInterface*
sGpsInterface
= NULL;
98
sGpsInterface
= gps_get_interface();
99
if (!
sGpsInterface
) {
104
int err =
sGpsInterface
->init(&sCallbacks);
110
sGpsInterface
->start();
116
sGpsInterface
->stop();
123
sGpsInterface
->cleanup();
/frameworks/base/core/jni/
android_location_GpsLocationProvider.cpp
41
static const GpsInterface*
sGpsInterface
= NULL;
209
if (!
sGpsInterface
)
210
sGpsInterface
= gps_get_interface();
211
return (
sGpsInterface
!= NULL);
216
if (!
sGpsInterface
)
217
sGpsInterface
= gps_get_interface();
218
if (!
sGpsInterface
||
sGpsInterface
->init(&sGpsCallbacks) != 0)
222
sAGpsInterface = (const AGpsInterface*)
sGpsInterface
->get_extension(AGPS_INTERFACE);
227
sGpsNiInterface = (const GpsNiInterface*)
sGpsInterface
->get_extension(GPS_NI_INTERFACE)
[
all
...]
Completed in 446 milliseconds