Commit graph

735 commits

Author SHA1 Message Date
Brandon
fb259c97ac wayne-common: New HAL for passing SIP call info headers to clients
Desc: Permission to access the QMI and HAL from RCS Daemon

Change-Id: I45d944376179d0f6f6704563ac3da631a3fa9c64
2019-07-01 16:42:16 +02:00
Ramakant Singh
54cb7729fd wayne-common: Update prefix of hwcomposer service
Change-Id: Iac3abf0e50d77058548bcd232411ae9d7ff6b235
2019-07-01 16:42:16 +02:00
Subbaraman Narayanamurthy
d4d6651167 wayne-common: init: Create persist directory for hvdcp_opti
hvdcp_opti daemon stores some parameters in
/mnt/vendor/persist/hvdcp_opti directory. Create the directory.

Change-Id: I0cf17467792cc294e6ce1a7f35a356cc0e960e86
2019-07-01 16:42:16 +02:00
Umesh Vats
6c25e3baa5 wayne-common: Bluetooth: Increase number of SEPs to support SHO/Mcast
Icreased number of SEPs to support SHO/Mcast

Change-Id: I3cfb4e8d4d6969e442406bd095a865d49947151d
2019-07-01 16:42:16 +02:00
Bruno Martins
56c5262d44 wayne-common: Use build system to create mount point symlinks
Change-Id: I2672d6cd1b644c7ba9068a563755de6fde27bc57
2019-07-01 16:42:16 +02:00
dianlujitao
efdbc19a6a wayne-common: Bind mount /mnt/vendor/persist to /persist for sensors
* Oreo sensors.qcom cannot access to persist even with the symlink

Change-Id: Ifc43515c70b51aeb8c1b5db765051fb21fddb80d
2019-07-01 16:42:16 +02:00
dianlujitao
f506b5cba3 wayne-common: Update symlinks for new mount points
* Fix wrong SLPI ramdumps symlink and remove old
   BT firmware symlinks while at it

