Commit graph

4896 commits

Author SHA1 Message Date
Harikrishnan Hariharan
ee2d6658cb Add DataItemObserver interface in SystemStatus
Add DataItemObserver interface in SystemStatus so
that clients can subscribe dataitem events from
SystemStatus. Also moving DateItem and its observer,
subscription classes into HAL

Simplify DataItem class implementation.

Change-Id: I7b2c3fc9dcf67dd6132bbcccda874e3f7ed6fa94
CRs-Fixed: 2041019 2072896
2017-08-11 13:51:48 -07:00
Kevin Tang
db3101c207 move getAgcInformation and setDefaultReport into GnssAdapter
They are currently in LocApiv02, which is incorrect. SystemStatus
shouldn't be referenced at this layer. And both of these two calls
are specific to GnssAdapter use cases too.

Change-Id: I7098e3963be163199a833a8fb6b12a100405f71e
CRs-Fixed: 2090442
2017-08-11 12:32:34 -07:00
Ajit Vaishya
547aa95ba6 Point Wi-Fi overlay configurations to /vendor/etc/wifi.
Point wpa_supplicant_overlay.conf and p2p_supplicant_overlay.conf
file locations to /vendor/etc/wifi

CRs-Fixed: 2052942
Change-Id: I686b2b83c5a5b76adf75a7c3c5676b573e2d5832
2017-08-11 23:31:03 +05:30
Linux Build Service Account
c41a43c59f Merge "Fix potential deadlock in measurements report" 2017-08-10 22:42:38 -07:00
Linux Build Service Account
4e18383c04 Merge "sdm660_64: Enabling USB enumeration in power-off charging mode" 2017-08-10 18:26:43 -07:00
Linux Build Service Account
4806bfec7c Merge "sdm660_64: Relocate ro.opengles.version to vendor build.prop" 2017-08-10 18:26:41 -07:00
Linux Build Service Account
c17e8cb8fd Merge "sdm660_64: Override "video.disable.ubwc" property" 2017-08-10 18:26:32 -07:00
Linux Build Service Account
915a129360 Merge "sdm660_64: clean up of boost config" 2017-08-10 18:26:20 -07:00
Linux Build Service Account
2cb23d6015 Merge "adding the necessary gps.utils cflags and -l flags" 2017-08-09 23:17:42 -07:00
Remil Ram
44ceafb32d adding the necessary gps.utils cflags and -l flags
Change-Id: Idca694fe0cf640c5bf255fa11ff206d6927d67be
2017-08-09 16:06:35 -07:00
Dante Russo
54d6a878fd Fix potential deadlock in measurements report
If Gnss Measurements callback is called at the same time
as Gnss Measurements close is called, this will cause
dead lock.
Remove using mutex in this case and instead use a simple
bool to know whether or not to call into a the callback.

Bug: 63909793
Change-Id: I98d2be5ebd2ee0f36e4d2e31d20a74585089fe31
CRs-fixed: 2089716
2017-08-09 11:50:42 -07:00
Sai Kumar Sanagavarapu
152c89dcaf Revert "Enable LPM in Camera"
This reverts commit ba08977f138578a6332d279ece0f4efdd04ae5d1.

CRs-Fixed: 2018529
Change-Id: Ia7a297a772fcdd49c5a24c275042184999762af1
2017-08-09 19:21:53 +05:30
Sudeep Yedalapure
0be6701c95 sdm660_64: Relocate ro.opengles.version to vendor build.prop
From Android O any vendor properties defined in
system side build.prop must be moved to vendor
side build.prop for independent update of pure
AOSP system image and vendor image.

Change-Id: I83a01efd207657ec100cba98158cb1d56e0b44ab
2017-08-09 14:03:51 +05:30
Baili Feng
e83b68d39b Clear Location structure before convertion
Set all members of Location to zero by default
CRs-Fixed: 2087799

Change-Id: I01f7c96ff54a58f5f7ee812cd78b6fcccece4f02
2017-08-09 16:15:04 +08:00
Santhosh Behara
789d058957 sdm660_64: Override "video.disable.ubwc" property
Override the propery "video.disable.ubwc" in the device
make file so that it will be part of vendor.prop for the
targets that doesn't support UBWC encoding.

