Commit Graph

671 Commits

Author SHA1 Message Date
Bharat Pawar
6018f77be5 sanders: Allow mediaextractor mremap syscall
Change-Id: Ief50dfcbbc31650efc69504715527a67a1515108
2018-10-20 19:13:12 -03:00
Kevin Rocard
9597a0e1d7 sanders: Migrate to audio V4
This is needed for the microphone characteristic API support.

Test: regression test on the board
Bug: 38184704
Change-Id: Ife559125850277865451f92ea862e7ec47fc9da7
Merged-In: Ife559125850277865451f92ea862e7ec47fc9da7
Signed-off-by: Kevin Rocard <krocard@google.com>
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-10-10 18:40:20 -03:00
dianlujitao
6b0f6a33fc sanders: Add additional capacities to V1.0 media profiles
* This basic profile will be used until we have proper fw/av
   support from CAF
 * This change adds the following things:
    - 4K video recording for back camera
    - 1080P video recording for front camera
    - HEVC video encoder

Change-Id: If73c6d5c56fa299a60d6bd58aacdb5b34e410ae2
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-10-10 15:43:39 -03:00
therootlord
498793fb48 sanders: update some ril/ims props 2018-10-10 00:07:48 -03:00
therootlord
c70546d090 sanders: update check_features.sh script 2018-10-10 00:07:48 -03:00
therootlord
054047c7be sanders: update to OPS28.65-36/9fea fingerprint 2018-10-10 00:07:48 -03:00
erfanoabdi
5db228eca7 sanders: Convert libinit to init scripts
* Also set ro.product.manufacturer to motorola for camera HAL in GSIs.

Change-Id: I2c78e4837cdbd8e7f18e3c1a086978bd289a60a6
2018-10-10 00:07:43 -03:00
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