Change-Id: I8fba4ea0a1af923f427b1ebb00ad86d6bbd81577
2019-07-01 16:42:16 +02:00
dianlujitao
78d5bbca1d wayne-common: Create mount point symlinks for backward compatibility
Change-Id: I63cdc49ea94447804c6b336d3e509b1f7967b174
2019-07-01 16:42:16 +02:00
David Ng
26891d8b8b wayne-common: config.fs: Specify firmware image files as system:system
Explicitly specify firmware image files legacy /firmware/image/*
as system:system and new /vendor/firmware_mnt/image/* as root:system

For normal boot, this is a no-op as /firmware|/vendor/firmware_mnt
is a mount point.  This change is only for development when
firmware is read-writable and allows changes via "adb push".  This
match the underlying FAT fs mount ownership of system:system or
root:system so adb push's chown will not error out.

Change-Id: I90e7528bcd21cca449cc5637d20af8dc9ccf7d3c
2019-07-01 16:42:16 +02:00
Vinay Verma
c5bd350f84 wayne-common: Mount dsp and firmware in vendor
Change fstab to mount dsp and firmware to /vendor/dsp and
/vendor/firmware_mnt.

Add classpath for firmware loading /vendor/firmware_mnt/image in
kernel command line.

Change-Id: I2dd2e7ea6334fb979ad8ff8c755648748de93ab4
2019-07-01 16:42:16 +02:00
Mohammed Javid
783972f2ab wayne-common: Change qti service name to dataqti
qti name is generic and updating it to dataqti so that no generic
context will not match

Change-Id: I186a642623f1ae46688a44f754fbe7ba421d042c
2019-07-01 16:42:16 +02:00
Vinay Verma
7f0b9ce620 wayne-common: Move /bt_firmware mount point to /vendor/bt_firmware
Change-Id: I6dbb4e19fd00861b0c50a7df6eab197e878a5d0e
2019-07-01 16:42:16 +02:00
Devi Sandeep Endluri V V
1e4e33e9db wayne-common: Add vendor prefix to data connectivity
Change-Id: I57ac8e5583f62ec585723454de4906d83a4e6dfe
2019-07-01 16:42:16 +02:00
Harikrishnan Hariharan
b44c16f9b5 wayne-common: 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
2019-07-01 16:42:16 +02:00
Saranya Chidura
46133ac465 wayne-common: Set permissions of /dev/byte-cntr device
To support ODL to read data from QDSS, create a custom group
and set permission of byte-cntr device. And also set
permission to coresight-tmc-etr/block_size to enable
byte-cntr feature.

Change-Id: Ic80156667dd7511392d5970ddcbd0fdc43ffffca
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2019-07-01 16:42:16 +02:00
Abhimanyu Garg
21ce4b32dc wayne-common: rootdir: Changing iop directory permission
Changing permission for IOP from 0770 to 0700. This is to restrict the
access for iop database file.

Change-Id: Ic3325595521d4e433d0ce9bada564fc599cf858c
2019-07-01 16:42:16 +02:00
Vinay Verma
c10b9d9723 wayne-common: Moving persist mount point to /mnt/vendor/persist
Move persist entry to fstab and mount at /mnt/vendor/persist

Apply required user, group and permissions once persist
folder is created through __mount and parititon is mounted.

Run restorecon on /mnt/vendor/persist.

Change-Id: I20a16f3669bc7abf9844525c6ba0db1521a5a8e2
2019-07-01 16:42:16 +02:00
Lucas Dupin
7d0bc64865 wayne-common: overlay: Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Icf2123d45b2b4727092103632d1bd6f024161c8a
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-07-01 16:42:16 +02:00
Artem Borisov
7f8cea7f8b wayne-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
2019-07-01 16:42:16 +02:00
Bruno Martins
bc8e119f75 wayne-common: Doze: Add missing preference listeners
* Otherwise, it resulted in Doze service not being activated
   when enabling one of the features for the first time after
   a clean installation.

Change-Id: I625d9109fb85c970f0e59b1cbcabba7d4375d2f3
2019-07-01 16:42:16 +02:00
Wang Han
f3139a9d80 wayne-common: overlay: Configure number of physical SIM slots
* Needed by telephony-common

Change-Id: I18c058d295ed2eaf23e8ca5d1f3933b65806ed48
2019-07-01 16:42:16 +02:00
Demon Singur
601babc662 wayne-common: Remove wcnss_filter
Unused when using Qualcomm's bluetooth stack.

Change-Id: I2682e65a85c7b1112a695e851e9b1512a6b3d28c
2019-07-01 16:42:16 +02:00
Bruno Martins
dd3a428477 wayne-common: overlay: Update power profile for P
Change-Id: I161aa25ba166d41b6736dc52bb7dd78e3a2ad0e7
2019-07-01 16:42:11 +02:00
Jean-Michel Trivi
8bb1324351 wayne-common: Media volume: from 15 to 25 steps
Test: play media, use all 25 vol steps and observe varying attenuation
Bug: 32195657
Change-Id: I7ac87df0b2b15de3a7bb87e739bd88ef7b185236
2019-07-01 14:15:05 +02:00
rago
b87ca978ea wayne-common: Set voice call volume steps to 7
Bug: 28426597
Change-Id: Icf78d9acec75c500982b1e4391af4d6f3933da37
2019-07-01 14:15:05 +02:00
Isaac Chen
ad43afa173 wayne-common: Inherit properties from makefile
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-07-01 14:15:05 +02:00
Wang Han
d59d080f62 wayne-common: 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
2019-07-01 14:15:05 +02:00
Han Wang
ac06b77d8d wayne-common: Update textclassifier package name for P
Change-Id: If846cc590060025202fa336af4420747f6b01238
2019-07-01 14:15:05 +02:00
Yifan Hong
a7ed78237f wayne-common: target FCM version = 2
because it serves radio.deprecated.
Fixes: 75321688
Test: vts_treble_vintf_test

Change-Id: I79b03129414140fdc773797adca57135a048397c
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
2019-07-01 14:15:04 +02:00
GuaiYiHu
a77e5c7a18 wayne-common: wifi: Enable WIFI_HIDL_FEATURE_DUAL_INTERFACE
See from https://source.android.com/devices/tech/connect/wifi-sta-ap-concurrency

Change-Id: I64f9e7b76e6dffaf59cd78eae4ba3e75f3b13808
2019-07-01 14:15:04 +02:00
Wang Han
78a412e09f wayne-common: Remove oem_2901 group for second RIL daemon service
* Matches rild.legacy.rc from Pie's RIL

Change-Id: Icdb0a3e4859bc0a4011e34fdd483cef2ca3b8a7f
2019-07-01 14:15:04 +02:00
Mikhail Naganov
19bf14bde5 wayne-common: Uprev soundtrigger to 2.1
Bug: 68823037
Change-Id: If634345594ea6d574f49d58e29b48165c3b9458b
Test: "ok google" and music iq from locked screen
2019-07-01 14:15:04 +02:00
Hung-ying Tyan
73cfd91ef0 wayne-common: Uprev configstore to 1.1
Bug: 69691076
Test: built and tested on sailfish
Change-Id: Ieb4b329ccf2f56e304cd2b62ba12183e514aaff1
2019-07-01 14:15:04 +02:00
dianlujitao
06cbf7d3f7 wayne-common: Uprev power hal to 1.1
Change-Id: I45dba00016ff70b029b0f7f19e14cabb66657775
2019-07-01 14:15:04 +02:00
Jaekyun Seok
35e312e135 wayne-common: rootdir: Add 'vendor.' prefix to a vendor HAL service name
* To prevent property name collisions between properties of system and
  vendor, 'vendor.' prefix must be added to a vendor HAL service name.
  You can see the details in go/treble-sysprop-compatibility documents.

Test: succeeded building and tested on a sailfish device.
Bug: 36796459
Change-Id: I48e6ee0ae3fe401e39efb273256d991fac676357
2019-07-01 14:15:04 +02:00
guaiyihu
d3ee69ea48 wayne-common: rootdir: Clean up init scripts
* Clean up unused and non-exsistent services
 * Clean up invalid commands

Change-Id: I5b991e8770b0ed9a7ba5af3a0fed612015e809a5
2019-07-01 14:15:04 +02:00
guaiyihu
578cbeb720 wayne-common: rootdir: Clean up unused init scripts
* init.qcom.class_core.sh
 * init.qcom.coex.sh
 * init.qcom.crashdata.sh
 * init.qcom.efs.sync.sh
 * init.qcom.sdio.sh
 * init.qcom.syspart_fixup.sh
 * init.qcom.wifi.sh
 * init.qti.ims.sh
 * qca6234-service.sh

Change-Id: Ib6ba59acb1f1d6b773aeca3c326944049784887c
2019-07-01 14:15:04 +02:00
Bruno Martins
5fd30f742d wayne-common: rootdir: Remove sensors init shell script
Change-Id: Ice50a9c83a708d7f8300978048cd00c71e88abc8
2019-07-01 14:15:04 +02:00
guaiyihu
f97c4e7742 wayne-common: rootdir: Remove insmod for non-existent module
Change-Id: I75afecc8909b55467dfde74d40e77007480fe31d
2019-07-01 14:15:04 +02:00
LuK1337
3cdc4e4581 wayne-common: Drop libbt-vendor
* With QTI bluetooth it's no longer needed.

Change-Id: Iba4b0b6ba24fe1b85e7175291ed84769615ffadd
2019-07-01 14:15:04 +02:00
Bruno Martins
6c9868e43a wayne-common: Remove no longer needed Android Blueprints
* Soong now finds all Android.bp and Blueprints files in the source tree

Change-Id: I2b7b22ecec7efb439d4c20c9d579ed9ceed5b20d
2019-07-01 14:15:04 +02:00
Purushottam Kushwaha
58ba31c6f6 wayne-common: overlay: Enable ACS and 11ac for softap operations
This sets below flag to true:
  config_wifi_softap_acs_supported
  config_wifi_softap_ieee80211ac_supported

Change-Id: Ie8192caaabfea2853f8f7e9a3644be836bba37ab
CRs-Fixed: 2244800
2019-07-01 14:15:04 +02:00
Lakshman Chaluvaraju
13b599f189 wayne-common: audio: Add dynamics processing support
(cherry-picked from c57b29cc104a7f4f1250cf67ce739795f6c2ecaf)

Change-Id: If22b1f2151cec52fa17cad7eecb981c3a591dc2e
2019-07-01 14:15:04 +02:00
LuK1337
b92b5cbf32 wayne-common: Convert audio_effects.conf to XML
* Converted using : https://github.com/luk1337/aeffects-conf2xml

Change-Id: Ida4dabb206f9c9767cc17f5d002d64bca092ed94
2019-07-01 14:15:04 +02:00
Tim Murray
325ccd28cc wayne-common: rootdir: Add restricted cpuset
bug: 78197570
Test: CTS

Change-Id: I6aaac2f3ce9ba886143e3667df2ca044c7f3d3f0
2019-07-01 14:15:04 +02:00
Steven Moreland
a2494961a5 wayne-common: light: Mark as shutdown critical
Required because the lights need to be turned off late in boot
(e.x. during fsck for disk health), and before, blank_screen
accessing light encountered a race condition where if it didn't
get scheduled before all of the processes which were getting
shutdown were getting killed, the screen wouldn't blank.

Bug: 74976325
Test: adjusting brightness continues to work
Test: screen blanks during shutdown at the correct time
    including when an artificial 5s delay is inserted when
    the phone normally fscks (which can also be quick)

Change-Id: I57ebc11d7ecf57ee327c681455712f4b53de6fd3
2019-07-01 14:15:04 +02:00
guaiyihu
c68ab555b9 wayne-common: manifest: Clean up non-exsistent hal
Change-Id: Ie45f56421df60311cf0fa5b881e3ef9f14a170fa
2019-07-01 14:15:04 +02:00
Steven Moreland
2b448d5e0c wayne-common: Only include bitness of hal impls that is used.
Bug: 73829928
Test: boot walleye, check directories, no errors during boot
Change-Id: Ia1272b2bcc5006fa75a50631861fbaccdeed7bee
2019-07-01 14:15:04 +02:00
Edwin Wong
52a6298670 wayne-common: Add SELinux policy for clearkey HIDL service.
Convert clearkey plugin to HIDL to support drm HAL v1.1.
Add SELinux policy for android.hardware.drm@1.1-service.clearkey.

Test: CTS test
  ANDROID_BUILD_TOP= ./android-ccts-tradefed run cts-dev
    --module CtsMediaTestCases
    -t android.media.cts.ClearKeySystemTest#testClearKeyPlaybackCenc

bug: 69635855
Change-Id: I61e9c272c2a2788fd07d5c12921d28c785661b77
2019-07-01 14:15:04 +02:00
Steven Moreland
84e5153cd7 wayne-common: DRM: Specify exact interfaces used.
Leaving 1.0 in the old format and 1.1 in the new format
since this is agaisnt FCM 2 which requires 1.0 (this makes
sure that OTAs work).

Bug: 73556059
Test: vts_treble_vintf_test (DRM served in 'HalsAreServed')
Test: ota 3/15/2018 build -> ToT + this
Change-Id: I82e6f9fe0b29b15c2e79e92eb9b2abdbab615a71
2019-07-01 14:15:04 +02:00