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
TreeHugger Robot
2a61dddc6f
Merge "Fix selinux error for vendor_init" into sc-dev am: 57ec723c5e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13880426
Change-Id: I66406cd526eaebca4ce94ab9dd3f9594e3e1c5ae
2021-03-18 01:18:38 +00:00
TreeHugger Robot
57ec723c5e
Merge "Fix selinux error for vendor_init" into sc-dev
2021-03-18 00:49:15 +00:00
iayara
adeaaead76
Add "libedgetpu_darwinn2.so" library duplicate to be used for external
...
launch.
This change is intended to keep naming consistency with previous
Darwinn external launch. In the future, all "libedgetpu_darwinn2.so"
instances should be replaced by "libedgetpu_util.so".
Bug: 182303547
Change-Id: I99e83f5f2e317b195b2061c781cb23544e547c55
2021-03-17 23:47:07 +00:00
Hridya Valsaraju
fed91e74ba
Merge "Add a label for Pixel DMA-BUF heap tracepoints" into sc-dev am: 2f772dd166
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13896546
Change-Id: Idfe3aa3b34bb8b6b8eb8f348b940327656a96c2f
2021-03-17 22:44:05 +00:00
Hridya Valsaraju
2f772dd166
Merge "Add a label for Pixel DMA-BUF heap tracepoints" into sc-dev
2021-03-17 21:58:55 +00:00
Yu-Chi Cheng
bcb92ac0c9
Merge "Allowed Camera hal to access EdgeTPU service for on-device compilation." into sc-dev am: a802ac3b05
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13889939
Change-Id: Iff962bcb9446a4a48123dc0ff435ffd56a115079
2021-03-17 21:10:37 +00:00
Yu-Chi Cheng
a802ac3b05
Merge "Allowed Camera hal to access EdgeTPU service for on-device compilation." into sc-dev
2021-03-17 20:37:44 +00:00
Yu-Chi Cheng
86aa156202
Allowed Camera hal to access EdgeTPU service for on-device compilation.
...
Camera hal DarwiNN pipelines are switching to use the on-device
compilation, which achieves by talking to the EdgeTPU service.
This change added the required selinux policies to allow accessing
the service, as well as allowing file descriptors to be shared
between them for passing the compilation info around.
Bug: 182423730
Bug: 182706078
Test: verified on Oriole running camera.
Change-Id: I5d3bc84fd54d4618f505f37d9773894261061d7f
2021-03-17 08:18:55 -07:00
Aaron Tsai
8bc49a1306
Remove unused rmnet and data properties for fixing avc denial error am: 815ce12ad5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13815494
Change-Id: I5b2540a72e499f7f44f40acd3f82fb8f9975af38
2021-03-17 11:47:52 +00:00
TreeHugger Robot
9d5d0f9915
Merge "init.gs101.rc: add chmod 0771 to camera calibration folder" into sc-dev am: aa58caf942
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13862479
Change-Id: Ie23fb494242030dd01e1a96e7fdf990c3c434989
2021-03-17 10:31:04 +00:00
Aaron Tsai
815ce12ad5
Remove unused rmnet and data properties for fixing avc denial error
...
Bug: 181924792
Test: verified with the forrest ROM and error log gone
Change-Id: Ia8eae9e2c347d79d3c37a894a1919e8f443630f7
2021-03-17 10:18:28 +00:00
Aaron Tsai
185dbee4eb
Fix selinux error for vendor_init
...
03-12 18:15:16.240 root 1 1 I /system/bin/init: type=1107 audit(0.0:19): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=vendor.sys.modem_reset pid=354 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_sys_default_prop:s0 tclass=property_service permissive=1'
Bug: 182715587
Test: verified with the forrest ROM and error log gone
Change-Id: Icfea06220c491d414f6bdbf04ceda4c46299fb29
2021-03-17 10:14:31 +00:00
TreeHugger Robot
aa58caf942
Merge "init.gs101.rc: add chmod 0771 to camera calibration folder" into sc-dev
2021-03-17 10:10:52 +00:00
TreeHugger Robot
afdfc82734
Merge "label uwb service to prevent reset after unplugging USB" into sc-dev am: 64c726720b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13895430
Change-Id: I7d50b4777a52b307272c8b9ab68f2eeb279ebb4d
2021-03-17 08:36:35 +00:00
Jenny Ho
d6162d5505
Merge "init.gs101.rc: set system ownership for eeprom" into sc-dev am: 60dca5dc0a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13839232
Change-Id: I2a0cff60572b26312b54bcaa9a70d2ec49d75cdc
2021-03-17 08:36:16 +00:00
Jenny Ho
673ba29390
Merge "genfs_contexts: add sepolicy for dumping eeprom data" into sc-dev am: 208d1aed01
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13895428
Change-Id: I39b601de53ad1b2ccfec2274194b9dfcb8f1dbf1
2021-03-17 08:36:13 +00:00
Jenny Ho
9348b94a5a
Merge "dumpstate: Update eeprom dump path" into sc-dev am: e8ecf4ded7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13839231
Change-Id: I7e38d95142be45796d716b3fa38617a3398da902
2021-03-17 08:36:13 +00:00
TreeHugger Robot
64c726720b
Merge "label uwb service to prevent reset after unplugging USB" into sc-dev
2021-03-17 08:35:08 +00:00
Jenny Ho
60dca5dc0a
Merge "init.gs101.rc: set system ownership for eeprom" into sc-dev
2021-03-17 08:07:45 +00:00
Jenny Ho
208d1aed01
Merge "genfs_contexts: add sepolicy for dumping eeprom data" into sc-dev
2021-03-17 08:07:45 +00:00