Commit graph

11403 commits

Author SHA1 Message Date
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
TreeHugger Robot
47c99982ac Merge "bootctrl: Add support for A/B data in devinfo" into sc-dev 2021-03-12 18:18:03 +00:00
Benjamin Schwartz
7615ee47bf Merge "whitechapel: Correct acpm_stats path" into sc-dev am: aa41c84ad1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13840133

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I886976749073f18187b74bd6030bdabdd0dbee7f
2021-03-12 18:11:53 +00:00
Allen Su
cdeea19625 Merge "[Slider] Add pre-grant permission for mvs" into sc-dev am: d875f8c139
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13782438

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4758186793967589a9f866cafa2fcbd7558f3123
2021-03-12 17:51:34 +00:00
Benjamin Schwartz
aa41c84ad1 Merge "whitechapel: Correct acpm_stats path" into sc-dev 2021-03-12 17:41:35 +00:00
Allen Su
d875f8c139 Merge "[Slider] Add pre-grant permission for mvs" into sc-dev 2021-03-12 17:21:44 +00:00
Tai Kuo
23ac737b41 gs101: support touch sensitivity mode switching
Route a debug system property to a persist system property to control
the touch driver attribute file glove_mode.

0: default sensitivity mode (default)
1: high sensitivity mode

Bug: 173330977
Bug: 174189638
Bug: 174191024
Test: manual test
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Ia54ea2b84340c34943809373b87c31604d2ae478
2021-03-12 16:38:23 +08:00
Pat Tjin
977ea34b77 Adjust BOARD_GOOGLE_DYNAMIC_PARTITIONS_SIZE to 8527020032
Subtract out 4MiB for overhead.

Test: build
Bug: 182237294
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Idf07cf518ea0ab8e8586a85303e27538a8ee2885
2021-03-11 23:21:35 -08:00
Daniel Mentz
fc05a5f218 Add vendor_dlkm partition (2nd attempt)
Certain vendor kernel modules were previously stored in the vendor
partition. With this change, we create a new separate partition named
vendor_dlkm for these vendor modules.

Bug: 173653839
Change-Id: I1fc887bdfac958d3a65fb48a4bf7a398e756733e
2021-03-11 22:52:20 -08:00
audreyhung
5b7f645900 Add variables in google3a_config for camera tuning
1. Add target_device into SOONG_CONFIG_NAMESPACES += google3a_config
for saperating projects (raven, oriole, slider)

2. Add conditional switch for aosp and others of TARGET_PRODUCT.

3. Pass all forrest builds under git_sc-dev with
   293c2c7462: Add variables in google3a_config for camera tuning
   7fd2d5a87c: Revert "Revert "Separate project-wise tuning folders for 3A""

Tag: All build test

47 build(s): 0 failed. 47 passed.

https://android-build.googleplex.com/builds/forrest/run/L45900000832571732

Bug: 177041310
Test: build pass, manually test on O6
Change-Id: I848a2702cecf1a35971ae5cba5ea83d4f6d65c1a
2021-03-12 06:50:10 +00:00
TreeHugger Robot
0e272c63ed Merge "allow init to mount modem_img" into sc-dev am: 3b10aeadae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13839800

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icd3cac3c5d48ea9e1c438cad2a8c8564ab20a378
2021-03-12 06:49:17 +00:00
TreeHugger Robot
4686091f71 Merge "gs101: exclude telephony if BOARD_WITHOUT_RADIO is true" into sc-dev am: 11c87a5851
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13845147

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2f4a1977614560d5e96f2834100b047d5270e319
2021-03-12 06:30:11 +00:00
TreeHugger Robot
3b10aeadae Merge "allow init to mount modem_img" into sc-dev 2021-03-12 06:01:50 +00:00
Jenny Ho
e852f75d49 init.gs101.rc: set system ownership for eeprom
Bug: 182531832
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I09e8e4f8ae9c8fbeea161c1b46f53a2b5996db35
2021-03-12 13:58:36 +08:00
Jenny Ho
361d28d604 dumpstate: Update eeprom dump path
Bug: 182531832
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ib7f628f226d901e79be9c3c958a5514cce09fbd9
2021-03-12 13:53:31 +08:00
Wen Chang Liu
8cbf2bcb97 Merge changes Ie0ed96d7,Id7f43fe1 into sc-dev am: e72c30346f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13839790

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3c68b42795c4b0b2cfd9510a9b393c80f2f9bc81
2021-03-12 05:51:09 +00:00
TreeHugger Robot
11c87a5851 Merge "gs101: exclude telephony if BOARD_WITHOUT_RADIO is true" into sc-dev 2021-03-12 05:47:52 +00:00
Wen Chang Liu
e72c30346f Merge changes Ie0ed96d7,Id7f43fe1 into sc-dev
* changes:
  Add sepolicy for BigOcean device
  Add sepolicy for MFC device
2021-03-12 05:41:08 +00:00
Andy Chou
4a1b96d9aa Merge "Fix cuttlefish test fail due to sepolicy of Exo" into sc-dev am: 737059042f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13839799

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0d271ce84e87f4042bd8cb95a3bea881377dc2ae
2021-03-12 05:35:47 +00:00
TreeHugger Robot
71f2717803 Merge "update error on ROM 7202683" into sc-dev am: 8e2430d151
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13839797

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4051250e1e3ce7dfb7ce181004f91030827cd1c8
2021-03-12 05:32:33 +00:00
Andy Chou
737059042f Merge "Fix cuttlefish test fail due to sepolicy of Exo" into sc-dev 2021-03-12 05:32:18 +00:00