android_device_xiaomi_sdm66.../loc_api/libloc_api_50001
Kevin Tang cb119e6f52 Make Loc Init Asynchronous
GPS-enable gets too heavy at powerup, when loc_init is
synchronous, where loc goes to get the hardware handle
if AP init happens faster than the GPS hardware. The
loc init calling thread is from Android framework, and
it locks a mutex that in turn could lock up system server
main thread upon race conditions.

The second half of loc init, i.e. the reinit, is now moved
to loc worker thread. This should help release some of the
powerup timing pressure on the framework threads.

Added a message just for asynchrous Loc Init so as to execute
init specifically.

Change-Id: I369e461ca4ca61cea3a9729c84d24af4ffa8e51d
CRs-fixed: 472843
2013-07-23 20:05:58 -06:00
..
Android.mk Added more delete assistance data flags 2013-07-23 20:05:57 -06:00
gps.c Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
gps_extended.h Added more delete assistance data flags 2013-07-23 20:05:57 -06:00
loc.cpp Add support for having no qcom proprietary 2013-07-23 20:05:56 -06:00
loc.h gps: moving agps/ni/xtra/time features out of afw 2013-06-11 15:00:57 -07:00
loc_eng.cpp Make Loc Init Asynchronous 2013-07-23 20:05:58 -06:00
loc_eng.h gps: Added xtra server query loc api 2013-06-11 15:02:29 -07:00
loc_eng_agps.cpp gps: moving agps/ni/xtra/time features out of afw 2013-06-11 15:00:57 -07:00
loc_eng_agps.h gps: moving agps/ni/xtra/time features out of afw 2013-06-11 15:00:57 -07:00
loc_eng_dmn_conn.cpp Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_eng_dmn_conn.h Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_eng_dmn_conn_glue_msg.c Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -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 Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -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 Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -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 Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -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 Make Loc Init Asynchronous 2013-07-23 20:05:58 -06:00
loc_eng_log.h gps: moving agps/ni/xtra/time features out of afw 2013-06-11 15:00:57 -07:00
loc_eng_msg.cpp Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_eng_msg.h gps: Added xtra server query loc api 2013-06-11 15:02:29 -07:00
loc_eng_msg_id.h Make Loc Init Asynchronous 2013-07-23 20:05:58 -06:00
loc_eng_ni.cpp gps: moving agps/ni/xtra/time features out of afw 2013-06-11 15:00:57 -07:00
loc_eng_ni.h Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_eng_nmea.cpp Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_eng_nmea.h Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_eng_xtra.cpp gps: Added xtra server query loc api 2013-06-11 15:02:29 -07:00
loc_eng_xtra.h gps: Added xtra server query loc api 2013-06-11 15:02:29 -07:00
loc_ulp.h Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
LocApiAdapter.cpp gps: Added xtra server query loc api 2013-06-11 15:02:29 -07:00
LocApiAdapter.h gps: Added xtra server query loc api 2013-06-11 15:02:29 -07:00