Commit Graph

413 Commits

Author SHA1 Message Date
David Ng
b4741134f2 msm8974-common: gps: Add explicit liblog dependency
Explicitly add liblog as dependency for modules that use Android
logging.  Also remove obsolete build flag.

Change-Id: I91a458b44ff34c91a8f6875f5c3e931f620c613a
2018-01-18 04:37:20 -07:00
Saurabh Srivastava
08edaade5f msm8974-common: gps: Enabling CLANG compilation and fixing all resulting errors
Removing statement to set LOCAL_CLANG flag explicity to
true. It will be true by default.

Change-Id: I2eaba5a89e64088e3383b962dceaaa7e975e997a
CRs-Fixed: 989476
2018-01-18 04:37:20 -07:00
Michael Bestas
0551f61a2a msm8974-common: gps: Hack HAL for N
* Replace GnssSvStatus with HaxxSvStatus

Change-Id: Ib96e5caff7db7cf2a7bd1cd5d9ef147c9c4b70d7
2018-01-18 04:37:20 -07:00
Scott Mertz
f066fa2e3a msm8974-common: gps: Fix build for OSS builds
gps: Correct forward declaration in proprietary definitions

Fix gps runtime error

The qcom prebuilt binary relies on FlpExtLocation_s,
so we cannot change it to FlpExtLocation.
This patch fixes it.

gps: fix remove trailing space

In setXtraUserAgent,
size_t is unsigned and never being negative.
Will cause segmentation fault, if string is all space.

Change-Id: I1cf1f956943b0739640afe909954ade6921e28a1
2018-01-18 04:37:20 -07:00
Kevin F. Haggerty
4dd7fbc1e4 msm8974-common: gps: Remove etc/Android.mk
* We don't need the target, we'll PRODUCT_COPY_FILES like sane people

Change-Id: I7f4a79d95791d974cb4b6642ef3ba76fa93a5172
2018-01-18 04:37:20 -07:00
Michael Bestas
1a49af68a6 msm8974-common: gps: Cleanup makefiles and remove useless files
Change-Id: I66848d2e220817ae61642d7211f7eabf5e4efcea
2018-01-18 04:37:20 -07:00
Kevin F. Haggerty
9cf367bddf msm8974-common: gps: Delete libloc_api-rpc
* This isn't needed

Change-Id: I7b4b33256fac5ae71b2e556ed04f0069d1aa9f39
2018-01-18 04:37:20 -07:00
Kevin F. Haggerty
29b6ae6ad8 msm8974-common: gps: Add top-level Android.mk
Change-Id: I04b2ab8c5f348dcfce23cb49b0dfeb1d3e335641
2018-01-18 04:37:20 -07:00
Kevin F. Haggerty
9433f7ab16 msm8974-common: gps: Import CAF HAL
* https://source.codeaurora.org/quic/la/platform/hardware/qcom/gps
* Tag: LA.BF.1.1.3_rb1.13

Change-Id: Ied5197b459ccc51c8b7c8288a8b1d4a6839685e4
2018-01-18 04:37:20 -07:00
Kevin F. Haggerty
472c04c4d1 msm8974-common: manifest: Correct wifi HAL version
* 1.1 accidentally slipped in here while commonizing

Change-Id: Iea601c80a8411f7e57aecf000180a24632430f2e
2018-01-18 04:37:04 -07:00
Kevin F. Haggerty
904d0acb37 msm8974-common: Use AOSP charger
* Lineage charger is horrible brokenness

Change-Id: I91f781d566db5e894ea3c39598fbdac72e778309
2018-01-14 15:13:09 -07:00
Ethan Chen
84b97c9d61 msm8974-common: Add seccomp policy
Change-Id: I1d5017228a4a9318f8a77ef4036532d64718ecbb
2018-01-04 21:59:45 -07:00
Artem Borisov
9e14a9cbdf msm8974-common: Enable boot and system server dex-preopt
As stated in https://android.googlesource.com/platform/build/+/418258c
this is required in O-MR1 since sepolicy now prevents system server from
loading anything from /data making our system extremely slow and janky.

Change-Id: I215ec7ebe95981ef0b953fe938e12b83675795ab
2018-01-04 17:57:19 -07:00
Kevin F. Haggerty
c5a6d91889 msm8974-common: Fix setup-makefiles.sh typo
Change-Id: I19fbd61e8f028e62e900e031b97c0f6ddcef1977
2018-01-02 19:48:37 -07:00
Bruno Martins
034ccb8eb6 msm8974-common: Ship RenderScript HAL
Change-Id: Ia13a26c46c803f6853b1188449547c70d3305bfa
2018-01-02 06:55:04 -07:00
Kevin F. Haggerty
fe30e6b05f msm8974-common: Use shared blobs from vendor/
Change-Id: I8f8675b9fd1950cd7c64538f160e73514209be19
2018-01-01 09:02:19 -07:00
Kevin F. Haggerty
7477a67fb5 msm8974-common: Setup extractors for shared blobs
Change-Id: I21194e86f3f755510130118a0a1b7a47a6aa1a5a
2018-01-01 09:00:36 -07:00
Paul Keith
a34bca1130 Revert "msm8974-common: Add vsync phase offsets"
* This is causing an mdss pingpong timeout,
  which leads to a kernel panic in mdss
