7827 Commits

Author SHA1 Message Date
Kevin DuBois
5875d29f23 powerhint.json: update GPU node.
GPU node was not using the correct level-lock (should be using the hint one).
a0 and a1 jsons did not have correct frequencies, correct this.

Test: check camera hints work.
Change-Id: I79263bcb0fe3f264c021e2838aac3839081b7de7
2021-09-17 21:53:28 +00:00
Adam Shih
3f1c23ad58 rewrite hbmsv app
This app has different sources for every device
Bug: 196916111
Test: boot to home

Change-Id: Iccbdc94eb68c03a5e7b5f1081e802b29c11cb5b0
2021-09-17 12:46:12 +08:00
Adam Shih
368ac5f679 review hal_nfc_default
Bug: 196916111
Test: boot to home with nfc hal started
Change-Id: Iee8c30777f83788ff703c8094c03182171d713c5
2021-09-17 11:06:51 +08:00
Adam Shih
9ffc6d62b8 remove hal_camera_default
The file does not exist on ROM 7736863
Bug: 196916111
Test: boot to home

Change-Id: I40e64665c33869b93857798055ee1d8145a507aa
2021-09-16 14:13:30 +08:00
Adam Shih
18db3d30dd remove rlsservice
The file does not exist
Bug: 196916111
Test: boot to home

Change-Id: I1bd4b13be5912c2620fbfae2913f01543a09915f
2021-09-16 14:07:40 +08:00
Adam Shih
d57c9cd1fc review graphics related sepolicy
Bug: 196916111
Test: boot to home
Change-Id: I43a875fb69e4237009b0515d8db6ebac8e2982b5
2021-09-16 14:07:31 +08:00
Adam Shih
01d2b96516 restart dauntless sepolicy
Bug: 199685763
Test: build ROM with relevant modules labeled correctly
Change-Id: I9d01ad1dea9da059cb91142adadd3f55f50cf9ca
2021-09-16 04:45:52 +00:00
Ocean Chen
954b427911 Pixelstats: add more UFS error count paths
The UFS resume flow also increase the reset count.
It makes the reset count cannot represent the real
error count. So we use other count instead of reset count

Bug: 199459367
Test: run storage-qa pixel/022
Change-Id: I7eabf238bb0963af9430b47c9ffa92bb3ad3b6fc
2021-09-14 09:13:16 +00:00
Kris Chen
a90972ed73 gs201: remove the redundant config_biometric_sensors
Bug: 199760755
Test: boot on ravenclaw-userdebug
Change-Id: Ifa08e35bcb6f15d14e42d6b6f3d9e42fcaa67a73
2021-09-14 07:19:18 +00:00
Adam Shih
256795caa7 review SSR app
Bug: 198532074
Test: boot with SSR app labeled
Change-Id: I7fd0765ffdcc5632be1c91a28de25c6e1e531e26
2021-09-14 04:00:15 +00:00
chloedai
2b5427334a Remove NFC/SE settings from common gs201
Bug: 199236672
Test: Build pass
Change-Id: Ie6a6c90946bb51b2c0e8d644c2c9372b4fc9c357
2021-09-13 10:49:47 +00:00
Adam Shih
349700cece remove twoshay
It does not eexist on raven claw on Build ID 7726471
Bug: 196916111
Test: boot to home

Change-Id: Ie358657de3f4dfd6704288798dc2a198f25ae419
2021-09-13 14:59:36 +08:00
Adam Shih
2a422d7159 remove fingerprint policy
Bug: 196916111
Test: boot ot home with fingerprint hal started
Change-Id: I24a81eb5bae26120e66e7d77f9672566bb1f049b
2021-09-13 14:59:36 +08:00
Adam Shih
953c43b31a remove untraceable rules
Bug: 196916111
Test: boot to home
01-01 12:00:13.140   903   903 I Binder:903_1: type=1400 audit(0.0:9): avc: denied { quotaget } for scontext=u:r:installd:s0 tcontext=u:object_r:modem_img_file:s0 tclass=filesystem permissive=1

Change-Id: Iec8f2495b13df6b035af0cf11f67cd1525bcf9ea
2021-09-13 14:59:16 +08:00
Rex Lin
6306cd9715 uwb: add uwb diag modules into the dlkm blocklist
Bug: 199529362

