Commit Graph

470 Commits

Author SHA1 Message Date
Arian
68573e21ac
davinci: sepolicy: Allow power hal to write to input event
Change-Id: I003620c57059e0916c95ff9d025f4d668082b2c5
2020-10-10 21:43:31 +02:00
Arian
8abb2a34a1
davinci: sepolicy: Allow bluetooth HAL to read the mac address
Change-Id: I2e1a7c635ce8a5eedb1e4ec6cd55d31705ee47d3
2020-10-10 21:43:31 +02:00
Arian
264db02b15
davinci: sepolicy: Allow sensors HAL to set persist sensors properties
Change-Id: Ie1ed422961f922f1239f10eb2e752106cf3f7778
2020-10-10 21:43:31 +02:00
Demon000
566fe95ed5
davinci: sepolicy: Add sensors rules
Change-Id: I1e52fc7e35f4517c80cfc6ddc819d2b585ae7238
2020-10-10 21:43:31 +02:00
Demon000
a17f9fcea7
davinci: sepolicy: Create mi_thermald sepolicy
Change-Id: I0848568bd68c51a981273ead7e103703ff31393f
2020-10-10 21:43:31 +02:00
Demon000
11e6180f9b
davinci: sepolicy: Give NFC full access to NFC data files
Change-Id: I7a1dfea2e99a875eed5bc501db2175cb4955b90c
2020-10-10 21:43:31 +02:00
Demon000
279eba00ff
davinci: sepolicy: Allow radio to read vendor audio prop
Change-Id: Ibb6e15b51c6a06761bc7e534ff8eb3a70fba8321
2020-10-10 21:43:31 +02:00
Demon000
6ce7df4ba6
davinci: sepolicy: Add fingerprint rules
Change-Id: Id8b275e2d8666799eb1529cc66bc1d386710d3a4
2020-10-10 21:43:31 +02:00
Demon000
56783f283f
davinci: sepolicy: Label used camera props
Change-Id: Icf0f65f3a03323f38e4c6a954c508b894440b609
2020-10-10 21:43:31 +02:00
Demon000
bed948fb95
davinci: sepolicy: Add camera rules
Change-Id: Ifade6b81926206a8e7ab0ae0ff8d8dc657de294e
2020-10-10 21:43:31 +02:00
Demon000
167d382728
davinci: sepolicy: Add audio rules
Change-Id: I5da3edd3525831412d5eec131dcfa02dc88053ab
2020-10-10 21:43:31 +02:00
Demon000
a9d5dfade7
davinci: sepolicy: Allow nv_mac to create mac files
Change-Id: Ia7ed6c06d3ba4e2b3205c860dd57ac24026f96f8
2020-10-10 21:43:31 +02:00
Demon000
f4d2442601
davinci: sepolicy: Label nv_mac
Change-Id: I866c90cd4c248a04ced3d8f48438076827b7af9c
2020-10-10 21:43:31 +02:00
Arian
83c32c77e0
davinci: sepolicy: Label lights HAL
Change-Id: I92198544629ac299e1c753825d15e224fb76cceb
2020-10-10 21:43:30 +02:00
Arian
942836a618
davinci: Include local sepolicy
Change-Id: I3d2143498837970a01e2a288e3dbae152d4135fb
2020-10-10 21:43:16 +02:00
Demon000
5129977612
davinci: rootdir: Remove sleep_disabled switch during boot
Change-Id: I59f5f96e5aaf381f9cb2b3697983484ec3086aea
2020-08-06 21:28:09 +02:00
Demon000
32489ca7d2
davinci: rootdir: Cleanup qcom post boot script
Change-Id: Icd291176eef59d30856a3bb8755f79d294a060c6
2020-08-06 21:28:09 +02:00
Arian
f1260fc759
davinci: rootdir: Cleanup init.qcom.sh
* Only keep modem config copy

Change-Id: I5fe0ee43ea5c27b8903a8236a1a528a7f5ab784d
2020-08-06 21:28:09 +02:00
Arian
aa57d3d050
davinci: Add init.recovery.qcom.rc
Change-Id: Ib6904420afbb15f81b6a238225f75165d1f09257
2020-08-06 21:28:09 +02:00
Wang Han
3eefee6e89
davinci: 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
2020-08-06 21:28:09 +02:00
Arian
bf9b868b7f
davinci: rootdir: Cleanup ueventd.rc
Change-Id: I82f91760460dc00610a654a0f2a9e4bfcaafa96f
2020-08-06 21:28:09 +02:00
Demon000
cce942315f
davinci: rootdir: Cleanup init.qcom.usb.rc
Change-Id: If34bb86511ba660d095586f311690f24250b1f7d
2020-08-06 21:28:09 +02:00
TheScarastic
f3f6c69d93
davinci: rootdir: Set default thermal mode to evaluation
Change-Id: I4f08455abbb3391d46f10a3821a3699e82947e74
2020-08-06 21:28:09 +02:00
Hai Shalom
76b173c3c7
davinci: rootdir: Add supplicant 1.2 to init.qcom.rc
Add missing supplicant 1.2 to init.qcom.rc to davinci project.

