android_device_xiaomi_sdm66.../loc_api/libloc_api_50001
Kevin Tang 8977164eee fixing the SSR recovery race condition
There is a race condition where when startFix is
called right at the time when modem or griffon
subsystem is down, GPS HAL doesn't get the correct
error code, and therefore the right handling.

Mapped ENGINE_DOWN to ENGINE_OFFLINE, as they are
the same; and modified loc_eng_start_handler to
update the state upon the right error code.

There is a one problem though. General failure is
also handled as SSR. This is because of an unhandled
race condition in the kernel, so the error code
returned and propagated is not deterministic enough
for us to tell if this is SSR. Until that fix is in
place, we might have to treat general failure as SSR
although the side effect should be none. Only
semantically incorrect.

Change-Id: If93823f08428275da171bb22d73a06e38365585b
CR-Fixed: 692085
2014-07-30 18:02:41 -07:00
..
Android.mk MDM shutdown for Fusion device 2014-02-21 10:25:59 -08:00
gps.c Null check for malloc allocation 2013-10-16 16:54:06 -07:00
loc.cpp Add raw uncertainty to inject position api 2014-06-24 17:04:30 -07:00
loc.h Close MDM node on shutdown 2014-04-01 14:38:34 -07:00
loc_eng.cpp fixing the SSR recovery race condition 2014-07-30 18:02:41 -07:00
loc_eng.h Add support for XTRA_VERSION_CHECK QMI LOC msg 2014-07-21 10:45:06 -07:00
loc_eng_agps.cpp Revert "Revert "Location Hal Design Level Change for FLP Requirement"". 2013-08-09 11:44:12 -07:00
loc_eng_agps.h Revert "Revert "Location Hal Design Level Change for FLP Requirement"". 2013-08-09 11:44:12 -07:00
loc_eng_dmn_conn.cpp Changes for GPS HAL compilation 2014-07-03 15:08:51 -07:00
loc_eng_dmn_conn.h move location data files under /data/misc/location 2014-02-10 10:44:26 -08:00
loc_eng_dmn_conn_glue_msg.c hardware/qcom/gps: Porting HAL and Loc API 2.0 2013-07-03 17:08:14 -07:00
loc_eng_dmn_conn_glue_msg.h Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_eng_dmn_conn_glue_pipe.c hardware/qcom/gps: Porting HAL and Loc API 2.0 2013-07-03 17:08:14 -07:00
loc_eng_dmn_conn_glue_pipe.h Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_eng_dmn_conn_handler.cpp Revert "Revert "Location Hal Design Level Change for FLP Requirement"". 2013-08-09 11:44:12 -07:00
loc_eng_dmn_conn_handler.h Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_eng_dmn_conn_thread_helper.c hardware/qcom/gps: Porting HAL and Loc API 2.0 2013-07-03 17:08:14 -07:00
loc_eng_dmn_conn_thread_helper.h Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_eng_log.cpp removed ulp dependency. 2013-08-09 11:44:34 -07:00
loc_eng_log.h removed ulp dependency. 2013-08-09 11:44:34 -07:00
loc_eng_msg.h Close MDM node on shutdown 2014-04-01 14:38:34 -07:00
loc_eng_ni.cpp NI Emergency overrides a pending NI 2014-04-11 09:06:02 -07:00
loc_eng_ni.h NI Emergency overrides a pending NI 2014-04-11 09:06:02 -07:00
loc_eng_nmea.cpp KW warnings 2014-06-03 16:14:56 -07:00
loc_eng_nmea.h Generate position report NMEAs only on final fix 2013-06-17 14:22:00 -07:00
loc_eng_xtra.cpp Add support for XTRA_VERSION_CHECK QMI LOC msg 2014-07-21 10:45:06 -07:00
loc_eng_xtra.h gps: Added xtra server query loc api 2013-06-11 15:02:29 -07:00
LocEngAdapter.cpp Add support for XTRA_VERSION_CHECK QMI LOC msg 2014-07-21 10:45:06 -07:00
LocEngAdapter.h Add support for XTRA_VERSION_CHECK QMI LOC msg 2014-07-21 10:45:06 -07:00
Makefile.am removed ulp dependency. 2013-08-09 11:44:34 -07:00