Commit graph

1507 commits

Author SHA1 Message Date
qctecmdr Service
01869b4004 Merge "Improved Location NI Privacy" 2019-03-22 17:36:07 -07:00
qctecmdr Service
52c9486628 Merge "GTP: Remove GTP-WAA and GTP AP CELL feature." 2019-03-21 21:52:24 -07:00
Mike Cailean
b046241ec2 Improved Location NI Privacy
Changes to be made starting in Android Q in the way
that Location requests made by Location clients
other than the Android FrameWork (e.g. Network
Initiated AGNSS clients, modem-based clients such
as MDT) are handled

CRs-fixed: 2397454

Change-Id: Ibb5b9429a1ec1e14ee59d89763d8a78607997615
2019-03-21 14:57:28 -07:00
qctecmdr Service
a0488d7d56 Merge "Unified Vendor - Launch only android.hardware.gnss" 2019-03-21 10:19:25 -07:00
qctecmdr Service
3774ea547f Merge "clear magic number for GPS_LOCK" 2019-03-21 08:02:45 -07:00
qctecmdr Service
07f0e8f970 Merge "Add unlink for corresponding link in measurements for GNSS HIDL 2.0" 2019-03-20 14:33:57 -07:00
qctecmdr Service
76af4dfb50 Merge "enable gnss integer-overflow sanitization" 2019-03-20 14:06:30 -07:00
Saurabh Srivastava
8bd22760a6 Unified Vendor - Launch only android.hardware.gnss
Launch android.hardware.gnss HIDL service for both
vendor enhanced and non-enhanced platforms

Change-Id: Ia9cb9ef52d42c788bcaa73bc1001ed8d90f7c755
CRs-Fixed: 2402833
2019-03-21 01:20:22 +05:30
qctecmdr Service
7d34cea4ca Merge "Remove tracking redundanty and assure min interval" 2019-03-19 11:16:00 -07:00
Hoss Zhou
1839fb1140 clear magic number for GPS_LOCK
Change-Id: I3c1b5a18ab16382a436098f8af541bf7f125783e
CRs-fixed: 2370451
2019-03-18 16:33:52 -07:00
Mike Cailean
3a0ae431d5 Add unlink for corresponding link in measurements
for GNSS HIDL 2.0

Change-Id: I7423ed1c515745f2f4a0ea4f5495e86eea4de0ee
CRs-fixed: 2417264
2019-03-18 09:47:44 -07:00
qctecmdr Service
a7953cd7ea Merge "Merge remote-tracking branch 'quic/location.lnx.4.0' into HEAD" 2019-03-18 06:13:41 -07:00
Hoss Zhou
8d7df7b2c1 enable gnss integer-overflow sanitization
Change-Id: I27359843e5f22353771b8843012f110cbd704094
CRs-Fixed: 2341063
2019-03-18 10:51:24 +08:00
Kevin Tang
5a9cc5ae72 Merge remote-tracking branch 'quic/location.lnx.4.0' into HEAD
CRs-fixed: 2414738

Change-Id: Ic8d1cd5bb37d1ad26c2749e46be279942e28ac05
2019-03-14 17:43:05 -07:00
Saurabh Srivastava
ac8ce3c7d5 Dummy impl for injectBestLocation_2_0
Change-Id: I37a96ee52dea4bce92bb741bf0be79279ec86d67
2019-03-13 16:47:02 +05:30
qctecmdr Service
1b6ad38fb9 Merge "allow a isMaster client in LocAdapterProxyBase ctor" 2019-03-12 18:52:28 -07:00
qctecmdr Service
de7fa11dd6 Merge "util to get get symbol from a library" 2019-03-11 09:50:59 -07:00
Yingjie Wang
6b687ef48e Combine updateConfig in GnssAdapter
Adjust setConfigCommand and gnssUpdateConfigCommand
to use one gnssUpdateConfig method.

CRs-fixed: 2402752
Change-Id: I6a9ec474bd9ffed52edd2422574af0f6d41493c4
2019-03-08 17:38:07 +08:00
Yingjie Wang
d0825b64ef Fix makefile error for Gnss Hidl
Correct the if-else-endif logic error.

Change-Id: I5d3fa711e911642def689308f73c19f0c46ab632
CRs-fixed: 2411979
2019-03-08 10:23:52 +08:00
Kevin Tang
b082fd7f7b allow a isMaster client in LocAdapterProxyBase ctor
This would allow GeofenceAdapter become a master
adapter, in case it gets created before GnssAdapter.