Change-Id: Ied558565bb0c95f32766aa10270a35391e649cab
2017-08-09 00:26:17 -07:00
John Zhao
0d51d40b43 sdm660_64: NTP related configuration
Setting up NTP related configuration.
CRs-Fixed: 2062333

Change-Id: Ia2b8b89dd903ceb2d5e664a5f6c2aef264aee9b0
2017-08-09 10:16:41 +08:00
Baili Feng
45c1850f21 Ignore invalid location
Do not report invalid locatin to HAL.
Generate empty NEMA when status is LOC_SESS_FAILURE.

Bug: 64286361
CRs-Fixed: 2087261

Change-Id: Id5c47052eef5cae951c020fa8061e2c761c1152d
2017-08-08 17:04:04 -07:00
Pavan Kumar M
c3da4cec90 Overlay changes for STA+SAP support
config_tether_wifi_regexs need to be customized
based on feature set supported for different targets.
softap0 will be default interface for STA+SAP supported
targets. Other targtes will have wlan0 as default interface.

CRs-Fixed: 2087745
Change-Id: If1f0af51f7ec46e116d96d9164b4ffee9751ced2
2017-08-08 21:42:38 +05:30
Sanjeev Jakkilinki
31b29d8e36 sdm660_64: clean up of boost config
Remove the perf boost params from config file, as they are
moved to mp-ctl code.

Change-Id: I3f9fdc2121909df53bc401259597a23a0149d7df
2017-08-08 21:39:46 +05:30
Ramakant Singh
8806c12f59 Display: Add entry for postproc
Change-Id: Idb6d9294be7a8a2c0ad28d50dfb8d8ae63803133
2017-08-08 18:01:24 +05:30
Linux Build Service Account
ac16b8d821 Merge "Clean up compiler warning message" 2017-08-08 04:43:25 -07:00
Linux Build Service Account
f2e87ca821 Merge "Override the heap growth limit" 2017-08-05 08:40:59 -07:00
Linux Build Service Account
2fa421e068 Merge "sdm660: Add USB binderized HAL service to PRODUCT_PACKAGES" 2017-08-04 21:39:35 -07:00
Linux Build Service Account
471853fda2 Merge "Update capabilites when suplmode changes" 2017-08-04 07:10:20 -07:00
Linux Build Service Account
fc92122add Merge "Prevent gps stuck on if multiple starts are called" 2017-08-04 07:10:18 -07:00
Sai Krishna Juturi
e787dabdb5 sdm660_64: Enabling USB enumeration in power-off charging mode
Set sys.usb.configfs to 1 to indicate build uses configfs in
power-off charging mode, or else usb enumeration will fail in
power off charging mode.

Change-Id: I66a51ce342cef9e4d345eebc716a5e9e0e7332e6
Signed-off-by: Sai Krishna Juturi <jsaikrishna@codeaurora.org>
2017-08-04 17:09:03 +05:30
Sanjeev Jakkilinki
a9cf622898 Override the heap growth limit
Override the heap growth limit due to high display density
on device, maximum size of the managed heap can grow upto 256m

Change-Id: I249373e9aa225d3e3151d4fc74dee4dbad9fe201
2017-08-01 22:43:05 -07:00
Baili Feng
4c9c783989 Clean up compiler warning message
CRs-Fixed: 2070597
Change-Id: Ic57f5211a4e4b9112888435d54df7a361bcb6767
2017-08-01 18:17:20 +08:00
Linux Build Service Account
c0c157b772 Merge "sdm660_64: Add flag for configfs" 2017-08-01 01:48:11 -07:00
Linux Build Service Account
4e9f710ec1 Merge "Update rild.libpath" 2017-08-01 01:48:07 -07:00
Dante Russo
9ae216a6c0 Update capabilites when suplmode changes
Location capabilities can change when
suplmode is updated, but we need to send
the capabilites callback to all clients
with the new capabilities when suplmode
changes.

Change-Id: Ib7c9b5ef13259fe9305b3efbb03db3433ed26675
CRs-Fixed: 2079414
2017-07-31 15:57:37 -07:00
Chaitanya Saggurthi
6c1f026ed3 Update rild.libpath
Update rild.libpath using PRODUCT_PROPERTY_OVERRIDES.

