Home
last modified time | relevance | path

Searched refs:sGpsInterface (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware_legacy/gps/
Dgps.cpp8 static const GpsInterface* sGpsInterface = NULL; variable
15 sGpsInterface = gps_get_qemu_interface(); in gps_find_hardware()
16 if (sGpsInterface) { in gps_find_hardware()
24 sGpsInterface = gps_get_hardware_interface(); in gps_find_hardware()
26 if (!sGpsInterface) in gps_find_hardware()
33 if (sGpsInterface == NULL) in gps_get_interface()
36 return sGpsInterface; in gps_get_interface()
/hardware/libhardware_legacy/tests/gpstest/
Dgpstest.cpp25 static const GpsInterface* sGpsInterface = NULL; variable
98 sGpsInterface = gps_get_interface(); in main()
99 if (!sGpsInterface) { in main()
104 int err = sGpsInterface->init(&sCallbacks); in main()
110 sGpsInterface->start(); in main()
116 sGpsInterface->stop(); in main()
123 sGpsInterface->cleanup(); in main()