Commit graph

3142 commits

Author SHA1 Message Date
Harikrishnan Hariharan
e22e04dbe2 Fix compilation errors in xtra-daemon for LE.
Fix compilation errors in xtra-daemon in LE for changes made
as part of adding biway IPC communication changes. New files
created are added as part of LE Makefile.

Change-Id: Ic0f0d60dd85eea38bb47753aea4fccfb3070d64c
CRs-Fixed: 2122852
2017-10-07 15:19:19 +05:30
Linux Build Service Account
94de351493 Merge "qcom: sdm660_64: Added tui communicator and qdutils entries" 2017-10-07 02:05:56 -07:00
Ajit Vaishya
e923de74c8 Enable Mac address spoofing by default.
This commit by default enable Mac Spoofing.

Change-Id: I82c5f41fb8ef6253a0189007199bde4c83f7f11e
CRs-Fixed: 2104093
2017-10-06 14:20:15 +05:30
Ruifeng Xu
35804b9131 new apis for control xtra throttle
added register and unregister apis of a callback
that listens to XTRA client throttle enablement commands.

Change-Id: Id50e7311516593018113203b5dfa700f0fdc037b
CRs-fixed: 2092629
2017-10-05 12:41:27 -07:00
Ruifeng Xu
b0982b4476 add HAL socket
this patch contains the following changes:
1. added header and implemenation files of socket util apis
in libgps.utils; 2. updated XtraSystemStatusObserver to use
the new apis; 3. added HAL socket and new thread to listen to it.

Change-Id: If1f6b4b4d6ea2d03640f68e96f0286300404f42b
CRs-fixed: 2108635
2017-10-05 11:33:37 -07:00
Naresh Munagala
a5c7e2c53d extended gdop parameters in interface files
updated interface files with extended gdop parameters.

Change-Id: Ie31311125e66d26dab4f564be7120fae374b9d2c
CRs-Fixed: 2062856
2017-10-04 22:57:34 -07:00
Bhavna Sharma
39526894cf AGPS Init must complete in one message call
If AGPS initialization is split across multiple
messages on the msgTask, it causes other other
commands to seep in before the initialization can complete.
To avoid this the initialization must be completed in one message.
Also includes some cleanup on AGPS initializations.

CRs-Fixed: 2111399

Change-Id: Id61ceeb12d5781764b42ff9d1868884537ca8d90
2017-09-28 10:11:08 -07:00
Mao Jinlong
2181cd7b73 SDM660_64: Start power off alarm when on charger
Start power off alarm when on charger to reboot device when power off
alarm is up.

CRs-Fixed: 2109766
Change-Id: I123f1f02578ad227e6ba7baf0ee180ca5098e8fa
2017-09-27 23:26:49 -07:00
Linux Build Service Account
5724bf1295 Merge "Enable persisitent reconnection and tdls ext control by default" 2017-09-27 11:23:43 -07:00
Linux Build Service Account
f9efa5ae33 Merge "SDM660_64: Add netflix custom property" 2017-09-27 11:23:28 -07:00
Linux Build Service Account
edbc71f1dd Merge "Add support more bp amplitude in systemstatus" 2017-09-27 08:16:37 -07:00
Saurabh Srivastava
7b37deedff KW Warning fixes
Adding fixes for null reference errors.

Change-Id: Ie62bd93860baef2670c164ae7a5d148440308213
CRs-Fixed: 2113171
2017-09-26 03:29:27 -07:00
Deepak Kushwah
b71243c5de SDM660_64: Add netflix custom property
Add netflix custom property.

Change-Id: I565ea78158d3d57c95c43a44be1f7f75d62fa5cb
2017-09-26 13:33:14 +05:30
Linux Build Service Account
6403989a5b Merge "locAPIRemoveGeofences now notify the result inmediately" 2017-09-23 04:40:07 -07:00
Linux Build Service Account
1f8b3587f2 Merge "Set SUPL_HOST to modem on GnssAdapter init." 2017-09-22 18:37:26 -07:00
Kevin Tang
c7642dca5f locAPIRemoveGeofences now notify the result inmediately
locAPIRemoveGeofences is no longer waiting for the request response,
instead it will always notify his callbacks with LOCATION_ERROR_SUCCESS
if the provided id is found, or LOCATION_ERROR_ID_UNKNOWN if not.

Change-Id: I602ad43bee894e85fde1e80210e6477b628e4a39
CRs-fixed: 2099450
2017-09-22 17:28:58 -07:00
Katz Yamada
fe17363801 Add support more bp amplitude in systemstatus
Add support of glo/bds/gal baseband processor
amplitude in systemstatus. These values will
be added in PQWM1 debug NMEA messasge.

