Commit graph

11223 commits

Author SHA1 Message Date
Midas Chien
2b88831a1d gs101: display: update 90hz denylist
Add common 90hz denylist

Bug: 182471327
Test: adb shell dumpsys window refresh
Change-Id: If3dc37ad1c3df05ffdf8176a48c2c19430b5ba98
2021-04-01 15:32:53 +00:00
TreeHugger Robot
025ddae3f5 Merge "remove obsolete entries" into sc-dev am: 3504d25fb6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14057401

Change-Id: I43b31230b9a17bab788d6bb12dceab0874f1c27a
2021-04-01 08:37:51 +00:00
TreeHugger Robot
3504d25fb6 Merge "remove obsolete entries" into sc-dev 2021-04-01 08:05:31 +00:00
Charlie Chen
df4340620f Merge "SELinux error coming from mediacodec when using GCA and secure playback" into sc-dev am: 1a03008756
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14057389

Change-Id: Ia11cf3a7b21e91b79450fb73f32b4016d6bfca91
2021-04-01 07:15:31 +00:00
Adam Shih
f96f0c79a3 remove obsolete entries
Bug: 183560282
Bug: 180858511
Bug: 183161715
Bug: 178331791
Bug: 178433597
Test: pts -m PtsSELinuxTest -t
com.google.android.selinux.pts.SELinuxTest#scanAvcDeniedLogRightAfterReboot

Change-Id: Iba208b69389450b8ef69aaecfb799ef696515669
2021-04-01 15:02:46 +08:00
Tai Kuo
4f95cc3972 touch: enable basic features am: f3714e78fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14059874

Change-Id: I84b97f21f3dc8e517c622674cd9a24114e990b07
2021-04-01 06:52:48 +00:00
Charlie Chen
1a03008756 Merge "SELinux error coming from mediacodec when using GCA and secure playback" into sc-dev 2021-04-01 06:48:14 +00:00
Gillian Lin
acbe8fea4a Merge "Fix SELinux error from vendor_init" into sc-dev am: cdfffb7213
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14048486

Change-Id: Ibe02e5539c1d72b924489efd818014be29b2ce94
2021-04-01 05:42:24 +00:00
Gillian Lin
cdfffb7213 Merge "Fix SELinux error from vendor_init" into sc-dev 2021-04-01 05:08:50 +00:00
Tai Kuo
f3714e78fc touch: enable basic features
android.hardware.faketouch
android.hardware.touchscreen
android.hardware.touchscreen.multitouch
android.hardware.touchscreen.multitouch.distinct
android.hardware.touchscreen.multitouch.jazzhand

Bug: 183471879
Test: build and check out folder
Test: push to DUT and check feature
  adb shell pm list features | grep touch
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Id910bd790bb495fec29938954efc30b74f6cd3fa
2021-04-01 12:12:36 +08:00
Charlie Chen
5602dfde45 SELinux error coming from mediacodec when using GCA and secure playback
Fixes the following denials:

avc: denied { read } for name="name" dev="sysfs" ino=63727 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs:s0 tclass=file \
permissive=0

avc: denied { read } for name="name" dev="sysfs" ino=63743 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs:s0 tclass=file \
permissive=0

avc: denied { read } for name="name" dev="sysfs" ino=64010 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs:s0 tclass=file \
permissive=0

avc: denied { search } for name="video6" dev="sysfs" ino=64587 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs_video:s0 \
tclass=dir permissive=0

Bug: 182525521
Bug: 184145552
Test: GCA recording works properly, \
      Netflix and ExoPlayer can play videos
Change-Id: Ib7220feedc5031fb0e5c05a2b487da2ddf8b98cd
2021-04-01 02:53:24 +00:00
Eddie Tashjian
e13fc96b1f Merge "Allow radio vendor apps to modify slog props." into sc-dev am: 6171dc4503
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14056485