* While we could stop the kernel panic, that
  isn't the root cause of the problem
* Remove the offsets as we don't have
  proper panel documentation for this
* BUGBASH-953

This reverts commit 603779b03a.

Change-Id: Iec49aebc02c9a01b93f4bf23f34e787b338ea805
2017-12-31 09:48:28 -07:00
Kevin F. Haggerty
9f8650d177 msm8974-common: Make the common tree more common
* Compare things that are used in hlte, klte, lt03lte, and mondrian
  wifi and move the stuff that's truly common to here. This will
  greatly ease O bring-up of the child trees.

Change-Id: I8fc5a099a348fa7feb502e3afe9b43df6e22d00b
2017-12-29 13:07:21 -07:00
Kevin F. Haggerty
946e60a172 msm8974-common: Drop obsolete overlays
Change-Id: Ia9b73c6ff3b9ae6789b690ce840c7509d0e86053
2017-12-28 15:12:32 -07:00
Kevin F. Haggerty
dd2586956d msm8974-common: Drop audiod
Change-Id: I455752ca3bc0b444ef15274be03df791120bb00a
2017-12-28 15:11:44 -07:00
Bruno Martins
a948b09171 msm8974-common: init: Update extension for O-mr1
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba16
2017-12-26 06:47:36 -07:00
Kevin F. Haggerty
c7b819ec2b msm8974-common: Disable ffmpeg codecs
Change-Id: I13fdfff6286068683ab663c0b0bbdee61e51412e
2017-12-22 22:25:57 -07:00
Bruno Martins
a20ebf7ef3 msm8974-common: Build graphics allocator service
Change-Id: Id3964c10aa474d94c85da7e1a65e65e7f8f6bc76
2017-12-22 17:22:56 -07:00
Kevin F. Haggerty
61a18ade33 msm8974-common: libshims: Import libshim_cutils_atomic
* After two years of warning us, Google has dropped non-inlined
  versions of the android_atomic functions. Unfortunately, some
  legacy blobs still expect these to be in libcutils.
* atomic.c from system/core/libcutils at c56648948

Change-Id: I31cba78c62b17f045fa912534dd61c8aaaddaaa8
2017-11-04 13:18:05 -06:00
Kevin F. Haggerty
4d80ead591 msm8974-common: Add power HAL impl
Change-Id: I914858837ad99c5a1c2793cafba2edf1eab8e6ae
2017-11-03 09:13:21 -06:00
Rashed Abdel-Tawab
ffacc815b1 msm8974-common: Add audio and display HAL impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba26
2017-11-03 09:09:53 -06:00
Paul Keith
6abefef5c7 msm8974: Remove libdivxdrmdecrypt
* This doesn't exist anymore

Change-Id: Ie4ce517ed2722ed61719be8248ee7b9005ca317a
2017-10-23 19:45:17 -06:00
Luca Stefani
6c9bcca316 msm8974-common: init: Update for O
Change-Id: I60475e3dbf68329a46c421e8c8465a4ea2e28203
2017-08-30 07:21:45 -06:00
Kevin F. Haggerty
ed60e16ea2 msm8974-common: Rename dependencies file
Change-Id: Ib970f728bf7c2f2b09e34adb9699650503c38f43
2017-08-30 06:49:22 -06:00
Michael Bestas
70c6f3833b msm8974-common: Allow vendor init to override props
Change-Id: Iee06664aee1e59596aa12e2da11319f82767193a
2017-06-30 10:54:16 -06:00
Paul Keith
603779b03a msm8974-common: Add vsync phase offsets
* Kanged values from hammerhead
* Reference:
  http://stackoverflow.com/questions/27947848/understanding-necessity-of-android-vsync-signals

Change-Id: I687a306ca1a3bc8f23174a1a8b8a799baad7a3b3
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-12-14 13:24:35 -06:00
Kevin F. Haggerty
c7466dda27 msm8974-common: init: Explicitly include unistd.h
Change-Id: Id62698c6315d9140b433c06c86cd1856cc5303a5
2016-08-31 08:13:09 -06:00
Michael Bestas
1b3779cba4 msm8974-common: Add local libinit
* Set alarm property
* Load device property items using init_target_properties
  function

Change-Id: I9b4b88c20078c9a310f425901368d765ddda2d51
2016-07-13 20:06:01 -07:00
OzzysCmAcc
ba8fb50627 msm8974: Remove HEVC codec
* QC decoder is deprecated

