Commit graph

32 commits

Author SHA1 Message Date
Robert Lee
c269c8a695 init.raviole.rc: remove world writable on speaker.cal am: 1d75fb3ce6 am: 4f45c7e9ae am: 7a16bd5187
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659823

Change-Id: I51936103399666e1820b0b7df7abd364db013fb0
2021-08-24 06:33:23 +00:00
Robert Lee
40b3941f80 init.raviole.rc: remove world writable on speaker.cal
Bug: 197039088
Test: do re-calibration and check the speaker.cal is updated.
adb shell crus_sp_cal -d -s -a --device 5 --ambient 27 --num-speaker 2 --verbosity 7

Change-Id: I7d8c43c5feaab4d0337590f268f0b59aa7f3e6fd
2021-08-24 03:35:33 +00:00
Robert Lee
b17183e1d6 init.raviole.rc: chmod for speaker.cal am: ba0d4bea8a am: f9faf2ee63 am: 098b3b8d90
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15634498

Change-Id: I1be370dfec2d663484408404985ae118f997f5a6
2021-08-20 13:05:43 +00:00
Robert Lee
bedf39fb89 init.raviole.rc: chmod for speaker.cal
The speaker calibration step is changed in factory and the speaker
calibration file's permission is incorrect. Then audio hal cannot read
speaker.cal file to apply it and only apply default cal value.

Correct the file mode when init.

Bug: 197039088
Test: push the script into device and check file mode after rebooting device

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: I1339f006f4477288cb41d07cb32caba0921b6e09
2021-08-20 04:17:17 +00:00
George Chang
b256283d73 Move NFC/eSE settings
Bug: 196825539
Test: build pass
Merged-In: I590f069139f641d886e1252e3acdb19483b7fcaa
Change-Id: I590f069139f641d886e1252e3acdb19483b7fcaa
2021-08-19 06:42:29 +00:00
Andrew LeCain
8340b00c0e Revert "raviole: allow UDFPS to read mfg_data blk device"
This reverts commit 2d2e597690f3e2fc06ffeb3749599fe5b8521959.

Bug: 193549276
Test: FP app doesn't report permissions error reading cal partition.
Change-Id: I8b982dec8bd5920eac69b48d6bd1de8cfc989003
2021-07-27 21:32:11 +00:00
Andrew LeCain
b40e3550aa raviole: allow UDFPS to read mfg_data blk device
Bug: 189135413
Test: fastboot stage cal_file; fastboot oem udfps update-cal; HAL sends CAL
Change-Id: Ib9f236bb49d3aa961edcc113c6e6aaa94927f454
2021-07-19 17:46:17 +00:00
Ken Huang
876864edfe raven: control panel_idle via kernel idle property
Bug: 190572787
Test: force refresh rate to peak or 60Hz
Change-Id: I5f25e2e8a79420bbcc74d047aa9234ad21911255
2021-06-28 06:04:49 +00:00
Ilya Matyukhin
a8f6e24b37 Remove access to the LHBM node from SystemUI
Bug: 183223359
Test: on device
Change-Id: I56cdc5ab4654ac523b4a80f270d5567aac16cdc7
2021-06-25 01:12:52 +00:00
Ted Lin
317f221521 Remove the attribute set from init.rc for debugfs
[    2.993897] audit: type=1400 audit(1623037840.652:4): avc:  denied  { setattr } for
pid=374 comm="init" name="registers" dev="debugfs" ino=9 scontext=u:r:vendor_init:s0
tcontext=u:object_r:vendor_regmap_debugfs:s0 tclass=file permissive=0

Bug: 190337297
Test: check bugreport
Change-Id: I0a2375bb5c3e1eef63eeaec65093ad53cf8fe02d
Signed-off-by: Ted Lin <tedlin@google.com>
2021-06-15 02:51:32 +00:00
Cyan_Hsieh
f3cb3c16fd Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option
Bug: 188396079
Change-Id: Ic89a150701de17fb29130206c2e25ec929972e25
2021-06-08 16:46:27 +08:00
Andrew LeCain
21159fdf01 Move fp app-loading to same stage as storageproxyd
Bug: 189911666
Test: R4 boot, unlock.
Change-Id: I88ec478bec27070d7d2ceb2ab7fcfe9a98fd423d
2021-06-02 19:13:22 -07:00
Ted Wang
866b981755 Change Timesync nodes owner to be Bluetooth
This patch change owner of Bluetooth Timesync node to be Bluetooth to
allow Bluetooth HAL to read controller timestamp data via this node.
And also enable timesync for raven.

Bug: 172616898
Test: ccc_test
Change-Id: Id3663f058415cc3f5b50d88b7c70844a53bc9f0f
2021-05-21 06:41:18 +00:00
Kris Chen
665398800b Disable ASP only on PROTO1.0 devices
Bug: 188193525
Test: ASP is disabled on PROTO1.0.
Test: ASP is enabled on PROTO1.1 and newer.
Change-Id: Ib01547cdf27431f3c475cff3830f077b044fcea5
2021-05-17 17:06:00 +00:00
Kris Chen
74dfc0cf92 Add property for UDFPS antispoof
Bug: 187394838
Bug: 187562932
Test: Antispoof is disabled by default.
Test: Use the following adb command to manully turn on antispoof.
      "setprop persist.vendor.fingerprint.disable.fake.override 0"
