Ilya Matyukhin
4ff707104c
Include the Soong namespace of the UDFPS HAL
...
Bug: 183054007
Test: build
Change-Id: I928a7f4d695aa51ed917fa3cd2d76373029dc198
2021-03-19 18:39:47 +00:00
Roger Wang
0b1c567335
WiFi: Remove PixelWifiOverlayGs101 am: f4320ddc94
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13874826
Change-Id: I069fdff9daa9a1225ed36d50f1724cc176973080
2021-03-19 17:20:37 +00:00
Roger Wang
f4320ddc94
WiFi: Remove PixelWifiOverlayGs101
...
New Overlay (PixelWifiOverlay2021) was definded for
2021 projects. Hence, remove PixelWifiOverlayGs101.
Bug: 182766776
Test: overlay config can be read correctly.
Change-Id: I6c020b7a3ff507eccb3309b3eac64f6a61a59e32
2021-03-19 16:53:20 +00:00
Alex Hong
b640326154
Add the sepolicy for UWB hal
...
Bug: 182727934
Test: $ make selinux_policy
Push SELinux modules and check the denials during boot
Change-Id: I630e6e353897a85d1b90c7d8a4250703a4c3a245
2021-03-19 21:42:07 +08:00
TreeHugger Robot
8d7d184bcf
Merge "remove workaround as vendor_init is ready" into sc-dev am: 9225f4e5d0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13921069
Change-Id: Ia0d7bf18a52ff1069fc692e270eb79837290af2e
2021-03-19 07:24:08 +00:00
TreeHugger Robot
9225f4e5d0
Merge "remove workaround as vendor_init is ready" into sc-dev
2021-03-19 06:43:54 +00:00
Adam Shih
42bd5867e8
Merge "label missing vibrator sys nodes" into sc-dev am: 3f6e2bba41
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13908553
Change-Id: I7f44920dd91712c201a8fc55d15ee89ab405dcbb
2021-03-19 06:05:41 +00:00
Adam Shih
3f6e2bba41
Merge "label missing vibrator sys nodes" into sc-dev
2021-03-19 05:32:27 +00:00
TreeHugger Robot
78976ea7e1
Merge "Add sepolicy rules for fingerprint hal" into sc-dev am: fc6b81d188
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13918107
Change-Id: Ib09464497cc1b3c366ff2939b5885d565069d15d
2021-03-19 05:01:34 +00:00
Peter Liu
4d1ae0c0e9
camera power hint: tune the streaming standard. am: 96268d3f51
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13908125
Change-Id: I4a4438c8ed0eb9a8346841876f0200791891c4e8
2021-03-19 04:41:38 +00:00
TreeHugger Robot
fc6b81d188
Merge "Add sepolicy rules for fingerprint hal" into sc-dev
2021-03-19 04:37:58 +00:00
TreeHugger Robot
c197961ab5
Merge "update error on ROM 7219510" into sc-dev am: 4eba688673
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13921068
Change-Id: Ia35cde269940c847ec6e064c845bad98c5c4d595
2021-03-19 04:23:51 +00:00
TreeHugger Robot
a5cfd7aaab
Merge "power: Add policy to access sysfs_bcl" into sc-dev am: 46b51cd204
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13876026
Change-Id: I829fe7b028908f791e72fd551b1d24bd92c880c3
2021-03-19 04:23:17 +00:00
Peter Liu
96268d3f51
camera power hint: tune the streaming standard.
...
1. CPU power seems also high on streaming stadrd mode.
Limit it to a rate that has no obvious performance degradation.
2. Raise the CCI target load to avoid governor raising the mif clock.
Bug: 182944906
Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I47654cf2558fa168545e036c6cb58388eb2e2f0a
2021-03-19 04:17:39 +00:00
Adam Shih
ac6b1273e4
remove workaround as vendor_init is ready
...
Bug: 171942789
Test: boot under enforcing ROM
Change-Id: If4bb070ecf2272dd927ceaeda1882d2fad62b4c3
2021-03-19 11:58:39 +08:00
TreeHugger Robot
4eba688673
Merge "update error on ROM 7219510" into sc-dev
2021-03-19 03:51:31 +00:00
Kris Chen
09996bc810
Add sepolicy rules for fingerprint hal
...
Fixes the following avc denials:
03-18 11:23:15.692 956 956 I android.hardwar: type=1400 audit(0.0:7): avc: denied { read write } for name="trusty-ipc-dev0" dev="tmpfs" ino=691 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:tee_device:s0 tclass=chr_file permissive=1
03-18 11:23:15.692 956 956 I android.hardwar: type=1400 audit(0.0:8): avc: denied { open } for path="/dev/trusty-ipc-dev0" dev="tmpfs" ino=691 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:tee_device:s0 tclass=chr_file permissive=1
03-18 11:23:15.692 956 956 I android.hardwar: type=1400 audit(0.0:9): avc: denied { ioctl } for path="/dev/trusty-ipc-dev0" dev="tmpfs" ino=691 ioctlcmd=0x7280 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:tee_device:s0 tclass=chr_file permissive=1
03-18 11:40:56.072 973 973 I fingerprint@2.1: type=1400 audit(0.0:39): avc: denied { search } for name="battery" dev="sysfs" ino=66502 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=1
03-18 11:40:56.072 973 973 I fingerprint@2.1: type=1400 audit(0.0:40): avc: denied { read } for name="temp" dev="sysfs" ino=66520 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=1
03-18 11:40:56.072 973 973 I fingerprint@2.1: type=1400 audit(0.0:41): avc: denied { open } for path="/sys/devices/platform/google,battery/power_supply/battery/temp" dev="sysfs" ino=66520 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=1
03-18 14:11:23.476 979 979 I fingerprint@2.1: type=1400 audit(0.0:13): avc: denied { search } for name="battery" dev="sysfs" ino=66502 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=1
03-18 12:03:08.248 978 978 I android.hardwar: type=1400 audit(0.0:9): avc: denied { create } for scontext=u:r:hal_fingerprint_default:s0 tcontext=u:r:hal_fingerprint_default:s0 tclass=netlink_socket permissive=1
03-18 12:03:08.248 978 978 I android.hardwar: type=1400 audit(0.0:10): avc: denied { bind } for scontext=u:r:hal_fingerprint_default:s0 tcontext=u:r:hal_fingerprint_default:s0 tclass=netlink_socket permissive=1
03-18 12:03:08.248 978 978 I android.hardwar: type=1400 audit(0.0:11): avc: denied { write } for scontext=u:r:hal_fingerprint_default:s0 tcontext=u:r:hal_fingerprint_default:s0 tclass=netlink_socket permissive=1
03-18 12:03:08.248 978 978 I android.hardwar: type=1400 audit(0.0:12): avc: denied { read } for scontext=u:r:hal_fingerprint_default:s0 tcontext=u:r:hal_fingerprint_default:s0 tclass=netlink_socket permissive=1
03-18 12:56:30.446 404 404 E SELinux : avc: denied { add } for interface=vendor.goodix.hardware.biometrics.fingerprint::IGoodixFingerprintDaemon sid=u:r:hal_fingerprint_default:s0 pid=967 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=1
Bug: 171943101
Test: No above avc denials in logcat.
Change-Id: I67b397f86c39625b77ebe6d32d37e42cd87b3f93
2021-03-19 03:41:18 +00:00
TreeHugger Robot
46b51cd204
Merge "power: Add policy to access sysfs_bcl" into sc-dev
2021-03-19 03:39:32 +00:00
Adam Shih
8d2feed7ed
label missing vibrator sys nodes
...
Bug: 182954060
Test: boot with no avc error found
Change-Id: I1ffd97c6646d106c88efe36bfb4483ae44415eaa
2021-03-19 11:14:36 +08:00
TreeHugger Robot
71f0fd6e55
Merge "Allow fingerprint hal to access fingerprint device" into sc-dev am: 9a865e84c7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13918106
Change-Id: I7f56e90224fe24568d84bcdd4a6a91deed3194bb
2021-03-19 03:08:00 +00:00
George Lee
9c3d77d088
power: Add policy to access sysfs_bcl
...
Bug: 180620276
Test: adb bugreport
dumpstate_board.txt shows:
------ BCL (/sys/devices/virtual/pmic/mitigation/triggered_stats) ------
Source Count Last Triggered Last SOC Last Voltage
smpl_warn 0 0 0 0
ocp_cpu1 0 0 0 0
ocp_cpu2 0 0 0 0
soft_ocp_cpu1 0 0 0 0
soft_ocp_cpu2 0 0 0 0
ocp_tpu 0 0 0 0
soft_ocp_tpu 0 0 0 0
pmic_120c 0 0 0 0
pmic_140c 0 0 0 0
pmic_overheat 0 0 0 0
ocp_gpu 0 0 0 0
soft_ocp_gpu 0 0 0 0
------ IF PMIC (/sys/devices/virtual/pmic/max77759-mitigation/triggered_stats) ------
Source Count Last Triggered Last SOC Last Voltage
VDROOP1 0 0 0 0
VDROOP2 0 0 0 0
BATOILO 0 0 0 0
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If7874e19b8202175071d474502e77748168565ce
2021-03-19 02:56:32 +00:00
Adam Shih
857ea2e064
update error on ROM 7219510
...
Bug: 183161715
Test: pts-tradefed run pts -m PtsSELinuxTest
Change-Id: Id5c7856e7b77600f47df652a95ac342f11c924f5
2021-03-19 10:52:09 +08:00
TreeHugger Robot
9a865e84c7
Merge "Allow fingerprint hal to access fingerprint device" into sc-dev
2021-03-19 02:19:59 +00:00
David Li
fa11af6a07
audio: add /dev/acd-audio_dcdoff_ref for audio effect visualizer
...
Set /dev/acd-audio_dcdoff_ref as u:object_r:aoc_device:s0
crw-rw---- 1 system audio u:object_r:aoc_device:s0 500, 29 2021-03-18 22:19 /dev/acd-audio_dcdoff_ref
Bug: 180984363
Bug: 165719427
Test: make -j128
Test: ls -alZ /dev/acd-audio_dcdoff_ref
Change-Id: If7cd3ef99885730287648afebb222d4f925d325e
2021-03-19 10:10:49 +08:00
Quang Luong
9acdde29e5
Enable default wifi coex algorithm am: 7f8e41bd1b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13921091
Change-Id: I69ac3f37294d448742160a904ec83e11ac57cde9
2021-03-19 00:08:34 +00:00
Benjamin Schwartz
ad7433593a
powerstats: Use unique_ptr am: 6b4c8b4887
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13906382
Change-Id: I95d3000b4d6fd0d46fd6412bc4395ce6221e783b
2021-03-18 22:04:51 +00:00
Benjamin Schwartz
d237e84ded
Set short suspend threshold to 5 seconds am: 921b5c3606
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13920465
Change-Id: I096af3af0add23d9f82c983d6ac37121c6c75609
2021-03-18 22:04:42 +00:00
Quang Luong
7f8e41bd1b
Enable default wifi coex algorithm
...
Bug: 181245154
Test: build
Change-Id: Ia19206307da3936fd32e40ae7bd08a631719e1d3
2021-03-18 13:27:47 -07:00
Benjamin Schwartz
6b4c8b4887
powerstats: Use unique_ptr
...
Bug: 183051413
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Test: atest VtsHalPowerStatsTargetTest
Change-Id: Ia15505b219e6a8fe61949f7d75cc6379de837153
2021-03-18 20:20:04 +00:00
Benjamin Schwartz
921b5c3606
Set short suspend threshold to 5 seconds
...
Bug: 171433995
Test: getprop suspend.short_suspend_threshold_millis
Test: dumpsys suspend_control_internal
Change-Id: Ic32ac59784e40307a29d5ab240475572356124dc
2021-03-18 19:50:31 +00:00
Jimmy Chen
32ec551712
wifi: enable SAE H2E support am: d88b6b9f82
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13911105
Change-Id: Ibdae49fb0fa3b1a688b4f14ca53cfb06f1bcdde0
2021-03-18 17:23:52 +00:00
Jimmy Chen
d88b6b9f82
wifi: enable SAE H2E support
...
Bug: 182857386
Test: connect to 6GHz AP.
Change-Id: I8c7e6118225e053ab3a231c9029fc1492065c7c7
2021-03-18 16:50:47 +00:00
Kris Chen
10fda56cd1
Allow fingerprint hal to access fingerprint device
...
Fixes the following avc denials:
03-18 10:57:10.612 947 947 I android.hardwar: type=1400 audit(0.0:8): avc: denied { open } for path="/dev/goodix_fp" dev="tmpfs" ino=482 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
03-18 10:57:10.632 947 947 I android.hardwar: type=1400 audit(0.0:9): avc: denied { ioctl } for path="/dev/goodix_fp" dev="tmpfs" ino=482 ioctlcmd=0x6707 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
03-18 10:57:13.672 947 947 I android.hardwar: type=1400 audit(0.0:14): avc: denied { ioctl } for path="/dev/goodix_fp" dev="tmpfs" ino=482 ioctlcmd=0x6706 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
03-18 10:57:32.704 947 947 I HwBinder:947_1: type=1400 audit(0.0:26): avc: denied { ioctl } for path="/dev/goodix_fp" dev="tmpfs" ino=482 ioctlcmd=0x6705 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
Bug: 171943101
Test: No above avc denials in logcat.
Change-Id: I254a01a2c11fcaba9ad3f387862a8d0ddafffd38
2021-03-18 19:23:54 +08:00
Minchan Kim
b09d01bdea
BoardConfig: enable dump migration failure am: 5d13529329
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13906568
Change-Id: Ia4dc66a6d5aee2ddfcb1bbe295ced3e9e99c6119
2021-03-18 08:36:30 +00:00
Jimmy Shiu
55a5ee7f79
powerhint: Add FIXED_PERFORMANCE hints am: 2d8da5bd44
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13910235
Change-Id: Ib64e29cf57eb35581d28929d5a2db1ea99c7dd51
2021-03-18 08:36:05 +00:00
Minchan Kim
5d13529329
BoardConfig: enable dump migration failure
...
Enable dynamic debug to dump migration failure.
Bug: 182195592
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I4817f84c1d2e15dad48f7c475d7072b88bc12114
2021-03-18 08:00:09 +00:00
Jimmy Shiu
2d8da5bd44
powerhint: Add FIXED_PERFORMANCE hints
...
According VTS, PowerHal must support FixedPerformance Mode.
Add FIXED_PERFORMANCE hints to fix the VTS failure.
Test: atest VtsHalPowerTargetTest
Bug: 183069028
Change-Id: I1eb6276108593f915f5043efb5a0c7f659c109e9
2021-03-18 07:54:57 +00:00
TreeHugger Robot
005b56dc05
Merge "sepolicy: fix usb hal selinux permission" into sc-dev am: 2433a82427
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13899365
Change-Id: Iec98ad83437265a5b557eaaddc22d52dd7fe0269
2021-03-18 06:20:40 +00:00
TreeHugger Robot
2433a82427
Merge "sepolicy: fix usb hal selinux permission" into sc-dev
2021-03-18 05:47:52 +00:00
SalmaxChang
4393badd84
Update vendor_modem_prop and add rules for mds am: 2797490192
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13895427
Change-Id: Id23adbbf9cbf6cb7dcb76632cca5adfba44e369b
2021-03-18 05:27:50 +00:00
Roger Wang
70d3a7a29c
gs101: Enable MBB support am: a27080df00
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13881380
Change-Id: I0b9093f5e8c29c076d0d7f089339936d474f1497
2021-03-18 05:26:08 +00:00
Roger Wang
a27080df00
gs101: Enable MBB support
...
Set MBB overriding flag to true in config overlay to
enable MBB support.
Bug: 182859386
Test: Verified MBB is workable.
Change-Id: I33419c40a955bcb21ba80169175467ffafc2dae7
2021-03-18 04:55:48 +00:00
SalmaxChang
2797490192
Update vendor_modem_prop and add rules for mds
...
Bug: 181185131
Change-Id: Ie709e08152d23428a687c949359316206843b9fa
2021-03-18 04:48:19 +00:00
TreeHugger Robot
ddd3cf4514
Merge changes I15473321,Id60bb2e8 into sc-dev am: 8a191daf92
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13908551
Change-Id: I59cf2780c00e6b9b524edf0bdd7ef20c7ecc796b
2021-03-18 04:28:48 +00:00
TreeHugger Robot
8a191daf92
Merge changes I15473321,Id60bb2e8 into sc-dev
...
* changes:
remove obsolete entries
update error on ROM 7216638
2021-03-18 04:02:01 +00:00
Ines Ayara
7a8dcc0893
Merge "Add "libedgetpu_darwinn2.so" library duplicate to be used for external launch." into sc-dev am: 338d324e5a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13904945
Change-Id: I43397196ba9d57b84bde59d1f0034b8f68052810
2021-03-18 03:41:15 +00:00
Ines Ayara
338d324e5a
Merge "Add "libedgetpu_darwinn2.so" library duplicate to be used for external launch." into sc-dev
2021-03-18 02:54:19 +00:00
Adam Shih
c36661eb0b
remove obsolete entries
...
Bug: 177389198
Bug: 177860960
Bug: 178752576
Bug: 178753472
Bug: 179310892
Bug: 179437292
Bug: 179437988
Bug: 180656125
Bug: 180960879
Bug: 182705863
Test: boot and grab bugreport with no gmscore error found
Change-Id: I154733215aeca58a76add8d346cc0016a5f0dff7
2021-03-18 10:15:43 +08:00
Adam Shih
15a0c61432
update error on ROM 7216638
...
Bug: 183055762
Test: pts-tradefed run pts -m PtsSELinuxTest
Change-Id: Id60bb2e822734e23803b8f937b71dc59a325c27b
2021-03-18 10:03:37 +08:00
Albert Wang
beb4f82d32
sepolicy: fix usb hal selinux permission
...
avc: denied { read } for name="port0-partner" dev="sysfs" ino=98412 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=1
avc: denied { open } for path="/sys/devices/platform/10d50000.hsi2c/i2c-6/6-0025/typec/port0/port0-partner" dev="sysfs" ino=98412 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=1
avc: denied { getattr } for path="/sys/devices/platform/10d50000.hsi2c/i2c-5/5-0025/typec/port0/power_role" dev="sysfs" ino=67861 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=1
avc: denied { open } for path="/sys/devices/platform/10d50000.hsi2c/i2c-5/5-0025/typec/port0/power_role" dev="sysfs" ino=67861 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=1
avc: denied { write } for name="port_type" dev="sysfs" ino=71778 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=1
Bug: 182122983
Test: atest VtsHalUsbV1_0TargetTest
atest HalUsbGadgetV1_0HostTest
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Ia2cf9061dd5eaa7af582331477afd34db56531e8
2021-03-18 09:51:14 +08:00