Change-Id: I0434283eaf0c403548a96da40c050653be779b63
2021-04-01 02:36:46 +00:00
gillianlin
52a776889c Fix SELinux error from vendor_init
03-17 09:12:55.380     1     1 I /system/bin/init: type=1107 audit(0.0:3): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { read } for property=mfgapi.touchpanel.permission pid=0 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1'

Bug: 182954248
Change-Id: I9ffff1aab20577950cb43c35d788e6a9c9acd571
2021-04-01 10:16:41 +08:00
Eddie Tashjian
6171dc4503 Merge "Allow radio vendor apps to modify slog props." into sc-dev 2021-04-01 01:32:04 +00:00
Ilya Matyukhin
881763c14e Merge "Add sepolicy for Goodix AIDL HAL" into sc-dev am: 52a4f701c1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13990421

Change-Id: I98013d8691da399355ea0f3746d0f239d105f5b2
2021-03-31 22:40:05 +00:00
Yabin Cui
79304978ae Move vendor_kernel_modules to public.
Bug: 166559473
Bug: 183135316
Test: build
Change-Id: Ib62080d3d12aa197571a0697c17f6fd5d981d653
2021-03-31 15:28:10 -07:00
Ilya Matyukhin
52a4f701c1 Merge "Add sepolicy for Goodix AIDL HAL" into sc-dev 2021-03-31 21:57:29 +00:00
Eddie Tashjian
022de778ed Allow radio vendor apps to modify slog props.
Radio vendor silent logging app needs access to the vendor slog
properties in order to configure logging.

Bug: 184102091
Test: Check vendor silent logging app works.
Change-Id: I1a7c590b80d94c0b147743372ba3cd1a0817baf3
2021-03-31 20:57:31 +00:00
Benjamin Schwartz
2999dce53d powerstats: Add placeholder energy consumer for bt and wifi am: a0519357f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14054229

Change-Id: I69723341ad14ae9ef47ec4aa60d15979d2e29c0e
2021-03-31 20:51:49 +00:00
Benjamin Schwartz
a0519357f3 powerstats: Add placeholder energy consumer for bt and wifi
Bug: 184092278
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I00e277c6ddad81f970e7345870b0bf904ca433e9
2021-03-31 20:12:33 +00:00
Edwin Tung
c090397fa5 gps: update gps driver 126.20.23.494818 am: 2c8bc95925
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14044168

Change-Id: I8b650a579d437b373cdea108b662b364eeb81ac0
2021-03-31 19:09:18 +00:00
Eddie Tashjian
964eb91728 Merge "Add sepolicy for CBRS setup app." into sc-dev am: 606a9ea28d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13990414

Change-Id: If299e9dc9732742f75f26385c82b342caf765cef
2021-03-31 18:47:55 +00:00
Edwin Tung
2c8bc95925 gps: update gps driver 126.20.23.494818
New CHPP Drop Integration.
Fix GLONASS CW test and SPA Tool notch filter.
Add B13 filter.
Fix seperated acquisition assistance issue.
Fix SPI MISO behavior.
Fix NI SUPL and concurrency issue
Support new RIL IPC.

Bug: 183119165
Bug: 183345035
Bug: 182336981
Bug: 181836637
Bug: 181835445
Bug: 181835089
Bug: 179616840
Bug: 179510763
Bug: 179105790
BUg: 176464615
Bug: 173981528

Sanity Test: 184116743
Test: build pass
Change-Id: I5a054d6784b9d37faa696f8d25f3a6cfeaf98e1a

Change-Id: Iac2afddd167bf1a649da84a4895181e7e6716467
2021-03-31 18:33:13 +00:00
Eddie Tashjian
606a9ea28d Merge "Add sepolicy for CBRS setup app." into sc-dev 2021-03-31 18:23:07 +00:00
Zhijun He
1e4b402323 Merge "Revert "Allow Exoplayer access to the vstream-secure heap for secure playback"" into sc-dev am: a7d3992396
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14048500

