Commit graph

3570 commits

Author SHA1 Message Date
Linux Build Service Account
db2e850287 Merge "Generate position report NMEAs only on final fix" 2013-06-18 06:02:32 -07:00
Linux Build Service Account
a29f2f3024 Merge "Timed Alarm service utility" 2013-06-18 03:48:58 -07:00
Tushar Janefalkar
6bc10c567a Generate position report NMEAs only on final fix
Position report NMEAs will be generated only
if the position report is a final fix and not
an intermediate fix. Blank NMEAs will be sent
otherwise.

CRs-fixed: 467575
Change-Id: I60e63faf3e4503f5a6ce93211d4017aa7695b78b
2013-06-17 14:22:00 -07:00
Tushar Janefalkar
7af44a9436 Timed Alarm service utility
The utility launches a separate
thread that holds a mutex for
x milisecs and then calls a callback
function to notify the caller about
the time lapse

Change-Id: If033eed71d28a8736c8393f6ff609ac59d8877d9
2013-06-17 10:36:57 -07:00
Linux Build Service Account
43d4858c9c Merge "gps: Added xtra server query loc api" 2013-06-13 12:11:34 -07:00
Linux Build Service Account
e8fb026bf3 Merge "gps: moving agps/ni/xtra/time features out of afw" 2013-06-13 12:11:33 -07:00
Linux Build Service Account
a01c9c6b63 Merge "Merge branch jb_mr1 into jb_2.6" 2013-06-13 12:11:32 -07:00
Linux Build Service Account
4ff37ed47f Merge "Fixes ULP and FLP operation when GPS not enabled" 2013-06-12 18:17:07 -07:00
Dante Russo
399f53047e gps: Added xtra server query loc api
In order to prevent the issue where the xtra server url
that stored in gps.conf is incorrect (like xtra.bin instead
of xtra2.bin) for a particular modem, I've made this change
so that the xtra server url can be queried through loc api.
CRs-fixed: 366599

Change-Id: If65de98d837f068fd61a235cbf1104026246e5a9
2013-06-11 15:02:29 -07:00
Dante Russo
926d20ad77 gps: moving agps/ni/xtra/time features out of afw
Moving these features out of afw allows these
features to still work on platforms that do not
allow changes to afw and it also gives us more
control.

Change-Id: I6923b302f93222dc10189c3a6a7b6ba2ec1a3378
2013-06-11 15:00:57 -07:00
Dante Russo
85f672fa71 Merge branch jb_mr1 into jb_2.6
Merged from from label
AU_LINUX_ANDROID_JB_MR1.04.02.02.049.306

Change-Id: Ie2f7fd3d25f8f28f5d1b6e733974bb5f75999ee8
2013-06-11 14:58:24 -07:00
Linux Build Service Account
bb5da9157a Merge "Make Loc Init Asynchronous" 2013-06-10 23:38:28 -07:00
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
Dante Russo
838f00b1ef jb_2.6 bring up changes.
Enable gps.conf and remove dependancy on libgeofence.so

Change-Id: I3f58f0b6afcb017504af51699b7030db07051402
2013-06-07 11:05:04 -07:00
Satheesh Jayakumar
bc1fb0bce5 Fixes ULP and FLP operation when GPS not enabled
Changes to ensure FLP positioning call flow works
even if GPS is disabled on the Android settings
menu.
CRs-Fixed: 476628

Change-Id: I54b9f9861a14f7c42f45c48e57e9558f14a4de92
2013-06-04 18:45:24 -07:00
Linux Build Service Account
8b386d2988 Merge "Update LOC API source and header files" 2013-06-03 19:25:25 -07:00
Satheesh Jayakumar
313788ea59 Adds logic to pass through PIP User setting
Changes to manage user preference for Precise Indoor
Positioning Control through settings on the OS UI menu
CRs-Fixed: 492707

Change-Id: I6a0cc0a92c35d05122efce310274f20590a16118
2013-06-03 17:16:07 -07:00
Tushar Janefalkar
a021ad35de Update LOC API source and header files
Updated LOC API source and header files
since the new version had updated masks
that were required for loc eng

Change-Id: Ia0d57770a737ef6d05e881ac0512eb174e7c9fd1
2013-05-30 18:37:06 -07:00
Linux Build Service Account
acddf6d2d6 Merge "Detect APQ8074 HW, fixed" 2013-05-22 00:18:00 -07:00
Kevin Tang
2fe7829e6d Detect APQ8074 HW, fixed
Previously the SOC ID was incorrect. Corrected now.

Change-Id: I49925d3bbffdac8db87524b3483054e93770d75d
2013-05-20 18:32:35 -07:00
Linux Build Service Account
c1470ca5c7 Merge "Detect APQ8074 HW" 2013-05-17 06:43:18 -07:00
Kevin Tang
deda0b3b41 Detect APQ8074 HW
Detect APQ8074 Hardware so as to run in APQ mode.
Choose target as TARGET_APQ8064_STANDALONE
When hardware_platform=apq and SOC id is 126
GPS HAL needs to know so as to disable AGPS
feature.

Change-Id: Iabd95de6b401ff5fc72cfd32de6cea5250c19eb4
2013-05-16 16:15:18 -07:00
Linux Build Service Account
692686e3c2 Merge "Ulp: Fixes an initialization bug for ULP call-backs" 2013-05-10 15:24:35 -07:00
Satheesh Jayakumar
9e74deb689 Ulp: Fixes an initialization bug for ULP call-backs
Changes that caches ULP call backs if ULP initialization
precedes AFW initialization.
CRs-Fixed: 477557

