| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Without this flag GPS mode is always set to GPS_POSITION_MODE_STANDALONE
and fixes take ages to complete.
Patch 13598000 assumes that supl_host_set or c2k_host_set are always set
when there's corresponding configuration but this is actually only true
in case loc_eng_set_server_proxy (which isn't called on the Legend) sets
them. This patch fixes that.
Change-Id: I47bca3566da2a0c4e1783a38a4b14a0b1c6de67d
|
|
|
|
|
|
|
|
|
| |
GpsLocationProvider defaults to the MSA and MSB assisted gps modes
if the device has the capability. This library returns that the
device has the capability. Check to see if any agps servers are
set; if not fall back to standalone mode.
Change-Id: I54a911b028cc685b282661837f1317119713d64a
|
|
|
|
| |
Change-Id: I67239b322255242af799af5266b16786d83a11c2
|
|
|
|
| |
Change-Id: Ic8c93d9ab64f454f6161b53af0065e3ef621e4a7
|
|
|
|
| |
Change-Id: I74e081297ac2c6601be915e517230d0a52a75150
|
|
|
|
|
|
|
|
|
|
| |
* Hold the locks only for copying buffer data to reduce the wait time
for xtra injection.
* Remove some incorrect locks while doing deferred xtra injection.
* Switch to buffering the injection if the engine is on, as doing so
now functions as intended.
Change-Id: I1b75945907242e960ce4b275f10b7f9f8dc17606
|
|
|
|
|
|
|
| |
Completely rework the status reporting to be more robust, and enable
report muting.
Change-Id: I740c4ef0512be36ca6a7b774e8a23cc322c14791
|
|
|
|
|
|
|
|
|
|
| |
This change modifies the HAL driver so that even if the framework
passes in 0 for fix interval we will transalate it to 1 sec
internally. This is becuase the gps engine can report positions at
the max at 1 Hz frequency.
Change-Id: I8d14ee97cf20c43d050d230b9cc9fd6deac5486c
CRs-Fixed: 279363
|
|
|
|
|
|
|
|
| |
This should prevent RPC_LOC_IOCTL_SET_ENGINE_LOCK and other calls
from interfering with each other when loc_api_sync_ioctl is used
from different threads.
Change-Id: I9579ba2a72e9193cb92816758f5ff27bda6718a6
|
|
|
|
|
|
|
| |
The deferred action thread uses client_handle, so it needs to be
started after client_handle is valid.
Change-Id: I470d24b746c3dbe1ea70483e3ed4f09032ca315d
|
|
|
|
| |
Change-Id: Ibab47b3f996efa57f8db4ebee4ae2e67eda06789
|
|
|
|
|
|
|
|
|
|
| |
Fix a race condition in libloc_api where the xtra data can be requested
before the callback is registered, losing the call to the callback
without a retry.
Also, retry xtra uploads when they fail (Kineto GAN proofing)
Change-Id: I4b2deb1ebba67b55688e322cd4cce89a2dfb71c0
|
|
|
|
| |
Change-Id: I9c1d186224877da568f972391331e8c77cc84d24
|
|
|
|
| |
Change-Id: I749dc4db85eed614a95e9e4edde8420f4609724a
|
|
|
|
|
|
|
| |
Big thanks to Christopher Lais (zinx) who made me aware of the 10 bit
value (decimal places).
Change-Id: If18aa560a93105f993fb110449d573fe942add4f
|
|
|
|
|
|
|
|
|
|
|
| |
Enable with:
BOARD_USES_QCOM_GPS := true
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := board-name
BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 20000
This will also require an update to librpc, and the usage of librpc-qcom
Change-Id: I2e4b5a99868a34f9a60e9c1fc040d36a333bff88
|
|
|
|
|
|
|
|
|
| |
Enable with:
BOARD_USES_QCOM_GPS := true
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := board-name
BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 50000
Change-Id: I6200dac2a4632ce3cc8e0e38db90a7e4917de2fb
|
|
|
|
| |
Change-Id: I87fe81e217c99af80e3d9f8f6659404d454531e2
|
|
|
|
|
|
|
| |
This fixes the "lying" icon in the statusbar by generating the
engine events whenever a fix session state changes.
Change-Id: Ia2aea73513bcf3c3e7fbd632fe0f344003a8df71
|
|
|
|
|
|
|
| |
Make sure the connection to the RPC service is shutdown and
cleaned up when loc_close() is invoked.
Change-Id: I4f8b4d0aa3c2ff9ca5baf4ac07d31aa2e77d6721
|
|
|
|
|
|
|
|
| |
the GPS"
This reverts commit d1be5af3656583146c21387e1cd0379690384c40.
Change-Id: I68050f9995b91c673d8cd521c3fd5b886b1b1663
|
|
|
|
| |
Change-Id: I84059b727d57af03105da5934fc104a9ed7c6e9e
|
|
|
|
|
|
| |
Use Google's loc_api unless we are using QCOM librpc.
Change-Id: I6f8912e2bca6ce5f86c6a0330cbb9563c02ebea8
|
|
|
|
|
|
|
|
| |
The thread callback reference is available only during
initialization. Hence the NI thread is created and
managed locally within libloc_api
Change-Id: Ie610143f7f0387043301e0254db4e42e0afb3e0d
|
|
|
|
|
|
|
|
|
| |
Sometimes the engine does not send 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: I6f325ee8cd89dd6046c54843851f85a54c0d59ed
|
|
|
|
|
|
|
|
| |
6225 was a hack to work around some issues with the original source
code, and it's now unnecessary after the recent "gps: Bugfixes and
improvements from CodeAurora" commit.
Change-Id: Iba013cf3651bcd5dd690b6415cbe02bc4c8e9128
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This brings back commit 9391343952a0ab27a738f5b3de5c5525ecbc096d:
Author: Mike Lockwood <lockwood@android.com>
Date: Wed Sep 22 14:27:57 2010 -0400
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: Idb9a87e250629868b959da03be6f77a949ba5baa
|
|
|
|
|
|
|
|
|
| |
Original commit:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/hardware/qcom/gps.git;a=commit;h=62782d6f5f070a0ad24a2194ae048b69106db97f
Regenerated stubs for AMSS 3200 and 6225.
Change-Id: I57b578b8dfd7bd43c88d25c09eca6e538e65797d
|
|
|
|
|
|
| |
Tested on Z71 (msm7227), works
Change-Id: I0e3e51e6058dbf11391d9cfd2b0b8e5c88e899b9
|
|
|
|
| |
Change-Id: I4504d3b36b70dbc1718953dc5a10aa60a7991ef9
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I2ef4e1187a03f28712d16920b275d39963ff5ac7
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I07c2d5664d3f1a167af56ddd76b60393de170931
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
|
| |
Change-Id: Ic69d0085ab8793c6d32f811892cb3e0375b2ef6c
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Ie53106b89030d48187d17be47482a3c74b837f3e
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
| |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
| |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
| |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
| |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
| |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
| |
Change-Id: I304694bc9032ccaa3777885615be15c41447f6a5
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It is not safe to call into framework code from an RPC callback.
Change-Id: Idb85590f5648b85ba4dd352136f89652b3128fbe
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
so GpsLocationProvider will release its wake lock when the GPS shuts down.
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|