android_device_xiaomi_sdm66.../loc_api/libloc_api_50001
Kevin Tang b05358920c 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.

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

Change-Id: I369e461ca4ca61cea3a9729c84d24af4ffa8e51d
CRs-fixed: 472843
2013-06-07 13:39:24 -07:00
..
Android.mk removed exe bit of the file access mod 2013-04-05 11:12:28 -07:00
gps.c Update copyright to The Linux Foundation 2013-01-10 08:07:21 -08:00
loc.cpp Merge "Ulp: Fixes an initialization bug for ULP call-backs" 2013-05-10 15:24:35 -07:00
loc.h Update LOC API source and header files 2013-05-30 18:37:06 -07:00
loc_eng.cpp Make Loc Init Asynchronous 2013-06-07 13:39:24 -07:00
loc_eng.h gps: use single recurrence for MSA requests 2013-05-09 11:21:34 -07:00
loc_eng_agps.cpp Merge jb into jb_2.5 2012-12-14 16:45:15 -08:00
loc_eng_agps.h Merge jb into jb_2.5 2012-12-14 16:45:15 -08:00
loc_eng_dmn_conn.cpp Merge jb into jb_2.5 2012-12-14 16:45:15 -08:00
loc_eng_dmn_conn.h Merge jb into jb_2.5 2012-12-14 16:45:15 -08:00
loc_eng_dmn_conn_glue_msg.c Update copyright to The Linux Foundation 2013-01-10 08:07:21 -08:00
loc_eng_dmn_conn_glue_msg.h Update copyright to The Linux Foundation 2013-01-10 08:07:21 -08:00
loc_eng_dmn_conn_glue_pipe.c Merge jb into jb_2.5 2012-12-14 16:45:15 -08:00
loc_eng_dmn_conn_glue_pipe.h Update copyright to The Linux Foundation 2013-01-10 08:07:21 -08:00
loc_eng_dmn_conn_handler.cpp Merge jb into jb_2.5 2012-12-14 16:45:15 -08:00
loc_eng_dmn_conn_handler.h Merge jb into jb_2.5 2012-12-14 16:45:15 -08:00
loc_eng_dmn_conn_thread_helper.c Update copyright to The Linux Foundation 2013-01-10 08:07:21 -08:00
loc_eng_dmn_conn_thread_helper.h Update copyright to The Linux Foundation 2013-01-10 08:07:21 -08:00
loc_eng_log.cpp Make Loc Init Asynchronous 2013-06-07 13:39:24 -07:00
loc_eng_log.h Merge jb into jb_2.5 2012-12-14 16:45:15 -08:00
loc_eng_msg.cpp Update copyright to The Linux Foundation 2013-01-10 08:07:21 -08:00
loc_eng_msg.h Merge "Change data type of HEPE to float" 2013-05-09 15:14:27 -07:00
loc_eng_msg_id.h Make Loc Init Asynchronous 2013-06-07 13:39:24 -07:00
loc_eng_ni.cpp Merge jb into jb_2.5 2012-12-14 16:45:15 -08:00
loc_eng_ni.h Update copyright to The Linux Foundation 2013-01-10 08:07:21 -08:00
loc_eng_nmea.cpp Correction in checksum calculation for NMEA 2013-04-01 09:44:10 -07:00
loc_eng_nmea.h Ulp: Adds interfacing b/w FusedLocationProv & ULP engine 2013-01-29 17:24:01 -08:00
loc_eng_xtra.cpp Merge jb into jb_2.5 2012-12-14 16:45:15 -08:00
loc_eng_xtra.h Update copyright to The Linux Foundation 2013-01-10 08:07:21 -08:00
loc_ulp.h Merge "Change data type of HEPE to float" 2013-05-09 15:14:27 -07:00
LocApiAdapter.cpp Ulp: Adds interfacing b/w FusedLocationProv & ULP engine 2013-01-29 17:24:01 -08:00
LocApiAdapter.h Ulp: Adds interfacing b/w FusedLocationProv & ULP engine 2013-01-29 17:24:01 -08:00