Change-Id: I9eb55b7fac9970fd11d4e34bdf7cf824e5b1c586
CRs-Fixed: 2403691
2019-03-06 11:57:33 -08:00
Dante Russo
e22619060b Remove tracking redundanty and assure min interval
A tracking interval should not be less than 100ms
If tracking interval or power mode is updated to
the same value, then start tracking should not be
sent to the modem again.
Fix some issues with multiplex with powerMode

Change-Id: I91e5d0577569b96179a5337af0fc91641dc126db
CRs-fixed: 2190953
2019-02-26 12:33:25 -08:00
Kevin Tang
a928d60188 util to get get symbol from a library
Added dlGetSymFromLib() to provide a utility that dlopen()'s
a library, and get the pointer to a symbol name.

Change-Id: I770eaef18a61aaa458833b3ca778f44b299585f5
CRs-Fixed: 2404939
2019-02-25 16:36:26 -08:00
Dante Russo
90310754f8 Add module android.hardware.gnss@2.0 for build
CRs-fixed: 2404857
Change-Id: I873ce21e1fb4924a1f3bb2e7162791f6d69be51d
2019-02-25 11:15:42 -08:00
Ashish Dhiman
ce952c486a GTP: Remove GTP-WAA and GTP AP CELL feature.
Remove GTP-WAA and GTP_AP_CELL feature as GTP will
support only third party GTP WIFI and legacy GTP
WWAN solution.

CRs-Fixed: 2384327
Change-Id: Id3613bde1716542027978af30084f5e997f28b00
2019-02-25 15:35:47 +05:30
qctecmdr Service
d31be64700 Merge "Enablement of location modules for kona" 2019-02-24 18:29:01 -08:00
Mike Cailean
4149abcc2d Measurement changes in GNSS HIDL2.0
CRs-fixed: 2385560

Change-Id: I5f4548e6df0cb8ac3f2762020dfdbb49a9022854
2019-02-21 21:34:40 -08:00
Dante Russo
1d1d0e5722 Enablement of location modules for kona
CRs-fixed: 2403289
Change-Id: Iab273dcb9c0783557df15b1361c08862201bd8ce
2019-02-21 17:05:51 -08:00
Mike Cailean
e78728024d SUPL over WiFi changes in GNSS HIDL2.0
Change-Id: I20a2071fd748dea16cd55aa120bc307ebc0645a9
CRs-fixed: 2342192
2019-02-21 13:38:28 -08:00
qctecmdr Service
c051c7d112 Merge "GNSS HAL 2.0 implementation" 2019-02-21 09:20:53 -08:00
Naresh Munagala
ae8db6cf15 add remove api for message queue
Change-Id: I278eca90ebb50e291a1b9076caf46f41a074b1d7
CRs-Fixed: 2338245
2019-02-20 08:37:19 -08:00
qctecmdr Service
c0142799d0 Merge "Adding gps_vendor_board.mk" 2019-02-20 08:09:57 -08:00
qctecmdr Service
8e120b1ed9 Merge "New structures and handling of new data in the pipe" 2019-02-19 11:57:34 -08:00
Kevin Tang
9a055d5208 Fix race condition that adapter does not get handleEngineUp
- Removed redundant injectFeatureConfig() call, as it this
happens twice, once when the first context is created which
would have been too early and once when LocApi open success.
- Resolved a race condition that second adapter added may not
have been in LocApi's adapter list yet when handleEngineUp()
is broadcast.

Change-Id: I8ecc18eab6b450c326c0be1abc011f70285439aa
CRs-Fixed: 2397902
2019-02-17 12:32:50 -08:00
Kevin Tang
9b2e79c42e Fix race condition that adapter does not get handleEngineUp
- Removed redundant injectFeatureConfig() call, as it this
happens twice, once when the first context is created which
would have been too early and once when LocApi open success.
- Resolved a race condition that second adapter added may not
have been in LocApi's adapter list yet when handleEngineUp()
is broadcast.

Change-Id: I8ecc18eab6b450c326c0be1abc011f70285439aa
CRs-Fixed: 2397902
2019-02-14 11:08:21 -08:00
Saurabh Srivastava
8926b41ce3 Adding gps_vendor_board.mk
Adding vendor specific board config flags.

