Commit graph

4944 commits

Author SHA1 Message Date
Linux Build Service Account
25008877c3 Merge "Provide correct SV used_in_fix flag for QZSS" 2017-05-28 00:59:59 -07:00
Linux Build Service Account
e4dc713b1c Merge "Add support for generating NMEA sentences for BDS." 2017-05-28 00:59:59 -07:00
Linux Build Service Account
fa2eb4c2d6 Merge "Add support for generating NMEA sentences for QZSS." 2017-05-28 00:59:58 -07:00
Linux Build Service Account
1205c81dbc Merge " Added HAL's List" 2017-05-27 17:09:46 -07:00
Linux Build Service Account
740a459dac Merge "HIDL Extension" 2017-05-27 17:09:38 -07:00
Harikrishnan Hariharan
0d01cc0b5b Add support for generating NMEA sentences for BDS.
Change-Id: I77ccaac3da4d79ed6d43d1a4e59e4d438ba3d2f3
CRs-Fixed: 2047785
2017-05-28 00:51:38 +05:30
Harikrishnan Hariharan
0029fafd92 Add support for generating NMEA sentences for QZSS.
Change-Id: Ib1350fceeabcb2dc67812641b1f967b1b240cefd
CRs-Fixed: 2036931
2017-05-28 00:44:40 +05:30
Harikrishnan Hariharan
5969d0b2da Provide correct SV used_in_fix flag for QZSS
Mark QZSS SV used_in_fix based on the most recent position report

Change-Id: I166087fb62de45e1013ab29c01df3abfba7af12b
CRs-Fixed: 2043300
2017-05-27 23:41:18 +05:30
Linux Build Service Account
2a49c5a0ef Merge "Move location files from /data/ to /data/vendor/" 2017-05-27 01:36:12 -07:00
Linux Build Service Account
1bcc48d46e Merge "Remove libandroid_runtime for treble compliance" 2017-05-26 11:25:21 -07:00
Linux Build Service Account
f44fdd0d44 Merge "Fix intermittant crashes in location" 2017-05-26 11:25:06 -07:00
Shaikh Shadul
ebf26463d9 sdm660_64: Update sensors properties in system.prop
Update sensors properties in system.prop file as
- ro.qti.* to  ro.vendor.*.

Change-Id: I743366d21d2bb57ce05b61c3f4e42fad92853dae
2017-05-26 08:10:39 -07:00
Shaikh Shadul
d2d6efe63b sdm660_64: Move sensors hals config file
Move sensors hals config file (hals.conf) to /vendor/etc/sensors/
from /system/etc/sensors/.

Change-Id: If1c3fd0cd48691d223c3a1185f9c1d847c7b155c
2017-05-26 15:45:11 +05:30
Baili Feng
d640d06213 HIDL Extension
Prevent building of android.hardware.gnss@1.0-service-qti
if non-PDK build.

CRs-fixed: 2040636
Change-Id: Ic6ee787d7fca93f649cd1f2bbd7be46cdefc809f
2017-05-25 14:08:03 -07:00
Linux Build Service Account
ae9e618269 Merge "sdm660_64: Run qseecom daemon from vendor" 2017-05-25 09:08:57 -07:00
Dante Russo
566238aab1 Remove libandroid_runtime for treble compliance
CRs-fixed: 2048138
Change-Id: Idc9a3f045c6c44dea6c527ec8c6bf23e9d0a9518
2017-05-25 05:10:38 -07:00
Pawan Chilka
6db42325de Added HAL's List
Change-Id: I221894cfe9136b0f532852862fbfc4afb04abc55
2017-05-25 03:21:36 -07:00
AnilKumar Chimata
5f38a9d3c0 sdm660_64: Run qseecom daemon from vendor
Run qseecom daemon from the vendor partition instead of system.

Change-Id: I152dda485639ff278827b07913e7d64f5ef33ce9
2017-05-25 02:52:59 -07:00
Linux Build Service Account
37f40c38bd Merge "sdm660_64: Run qseecom daemon from vendor" 2017-05-24 18:16:29 -07:00
Baili Feng
b29778eac0 Fix intermittant crashes in location
Deleting memory without setting it to null
can cause the memory to still be non-null
and be interpreted as valid.
Also check if the entry is in the map using
find instead of assuming it is in the map.

