Commit graph

194 commits

Author SHA1 Message Date
Linux Build Service Account
01f026694e Merge "DEBUG_LEVEL 0 to produce no logs" 2013-06-29 06:32:12 -07:00
Tushar Janefalkar
6fa0e8a983 DEBUG_LEVEL 0 to produce no logs
In accordance to gps.conf, debug level of 0 now
produces no logs at all. In addition, if the
parameter DEBUG_LEVEL is commented in gps.conf,
logs will be printed according to Android's logging
levels

CRs-fixed: 503157
Change-Id: I26ca2be67fbc7ce2bf633f66d9b88ca6450e9d27
2013-06-26 18:23:57 -07:00
Linux Build Service Account
e100c681e1 Merge "Add support for SUPL Emergency Services" 2013-06-22 10:22:52 -07:00
Tushar Janefalkar
0f66892e50 Add support for SUPL Emergency Services
Introduced support for handling modem request
to start an emergency call using QMI WDS profiles
or fallback to an ATL request if the call does
not succeed.

Change-Id: I29b617687db0d3f26610bc74f8dc95940574f52d
2013-06-20 10:21:41 -07:00
Linux Build Service Account
711863f2f3 Merge "Return the correct value from loc_eng_init" 2013-06-20 06:01:17 -07:00
Tushar Janefalkar
c3f16206d7 Return the correct value from loc_eng_init
The function was returning an error code
which was causing GPSLocationProvider to
fail initialization

CRs-fixed: 501318
Change-Id: Icec707c3b9edc60bd07914b130077f9a96c5e794
2013-06-18 15:05:40 -07:00
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
4ff37ed47f Merge "Fixes ULP and FLP operation when GPS not enabled" 2013-06-12 18:17:07 -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
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
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
Linux Build Service Account
5f359dacc7 Merge "Include gps.conf Android make file in build" 2013-04-09 22:58:49 -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
Tushar Janefalkar
a50977f5e2 Correction in checksum calculation for NMEA
The number of bytes to be written for
the checksum exceeded the buffer length.
This change corrects makes the correction.

Change-Id: If90c6f5b2006a013a096a767334deac1555553f1
CRs-fixed: 468553
2013-04-01 09:44:10 -07:00
Linux Build Service Account
013abecbba Merge "Split gps configuration file (change 1/2)" 2013-03-27 12:57:09 -07:00
Tushar Janefalkar
a739e07644 Include gps.conf Android make file in build
The Android.mk for gps.conf was
ineffective since it was commented
out. This change corrects that.

Change-Id: If07df6a2a1694b442a741382206261b5087a0105
2013-03-26 14:11:27 -07:00
Linux Build Service Account
7fcd1aba96 Merge "Add support for msm8226" 2013-03-25 13:16:10 -07:00
Dante Russo
fc5de6cc54 Add support for msm8226
Needed for gps binaries to build for msm8226

Change-Id: I3228dcee00de4ad61c542eeadeec6d44089c53d9
2013-03-21 08:35:16 -07:00