android_device_xiaomi_sdm66.../core
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 Revert "Avoid GPS build for MSM8916 64bit" 2014-05-07 17:12:49 -07:00
ContextBase.cpp Add option to fallback to LocApiV02 2014-07-03 15:07:08 -07:00
ContextBase.h Inject feature config 2014-05-05 12:10:59 -07:00
gps_extended.h Revert "Revert "Location Hal Design Level Change for FLP Requirement"". 2013-08-09 11:44:12 -07:00
gps_extended_c.h fixing the SSR recovery race condition 2014-07-30 18:02:41 -07:00
LBSProxyBase.h Inject feature config 2014-05-05 12:10:59 -07:00
loc_core_log.cpp Logging correction when printing IPV6 bearer type 2014-05-06 11:39:15 -07:00
loc_core_log.h Revert "Revert "Location Hal Design Level Change for FLP Requirement"". 2013-08-09 11:44:12 -07:00
LocAdapterBase.cpp Close MDM node on shutdown 2014-04-01 14:38:34 -07:00
LocAdapterBase.h Inject location only on CPI disabled 2014-04-03 14:41:53 -07:00
LocAdapterProxyBase.h Inject location only on CPI disabled 2014-04-03 14:41:53 -07:00
LocApiBase.cpp Add support for XTRA_VERSION_CHECK QMI LOC msg 2014-07-21 10:45:06 -07:00
LocApiBase.h Add support for XTRA_VERSION_CHECK QMI LOC msg 2014-07-21 10:45:06 -07:00
LocDualContext.cpp Inject feature config 2014-05-05 12:10:59 -07:00
LocDualContext.h Inject feature config 2014-05-05 12:10:59 -07:00
MsgTask.cpp Changes for GPS HAL compilation 2014-07-03 15:08:51 -07:00
MsgTask.h Assure associate callback is called in msgTask 2014-04-16 10:36:03 -07:00
UlpProxyBase.h Sending HW FLP request to ULP 2014-05-08 10:56:31 -07:00