Test: verified pass with local build

Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I580a666236163e3888eeed1f7d4bbb82a9000139
2021-09-11 06:51:57 +00:00
Krzysztof Kosiński
6b82c37c4c Use the correct GPU device path for gs201.
gs201 uses 28000000.mali instead of 1c500000.mali.

Bug: 196866904
Test: verified that libperfmgr logspam is gone on dev board.
Change-Id: I7e00bb67f06960bcedc29d4e98422676a651bd05
2021-09-10 21:56:31 +00:00
Adam Shih
c7d07e27e0 modularize drm
Bug: 199232842
Test: boot with drm modules started
Change-Id: I6d91d411cf2b9354d4d1cefc3184e8fefa8a9ea7
2021-09-10 01:16:19 +00:00
weichinweng
1c94ce30ef gs201: migrate Bluetooth HAL service setting to project dependent make files
Bug: 189727579
Test: Manually
Change-Id: I97e9e4b764ccf3b7896904590d00633ae206b729
2021-09-10 00:47:03 +00:00
Grace Chen
a8ddf739a5 Merge "Config overlay to support 2 physical slots" 2021-09-08 19:07:52 +00:00
Adam Shih
0a091e5308 modulize drm modules
Bug: 199232842
Test: boot with drm modules started
Change-Id: Ic02f6c8498a4ac6cbda2b10b0e9647f733b54478
2021-09-08 13:49:49 +08:00
Adam Shih
ba469d27e4 remove obsolete devices
Bug: 196916111
Test: build pass
Change-Id: I3e0768802f4a49aad799e5053627f1f0328316f5
2021-09-08 13:04:43 +08:00
Adam Shih
cf1ea7aad5 review block devices
Bug: 196916111
Test: boot with those partition mounted with no avc error
Change-Id: I6248be92d19abf37f5b901aa6101436832813f42
2021-09-08 12:34:14 +08:00
Adam Shih
95cc78f004 review ofl_app
Bug: 198532074
Test: boot with ofl app labeled correctly
Change-Id: Ic00207c063e6c8771c2c6b077169ae1d25c77225
2021-09-08 12:17:23 +08:00
Adam Shih
89923acb04 review radio app
Bug: 198532074
Test: boot with app correctly labeled
Change-Id: Iba1f5c949052fafca8e629aba24484a7705f3f21
2021-09-08 11:27:34 +08:00
Adam Shih
948098bcd6 review hal_radioext_default
Bug: 198532074
Test: boot with hal_radioext_default started
Change-Id: I083fd55749f0d82cabe527e7fa611ad2633d0ecd
2021-09-08 10:54:34 +08:00
Adam Shih
aef3b66218 review con_monitor
bug: 198532074
Test: boot with the app labeled
Change-Id: I1d268c292603aabb25e5e626f442b39a7ad7b4e7
2021-09-06 11:31:36 +08:00
Adam Shih
2fc26d0a5e refactor ims app
Bug: 198532074
Test: boot with those apps labeled correctly
Change-Id: I15c559551b7af8a9688b4e489b6daeba032da308
2021-09-06 11:24:37 +08:00
Adam Shih
6f97e91778 review init.radio.sh
Bug: 198532074
Test: boot with init.radio.sh started
Change-Id: Ieb47925b319866cc648e4de9b34fc3153ba1717b
2021-09-06 10:59:10 +08:00
Sasha Smundak
af1d890dd7 Simplify the check.
Fixes: 198503238
Test: treehugger
Change-Id: Ibebbd199391aa4c207a3cd622791008aa412828c
2021-09-03 17:55:36 -07:00
Grace Chen
eec347d23f Config overlay to support 2 physical slots
Bug: 197989438
Test: Confirm sim configuration.
Change-Id: I3972e0456d8034517cc4224ef786a9292439a8b9
2021-09-03 00:59:11 -07:00
Adam Shih
98ebd6e7f1 review tee
Bug: 198723116
Test: boot with tee started
Change-Id: Ib50698834d16887fa00bdbbaf81801f1067909ba
2021-09-03 15:26:51 +08:00
Adam Shih
b05c0902ad refactor hal_secure_element
01-01 20:00:07.579   419   419 E SELinux : avc:  denied  { find } for interface=android.hardware.secure_element::ISecureElement sid=u:r:hal_secure_element_gto_ese2:s0 pid=748 scontext=u:r:hal_secure_element_gto_ese2:s0 tcontext=u:object_r:hal_secure_element_hwservice:s0 tclass=hwservice_manager permissive=1
01-01 20:00:07.595   419   419 E SELinux : avc:  denied  { add } for interface=android.hardware.secure_element::ISecureElement sid=u:r:hal_secure_element_gto_ese2:s0 pid=748 scontext=u:r:hal_secure_element_gto_ese2:s0 tcontext=u:object_r:hal_secure_element_hwservice:s0 tclass=hwservice_manager permissive=1
01-01 20:00:07.596   419   419 E SELinux : avc:  denied  { add } for interface=android.hidl.base::IBase sid=u:r:hal_secure_element_gto_ese2:s0 pid=748 scontext=u:r:hal_secure_element_gto_ese2:s0 tcontext=u:object_r:hidl_base_hwservice:s0 tclass=hwservice_manager permissive=1
01-01 20:00:07.597   419   419 E SELinux : avc:  denied  { find } for interface=android.hardware.secure_element::ISecureElement sid=u:r:hal_secure_element_gto:s0 pid=749 scontext=u:r:hal_secure_element_gto:s0 tcontext=u:object_r:hal_secure_element_hwservice:s0 tclass=hwservice_manager permissive=1
01-01 20:00:07.597   419   419 E SELinux : avc:  denied  { find } for interface=android.hardware.secure_element::ISecureElement sid=u:r:hal_secure_element_uicc:s0 pid=750 scontext=u:r:hal_secure_element_uicc:s0 tcontext=u:object_r:hal_secure_element_hwservice:s0 tclass=hwservice_manager permissive=1
01-01 20:00:07.599   419   419 E SELinux : avc:  denied  { add } for interface=android.hardware.secure_element::ISecureElement sid=u:r:hal_secure_element_uicc:s0 pid=750 scontext=u:r:hal_secure_element_uicc:s0 tcontext=u:object_r:hal_secure_element_hwservice:s0 tclass=hwservice_manager permissive=1
01-01 20:00:07.600   419   419 E SELinux : avc:  denied  { add } for interface=android.hidl.base::IBase sid=u:r:hal_secure_element_uicc:s0 pid=750 scontext=u:r:hal_secure_element_uicc:s0 tcontext=u:object_r:hidl_base_hwservice:s0 tclass=hwservice_manager permissive=1
01-01 20:00:07.601   419   419 E SELinux : avc:  denied  { add } for interface=android.hardware.secure_element::ISecureElement sid=u:r:hal_secure_element_gto:s0 pid=749 scontext=u:r:hal_secure_element_gto:s0 tcontext=u:object_r:hal_secure_element_hwservice:s0 tclass=hwservice_manager permissive=1
01-01 20:00:07.602   419   419 E SELinux : avc:  denied  { add } for interface=android.hidl.base::IBase sid=u:r:hal_secure_element_gto:s0 pid=749 scontext=u:r:hal_secure_element_gto:s0 tcontext=u:object_r:hidl_base_hwservice:s0 tclass=hwservice_manager permissive=1
09-03 10:51:44.574   419   419 E SELinux : avc:  denied  { find } for interface=vendor.samsung_slsi.telephony.hardware.radioExternal::IOemSlsiRadioExternal sid=u:r:hal_secure_element_uicc:s0 pid=750 scontext=u:r:hal_secure_element_uicc:s0 tcontext=u:object_r:hal_exynos_rild_hwservice:s0 tclass=hwservice_manager permissive=1
Bug: 198713948
Test: boot with secure_element started
Change-Id: Ie79b80f3c0fbe21c898e6a67384d98a2cc282f93