Change-Id: If880bdfa81b41a82bb133bda8a0b33862f3eade5
CRs-Fixed: 2091024
2017-09-22 13:08:59 -07:00
Saurabh Srivastava
220b5cb581 Adding fix to send SUPL_ES ATL Close complete
Sending ATL Close complete for both Unsubscribe
and Released event.

CRs-Fixed: 2113762
Change-Id: Id684a05aa6d2b8636efb8af3d967146bd1718994
2017-09-21 21:11:37 -07:00
Brahmaji K
ddd06c3c25 qcom: sdm660_64: Added tui communicator and qdutils entries
Added entries for tui communicator and qdutils services. These
are required for Secure UI

Change-Id: If0a4d67219e624886f4c022c48abaff226c2f07d
2017-09-21 15:54:02 +05:30
Kevin Tang
fb4bbe52f4 fixing conn disconnect handling from GnssLocationProvider
The "type" needs to maintain as signed, in case some value
may come across as negative, even though the storage size
may vary, from 8-bit to 32-bit, for example.

Bug: 65164961

Change-Id: Ieb3fb4b6f8415444bbe192a7875093f86a9c3068
CRs-Fixed: 2106350
2017-09-20 17:47:48 -07:00
Harikrishnan Hariharan
0ebaba253f Set SUPL_HOST to modem on GnssAdapter init.
On init of GnssAdapter, SUPL_HOST and SUPL_PORT are set to
modem if the configs are set in gps.conf.

Change-Id: I079879adf31022cfbf0098da8dba3bb86feed069
CRs-Fixed: 2110547
2017-09-20 00:31:51 -07:00
Linux Build Service Account
90f3dec2de Merge "sdm660_64: add excluded xml for laser sensor" 2017-09-19 16:08:05 -07:00
Kevin Tang
153e37d399 Merge remote-tracking branch 'quic/location.lnx.2.9' into HEAD
Change-Id: I50d6f5ff7c70532f8be522a76be5a6aaf9b03f3d
CRs-Fixed: 2112760
2017-09-19 15:06:11 -07:00
Linux Build Service Account
1acadd2b06 Merge "sdm660: add smcinvoke daemon for sdm660" 2017-09-15 20:59:27 -07:00
Linux Build Service Account
98a9a77dd2 Merge "sdm660: mediacodec: Update media codecs capabilities" 2017-09-15 11:25:45 -07:00
Wei Ding
9d2211ff44 sdm660_64: add excluded xml for laser sensor
Add excluded input devices xml as Google's definition
to avoid improve touch performance issue.

Change-Id: I83d8da9935f1dfdcb005fb064af25e393824d070
2017-09-14 09:30:49 +08:00
Dinesh K Garg
433c7cadbc sdm660: add smcinvoke daemon for sdm660
smcinvoke is a new capability-based communication mechanism between
TZ and HLOS, and smcinvoke daemon is a privileged native daemon
service that mediates userspace client access to TZ. It needs to
start when device boots up. Add it into init.target.rc scripts.

Change-Id: Ie7b6d7ce8bfcefddcc564f6649c924279fd06e94
2017-09-13 10:30:53 -07:00
Linux Build Service Account
172162e370 Merge "SDM660: ADSPRPC: Add daemon to talk to Guest OS" 2017-09-13 07:48:49 -07:00
Linux Build Service Account
e2873a0191 Merge "sdm660_64: Add WLAN HIDL service entry to manifest.xml" 2017-09-13 07:48:48 -07:00
Kevin Tang
dda1d12998 Merge remote-tracking branch 'quic/location.lnx.2.9' into HEAD
Change-Id: I7e122e35f0b79a8bfc899fb37935e3f7acb175c3
CRs-Fixed: 2108593
2017-09-12 16:15:49 -07:00
Linux Build Service Account
50dbc82544 Merge "sdm660_64: Do not enable fingerprint by default" 2017-09-12 00:04:01 -07:00
Baili Feng
f69296ba9e Init default agps status callback in GnssAdapter
Call LocNetIfaceAgps_getStatusCb implemented in libloc_net_iface.so,
use the return function as default agps status callback.

Change-Id: I4d966a888e312c2d0fb1a6c9e30752294876e500
CRs-Fixed: 2064002
2017-09-12 14:16:28 +08:00
Linux Build Service Account
f87d890533 Merge "sdm660_64: Fix zram not enable properly" 2017-09-09 14:44:48 -07:00
Linux Build Service Account
8ac14eff60 Merge "Transition of base DataConcreteType class to HAL" 2017-09-09 00:59:31 -07:00
Linux Build Service Account
aed3065a34 Merge "Xtra client interfacing with LocNetIface in LE" 2017-09-08 19:04:53 -07:00
Harikrishnan Hariharan
40284224df Transition of base DataConcreteType class to HAL
Transition of base DataConcreteType class to HAL, so that modules
in HAL can access the members of DataItem class.

