Commit graph

17 commits

Author SHA1 Message Date
TeYuan Wang
bc7c206aaa thermal: disable usbc protection for EVT1.0 and PROTO
We have USBC thermistor change after EVT1.0, so disable the
throttling for earlier HW version to prevent false alarm.

Bug: 197266814
Test: adb shell cat /dev/thermal/tz-by-name/usb_pwr_therm2/temp
Change-Id: Ia829d6a16d8ac390ed213efe2c5e12e24aca4320
2021-11-17 18:41:00 +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
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
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
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
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
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
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