Change-Id: I56d1129af7e73a901ea5f3258517e68545c38894
2021-05-12 21:45:43 +00:00
Robin Peng
7cc6cca546 raviole: fix $(ro.hardware) not works in "on property:"
use ro.vendor.factory to replace ro.build.flavor

Bug: 187391068
Change-Id: I85f880bd4ada673655afd91cd092dbd2f1f0fec3
2021-05-06 20:09:29 +08:00
Robin Peng
334022f5c6 raviole: centralize common part of init.<DEVICE>.rc into init.raviole.rc
Bug: 167996145
Change-Id: I1e12d64295ffd4f990ad97455dc8a1ab965b6133
2021-05-05 05:55:46 +00:00
TeYuan Wang
60d11bce2f thermal: update raviole thermal table
Test: verified thermal throttling with emul temp
Bug: 183571707
Bug: 170653634
Bug: 170670750
Change-Id: Iebfc11483e2ebbf0d7fe59edf8818ccb4325457e
2021-04-21 15:44:39 +00:00
Tai Kuo
cb7d8ddca3 raven: Launch twoshay during boot
Bug: 174189880
Test: twoshay is launched
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Change-Id: I9c4b2c760d4b004944728a3ebdeb4c0da937c10f
Signed-off-by: Tai Kuo <taikuo@google.com>
2021-04-16 20:47:53 +00:00
Ilya Matyukhin
71b5c99a7f raven: use GHBM for PROTO1.0 devices
Bug: 185421174
Test: manual on R4 P1.0
Change-Id: Ic731b5ae3b45241906f3a51e02fbcd1d368fbddb
2021-04-15 06:55:53 +00:00
Ilya Matyukhin
8e2b19558f oriole: use GHBM for PROTO1.0 devices
Bug: 185421174
Test: manual on O6 P1.0
Change-Id: I7bbb04e7c894d8dd1014e6f16f25643e208edd3c
2021-04-15 06:55:42 +00:00
Benjamin Schwartz
eeaf5ea672 powerstats: Add Uwb stats
Bug: 180956351
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ib528558b2efae9a35494bafcf2c675325cbcf6fe
2021-04-14 22:14:44 -07:00
gillianlin
0a5b5bb2aa factory: rename vendor property with a prefix
rename the property with vendor prefix

Bug: 182954248
Test: Local verified
Change-Id: I9858ef62e32f3167e36fdc612f6850f1ec1d45cd
2021-04-06 06:35:26 +00:00
Ilya Matyukhin
369d53cb09 raven: grant write access to the LHBM node
Bug: 182520014
Test: on device
Change-Id: I2de9933f7a7c13a5b278220ca54d3c89c0865f4f
2021-03-19 23:27:56 +00:00
Ilya Matyukhin
c0695517bc oriole: grant write access to the LHBM node
Bug: 182520014
Test: on device
Change-Id: I5c23c93ee0aa5fad745bf2344581d07e2e64b01c
2021-03-19 20:07:47 +00:00
Tai Kuo
2fe803e23d oriole: Launch twoshay during boot
Bug: 173330899
Test: twoshay is launched
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Change-Id: I189f32e0fcb6b5880bc188971cc847603aafa4dc
Signed-off-by: Tai Kuo <taikuo@google.com>
2021-03-18 12:29:27 +00:00
Ilya Matyukhin
98d9dd1e00 raven: run trusty_apploader from system shell for faceauth
Bug: 182953825
Test: on device
Change-Id: I27ec828b4c8e80e2b1dcfdc480bca069e18ebf22
2021-03-16 20:17:14 -07:00
Tai Kuo
7c202b299e raviole: support touch sensitivity mode switching
Use a persist system property to control the touch driver attribute
file glove_mode.

0: default sensitivity mode (default)
1: high sensitivity mode

Bug: 173330977
Bug: 174189638
Test: manual test
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Id5e31bd335f8872993ea82ad9a7e7217ed9de5c6
2021-03-13 11:28:33 +08:00
Ilya Matyukhin
105bb1e432 Merge "raven: load the faceauth.app on boot" into sc-dev 2021-03-12 21:04:40 +00:00
Ilya Matyukhin
a6dca6e3ab raven: load the faceauth.app on boot
Bug: 182207615
Test: log trusty_apploader
Change-Id: I4de8dedcaba966ade080216237dcca8231da613b
2021-03-08 18:48:57 -08:00
Kris Chen
0ccb1ab0b3 trusty_apploader: Fix avc errors
Fix the following avc denial:
trusty_apploade: type=1400 audit(0.0:3): avc: denied { dac_override } for capability=1 scontext=u:r:trusty_apploader:s0 tcontext=u:r:trusty_apploader:s0 tclass=capability permissive=1

Bug: 180874342
Test: Verify no avc denied when trusty app is loaded.
Change-Id: I4f54fb70c92ba47027cc8bd19b4fe9c2ff9e5a03
2021-03-08 16:47:01 +08:00
Robin Peng
cd374d8ea9 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I08376762c559b3a7fd2cd2d743d090269ed52c94
2021-03-06 16:30:54 +08:00