Bug: 62033719 62033834 62033690 62033563 62032790
CRs-fixed: 2050837
Change-Id: I2534de2d6157be86ac95cfe6615e4c0019ee48fd
2017-05-24 11:03:16 -07:00
Linux Build Service Account
ea2613173a Merge b0379f97a4 on remote branch
Change-Id: I7695a9842ef1bfa388476b03ffa89d21c0f90185
2017-05-24 06:40:36 -06:00
Pawan Chilka
af8025e2c3 Added HAL's List
Change-Id: I221894cfe9136b0f532852862fbfc4afb04abc55
2017-05-24 15:16:41 +05:30
AnilKumar Chimata
7c48c42344 sdm660_64: Run qseecom daemon from vendor
Run qseecom daemon from the vendor partition instead of system.

Change-Id: I152dda485639ff278827b07913e7d64f5ef33ce9
2017-05-24 11:21:38 +05:30
Linux Build Service Account
325f51028e Merge "Remove SV used_in_fix flag setting on SV report." 2017-05-23 21:09:31 -07:00
Vara Prasad A V S G
fe8f23974a Merge commit 'f616b465fccfa67423fc1128175764f004f31ea2' into remote
Conflicts:
	sdm660_64.mk

Change-Id: I75b7c9f829abf82f1a32dda7b905eb9986f933cf
2017-05-23 20:36:07 +05:30
Santhosh Behara
cc2601708f SDM660_64: Enable the flag TARGET_USES_MEDIA_EXTENSIONS
Enable the flag TARGET_USES_MEDIA_EXTENSIONS for video recording
on camera HAL1 to work on sdm660.

Change-Id: I56422996e8160079859e0189cc9cfa9c49e66abc
2017-05-23 06:00:45 -07:00
Linux Build Service Account
b0379f97a4 Merge "sdm660_64:Support init.target.vendor.rc script file." 2017-05-23 00:10:27 -07:00
Harikrishnan Hariharan
d9a166a70f Remove SV used_in_fix flag setting on SV report.
Remove SV used_in_fix flag setting based on EPH / ALM / SNR info
during SV report. The SVs should not be used_in_fix when there is
no fix.

Change-Id: Iaed8ade8073446023348017ba133efcd7445a331
CRs-Fixed: 2043724
2017-05-19 15:44:13 +05:30
Linux Build Service Account
f616b465fc Merge "sdm660: Install media_profiles in system/etc" 2017-05-18 16:43:51 -07:00
Linux Build Service Account
e4ee9c6451 Merge "sdm660: thermal: Add thermal send rule socket to thermal service init" 2017-05-18 16:43:49 -07:00
Katz Yamada
e3d70314b0 Fix for incorrect SVids and timestamps in bugreport
Fix SVids and timestamps shown in adb bugreport to
align with Android standard.

Change-Id: Ib166b09f1d63f7a93d53798dbb188fec0d77e88a
CRs-Fixed: 2042937
2017-05-18 11:00:17 -07:00
Dante Russo
ed7e095d16 Move location files from /data/ to /data/vendor/
Runtime files and sockets used by location modules
are moved to vendor partiion from /data/misc/location
to /data/vendor/location.

Change-Id: I7b092059b3061def2a1f2d0cd9bffb7ed7aededd
CRs-fixed: 2046657
2017-05-18 10:32:12 -07:00
Yingjie Wang
d9f26fc543 Decouple position inject request from assist data
Add LOC_API_ADAPTER_BIT_POSITION_INJECTION_REQUEST mask bit to
decouple from LOC_API_ADAPTER_BIT_ASSISTANCE_DATA_REQUEST.

Change-Id: I4c2f8439dca9ea3b4d56a3cd00da88e4488717bf
CRs-fixed: 2044870
2017-05-17 19:51:48 -07:00
Uma Mehta
ad007c396b sdm660: Install media_profiles in system/etc
Install media_profiles in system/etc as well
since the file is currently checked in system
etc partition only

Change-Id: I5e59623fd367d00bfd7cfdf3ddca07749e76f84a
2017-05-17 17:13:56 +05:30
Linux Build Service Account
9546df2965 Merge "GnssBatching::init handle multiple invoking" 2017-05-17 04:02:00 -07:00
Arusha Goyal
975938b552 sdm660_64:Support init.target.vendor.rc script file.
We now support init.target.vendor.rc file which is intended to
contain target specific VENDOR service definitions, triggers.
This file will stay at /vendor/etc/init, so the vendor service
definitions written with this file will now correctly stay in
vendor region.

