Commit graph

413 commits

Author SHA1 Message Date
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
Kevin Rocard
4d48412ae9 wayne-common: Migrate to audio V4
Test: regression test on the board
Bug: 38184704
Change-Id: Ife559125850277865451f92ea862e7ec47fc9da7
Merged-In: Ife559125850277865451f92ea862e7ec47fc9da7
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-07-01 14:15:04 +02:00
Yifan Hong
2113026525 wayne-common: Uprev to health@2.0 hal.
Test: adb logcat -e health
Test: lshal --debug

Change-Id: I3b14f087d95578d034898600592cb6fb357a9958
2019-07-01 14:14:56 +02:00
Bharat Pawar
389f89ae12 wayne-common: Remove improveTouch HAL Entry from manifest
* Also drop improveTouch blobs

Change-Id: I28d9a9a586239f776528e9b63de85efef8ffa021
2018-12-15 10:11:33 +00:00
Jesse Hall
696255e59c wayne-common: Advertise Vulkan 1.1 system feature
Bug: 66875961
Test: atest VulkanFeaturesTest
Change-Id: I58f904984320dee174637ba0ddfecdd343fab7e6
2018-12-08 09:39:02 +00:00
Bruno Martins
7fcc708c1d wayne-common: Switch to common basic USB HAL
Change-Id: I0e0809a2338f006063c5160bb7aec36a555cebab
2018-12-08 09:37:59 +00:00
Kshitij Gupta
48cd52cfd9 wayne-common: overlay: Enable Swipe Up gesture navigation
Change-Id: I6ee5f42748cac1414e5c7f1327fe0f42bf6d863a
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
2018-12-08 09:34:24 +00:00
Roshan Pius
fd6afc24e3 wayne-common: Add hostapd HIDL interface
Bug: 36646171
Test: Manual softap toggle
Change-Id: Ia7ef8bf3da8adc3491c4dac4096e4297cbd5bf5b
2018-12-08 05:26:09 +00:00
Isaac Chen
53a86fcdf1 wayne-common: Set TARGET_2ND_ARCH_VARIANT to armv8-a
Nile targets are armv8 devices. Setting TARGET_2ND_ARCH_VARIANT
to armv8-a, instead of armv7-a-neon, can silence the related warning
during build.

Bug: 68012286
Change-Id: I18ae3aa985fd6bff11f043a155f3685d9f6644b8
2018-12-08 05:25:45 +00:00
Mathieu Chartier
9407e427e7 wayne-common: Fix shared vdex name
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.

Bug: 73990433
Test: manual
Change-Id: I313e1f53487c0a21b615f65dc64c21a1ecb4b7d5
2018-12-08 05:25:20 +00:00
LuK1337
ff7e8a2b70 wayne-common: Add vendor_ prefix for our custom AIDs
Change-Id: Ie1dd9c1f6a79d04b42e12e0fd9dabdc22b2f6927
2018-12-08 05:24:54 +00:00
Yifan Hong
ba3140167a wayne-common 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
2018-12-08 05:24:18 +00:00
Jeff Vander Stoep
6f0c86315b wayne-common: wifi_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
(cherry picked from commit 1f2b2f3a780bb7a6ed489bf86e18e77382f37514)
2018-12-08 05:23:02 +00:00
Roshan Pius
6defd41082 wayne-common: Don't start supplicant with interfaces
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.

Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
2018-12-08 05:21:42 +00:00
Roshan Pius
74d02acc90 wayne-common: wpa_supplicant(hidl): Add support for starting HAL lazily
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
2018-12-08 05:19:42 +00:00
Roshan Pius
67f99c62ba wayne-common: Uprev to supplicant 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3
2018-12-08 05:18:57 +00:00
Jeff Vander Stoep
0bb856ea89 wayne-common: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets

Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
2018-12-08 05:18:15 +00:00
Etan Cohen
9a27764b7b wayne-common: Uprev Wi-Fi HAL to 1.2
New HAL APIs are planned. This requires a HAL uprev.

Bug: 65647646
Test: builds and Wi-Fi runs
Change-Id: Ib7efd3d5263e73d1ad40e1a5a687bdb6c133c812
2018-12-08 05:16:17 +00:00
Isaac Chen
5f26bcf562 wayne-common: Apply jasmine rebrand
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-07 23:37:06 +08:00
oshmoun
c858ca4529 wayne-common: Add public.libraries.txt
Android needs this text file to know what libraries are allowed to be loaded by apps directly.
For now, add:
libOpenCL.so to the list, in order to get OpenCL to function properly.
adsprpc related libraries, since they were also declared public in stock.

Change-Id: I15ef7a7ab7d1f1a0cc6b484cd2ca9993f40de23b
2018-12-05 00:36:35 +08:00
Michael Bestas
cc472568e1 wayne-common: Adapt libinit for wayne
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
2664a20ce7 wayne-common: biometric: Run goodix script in condition 2018-12-02 11:02:30 +08:00
Isaac Chen
f89bf07b99 wayne-common: biometric: Detect fingerprint from cmdline
* Cleanup fingerprint logic
2018-12-02 11:02:30 +08:00