Change-Id: Ide1c51c17bce737ba9132bb0d58c6aa994d62dcc
2021-03-31 16:24:51 +00:00
Zhijun He
a7d3992396 Merge "Revert "Allow Exoplayer access to the vstream-secure heap for secure playback"" into sc-dev 2021-03-31 15:38:31 +00:00
Charlie Chen
ac3d49d41d Revert "Allow Exoplayer access to the vstream-secure heap for secure playback"
This reverts commit 7c92613185.

Reason for revert: This commit breaks camera recording

Bug: 184154831
Change-Id: Ia4286dab9c5d44c59a3b224e0e24c191eb2be84b
2021-03-31 15:37:48 +00:00
Yu-Chi Cheng
62e7f60757 Merge "Allowed EdgeTPU service and the EdgeTPU NNAPI hal to read /proc/version." into sc-dev am: f9668d2b94
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14035811

Change-Id: Iec2f2d735c6c44e655ef15a0a660a7189e368422
2021-03-31 15:04:44 +00:00
Yu-Chi Cheng
ce90a3877a Removed public.libraries-google.txt from device.mk. am: 52dc796988
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14026305

Change-Id: I41d30e9bb04135deb50315e19f5c723c118cb40c
2021-03-31 15:03:57 +00:00
Yu-Chi Cheng
5157e0dc04 Merge "Labelled EdgeTPU service libraries as SP-HAL." into sc-dev am: 53982a4372
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14026058

Change-Id: I1a1a0fd94e4e613c964598de6bb615608fd1a6c5
2021-03-31 15:03:56 +00:00
Yu-Chi Cheng
f9668d2b94 Merge "Allowed EdgeTPU service and the EdgeTPU NNAPI hal to read /proc/version." into sc-dev 2021-03-31 14:26:10 +00:00
Yu-Chi Cheng
52dc796988 Removed public.libraries-google.txt from device.mk.
The public.libraries-google.txt used to contain the
libedgetpu_client.google.so in order to expose it through
/system_ext/. We are now switching to use its vendor
variant in order to let pre-built /product/ applications to
access it instead, hence removing this no longer used
/system_ext/ version.

Bug: 184008444
Test: tested on local Oriole + GCA
Change-Id: I291aa879c263411e0be0ba3c4089bd798e0c009d
2021-03-31 14:24:54 +00:00
Yu-Chi Cheng
53982a4372 Merge "Labelled EdgeTPU service libraries as SP-HAL." into sc-dev 2021-03-31 14:24:54 +00:00
millerliang
7532dd7d1f Fix MMAP audio avc denied am: f01cb384d8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14029670

Change-Id: I6700779ed0c8077b21054f24296e8088b812bf16
2021-03-31 09:43:37 +00:00
Lisa Liu
6d928bddf8 Add pinner configs for P21 am: b8a16df6e5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13895470

Change-Id: I74bcddb257612c765822fa69c682b29d84225db5
2021-03-31 09:19:46 +00:00
Lisa Liu
b8a16df6e5 Add pinner configs for P21
Bug: 182593454
Test: dumpsys pinner
Change-Id: I85547d29ddc9111b0e3338681729c8318d9010dc
2021-03-31 08:52:29 +00:00
Kris Chen
0d00a51f9a factory: Set UDFPS default calibration to LHBM am: 199194ed2c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14031648

Change-Id: Ia08fb5d140337ea8ed939f0e445da1fc6969d9fd
2021-03-31 08:13:54 +00:00
TreeHugger Robot
bb571e8736 Merge "remove obsolete entries" into sc-dev am: 6bcc46cec5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14041327

