Commit Graph

964 Commits

Author SHA1 Message Date
therootlord
01c13a1de5 sanders: remove audio_output_policy.conf
* We're using audio_policy_configuration.xml
2018-10-08 01:28:39 -03:00
Ethan Chen
e79f743e59 sanders: Drop custom display flags
* TARGET_USES_OVERLAY and USE_OPENGL_RENDERER are largely deprecated

Change-Id: If2892c83726c3558a96b28a8404f49982ebb9ba0
2018-10-05 19:14:36 -03:00
Jesse Hall
2445a641f2 sanders: Advertise Vulkan 1.1 system feature
Bug: 66875961
Test: atest VulkanFeaturesTest
Change-Id: I58f904984320dee174637ba0ddfecdd343fab7e6
2018-09-29 00:07:17 -03:00
Jeff Sharkey
9de6940992 sanders: Reserve 128MB for critical system components.
We recently created a new GID that can be granted to critical system
processes, so that the system is usable enough for the user to free
up disk space used by abusive apps.

128MB ought to be enough for anybody.

Test: builds, boots
Bug: 62024591
Change-Id: I412ed9b0a885668ebe4c6c677a3bd0cd7f44080b
Signed-off-by: Alberto97 <albertop2197@gmail.com>
2018-09-26 13:46:53 -03:00
rago
56596f0717 sanders: Dynamics Processing Effect
Dynamics Processing configuration for marlin

Bug: 64161702
Bug: 38266419

Test: manual testing
Change-Id: I0b0d55af3774d798af92159b98764d875a4b7628
Signed-off-by: Alberto97 <albertop2197@gmail.com>
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-26 00:25:56 -03:00
Kevin Rocard
0f6350a3f9 sanders: audio: Convert audio_effects.conf to XML
Converted .conf format to .xml using:
https://github.com/luk1337/aeffects-conf2xml

Bug: 37492580
Test: dumped the effectFactory state and check it was unchanged
      $ adb shell dumpsys media.audio_flinger | sed '/Clients:/q'
Change-Id: I233a44c2ba0cb4c4d4fb8c3720fc09862ce79827
Merged-In: I233a44c2ba0cb4c4d4fb8c3720fc09862ce79827
Signed-off-by: Kevin Rocard <krocard@google.com>

Signed-off-by: Erfan Abdi <erfangplus@gmail.com>

Signed-off-by: therootlord <igor_cestari@hotmail.com>
2018-09-25 18:36:20 -03:00
therootlord
d5508d0433 sanders: remove unneeded things for sanders 2018-09-25 18:36:20 -03:00
therootlord
070727ce81 sanders: rootdir: add sensors init script from LA.UM.7.6.2.r1-03200-89xx.0 2018-09-25 14:03:31 -03:00
Shaikh Shadul
361be56624 sanders: change ownership and permissions of sensors device node
Change the user and group ownership and permissions of sensors
device node.

Change-Id: I251af01d4f0204c784667fe92b3998c197f75d8e
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-24 23:28:21 -03:00
Shaikh Shadul
630957f147 sanders: config.fs: Add mapping for sensors daemon
Set filesystem configuration for sensors daemon binary.

Change-Id: I499ad9b987a43e79b8037da5761e14e97b2ef9c9
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-24 23:09:30 -03:00
Bruno Martins
92337c9017 sanders: Switch to common basic USB HAL
Change-Id: I0e0809a2338f006063c5160bb7aec36a555cebab
2018-09-24 22:41:23 -03:00
Demon000
2432fd6916 sanders: Convert lights HAL to native binderized HAL
[Adapted from libra for griffin]

Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
Signed-off-by: therootlord <igor_cestari@hotmail.com>
2018-09-24 22:27:15 -03:00
Yifan Hong
2cbf835dee sanders: Add netutils-wrapper to device compatibility matrix.
netutils-wrapper only list a single version x.0 in its
requirement. System manifest might provide a list of
netutils-wrapper versions it supports {x, y, z}.0.

