Mike Lockwood
0b602e40b8
Fix recursive use of mutex introduced in previous change.
...
Change-Id: I2ef4e1187a03f28712d16920b275d39963ff5ac7
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-26 00:09:25 -04:00
Mike Lockwood
bd3166c592
Work around a problem stopping the GPS engine while an AGPS data call is active
...
Sometimes the engine does not send us the GPS_STATUS_ENGINE_OFF message,
so we end up blinking the GPS icon forever. Deferring the loc_eng_stop call
until the AGPS activity is done works around this problem.
Change-Id: Iad0d15323ff909c0d371f9db3a6e899e51375a99
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-25 23:36:16 -04:00
Mike Lockwood
9391343952
loc_api: Disable code that completely shuts down our connection with the GPS
...
This avoids a race condition that can crash the BP if the GPS is disabled
in settings while it is running.
This also fixes a problem with the GPS icon in the status bar not
getting removed when the GPS is disabled.
BUG: 3005091
Change-Id: I539eef716231cefae3d4d0a8203135da9827b45d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-09-22 14:27:57 -04:00
Mike Lockwood
5153d56321
loc_api: Use create_thread_cb for all threads that call back into the framework.
...
Change-Id: I07c2d5664d3f1a167af56ddd76b60393de170931
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-06-20 14:31:24 -07:00
Mike Lockwood
c6419effb6
librpc: XDRs and glue code for AMSS 1240
...
Change-Id: Ic69d0085ab8793c6d32f811892cb3e0375b2ef6c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-06-17 23:55:20 -07:00
Mike Lockwood
fba22d5c62
loc_api: rearrange RPC glue to allow having multiple versions of the API.
...
The API version can be chosen by specifying the AMSS version in the board config
by setting the BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION variable.
The existing GPS_LOC_API_HARDWARE has been renamed BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
Change-Id: I25aa313d7f291b874d52dfb7edf151e280061438
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-06-17 23:53:00 -07:00
Mike Lockwood
3c865ec2f9
Add more parameters to set_position_mode, notify framework of our capabilities.
...
Change-Id: Ie53106b89030d48187d17be47482a3c74b837f3e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-14 18:40:30 -04:00
Mike Lockwood
2c115de409
Hold a wake lock while events are pending for the deferred action thread.
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-14 14:26:34 -04:00
Mike Lockwood
a4977cd631
Fix deleting aiding data.
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-06 05:44:01 -04:00
Mike Lockwood
237c22f03d
Enable GPS privacy lock when GPS is disabled.
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-06 05:44:01 -04:00
Mike Lockwood
ae1989429b
Remove call to loc_apicb_app_deinit() to avoid ARM9 crashes after disabling.
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-06 05:44:01 -04:00
Mike Lockwood
300b715b0d
loc_api: Repackage as a new GPS HAL module.
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-06 05:43:41 -04:00
Jean-Baptiste Queru
4633218609
Add an empty CleanSpec.mk
...
Change-Id: I304694bc9032ccaa3777885615be15c41447f6a5
2010-03-08 18:04:53 -08:00
The Android Open Source Project
13c7aa73ae
Manual no-op merge
2010-02-11 12:39:25 -08:00
The Android Open Source Project
701be40c7e
Merge from open-source master
2010-02-11 12:38:18 -08:00
Mike Lockwood
ac4e54a281
loc_api: Process all events in deferred action thread.
...
It is not safe to call into framework code from an RPC callback.
Change-Id: Idb85590f5648b85ba4dd352136f89652b3128fbe
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-02 14:07:43 -05:00
Mike Lockwood
16b7141d37
Do not build unless BOARD_GPS_LIBRARIES is set to libloc_api
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-02 14:07:38 -05:00
Mike Lockwood
91cfd13d29
loc_api: Send GPS_STATUS_ENGINE_ON and GPS_STATUS_SESSION_END
...
so GpsLocationProvider will release its wake lock when the GPS shuts down.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-02 14:07:31 -05:00
Mike Lockwood
dd710e32d5
Initial commit of Qualcomm's loc_api GPS library for the MSM platform.
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-02 14:07:07 -05:00
The Android Open Source Project
ffaff8a84a
empty first commit
2010-02-02 09:49:50 -08:00
Mike Lockwood
24d7556a88
loc_api: Process all events in deferred action thread.
...
It is not safe to call into framework code from an RPC callback.
Change-Id: Idb85590f5648b85ba4dd352136f89652b3128fbe
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-02 11:51:35 -05:00
Mike Lockwood
a28682a135
Do not build unless BOARD_GPS_LIBRARIES is set to libloc_api
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-22 14:41:54 -05:00
Mike Lockwood
6774225c78
loc_api: Send GPS_STATUS_ENGINE_ON and GPS_STATUS_SESSION_END
...
so GpsLocationProvider will release its wake lock when the GPS shuts down.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-22 08:47:48 -05:00
Mike Lockwood
b4c4f2016a
Initial commit of Qualcomm's loc_api GPS library for the MSM platform.
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-21 23:49:31 -05:00
Nico Sallembien
5a9bd01ce3
new project, first commit
2010-01-20 11:13:13 -08:00