Change-Id: I09a22f85f24d154ebffbc92586c74a920cee8dba
CRs-Fixed:  2078970
2017-07-31 22:21:21 +05:30
Sriharsha Allenki
edcbe9aedc sdm660: Add USB binderized HAL service to PRODUCT_PACKAGES
The Treble project introduced binderized hal in Android O.
For USB part, its Binderized hal was not compiled, thus the usb_hal
service which was implemented in the hal can not be loaded by
UsbPortManager.
Add android.hardware.usb@1.0-service to PRODUCT_PACKAGES.

Change-Id: I6269b4f3fd982bc22abd21ef8a84e7b51bfb11f7
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2017-07-31 14:18:50 +05:30
padarshr
512cf9121f Use build variables to build device matrices.
Move away from building device manifest through PRODUCT_COPY_FILES.
Use the build variables - DEVICE_MANIFEST_FILE and DEVICE_MATRIX_FILE
to build device manifest and device compatibility files repectively.

Change-Id: Ic1c14a49d3a53306fb6f93eb92d44fea6a47278f
2017-07-31 12:54:36 +05:30
Linux Build Service Account
e820d59ae6 Merge "sdm660_64: Publish codecs concurrent instances limit" 2017-07-28 22:25:19 -07:00
Linux Build Service Account
254a69bad6 Merge "Merge remote-tracking branch 'quic/qcom-devices.lnx.1.9-rel' into remote" 2017-07-28 15:22:01 -07:00
Linux Build Service Account
777c42a0d9 Merge "manifest.xml: Add drm HAL to vintf.xml for sdm660_64" 2017-07-28 06:10:30 -07:00
Linux Build Service Account
1833b9a62a Merge "Rename the device manifest file." 2017-07-28 06:10:30 -07:00
Linux Build Service Account
0c6ed3c024 Merge "KW Warning Fixes" 2017-07-28 06:09:40 -07:00
Linux Build Service Account
928e3eca59 Merge "Updating error print in AGPS state machine" 2017-07-28 06:09:37 -07:00
Linux Build Service Account
bf19bc854e Merge "Relocate device specific config files to vendor partition." 2017-07-28 06:09:24 -07:00
Sai Krishna Juturi
2284a004cb sdm660_64: Add flag for configfs
Updated the commandline to indicate that this
build uses configfs. Without this change usb
wont enumerate in recovery mode for configfs
based builds.

Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: Sai Krishna Juturi <jsaikrishna@codeaurora.org>
2017-07-28 18:22:53 +05:30
padarshr
799438a08d manifest.xml: Add drm HAL to vintf.xml for sdm660_64
Add drm HAL to device manifest.xml for sdm660_64

Change-Id: I5d3759b6527030738527926dac82e6ded0601c60
2017-07-28 03:05:32 -07:00
padarshr
9b652230e8 Rename the device manifest file.
Rename the device manifest(vintf.xml) to manifest.xml and move
away from building device manifest through PRODUCT_COPY_FILES.
(It will be built through another change using the build
variable - DEVICE_MANIFEST_FILE)

Change-Id: I844e582b7da590afb497e4656126d98e6cdb5e24
2017-07-28 15:34:29 +05:30
Dante Russo
c1da12aa2e Prevent gps stuck on if multiple starts are called
If framework happens to call start of session multiple
times without calling stop first, it can cause a session
to get stuck on without any way to stop it

CRs-fixed: 2083756
Change-Id: Ic871d870ca67c9465438f8494e381bfbcb85a830
2017-07-27 14:04:23 -07:00
Prateek Sood
49f034a6d1 msm_irqbalance: Use Core0-3 on SDM630 64-bit
use core0-3 for irq handling on SDM630 64-bit

Change-Id: I5ed6b0c735f2703e7c25fa2330c87c875f8ffddb
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2017-07-27 10:15:04 -07:00
Saurabh Srivastava
2481cf3f82 KW Warning Fixes
CRs-Fixed: 2082072
Change-Id: I1189acd521d4e4cea3b8a9545a5486f29caaa0fe
2017-07-27 17:21:31 +05:30
Linux Build Service Account
118a422b9f Merge "sdm660_64: Add conditional flag to switch HIDLs" 2017-07-27 03:44:32 -07:00
Linux Build Service Account
9df3414c19 Merge "sdm660: Add Renderscript to vintf" 2017-07-27 03:44:03 -07:00
Linux Build Service Account
7cc7da646c Merge "Fix 2.9-rel compilation issues on LE" 2017-07-27 03:43:51 -07:00