Commit graph

315 commits

Author SHA1 Message Date
Jenny Ho
60dca5dc0a Merge "init.gs101.rc: set system ownership for eeprom" into sc-dev 2021-03-17 08:07:45 +00:00
LABIB MD RASHID
9c47b4ff37 Merge "Sysfs node permission for modem" into sc-dev 2021-03-17 03:02:36 +00:00
Tai Kuo
b6b9bdaa0f gs101: set touch_offload device file permission
Bug: 173331163
Bug: 174189640
Bug: 174191163
Test: twoshay_touchflow + heatmap reflector APK works.
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I02c3cf9fd4cd946e603f5cc5f614fa744660d0bc
2021-03-16 14:45:18 +08:00
chened
b6ac2a4088 init.gs101.rc: add chmod 0771 to camera calibration folder
We found the '-X' of chmod may not work properly.
Add chmod 0771 command to make sure the camera calibration folders have
right permission.
impact folders:
1. /mnt/vendor/persist/camera
2. /mnt/vendor/persist/camera/OTP_calibration
3. /mnt/vendor/persist/camera/pdaf_calibration_data
4. /mnt/vendor/persist/camera/rear

Test: build pass, gca
Bug: 181520309
Change-Id: Ib43b457764d0a700cd6fe413f07731621fa6753c
2021-03-15 13:57:25 +08:00
Tai Kuo
23ac737b41 gs101: support touch sensitivity mode switching
Route a debug system property to 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
Bug: 174191024
Test: manual test
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Ia54ea2b84340c34943809373b87c31604d2ae478
2021-03-12 16:38:23 +08:00
Jenny Ho
e852f75d49 init.gs101.rc: set system ownership for eeprom
Bug: 182531832
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I09e8e4f8ae9c8fbeea161c1b46f53a2b5996db35
2021-03-12 13:58:36 +08:00
Daeho Jeong
f02d0822ee bfq: turn off slice_idle during booting
Turned off slice_idling during booting to increase total throughput
for faster boot time.

Test: cat /sys/block/sda/queue/iosched/slice_idle
Bug: 171739280
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: Id6bb4af2582f40557afaa69c72fdf20d036da4cd
2021-03-11 22:37:55 +09:00
Eddie Tashjian
30a9866b34 Set selinux label for modem partition mount
Bug: 178980032
Test: Check selinux denials
Change-Id: I4f31f7c0017b5b8268e2889a9dd5809e74d7e538
2021-03-11 10:16:05 +00:00
labib
8f28e8ff01 Sysfs node permission for modem
- write display MIPI frequency

Bug: 171729515
Change-Id: I0e2a6b22d9a77ae224660b64e0ff74b693c15dfd
2021-03-11 17:21:55 +08:00
TreeHugger Robot
6c30423a50 Merge "Don't create /data/camera on init." into sc-dev 2021-03-11 05:59:37 +00:00
TreeHugger Robot
cc1bc811ac Merge "display: set atc node permission" into sc-dev 2021-03-11 04:15:29 +00:00
Krzysztof Kosiński
a99bd1eecf Don't create /data/camera on init.
This path cannot be used by camera HAL because it would be a
Treble violation.

Bug: 181300165
Test: build, boot, camera preview on a gs101 device
Change-Id: I90f81b5c50e61c501c5f509814368189562a4256
2021-03-10 17:48:38 -08:00
SalmaxChang
31ab19d5e7 init: Remove unused log path
The path "/data/log/abox" violates Android treble rule. Pixel uses
google audio HAL but not vendor one. Remove the path.

Bug: 177186257
Change-Id: Ie53be71f31e0d673592457b88304136d4d616780
2021-03-10 06:41:31 +00:00
linpeter
728cda9ade display: set atc node permission
Give atc nodes sutiable permission to allow hwcomposer to set
atc config to display driver.

Bug: 168848203
test: check file node permission
Change-Id: I6b1b90d0951aa844d19bd68b9020e501d0e359de
2021-03-08 14:31:35 +08:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00