Change-Id: Ib3b60992cf35a52b601117d5d18761d759f31b86
CRs-Fixed: 2104384
2017-09-08 15:58:21 -07:00
Katz Yamada
4d8fc57928 Fix unable to clear existing event bitmasks
Fix for an issue updateEvtMask call chain is
unable to clear existing event bitmasks stored
in LocApiV02.

Change-Id: Id34e2d92a506e7300f3d9b3ec74a80a1f6822787
CRs-Fixed: 2085379
2017-09-08 13:52:20 -07:00
Harikrishnan Hariharan
f0d7fe810f Xtra client interfacing with LocNetIface in LE
Interfacing LocnetIface with Xtra client for wwan/supl call
setup and teardown.
- XtraSystemStatusObserver must listen to connect/teardown wwan
call requests from xtra-daemon on the HAL side socket. This
request is then processed by libloc_net_iface module on LE.
- Caching the connect and disconnect backhaul requests received
before framework action request object is obtained.

Change-Id: I7cb6751efc64b27726b5d28be9a3df7b1bfb3d76
CRs-Fixed: 2092215
2017-09-08 22:38:33 +05:30
Rajiv Ranjan
93d62f767d Enable persisitent reconnection and tdls ext control by default
Enable persistent_reconnect and tdls_external_control by default.

CRs-Fixed: 2105028
Change-Id: I67fc490d458589a92c1dd1929176b6e80a8d674b
2017-09-08 11:39:07 +05:30
Linux Build Service Account
099f9405b1 Merge "Integrate XtraSysStatObs with SystemStatusObserver" 2017-09-07 20:35:04 -07:00
Linux Build Service Account
c429143400 Merge "Enable quota feature for userdata partition." 2017-09-07 12:58:44 -07:00
Harikrishnan Hariharan
ff8b31761c Integrate XtraSysStatObs with SystemStatusObserver
Use SystemStatusObserver to subscribe for dataitems in
XtraSystemStatusObserver.

Change-Id: Ib1828b9025c9c5bb5194a36014249472ed3f6f9e
CRs-Fixed: 2093290
2017-09-07 11:05:15 -07:00
Linux Build Service Account
094e07f5a9 Merge "Check status before decide report position or not" 2017-09-07 00:32:25 -07:00
Baili Feng
e0f49cdede Check status before decide report position or not
Check if inaccuracy exceeds our tolerance
only when status is LOC_POS_TECH_MASK_SATELLITE

Change-Id: If45f2d8f5347f5b8a7df944dfa5b8071f6c2380a
CRs-Fixed: 2104827
2017-09-06 11:26:27 +08:00
Tharun Kumar Merugu
71f04ddc03 SDM660: ADSPRPC: Add daemon to talk to Guest OS
Adding daemon to talk to Guest OS on SDM660.

Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2017-09-05 16:30:52 +05:30
Abir Ghosh
2b6a38b06f sdm660_64: Do not enable fingerprint by default
- Remove fingerprint entries from manifest.xml
  and sdm660_64.mk.
- Do not enable FEATURE_FINGERPRINT by default.

Change-Id: Ic1870c76dc61e3ee3f75b9809846debeba7f30c8
2017-09-05 15:36:54 +05:30
Laxminath Kasam
17f4b1523b sdm660_64: Initiate ADSP loading after filesystem up
Ensure ADSP loading is triggered as soon as filesystem
is ready. To avoid deferred probe driver failing in kernel
due to delay in DSP loading, trigger early DSP loading.

CRs-Fixed: 2028071
Change-Id: I9c08b16cf0434ee5bb9a9fa0c17a8bbbd0a27b4f
2017-09-04 23:50:07 -07:00
zfu
3650d6872c sdm660_64: Fix zram not enable properly
Android O need ro.vendor.qti.config.zram instead of ro.config.zram

Change-Id: I75b492d8ff96619870b4619717c4c2661e768663
2017-09-05 10:35:49 +08:00
Linux Build Service Account
5803d4509f Merge "sdm660_64: update media_codecs_performance.xml" 2017-09-04 10:26:21 -07:00
Linux Build Service Account
6ef3b74714 Merge "Filter the configs sent to modem on change basis" 2017-09-04 00:28:59 -07:00