Change-Id: I14d9f01b6ef901fd87e8927d691ce96a9b174ed3
2021-09-03 15:26:38 +08:00
Adam Shih
18fb79d460 review rild
Bug: 198532074
Test: boot with rild started
Change-Id: Ic29d2cbbb9691f1386c024d1438fdd050ef14b8f
2021-09-03 15:25:10 +08:00
TreeHugger Robot
22067f611c Merge "dumpstate: dump logbuffer tcpm logs in bugreport" 2021-09-03 05:58:53 +00:00
Kyle Tso
7295743ea6 Add file context for /dev/logbuffer_tcpm
/dev/logbuffer_tcpm gets accessed by dumpstate while bugreport
generation.

(Port of ag/15019635)

Bug: 189792358
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: Id73f7c884f45364b5386a9fe13900cb94d914520
2021-09-03 11:57:59 +08:00
Adam Shih
7a20b1d9c0 Merge changes I183c75b5,I938fe187,Ic3e07e73
* changes:
  review rfsd
  review bootdevice_sysdev
  review mount and block devices
2021-09-03 02:03:02 +00:00
Petri Gynther
e3c25c230c gs201: clean up kernel variables
1) remove TARGET_BOARD_KERNEL_HEADERS
2) remove TARGET_PREBUILT_KERNEL

