TreeHugger Robot
c6fcf5f46a
Merge "gs101: set touch_offload device file permission" into sc-dev am: a9eb36903b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13881374
Change-Id: Ieb8de61f59012d47eff7f2f5ef31ba88342be4c5
2021-03-16 11:06:31 +00:00
TreeHugger Robot
a9eb36903b
Merge "gs101: set touch_offload device file permission" into sc-dev
2021-03-16 10:25:45 +00:00
Charlie Chen
935a1dd591
Revert "Switch back from DMABUF to ION/BLOB allocator"
...
This reverts commit f35c9cb038
.
To enable DMABUF again.
Patch: https://android-review.googlesource.com/c/platform/system/memory/libdmabufheap/+/1634146/
fixed the error when using DMABUF
Bug: 153786620
Test: reboot O6 device and confirm the error does not show up again
Change-Id: Id378fe1fe8b9615f72138575cec8e5e1e20caec9
2021-03-16 16:28:15 +08:00
Wesley Wang
7b9ed95f9a
Merge "Enable battery percentage config for O6/R4" into sc-dev am: 16fa1efb47
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13862482
Change-Id: I6db80a7891bbe6bf0618bcf8a7c95fc9441a8297
2021-03-16 08:05:14 +00:00
Hsiaoan Hsu
46fedc2148
Add Sepolicy rule for connectivity monitor app
...
sync sepolicy from previous projects.
Bug: 182715920
Test: build pass. connetivity monitor service running successfully.
Change-Id: Id5606b5db74fbf672ac41549862a83557734ac57
2021-03-16 15:48:53 +08:00
Wesley Wang
16fa1efb47
Merge "Enable battery percentage config for O6/R4" into sc-dev
2021-03-16 07:34:10 +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
raylinhsu
031fe80418
display: add sepolicy for hal_graphics_composer
...
Allow HWC to access vendor_log_file and also allow hwc to access
power hal
Bug: 181712799
Test: pts -m PtsSELinuxTest -t
com.google.android.selinux.pts.SELinuxTest#scanAvcDeniedLogRightAfterReboot
Change-Id: I403a528f651b9ee5755d11525f2a33c39628ecee
2021-03-16 13:50:48 +08:00
SalmaxChang
81104c001c
MDS: Fix avc errors am: b70e0bebdd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13816042
Change-Id: I7438c1c4654e8053e0315623c42475e656737a11
2021-03-16 04:26:46 +00:00
SalmaxChang
b70e0bebdd
MDS: Fix avc errors
...
avc: denied { search } for name="vendor" dev="tmpfs" ino=2 scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:mnt_vendor_file:s0 tclass=dir permissive=1 app=com.google.mds
avc: denied { search } for name="vendor" dev="tmpfs" ino=2 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:mnt_vendor_file:s0 tclass=dir permissive=1 app=com.google.mds
avc: denied { search } for comm=4173796E635461736B202332 name="radio" dev="dm-9" ino=242 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=dir permissive=1 app=com.google.mds
avc: denied { call } for comm=4173796E635461736B202331 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:r:dmd:s0 tclass=binder permissive=1 app=com.google.mds
avc: denied { write } for name="property_service" dev="tmpfs" ino=316 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=1 app=com.google.mds
avc: denied { read } for name="u:object_r:vendor_modem_prop:s0" dev="tmpfs" ino=289 scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:vendor_modem_prop:s0 tclass=file permissive=1 app=com.google.mds
avc: denied { search } for comm=4173796E635461736B202331 name="chosen" dev="sysfs" ino=9330 scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:sysfs_chosen:s0 tclass=dir permissive=1 app=com.google.mds
Bug: 181185131
Bug: 179110848
Change-Id: I1ac00b68e2db44cc86f6b5c70001cda78264ff6e
2021-03-16 02:27:54 +00:00
Adam Shih
df5b767adf
Merge "label power.stats-vendor properly" into sc-dev am: dd7f31a99f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13856370
Change-Id: I301a946f6fbfeab735b81fb92e37a657ede3e9a6
2021-03-16 01:50:01 +00:00
Adam Shih
dd7f31a99f
Merge "label power.stats-vendor properly" into sc-dev
2021-03-16 01:16:20 +00:00
Adam Shih
142e40a2e0
Merge "Allow bluetooth hal to get boot status" into sc-dev am: 3887fc2628
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13856369
Change-Id: I7c25de614a2e2625f2cfc8fd8a3df8a5d74f877d
2021-03-16 00:57:19 +00:00
Benjamin Schwartz
a1f92cdd90
Give power stats HAL permission to read ufs stats
...
Bug: 140217385
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ib3fa9440982bc5846053e9ddf56d3ed178599c0c
2021-03-15 17:37:29 -07:00
Adam Shih
3887fc2628
Merge "Allow bluetooth hal to get boot status" into sc-dev
2021-03-16 00:35:59 +00:00
Tianjie Xu
40df210367
Merge "Include the Pixel common board configuration" into sc-dev am: ad661aed61
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13855694
Change-Id: I6ebf6aa26fe45eff43b20e23423a4bf655fb95cb
2021-03-15 19:02:52 +00:00
Daniel Mentz
2b09a4d4e1
Merge "Add vendor_dlkm partition (2nd attempt)" into sc-dev am: b494fcea4d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13849595
Change-Id: I2e45b52b92e3c27fe190f3d2c929d1f952cad0e0
2021-03-15 19:01:42 +00:00
Tianjie Xu
ad661aed61
Merge "Include the Pixel common board configuration" into sc-dev
2021-03-15 18:46:12 +00:00
Daniel Mentz
b494fcea4d
Merge "Add vendor_dlkm partition (2nd attempt)" into sc-dev
2021-03-15 18:34:41 +00:00
Pat Tjin
8a89070e98
Merge "Adjust BOARD_GOOGLE_DYNAMIC_PARTITIONS_SIZE to 8527020032" into sc-dev am: da98e3c78f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13849599
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic14a2d060f9c6b5e9026cf705ebf4c4096ecfe6b
2021-03-15 17:24:39 +00:00
Pat Tjin
da98e3c78f
Merge "Adjust BOARD_GOOGLE_DYNAMIC_PARTITIONS_SIZE to 8527020032" into sc-dev
2021-03-15 16:48:48 +00:00
TreeHugger Robot
1e701d85b1
Merge "gs101: support touch sensitivity mode switching" into sc-dev am: 0e5702d3c5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13839238
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8720f52f1a58cb08a6f6ae6442d43a6aedf255ad
2021-03-15 12:30:02 +00:00
TreeHugger Robot
0e5702d3c5
Merge "gs101: support touch sensitivity mode switching" into sc-dev
2021-03-15 12:03:05 +00:00
Alex Hong
21a2c8b6e8
Merge "Clean up the obsoleted dontaudit rules" into sc-dev am: e2f3348361
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13839793
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I588088235e0172d82beb1ab15942e20706112c26
2021-03-15 08:58:29 +00:00
Alex Hong
e2f3348361
Merge "Clean up the obsoleted dontaudit rules" into sc-dev
2021-03-15 08:22:53 +00:00
Wesley.CW Wang
4dae775116
Enable battery percentage config for O6/R4
...
Bug: 177972645
Bug: 182451733
Bug: 180676766
Test: m -j40
Change-Id: I9dcb0f09b0a86a163c48366a9c90ad89bf28cab0
2021-03-15 06:32:36 +00:00
Alex Hong
abfa9355ee
Clean up the obsoleted dontaudit rules
...
Verify with the ROM: go/ab/7203892 oriole-userdebug
Test: $ make selinux_policy
Push selinux modules. Check the denials during boot.
$ pts-tradefed run commandAndExit pts -m PtsSELinuxTest -t com.google.android.selinux.pts.SELinuxTest#scanBugreport
$ pts-tradefed run commandAndExit pts -m PtsSELinuxTest -t com.google.android.selinux.pts.SELinuxTest#scanAvcDeniedLogRightAfterReboot
Bug: 171760597
Bug: 171760846
Bug: 173969190
Bug: 174443175
Bug: 176777145
Bug: 176868315
Bug: 177386448
Bug: 177389321
Bug: 177614659
Bug: 177616188
Bug: 177778551
Bug: 177778793
Bug: 177860838
Bug: 177862403
Bug: 177862777
Bug: 177966144
Bug: 178433506
Bug: 178433618
Bug: 178753151
Bug: 178752409
Bug: 178979985
Bug: 178980142
Bug: 179093352
Bug: 179310875
Bug: 179435036
Bug: 179437293
Bug: 179437737
Bug: 180551518
Bug: 180567612
Bug: 180655373
Bug: 180656244
Bug: 180874342
Bug: 180963328
Bug: 180963587
Change-Id: I19e19e49d36e5635629c1e68c7d23a98c714ebcf
2021-03-15 06:24:59 +00:00
TreeHugger Robot
1341dc7c9b
Merge "pixelstats: add ufs host reset count" into sc-dev am: 83ca249a04
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13805530
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I658f1354fd3f92cd6fc031c3a56d56ee666469f9
2021-03-15 06:17:43 +00: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
TreeHugger Robot
83ca249a04
Merge "pixelstats: add ufs host reset count" into sc-dev
2021-03-15 05:42:27 +00:00
TreeHugger Robot
5478f6df0f
Merge "Add variables in google3a_config for camera tuning" into sc-dev am: feb9224ab1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13838986
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3fd45ca995efc86926bc8a7f495a34e7292787cd
2021-03-15 03:08:19 +00:00
Adam Shih
881d24db37
update error on ROM 7207833 am: 36e82d438a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13856368
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2f9b3e1e7f93b2eb35a908b55e10e724ddea459d
2021-03-15 03:08:09 +00:00
TreeHugger Robot
feb9224ab1
Merge "Add variables in google3a_config for camera tuning" into sc-dev
2021-03-15 03:02:55 +00:00
Adam Shih
0218941cb8
allow df to collect partition info
...
Bug: 179310854
Test: do bugreport and the error disappear
Change-Id: I9fdcbb27742a70f3b796c668c3e0d4688d36b4d8
2021-03-15 11:00:41 +08:00
Adam Shih
cf96663690
label power.stats-vendor properly
...
Bug: 182320246
Test: boot with power.stats-vendor labeled
Change-Id: Icc3ff763be1a23e8f3e9d1ed076fcb5c74401abe
2021-03-15 10:21:24 +08:00
Adam Shih
45e33146f1
Allow bluetooth hal to get boot status
...
[ 5.299448] type=1400 audit(1615772363.892:3): avc: denied { read } for comm="bluetooth@1.1-s" name="u:object_r:boot_status_prop:s0" dev="tmpfs" ino=81 scontext=u:r:hal_bluetooth_btlinux:s0 tcontext=u:object_r:boot_status_prop:s0 tclass=file permissive=1
Bug: 171942789
Test: boot and see such log no longer appear
Change-Id: Ib27585183be1ba9913b5f0620d987f26fad663e0
2021-03-15 09:41:48 +08:00
Adam Shih
36e82d438a
update error on ROM 7207833
...
Bug: 182706078
Bug: 182705863
Bug: 182705986
Bug: 182705901
Test: pts-tradefed run pts -m PtsSELinuxTest
Change-Id: I37728b3b475998668f37d50a70ce980eeff70a63
2021-03-15 09:26:46 +08:00
TreeHugger Robot
69c63ce892
Merge "camera power hint: add streaming high hint." into sc-dev am: 751d285124
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13847217
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I205de4b9716c886dedac4405672bc919e9737ea3
2021-03-13 02:38:13 +00:00
TreeHugger Robot
751d285124
Merge "camera power hint: add streaming high hint." into sc-dev
2021-03-13 02:05:11 +00:00
Peter Liu
f4a74c27e9
camera power hint: add streaming high hint.
...
Use the streaming high power hint for high power use case such as 4k60.
Bug: 182184999
Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I2a12eaef54d13c82825e942325f4167fabc601cc
2021-03-12 16:35:54 -08:00
George Lee
7670aa6926
Merge "bcl: aggregated event count" into sc-dev am: d65255508c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13808637
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia00f8b5f76f565221483036af4ad522840046a34
2021-03-12 23:43:36 +00:00
George Lee
d65255508c
Merge "bcl: aggregated event count" into sc-dev
2021-03-12 23:13:11 +00:00
Erick Reyes
cd86a470b1
Merge "gs101: add edgetpu firmware package" into sc-dev am: 8103dae27a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13828857
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I153d5a95a01265b18c94d18316aa9dd7fee983b7
2021-03-12 22:07:15 +00:00
George Lee
834dca4c53
bcl: aggregated event count
...
Enable BCL metrics in bugreport.
Bug: 180620276
Test: Local test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iab9ef7aac7c112e4a6938e7f34745b338df6a3f8
2021-03-12 21:31:54 +00:00
Erick Reyes
8103dae27a
Merge "gs101: add edgetpu firmware package" into sc-dev
2021-03-12 21:25:48 +00:00
Tianjie
a76d104aac
Include the Pixel common board configuration
...
In particular, the config builds the hashtree with SHA256 for verified boot
2.0.
Bug: 156162446
Test: build an image, run avbtool info_image
Change-Id: Ib588472434f5df0265d8b457c184272ae4b566fb
2021-03-12 11:42:05 -08:00
Mingguang Xu
3e2d686ddb
Merge "On Pixel 21 enable minimum confirmation duration for sending network score to connectivity service" into sc-dev am: 0a49bee13b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13844948
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8c5663e78cdf78c13cb8a34a2659a5193160a56f
2021-03-12 19:00:26 +00:00
TreeHugger Robot
45e4a411a3
Merge "bootctrl: Add support for A/B data in devinfo" into sc-dev am: 47c99982ac
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13809675
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I961643ed7cf1053c2b1d67974342637cd02a83d2
2021-03-12 18:54:08 +00:00
Mingguang Xu
0a49bee13b
Merge "On Pixel 21 enable minimum confirmation duration for sending network score to connectivity service" into sc-dev
2021-03-12 18:21:06 +00:00
Mingguang Xu
ebe9c5f672
On Pixel 21 enable minimum confirmation duration for sending network score to connectivity service
...
Bug: 182513027
Bug: 182011284
Test: verified feature works on device
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Change-Id: Icb1264c994fcf6bfbe3b09fc3bae201b59603217
2021-03-12 18:20:18 +00:00