Change-Id: I4d1fd718b38572d080405940a377c90a9f0fce10
2017-05-17 14:54:38 +05:30
Manaf Meethalavalappu Pallikunhi
acd05df453 sdm660: thermal: Add thermal send rule socket to thermal service init
Add thermal send rule socket to thermal service initialization script
This change is required for SE Android so that thermal socket context
are not overridden by init.

Change-Id: I8774b62f35f72a481f9976dda5d1aee1e19d8374
2017-05-16 22:51:57 -07:00
Linux Build Service Account
8548469c58 Merge "Allow SUPL_MODE of Standalone only" 2017-05-16 04:22:33 -07:00
Linux Build Service Account
82687ac882 Merge "Check the return value of HIDL Callbacks" 2017-05-16 04:22:33 -07:00
Linux Build Service Account
3768a6f946 Merge "Stop Gnss measurements session when closed" 2017-05-16 04:22:32 -07:00
Pavankumar Kondeti
ec2cfbd708 sdm660_64: update cpuset settings for background and system-background
Allow backgroun and system-background group tasks to run on all
little cluster CPUs. Currently they are limited to run on CPU0
and CPU0-CPU2 respectively. The new settings showed improvement
in application sequential launch latency test results.

CRs-Fixed: 2032599
Change-Id: Ia98aff2dc084299f5e1a73418dceff1a0444cd98
2017-05-15 20:47:42 -07:00
Dante Russo
c804609595 Allow SUPL_MODE of Standalone only
SUPL_MODE being set to standlaone only is
valid and needs to be accepted by HAL.

Bug: 37947277
Change-Id: Ib9d0073c304305f0fafaea1940ce292450eaa9f7
CRs-fixed: 2044643
2017-05-12 16:11:49 -07:00
Dante Russo
4c265534bb Check the return value of HIDL Callbacks
GNSS HAL needs to check the return value of HIDL
Callbacks to avoid crashing when things go wrong.

Bug: 37987256
Change-Id: I4a5e33f7f4d85c887bc91fa71336a78151c3ce3b
CRs-fixed: 2044206
2017-05-12 16:11:00 -07:00
Dante Russo
f354bdfa62 Stop Gnss measurements session when closed
Gnss measurements session that is started to
collect Gnss measurements needs to be stoped
when closed.
Also remove the ability for an MSA tracking
session to be started when Gnss measurments is
started because MSA tracking is power hungry
and it wouldn't provide measurements either

Change-Id: I9b20f73bd412fc68d96dad2dc38399c144922ea0
CRs-fixed: 2039306
2017-05-12 16:04:43 -07:00
Linux Build Service Account
4fc254c9a9 Merge "Maintain a uniq RequestQueue for Geofencing" 2017-05-11 18:35:19 -07:00
Pawan Chilka
506c4e194e SDM660_64 BIT :Enabling vendor.img
Change-Id: I3cbb4487435e86ab8233ec024f285a9088d8e4e4
2017-05-11 15:54:25 +05:30
Baili Feng
1e0be88b94 Maintain a uniq RequestQueue for Geofencing
Maintain a RequestQueue for Geofencing per LocationAPIClientBase instance.
The RequestQueue must be released when LocationAPIClientBase is destroyed.

Change-Id: Icceccdaae67883f8848dd2a95389b938058c5e5d
CRs-fixed: 2044463
2017-05-10 13:21:26 +08:00
Linux Build Service Account
fe87151232 Merge "Fix for buffer overrun crash at copying nmea string" 2017-05-09 17:11:26 -07:00
jinfaw
9eb12cdecf sdm660_64:enable TARGET_USES_QTIC
Re-enable qrdplus after vendor partition was enabled

Change-Id: I9d1dd79e140d0a728a73d8ead91300ca59a99c4e
CRs-Fixed: 2044401
2017-05-09 01:53:57 -07:00
Katz Yamada
604d874143 Fix for buffer overrun crash at copying nmea string
Add zero clearing of allocated nmea buffer to ensure
the nmea string is null terminated.

Change-Id: Ie36010a7d3eca16dabb3067ae891a94e4b63b10c
CRs-Fixed: 2041933
2017-05-08 16:29:05 -07:00