Change-Id: Ib16f800f2f9f3e385890088ae36f5d6197f2ee2c
CRs-Fixed: 2398736
2019-02-14 14:25:16 +05:30
Wei Chen
1d823b05ec FR47367: Location client API for External AP
(1) In location data struct, change size_t to uint32_t as size_t
is machine dependent and can not be sent as part of payload
to the other processor.
(2) Change LocIpc ifdef to match with the file name

Change-Id: Ia3f029641106a547e18904be1e3fb56ec09de569
CRs-fixed: 2367517
2019-02-13 10:03:56 -08:00
qctecmdr Service
9e2e7b8004 Merge "Fix build errors with libgps.utils.so" 2019-02-11 09:08:50 -08:00
qctecmdr Service
15ea6ecb3f Merge "Enable support for External AP build" 2019-02-07 17:27:24 -08:00
Mike Cailean
dc0efb4800 Enable support for External AP build
Enable support for build on External AP without
libcutils or any Android library support.

CRs-fixed: 2368435

Change-Id: I978127348fd6b8d90ed5ef0a714c02437dc59ee0
2019-02-07 11:13:58 -08:00
Saurabh Srivastava
d1537fd7b9 Adding gps_vendor_product.mk
Adding vendor specific make flags

Change-Id: Icbc9bc4ac6acb58e887e142f96ef95742127c215
CRs-Fixed: 2389780
2019-02-07 02:16:53 -08:00
Bhavna Sharma
7445c50730 New structures and handling of new data in the pipe
1. KlobucharIonoModel
2. Additional parameters for Glonass
3. Add gps system time to ephemeris reports.

CRs-Fixed: 2388931

Change-Id: Ibd08496c8eda2ce7571cbdd71ff0c179f7376aa7
2019-02-06 12:58:00 -08:00
Yingjie Wang
51dca017c5 GNSS HAL 2.0 implementation
Implement AGnss, AGnssRil, GnssConfiguration,
GnssMeasurement and MeasurementCorrections of GNSS
HAL 2.0 to on par with Android P

Change-Id: Id430e60c2d9cc7333f4b331c7e5a1e9a45a0289a
CRs-Fixed: 2342198
2019-02-05 10:22:08 -08:00
Kevin Tang
4b5fd7ed54 process launch switch based on vendor enhanced check is incorrect
Some vendor enhaced processes are not to be launched only if this
is not a vendor enhanced produce. Condition incorrect.

Change-Id: Ieb520d77500f78968cb78b69169b068356f880ab
CRs-Fixed: 2392220
2019-02-01 14:56:46 -08:00
Divya Sharma
2e97d321f9 Fix build errors with libgps.utils.so
set_sched_policy() was moved from libcutils
to libprocessgroup

CRs-fixed: 2390701
Change-Id: I1468dee2b30f79bcdaa4ab3144628fddc69c4e80
2019-01-30 15:50:22 -08:00
Wei Chen
8e04d01cd2 GPS SV meas: new structure to support 10Hz
(1) revise struct of GnssSvMeasurementSet so it can be used
    to send only valid SV measurement via IPC
(2) remove reference to COMPASS system, as COMPASS named is
    replaced by BEIDOU system
(3) correct typo in GNSS_GLOS_MSEC_VALID to GNSS_GLO_MSEC_VALID

CRs-fixed: 2337832

Change-Id: I325346fa414e3a94422cb8ab4cc5b77d6efaf485
2019-01-30 14:29:30 -08:00
qctecmdr Service
9d6d95d096 Merge "LocationAPI must also be freed on destroy call" 2019-01-29 11:07:09 -08:00
Bhavna Sharma
49c60ab27a LocationAPI must also be freed on destroy call
LocationAPI object instance itself must also be freed when
destroy is called.

CRs-Fixed: 2388028

Change-Id: Ie6e1c34e126a10ea58076c0385aecd447233c7aa
2019-01-28 12:05:32 -08:00
Srivastava, Saurabh
5fba9e7dfb Adding SBAS in GSV NMEA
Adding missing constellation handling
for SBAS in GSV NMEA

Change-Id: I51ce3f60fc3bf340936901b753169df34d6db5c2
CRs-Fixed: 2387458
2019-01-24 21:20:44 -08:00
qctecmdr Service
955f05e8e7 Merge "make location.lnx.5.0 build for LE" 2019-01-22 11:12:28 -08:00
qctecmdr Service
8e9a6eacc6 Merge "Build dummy QMAA HAL to unblock framework" 2019-01-21 09:59:20 -08:00