Bug: 64447338
Test: m compatibility_matrix.xml system_manifest.xml -j
      (checks compatibility at build time)

Change-Id: I2ec919fd5378aed7160c636cb7f2bd138db1473f
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-23 21:22:33 -03:00
Erfan Abdi
2b4a86458b sanders: qsap_shim: Fix for VNDK_VERSION=current
Change-Id: I8e5ec3068914e085d4adac178a47421a1c515a89
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-23 21:13:21 -03:00
Dan Pasanen
9e112b0545 sanders: add shim for wifi_qsap_set_tx_power
Change-Id: I9ef277db6f4e068e7b92710f6039b4f261d72282
2018-09-23 21:13:21 -03:00
therootlord
1c313d1a64 sanders: set PRODUCT_SHIPPING_API_LEVEL 2018-09-23 21:13:21 -03:00
Erfan Abdi
a79b4d3efd sanders: update to versionized vndk-sp
Change-Id: I6cd784cc3e4ee6fcbd4f446120a3b656823c8461
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-23 21:13:21 -03:00
Yifan Hong
75743d20d6 sanders: Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
Replace it with FCM Version = 1, specified explicitly
in device manifest.

Test: builds
Bug: 69636193

Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-23 21:13:21 -03:00
rahulsnair
9533952f17 sanders: remove fstab context
Change-Id: I48c14bca953cc85ad838eb3de3709400eb599322
2018-09-23 21:13:21 -03:00
therootlord
35872ba975 sanders: cleanup and reorganize 2018-09-23 21:13:21 -03:00
therootlord
606735ab9e sanders: move display panel calib files to vendor tree [1/2] 2018-09-23 21:13:21 -03:00
therootlord
ed0dd32ab5 sanders: update fingerprint configs to match vendor changes
* Remove custom fp hal/service

* Build android.hardware.biometrics.fingerprint@2.1

* Update init related configs and props
2018-09-23 21:13:21 -03:00
Harikrishnan Hariharan
3437531910 sanders: Start loc_launcher as gps user
Start loc_launcher as gps user and set uid/gid of loc_launcher
to gps and enable SETUID and SETGID caps for loc_launcher, so
that we can start loc_launcher as gps user instead of root and
still have capabilities for SETUID and SETGID. Also remove not
required permissions groups for loc_launcher.

Change-Id: Ie9f1506874b3c3148f9170c8d5db9afd1e70025c
CRs-Fixed: 2192881
2018-09-23 21:13:06 -03:00
therootlord
ab63f76163 sanders: don't build android.hardware.bluetooth@1.0-impl and service
* We're using qcom's ones
2018-09-23 21:06:04 -03:00
Wang Han
7672efc8da sanders: ueventd: Don't modify permissions of /dev/hw_random
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:

W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)

AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.

c78a463e87

Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
2018-09-23 21:06:04 -03:00
Erfan Abdi
072d844924 sanders: Uprev GNSS HAL to 1.1
* Introduced in 9.0.

Change-Id: I326bf5063b5fb4e962e2a6fffcae2704c8c49e46
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-23 21:06:04 -03:00
therootlord
0a41b9dc1a sanders: gps: update to LA.UM.7.6.r1-02000-89xx.0 tag 2018-09-23 21:06:04 -03:00
Himanshu Agrawal
8a6b5c05e7 sanders: Changing healthd version to 2.0
Change-Id: I13ddaa133bb9edcca200d5fe7320cf5fa9f66f0f
2018-09-23 21:06:04 -03:00
Han Wang
247d9b0e98 sanders: Remove creation of /data/misc/wifi and
/data/misc/dhcp

* The creation of /data/misc/wifi and /data/misc/dhcp was moved long ago
  to the core init.rc script. Moreover, /data/misc/wifi is deprecated
  since wpa_supplicant now relies on /data/vendor/wifi.

