android_device_xiaomi_sdm66.../loc_api/libloc_api
Mike Lockwood a162c43519 Fix threading problem that resulted in the wakelock being held too long.
In some circumstances we were calling wait after we had been signalled, causing
us to wait until we are signalled again (while holding a wakelock).
Now we only want to wait in the deferred action thread if no events are pending
and only hold the wakelock while not waiting.

BUG: 3127617

Change-Id: I4c6886b2bbdcbcb2c0cf348d89bc5408f0d875b9
Signed-off-by: Mike Lockwood <lockwood@google.com>
2010-10-27 15:18:59 -04:00
..
Android.mk loc_api: rearrange RPC glue to allow having multiple versions of the API. 2010-06-17 23:53:00 -07:00
gps.c loc_api: Repackage as a new GPS HAL module. 2010-04-06 05:43:41 -04:00
loc_eng.cpp Fix threading problem that resulted in the wakelock being held too long. 2010-10-27 15:18:59 -04:00
loc_eng.h Work around a problem stopping the GPS engine while an AGPS data call is active 2010-10-25 23:36:16 -04:00
loc_eng_ioctl.cpp loc_api: Repackage as a new GPS HAL module. 2010-04-06 05:43:41 -04:00
loc_eng_ioctl.h Initial commit of Qualcomm's loc_api GPS library for the MSM platform. 2010-01-21 23:49:31 -05:00
loc_eng_ni.cpp loc_api: Use create_thread_cb for all threads that call back into the framework. 2010-06-20 14:31:24 -07:00
loc_eng_ni.h loc_api: Use create_thread_cb for all threads that call back into the framework. 2010-06-20 14:31:24 -07:00
loc_eng_xtra.cpp loc_api: Repackage as a new GPS HAL module. 2010-04-06 05:43:41 -04:00
loc_eng_xtra.h loc_api: Repackage as a new GPS HAL module. 2010-04-06 05:43:41 -04:00