Change-Id: Ib8b377be0ba3e24f4c5ad473ffc255fe847c4f49
2016-01-21 11:02:42 -08:00
Christopher R. Palmer
48ded0e944 msm8974-common: Move low_latency permission up to devices
Mondrianwifi does not like having this enabled.  When it is enabled,
it causes audio distortion in some games when using a2dp output.

Partially reverts: "Reduce fast track multiplier"

Change-Id: Ic50bb016275de821be4651280c67c42f64241dab
2016-01-21 09:36:49 -08:00
OzzysCmAcc
13b96cb171 msm8974: clean up deprecated packages and flags
Change-Id: Id2339606feae1e51fbd8962a44a15f15c1f9e989
2016-01-20 10:08:38 -08:00
Ethan Chen
9273dfb47a Partially revert "msm8974-common: update media codecs for M"
* The codec performance figures were measured on bacon, and do not match
  the performance of the various Samsung devices.

This reverts commit 5e340af2e6.

Change-Id: I7ce0eab3bdd0c89919b3bb29d56a346de587e075
2016-01-20 09:57:32 -08:00
Glenn Kasten
7ebae8d2e1 Reduce fast track multiplier
Change-Id: I3aa2b5c2ceb81538f0ab11ed16e8516015598592
2016-01-20 09:57:32 -08:00
Matt Filetto
3186b006e7 msm8974-common: Move IR HAL to device repos
* Not all Samsung 8974s share the same kernel driver.

Change-Id: I9ece36e082d7b98972cd338d54dd409fcf3ab85c
2015-12-23 11:26:53 -08:00
Steve Kondik
06ebc93f50 msm8974-common: Drop all the janky proprietary stuff we don't even use
Change-Id: Ia55aecf587124c3e07d16b37612a8c612320c530
2015-12-23 11:23:37 -08:00
Matt Filetto
fefc908ba8 msm8974-common: Remove duplicate usb accessory package
Change-Id: Ibe81c2c20f23995538f984def4f6b72da5c5c233
Signed-off-by: Matt Filetto <matt.filetto@gmail.com>
2015-12-23 11:18:34 -08:00
Steve Kondik
d1f942107c msm8974: Kill mm-parser
* Qualcomm caused hell-on-earth with libavenhancements- an
   apparently well-intentioned effort to minimize the amount of
   change in f/av which has backfired. In order to use this
   library, an OEM must not change *anything* *anywhere* in f/av
   to maintain ABI exactness. And that ABI exactness is different
   per SoC branch and constantly in motion. Best of all, the
   base classes are monkey patched with a proprietary library which also
   is different per SoC branch and much exactly match the f/av
   code. And if you get the ABI right, then your customizations
   stop working because they've been hijacked by overloading. The whole
   message bus is hijacked, and you're wasting your time.

 * Now that FFMPEG can talk to all the hardware codecs, there is no
   reason to tolerate this. Our stack has more features, more codec
   support, and it's open source all the way.

 * I love Qualcomm's SoCs, but come on guys.. I expect every OEM
   will complain about this AV shit then proceed to gut it as I am doing.

Change-Id: I8ed0de62d64cc10054933cd70a9958ea10359c7a
2015-11-30 18:52:42 -08:00
repo Shareef Ali
8d42c49425 msm8974: Compile native libqcmediaplayer library
Change-Id: I81db0e3ff5dffdb5c9461e8210803ea7ea8f4be9
2015-11-14 14:51:08 -08:00
OzzysCmAcc
cdfcdb5a02 msm8974: Build libextmedia_jni
Change-Id: Ieee20f417daf2d3fdb5be7fea52de9653f5807c9
2015-11-14 14:48:54 -08:00
Matt Filetto
5e340af2e6 msm8974-common: update media codecs for M
* Kanged from bacon

Change-Id: I31047a4aff2dd08d52dd0ebacab855dd99403f0d
2015-11-14 14:35:48 -08:00
Ethan Chen
52e401a735 msm8974-common: Move extension library path to device
Change-Id: I5efd909f35b302c83b7a86455db42acb51287f1f
2015-11-13 17:32:28 -08:00
Nick Kralevich
334503413c msm8974-common: remove persist.sys.usb.config override
The variable persist.sys.usb.config is no longer honored by the framework,
and it's presence causes unnecessary toggling of the USB driver, which
disonnects ADB and makes the device's connection unstable.

Delete it.

Bug: 21404762
Bug: 18905620
Change-Id: Ibcc3b6a6f5523695d9daf01e53e8f5ed71ad19fe
2015-11-08 04:22:01 -08:00
khusika
577ab0c34a msm8974: Remove deprecated egl.cfg
Change-Id: I2c9808a071df694e30baeb490553d38e734a5d17
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2015-08-12 09:14:58 -04:00
Christer
f6a45bf121 msm8974-common: new symlinks
* from N9005XXUGBOD3

Change-Id: Ib1ffd171719d1eadf98e46f0bc0fadfa34e62b09
2015-06-27 11:19:23 -07:00