Change-Id: Ic0a33af44ffe163d3dd06cebdc1e192dc9bcb11f
2018-09-23 21:06:04 -03:00
Jeff Vander Stoep
b60b481227 sanders: wpa_supplicant: Deprecate entropy.bin
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.

Bug: 34980020
Test: Use wifi and wifi tethering on 8996 targets
Change-Id: Ib5caf362bc939911b357db186a274957d3fbf186
2018-09-23 21:06:04 -03:00
therootlord
6cf5bace92 sanders: build libgui_vendor
* Needed for libmot_gpu_mapper

* Requires this: c80908a652
2018-09-23 21:06:04 -03:00
therootlord
8fd8b6873f sanders: cleanup device.mk 2018-09-23 21:06:04 -03:00
Hari Veerubhotla
fe2447737b sanders: manifest: Cleaning up Impl tag
Change-Id: I006eeaef9b685c756c45f7eb16564066048f351f
2018-09-23 21:06:04 -03:00
therootlord
c6ddaab82b sanders: update some props for P 2018-09-23 21:06:04 -03:00
therootlord
ffee6c1572 sanders: update sensors props and service name 2018-09-23 21:06:04 -03:00
Alberto97
5ca26577c3 bluetooth: Fix build by removing unused includes 2018-09-23 21:06:04 -03:00
Alberto97
6fb9666cf8 bluetooth: Fix force disable sco enhanced sync for new logic 2018-09-23 21:06:04 -03:00
therootlord
5ed8c5e43f sanders: update display props/manifest for P 2018-09-23 21:06:04 -03:00
therootlord
fe92bebb33 sanders: MotoActions: make icon color match others for Pie 2018-09-23 21:06:04 -03:00
therootlord
84a1137a91 sanders: overlay: update 2018-09-23 21:06:04 -03:00
Hung-ying Tyan
d50722ae24 configstore: uprev configstore (1.0 -> 1.1)
Bug: 69691076
Test: built and tested on sailfish
Change-Id: Ieb4b329ccf2f56e304cd2b62ba12183e514aaff1
2018-09-23 21:06:04 -03:00
Alberto97
7c17c7d7fc Move to NFC 1.1 Implementation 2018-09-23 21:06:04 -03:00
Alberto97
cfa0f46b2e Update configs for NFC 1.1 2018-09-23 21:06:04 -03:00
Andre Eisenbach
69a37182f8 Rename libnfc-brcm.conf -> libnfc-nci.conf
Test: manual
Merged-In: I213034b54724b1ed0f43b32bc757ea7d8873ee74
Change-Id: I213034b54724b1ed0f43b32bc757ea7d8873ee74
2018-09-23 21:06:04 -03:00
Anton Hansson
378ac397d7 MotoActions: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant package
Bug: 73535841
Change-Id: I5196e8c7277ff86280782e7b479a499add2e8f9f
2018-09-23 21:06:04 -03:00
Alberto97
9fd73a0aeb MotoActions: Build with AAPT2
Change-Id: Ic1287412680509f87dab806b8745cc1c04b8df04
2018-09-23 21:06:04 -03:00
Lucas Dupin
486e4d8b80 Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58

Signed-off-by: Alberto97 <albertop2197@gmail.com>
2018-09-23 21:06:04 -03:00
Roshan Pius
51065bd797 manifest: Add hostapd HIDL interface
Bug: 36646171
Test: Manual softap toggle
Change-Id: If3c9ea38317b1fee66a383ad88cabf695748853a

Signed-off-by: Alberto97 <albertop2197@gmail.com>
2018-09-23 21:06:04 -03:00
therootlord
52af608f03 sanders: config.fs: add missing AID_VENDOR_QCOM_DIAG 2018-09-23 21:06:04 -03:00
rahulsnair
8ef903b381 sanders: config.fs system/vendor -> vendor
Change-Id: I6862b6a509f5116d6eefb29765445e02900ee1c1
2018-09-23 21:05:56 -03:00