Bug: 129693419
Test: lshal
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_2Host
Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
2020-08-06 21:28:09 +02:00
LuK1337
66573bbfea
davinci: Drop SSR blobs and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2020-08-06 21:28:09 +02:00
Demon000
1a7135d93a
davinci: rootdir: Cleanup init.qcom.rc
Change-Id: I075233b71275788fd398c1046765445470b8ee06
2020-08-06 21:28:09 +02:00
Arian
25be117b7b
davinci: rootdir: Import camera motor to init.target.rc
Change-Id: I0190d6b2127c8c52cb079cbd3a5ec772dc9a2fc8
2020-08-06 21:28:09 +02:00
Demon000
1fce149484
davinci: rootdir: Remove unused panel info script
Change-Id: I5d6e076002829c16b17bce6c0acc7687e71aa43d
2020-08-06 21:28:09 +02:00
Arian
b89ad972ad
davinci: rootdir: Cleanup on charger
* Don't enable adb
* Actually mount persist
* Don't split on charger to init.qcom.rc and init.target.rc

Change-Id: Ia4d6d1e417056a6b87358e384bd7a0bedcca1d63
2020-08-06 21:28:09 +02:00
Demon000
867af09b6b
davinci: rootdir: Import coral fs tuning
Change-Id: I3aff3f65a20a82fb7a29ea940597a45ec8e02727
2020-08-06 21:28:09 +02:00
Demon000
7acc933f7d
davinci: rootdir: Move configurations to their proper group
Change-Id: If564c1914fc1bf63d9b87113f4b97009ab162ddc
2020-08-06 21:28:09 +02:00
Demon000
28e249ea57
davinci: rootdir: Start nv_mac on main class
Change-Id: I163fa63bc8fc35584afdc67ab029764066c0964f
2020-08-06 21:28:09 +02:00
Arian
eae07b592e
davinci: rootdir: Cleanup init.target.rc
Change-Id: I659ca6f199684e894df197a05e2076e7fbc3305b
2020-08-06 21:28:09 +02:00
Arian
1522a26294
davinci: rootdir: Enable hvdcp_opti
Change-Id: I038ed0240db4bee39037b60b9ecbe90c2141a428
2020-08-06 21:28:09 +02:00
Arian
e9886e56c0
davinci: rootdir: Move nv_mac service declaration to init.target.rc
Change-Id: I03a3ae4dcea4078f0b03c18b44f4aebd0eeffbbe
2020-08-06 21:28:09 +02:00
Arian
b9acaf3ef7
davinci: rootdir: Add required fstab entries
Change-Id: Id20701d075a92a4dfde3a99478862945599e8598
2020-08-06 21:28:09 +02:00
Arian
5533cb3b62
davinci: rootdir: Import uevent
Change-Id: I7156ee9e8f6035135114c5d69fea54a4b0d2579b
2020-08-06 21:28:09 +02:00
Arian
2aa75ea3a3
davinci: rootdir: Import scripts
Change-Id: I6dbee7c54c43a3e2186d21e7df6a028762aeb49a
2020-08-06 21:28:09 +02:00
Bruno Martins
be67c50cca
davinci: Fix typo from CodeAurora in the QTI whitelist
* Let com.qualcomm.qcrilmsgtunnel break free

Change-Id: I6243a6d21da7709bf6612270d7638f1231b9f601
2020-08-06 21:28:09 +02:00
Arian
031e9dfb0a
davinci: Cleanup qti_whitelist
Change-Id: I05033a1146aeae410985fa22e0039f80fe5cee53
2020-08-06 21:28:08 +02:00
Arian
f943def98b
davinci: fm: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I933ee9527f2adff22df22acc4de330ff0c7fed50
2020-08-06 21:28:08 +02:00
Arian
1d1ca7b65f
davinci: fm: Disable loading of firmware
Change-Id: Idbb383567cc3b95e6a21f387184169c02d11a9bc
2020-08-06 21:28:08 +02:00
LuK1337
2bd87d4991
davinci: Set vendor.bluetooth.soc property to cherokee
* This prop is usually used for FM2 and its JNI.

Change-Id: Ieec0ba907f649f816f313a5ce27bbd1df24e5058
2020-08-06 21:28:08 +02:00
Arian
a23c2562ab
davinci: fm: Build FM2
Change-Id: Ifb8b0868f196f7cf84cd2dc251de03efb4656ac8
2020-08-06 21:28:08 +02:00
Arian
221474267e
davinci: soter: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I347e47f1ea844f887c2e569bcc32e3bf099db737
2020-08-06 21:28:08 +02:00
Fabian Leutenegger
85f1a5efdf
davinci: ant: Build ANT+ HAL
Change-Id: I0235a7f3dff531f000e897efa2e63621f969a23e
2020-08-06 21:28:08 +02:00
Arian
3e9108051f
davinci: charger: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I8f920baf489e8b91cdbc5e3031a5e96a7646ae8e
2020-08-06 21:28:08 +02:00
Michael Bestas
21ca597be9
davinci: charger: Enable offline charger suspend
Change-Id: I27a642dbadfba1575ff2d8e96dc385fc19c0eaff
2020-08-06 21:28:08 +02:00
Arian
eebc547142
davinci: network: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I5453e9019b8e142231675cb996a9d7fea36d2cbf
2020-08-06 21:28:08 +02:00
shoudil
29d90f8b4f
davinci: vndk: Build framework detect modules
Add JNI and libqti_vndfwk_detect module name to product_packages
to specify module to be installed to device. Here explicitly
specify the vendor variant in PRODUCT_PACKAGES.

CRs-Fixed: 2372775

Change-Id: Ic64f5ac0cfbbe9e105a6b48b5bc7687c8d23d7e8
2020-08-06 21:28:08 +02:00