Bug: 198654765
Change-Id: I3efff472e46be435fc0b845bf9b09b7d7a6311f1
2021-09-02 12:08:57 -07:00
Adam Shih
ff91ffd98a review rfsd
Bug: 198532074
Test: boot with rfsd started
Change-Id: I183c75b5fad35eec56fbca693896c94f7a1ca410
2021-09-02 14:48:13 +08:00
Kyle Tso
1fc334c1c6 dumpstate: dump logbuffer tcpm logs in bugreport
(Port of ag/15018442)

Bug: 189792358
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I936028d0d3360f2611b672bdc353438fb8478ca6
2021-09-02 14:08:05 +08:00
Adam Shih
a90c8fe1b5 review bootdevice_sysdev
Bug: 196916111
Test: boot with bootdevice_sysdev labeled
Change-Id: I938fe18718356bf4156bb55937528a1ca3e072fb
2021-09-02 13:24:46 +08:00
Adam Shih
91d989bca4 review mount and block devices
Bug: 196916111
Test: make sure all path under ufs is labeled
Change-Id: Ic3e07e7341f838f54c483ab8b272407a70f1f8f2
2021-09-02 12:49:38 +08:00
Adam Shih
59b7224754 Merge changes I30184915,Iced4bfaa
* changes:
  review modem_svc_sit
  review cbd
2021-09-02 04:22:17 +00:00
Adam Shih
ff12044f71 Merge "gs201: use sscoredump common device.mk" 2021-09-02 04:21:47 +00:00
Adam Shih
ee0c81fbc6 review modem_svc_sit
Bug: 198532074
Test: boot with modem_svc_sit started
Change-Id: I3018491564eb3bb5dafc5e9ad6446f353d54b18b
2021-09-02 11:41:59 +08:00
Adam Shih
c6111a8666 review cbd
Bug: 198532074
Test: boot with cbd started
Change-Id: Iced4bfaa9ea8e749cc0a8cb7a8da91abfc88d765
2021-09-02 11:41:48 +08:00
Adam Shih
3a8ed7968c sscoredump: remove sepolicy
Bug: 198365717
Test: build ROM with sscoredump started
Change-Id: I3fd72ed6958bd0a95947dbf513f5ba658a229948
2021-09-02 01:24:39 +00:00
Adam Shih
8ef36172cc gs201: use sscoredump common device.mk
Bug: 198365717
Test: boot with sscoredump started
Change-Id: If5c881a873971f4e238b7357e6e2802c55db6029
2021-09-02 01:24:23 +00:00
Robert Lee
32270ec77b Merge "device.mk: enable cs35l41 related module for gs201" 2021-09-01 07:58:27 +00:00
Petri Gynther
d2221258ad gs201: enable vbmeta_vendor
Bug: 197026498
Test: make dist and check [vbmeta_vendor.img + img.zip + ota.zip]
Test: flash [fastboot update + remote_local_flashstation] and boot to home
Change-Id: I0f7c69218d296451da2cef6e47adf3a910ea1cb0
2021-08-31 20:37:21 -07:00
TreeHugger Robot
4d6e54e336 Merge "factory: zygote and rescue party properties" 2021-08-31 16:08:30 +00:00