Change-Id: I01fe41955f235712bcb04bf48c7e7c59c699ccd4
2021-03-31 07:52:42 +00:00
millerliang
f01cb384d8 Fix MMAP audio avc denied
03-30 16:45:16.840   738   738 I auditd  : type=1400 audit(0.0:76): avc:
denied { read } for comm="HwBinder:738_2"
name="u:object_r:audio_prop:s0" dev="tmpfs" ino=87
scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:audio_prop:s0
tclass=file permissive=0
03-30 16:45:16.980   644   644 I auditd  : type=1400 audit(0.0:78): avc:
denied { map } for comm="audioserver" path="/dev/snd/pcmC0D0p"
dev="tmpfs" ino=977 scontext=u:r:audioserver:s0
tcontext=u:object_r:audio_device:s0 tclass=chr_file permissive=0

Bug: 165737390
Test: verified with the forrest ROM and error log gone
Change-Id: I1c8721a051844d3410cffa23411a434c832b416e
2021-03-31 15:51:32 +08:00
Kris Chen
199194ed2c factory: Set UDFPS default calibration to LHBM
Bug: 183888460
Test: Flash factory build, launch factory test APK, confirm the UDFPS
      default calibration is LHBM.
Change-Id: Iabf48f767b2c67afdb2a3e8bb7ae427b14b3dac8
2021-03-31 07:36:13 +00:00
TreeHugger Robot
6bcc46cec5 Merge "remove obsolete entries" into sc-dev 2021-03-31 07:35:51 +00:00
Charlie Chen
4618354e8d Merge "Allow Exoplayer access to the vstream-secure heap for secure playback" into sc-dev am: c0066d5cce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13988004

Change-Id: Id10cade6955c3592babb70d9c82983f17cb8ff12
2021-03-31 07:23:55 +00:00
Charlie Chen
c0066d5cce Merge "Allow Exoplayer access to the vstream-secure heap for secure playback" into sc-dev 2021-03-31 07:03:16 +00:00
Adam Shih
fcd7cab8c9 Merge "allow vendor_init to set logpersist" into sc-dev am: 4166a4d03b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14033458

Change-Id: I50066c93d92dcfee240f532e690c8bfaeecbcaf4
2021-03-31 06:36:10 +00:00
Adam Shih
781e00d4c0 Merge "update error on ROM" into sc-dev am: 00f6651d46
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14033452

Change-Id: Ia3e2c5ab1c9acd6461c772a5db02bd9d2bf05bf4
2021-03-31 06:35:40 +00:00
Adam Shih
fc7c2e2c3a remove obsolete entries
Bug: 183560076
Bug: 183338483
Bug: 183467306
Bug: 171760597
Test: pts-tradefed run commandAndExit pts -m PtsSELinuxTest -t
com.google.android.selinux.pts.SELinuxTest#scanAvcDeniedLogRightAfterReboot

Change-Id: Ib35a05176fccd251dfea8b58304a68b0e9bd6412
2021-03-31 14:28:29 +08:00
Adam Shih
4166a4d03b Merge "allow vendor_init to set logpersist" into sc-dev 2021-03-31 06:03:04 +00:00
Adam Shih
00f6651d46 Merge "update error on ROM" into sc-dev 2021-03-31 06:02:36 +00:00
Charlie Chen
7c92613185 Allow Exoplayer access to the vstream-secure heap for secure playback
Fixes the following denials:

avc: denied { read } for name="name" dev="sysfs" ino=63727 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs:s0 tclass=file \
permissive=0

avc: denied { read } for name="name" dev="sysfs" ino=63743 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs:s0 tclass=file \
permissive=0

avc: denied { read } for name="name" dev="sysfs" ino=64010 \
scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs:s0 tclass=file \
permissive=0

Bug: 182525521
Test: no more denials and able to play video via ExoPlayer App
Change-Id: I21033bc78858fd407c16d2cd2df4549f97273221
2021-03-31 05:41:26 +00:00
Erik Cheng
d11fbf8861 Merge "Grant permission for more camera device nodes" into sc-dev am: 90ed4cc72e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14029672

Change-Id: I478755c4d3d6f1940b8d701323b9243a6353581c
2021-03-31 03:39:32 +00:00