Change-Id: Ic2f9de538c5b63958b0bbba5790bf00b52474dc4
2013-05-10 11:32:55 -07:00
Linux Build Service Account
d91966b649 Merge "gps: use single recurrence for MSA requests" 2013-05-10 11:08:31 -07:00
Linux Build Service Account
ded83e6045 Merge "Set On Demand Time as default in gps.conf" 2013-05-09 19:41:05 -07:00
Linux Build Service Account
08f7f00ef5 Merge "Change data type of HEPE to float" 2013-05-09 15:14:27 -07:00
Dante Russo
38474f1f1d gps: use single recurrence for MSA requests
To allow ulp to select MSA for single shot
location requests, change the recurrence type
for MSA requests to SINGLE.

CRs-fixed: 479303

Change-Id: I97043233e0590b25bc63f3709b2bbb3dfd22cbd0
2013-05-09 11:21:34 -07:00
Linux Build Service Account
3bba831981 Merge "Cache data availability before gps is enabled" 2013-05-08 22:23:52 -07:00
Tushar Janefalkar
22538a7f38 Cache data availability before gps is enabled
This is so that data disable is not
sent to the modem by default if data
is enabled

Change-Id: I383443fc0321380c22382ba7d7f85dacf948853a
CRs-fixed: 460376
2013-05-08 18:02:22 -07:00
Linux Build Service Account
d58a6ac3a2 Merge "GPS HAL: expose altitude and speed uncertainty" 2013-05-08 05:12:49 -07:00
Linux Build Service Account
17031f28b1 Merge "MSB is not falling back to standlone." 2013-05-07 11:19:40 -07:00
Kevin Tang
0a760c9f3b GPS HAL: expose altitude and speed uncertainty
Expose altitude and speed uncertainty from GPS fix via extended
info.

Change-Id: I0a478aa25d4b0a98793c946ba5fb883520a4ce58
2013-05-06 18:40:33 -07:00
Linux Build Service Account
9dc77fa9e6 Merge "Send data disable to modem during init" 2013-05-01 23:30:06 -07:00
Ashwin Kumar
bd64ccd874 MSB is not falling back to standlone.
No support for SUPl,starting MSB it wouldn.t request a PD.
Disabled the MSA and MSB for this PL.
This fix is needed because this PL doesnot have a modem.

Change-Id: I8fa1145db07f681c0f6e733da253f06f01f7edd6
CRs-Fixed: 471589
2013-05-01 03:23:59 -07:00
Tushar Janefalkar
fc56628d06 Send data disable to modem during init
This is to avoid data being enabled
when data roaming is turned off.

Change-Id: If2c2f89669d872bfd4e8579f682d0c61904fe7c8
CRs-fixed: 460376
2013-04-30 11:17:12 -07:00
Linux Build Service Account
49291aa9fe Merge "msm8610 bringup changes" 2013-04-30 01:31:53 -07:00
Dante Russo
0263b6f655 msm8610 bringup changes
allow gps components to build for msm8610

Change-Id: I6a718187305a2aa71b50eb6139353fea54f4ac1c
2013-04-23 09:13:23 -07:00
Tushar Janefalkar
c0a3657a4e Set On Demand Time as default in gps.conf
The capabilities mask in gps.conf
was updated to set On Demand Time
injection by default

Change-Id: I1532072040aa258d441e23649c6e038bc8e56923
2013-04-17 13:02:28 -07:00
Linux Build Service Account
f3e97b0b5c Merge "gps: Add A-GLONASS Position protocol in gps.conf" 2013-04-12 20:56:14 -07:00
Kevin Tang
388477e2e7 gps: Add A-GLONASS Position protocol in gps.conf
OEMs rely on gps.conf to config gps features. We want to have
default config in the conf file however to both serve as
recommendeded setting and as setting template. This added
A-GLONASS protocol is already supported by the current
implementation. Now we are adding the default config to the
conf file."

Change-Id: Ib9f66d01963c87ac5b3d70a68e1d4dd085771d47
CRs-fixed: 454855
2013-04-12 17:25:46 -07:00
Iliyan Malchev
2a9f38e7bf Merge "gps: geofence hal integration" into jb-mr2-dev 2013-04-10 18:20:17 +00:00
Linux Build Service Account
5f359dacc7 Merge "Include gps.conf Android make file in build" 2013-04-09 22:58:49 -07:00
Ying Wang
ce5efcc57f Add liblog
Bug: 8580410
Change-Id: Ife86cba2312cf83f263b07bfe8f3b655ec7d1a70
2013-04-09 21:59:18 -07:00
Dante Russo
23d1e163c3 gps: geofence hal integration
Change-Id: Ia5b9c4d12c85d7d7c06b2b6037a568a43f0e8b2c
2013-04-09 21:11:27 -07:00
Linux Build Service Account
091f1b56ff Merge "gps.conf: Removed the option to configure ulp on/off" 2013-04-09 21:01:18 -07:00
Satheesh Jayakumar
8dd8689be2 gps.conf: Removed the option to configure ulp on/off
Since the switch for ulp in gps.conf did not truly turn QCA
implementation for Fused Location Provider on/off this change
removes this redundant parameter from gps.conf

Change-Id: I677c42a00e6b0d156c2e4c3b65da13a55eb97279
CRs-Fixed: 461273
2013-04-09 14:33:42 -07:00
Linux Build Service Account
c047a8465c Merge "removed exe bit of the file access mod" 2013-04-05 14:05:45 -07:00
Kevin Tang
b2490777c1 removed exe bit of the file access mod
find . -type f -executable -exec chmod -x {} \;

Change-Id: Ib6e09bc4bf1d8e4cde63c1df0b15877bf42525b8
2013-04-05 11:12:28 -07:00
Linux Build Service Account
15d18f2fb6 Merge "Correction in checksum calculation for NMEA" 2013-04-01 17:06:59 -07:00