Commit graph

11223 commits

Author SHA1 Message Date
TreeHugger Robot
73f7604819 Merge "Allow radioext to communicate with bt hal" into sc-dev am: c03c055812 am: 93008dc81a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14456718

Change-Id: I04601b7854246242a3e73d12ceb0491c7428c3c4
2021-05-08 19:33:35 +00:00
TreeHugger Robot
93008dc81a Merge "Allow radioext to communicate with bt hal" into sc-dev am: c03c055812
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14456718

Change-Id: I3d1fed21b348e309acf8c981d0295fc0c6db1597
2021-05-08 19:13:26 +00:00
TreeHugger Robot
c3c5ca4ddb Merge "Allow radioext to communicate with bt hal" into sc-dev am: c03c055812
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14456718

Change-Id: Ie6e2ad1c7f522db72d1376aae37c5501f85e29be
2021-05-08 19:10:01 +00:00
TreeHugger Robot
4e4b697ebc Merge "Allow radioext to communicate with bt hal" into sc-dev am: c03c055812
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14456718

Change-Id: Ieab3a480c6a09103b09b09f5f238f975ee4845ad
2021-05-08 19:09:55 +00:00
TreeHugger Robot
c03c055812 Merge "Allow radioext to communicate with bt hal" into sc-dev 2021-05-08 18:59:51 +00:00
TreeHugger Robot
73e866b8c8 Merge "iwlan: update sepolicy for qualifiednetworksservice" into sc-dev am: 296f8ddc5d am: cb8de215f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14440528

Change-Id: I5f0f438dd488cb64579f777809ddf2ab31fd9926
2021-05-07 23:59:40 +00:00
TreeHugger Robot
cb8de215f8 Merge "iwlan: update sepolicy for qualifiednetworksservice" into sc-dev am: 296f8ddc5d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14440528

Change-Id: I99470e75b9839107b8ea89232437d3c91a722a23
2021-05-07 23:45:52 +00:00
TreeHugger Robot
978d75fba7 Merge "iwlan: update sepolicy for qualifiednetworksservice" into sc-dev am: 296f8ddc5d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14440528

Change-Id: I336b1e613abebe0e56faf3732dce5d3fea52b0dc
2021-05-07 23:43:53 +00:00
TreeHugger Robot
776d3de596 Merge "iwlan: update sepolicy for qualifiednetworksservice" into sc-dev am: 296f8ddc5d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14440528

Change-Id: I99208ec0b4e5af7ae08b16e7bc4dc2e1c1a9894d
2021-05-07 23:43:49 +00:00
TreeHugger Robot
296f8ddc5d Merge "iwlan: update sepolicy for qualifiednetworksservice" into sc-dev 2021-05-07 23:29:31 +00:00
Jia-yi Chen
1d202eef48 gs101: Change uclamp min value for camera am: 82acc06cbe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14454976

Change-Id: I9b815d3d9b513fe3c6193cac9c10bcbee4cb1ab7
2021-05-07 22:43:05 +00:00
Jia-yi Chen
82acc06cbe gs101: Change uclamp min value for camera
uclamp value is calculated based on the full capacity 1024. Previously
camera-daemon uses 6 which would set the min to 61. This boosts the
camera thread util up and would have power penalty. Change the value
to 1 to have minimum boost.

Bug: 186564130
Test: cat /dev/cpuctl/camera-daemon/cpu.uclamp.min & check power
Change-Id: Ib8f5ae2091848da4ee98211aeae37612ae2b308a
2021-05-07 22:23:28 +00:00
Rick Chen
eee27ee50e Sensor: Support hifi sensor. am: 43206ce7ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14444592

Change-Id: I397e4e75458069d19b19327cac33402477d9bf32
2021-05-07 15:13:40 +00:00
Rick Chen
43206ce7ab Sensor: Support hifi sensor.
Bug: 186108264
Test: CTS batch fifo tests passed.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: Ie2a3bd31ac463f9a09753486381620cbda3aaa76
2021-05-07 14:55:55 +00:00
chasewu
59161a5745 vibrator: Remove temporary method
Bug: 177176811
Test: no avc denied logs
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I424e15037b3e20824f5e072d88bdf71a50cfdabf
2021-05-07 18:33:15 +08:00
Seungah Lim
72e6339123 iwlan: update sepolicy for qualifiednetworksservice
Bug: 185942456
Test: VoLTE/VoWifi

Change-Id: I352bb933e577b11bb052a297d17776ff0a5f3a75
Signed-off-by: Seungah Lim <sss.lim@samsung.com>
2021-05-07 17:14:00 +08:00
Roger Fang
90a74f7ec1 gs101: add audio uevent to report mic status for pixelstats am: d351a65154
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14444595

Change-Id: I5697e6446eeb1f9d8575ce078e9c0011bf191f3b
2021-05-07 08:58:39 +00:00
Roger Fang
d351a65154 gs101: add audio uevent to report mic status for pixelstats
ACTION=change
  DEVPATH=/devices/virtual/amcs/amcs
  MIC_BREAK_STATUS=1

Bug: 174994440
Test: Manually test passed
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I2a478167960ea9b2e8cbe732e030fa38757204d7
2021-05-07 08:48:18 +00:00
Wei Wang
22bf2aeba1 Adjust little core rate limit am: df79b08139
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14391555

Change-Id: I06966d80465849af8e135b4933456fcc46dee8aa
2021-05-07 07:40:15 +00:00
Wei Wang
df79b08139 Adjust little core rate limit
With recently merged kernel change pa/1916082, down rate limit  will be
adjusted dynamically. Without out this change, we would run into cases
that we too little down rate limit for little.

Bug: 186392111
Bug: 170511089
Test: boot and check rate limit
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I78d9894301c9f4f888d33010c9fcca20d51d4b20
2021-05-07 07:17:29 +00:00
Tai Kuo
8e3aaa30ff Remove dumpstate AVC denials dontaudit for twoshay
Bug: 187014717
Test: pts-tradefed run pts -m PtsSELinuxTest -t \
  com.google.android.selinux.pts.SELinuxTest#scanBugreport
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Ic697ffe8f6ee15fb9d9330173a3c92aeca61de67
2021-05-07 14:56:22 +08:00
Tai Kuo
0e68aed154 Allow dumpstate to access twoshay
Bug: 173330981
Bug: 187014717
Test: no avc denials for twoshay was found.
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Idcf38e0921fb4d6d617e7cd443425193aea3fe91
2021-05-07 14:55:43 +08:00
Adam Shih
a2ef328fc7 remove redundant setting am: f2457f2d1e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14460437

Change-Id: I0a6880299782f9b5920a67218f8025c354a28c36
2021-05-07 04:45:25 +00:00
Adam Shih
f2457f2d1e remove redundant setting
The path does not exist.
Bug: 187128213
Test: build pass and boot to home

Change-Id: I18aa60fafe1538972ad2111bfad483b54c6fab06
2021-05-07 04:31:02 +00:00
Jia-yi Chen
15c046878b Add high_capacity_start_cpu to u:object_r:sysfs_vendor_sched:s0
Bug: 186564130
Test: Boot & check powerhal log
Change-Id: I1a828f113266d4b3386b2f6fa74df050255113a9
2021-05-06 21:00:08 -07:00
Carter Hsu
660954b329 haptic: add haptic ampilifer codec am: 5bc59075bd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14211585

Change-Id: I5e1574bfb98403a9e8f01158267e8fd6d8a6add1
2021-05-07 03:35:00 +00:00
Carter Hsu
5bc59075bd haptic: add haptic ampilifer codec
Bug: 178431048
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Id20663a7469f04fda8dd49651fce88a815450af7
2021-05-07 03:10:19 +00:00
Labib
a27f8c4480 Allow radioext to communicate with bt hal
Bug: 187447420
Change-Id: I1a1626502a6c3913846b957c3c0a31fdd99feb31
2021-05-07 09:20:02 +08:00
terrycrhuang
abfa8c93cc Add Google Dialer and Enable PARIS in PDK ROM am: 0f8dbe476b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14440222

Change-Id: I3369dd4b8ace081d25310033e9c3ffb18b63048e
2021-05-07 00:45:11 +00:00
terrycrhuang
0f8dbe476b Add Google Dialer and Enable PARIS in PDK ROM
Use the environment variable USES_GOOGLE_DIALER_PARIS to decide to
replace AOSP Dialer by Google Dialer and enable PARIS.
The variable should be set in PDK release ROM and User could set it
locally as you want the AOSP build with them.

Bug: 187242540
Test: Loacal build. Google Dialer and Paris work

Change-Id: Ib823f5447db5fd593b9044c8cdb766165ce6cedf
2021-05-07 00:25:48 +00:00
Sunil Ravi
a493b27bcf Wifi: Added supplicant HAL interface declarations 1.3 and 1.4 am: 2832991570
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14456466

Change-Id: I473431032d4b08ac123d210ccb8fc4b357c4783e
2021-05-06 23:55:59 +00:00
Sunil Ravi
e1e2c19229 Revert "Wifi: Move supplicant service init to wpa_supplicant" am: 3d015b03ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14454980

Change-Id: I7a8a5802d6a4eba29389494d0952799b0462d57a
2021-05-06 23:55:59 +00:00
Sunil Ravi
2832991570 Wifi: Added supplicant HAL interface declarations 1.3 and 1.4
Bug: 187302501
Bug: 186636898

Test: boot and wifi function is ok
Test: p2p connection and throughput tests.
Change-Id: I599763e8c583f9566833183d4dbec13db1d040bc
2021-05-06 23:33:51 +00:00
Sunil Ravi
3d015b03ab Revert "Wifi: Move supplicant service init to wpa_supplicant"
This reverts commit 788012640b

Reason for revert: Caused throughput issue in p2p b/187302501

Bug: 187302501
Bug: 186636898

Test: boot and wifi function is ok
Test: p2p connection and throughput tests.

Change-Id: I70f4015040f10452acff697ee504b02cfb3c1e27
2021-05-06 23:33:51 +00:00
Lucas Dupin
3df93f2c9f Revert "Enable blurs" am: 3f04ce39c9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14455045

Change-Id: If418e5c5e798531bc27b48f3e94c8775db9297a2
2021-05-06 23:14:36 +00:00
Lucas Dupin
3f04ce39c9 Revert "Enable blurs"
This reverts commit 52cc3f23c6.

Reason for revert: b/187310427
Bug: 187310427

Change-Id: I0190509dd2a5a3e727bce742e02cd21cf921caee
2021-05-06 22:54:48 +00:00
qinyiyan
e51de882f5 Add TPU metrics logger library to the device.mk am: 24815da75e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14444999

Change-Id: Ib25ccaa979b52f68b22c9a1ff4aeec45f74b6a2f
2021-05-06 18:02:07 +00:00
qinyiyan
24815da75e Add TPU metrics logger library to the device.mk
Test: Forrest build with the commit and the libmetrics_logger.so is
present in the build.
Bug:151063663

Change-Id: Ib5b59acfb6bc929d24884740f593417afe392434
2021-05-06 17:45:00 +00:00
Tri Vo
0ee2eab28f Revert "Trusty metrics reporter service" am: b39a771980
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14453915

Change-Id: I04ce220b3434834bc35be4d09ece9b419a6676af
2021-05-06 17:24:11 +00:00
Tri Vo
b39a771980 Revert "Trusty metrics reporter service"
This reverts commit c0dc597e70.

Reason for revert: b/187417029

Change-Id: Ia571b39ef3e5d66c112505bebd323deb2f7cc823
2021-05-06 17:03:37 +00:00
Tri Vo
b38ed0c788 Merge "trusty: sepolicy for metrics reporter" into sc-dev am: f7bec8b3c6 am: f40a4f7416
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14286451

Change-Id: I03c47276db396ec87b7f6bb27af99fa4033e7b52
2021-05-06 16:29:52 +00:00
Tri Vo
f40a4f7416 Merge "trusty: sepolicy for metrics reporter" into sc-dev am: f7bec8b3c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14286451

Change-Id: I9723772bdbd3c02e6af0e7348d45a3717a19cc0c
2021-05-06 16:09:53 +00:00
Tri Vo
7c585329ec Merge "trusty: sepolicy for metrics reporter" into sc-dev am: f7bec8b3c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14286451

Change-Id: I65819ea555dafbd575e26c1f9e45fbb1ce8617ff
2021-05-06 16:08:19 +00:00
Tri Vo
da485f1270 Merge "trusty: sepolicy for metrics reporter" into sc-dev am: f7bec8b3c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14286451

Change-Id: I3442adb02d7ae36f4533c2b94154a7c32ca9ea6f
2021-05-06 16:08:09 +00:00
Tri Vo
501fa4a654 Trusty metrics reporter service am: c0dc597e70
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14286216

Change-Id: I88dab151e2ba831cb90c46339845b6f0990287e8
2021-05-06 16:08:09 +00:00
Tri Vo
f7bec8b3c6 Merge "trusty: sepolicy for metrics reporter" into sc-dev 2021-05-06 15:52:51 +00:00
Tri Vo
c0dc597e70 Trusty metrics reporter service
Bug: 173423860
Test: m
Change-Id: Ib54790d883bd797ce1efa98a1cb053b5a4e007f7
2021-05-06 15:52:50 +00:00
JJ Lee
43735f0fc3 sepolicy: gs101: allow audio hal to use wakelock
Bug: 178789331
Test: build pass
Signed-off-by: JJ Lee <leejj@google.com>
Change-Id: I1d5c9ea8726f2e53bc05e0ecd5dedddede274794
2021-05-06 19:43:24 +08:00
Aaron Tsai
e4773d1db2 Fix avc denied for shannon-ims am: 6a9a85cd07 am: 71aa99edff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14410097

Change-Id: I8935b75ce3632935b127d7c1a4038886d40461bf
2021-05-06 11:07:46 +00:00
Aaron Tsai
71aa99edff Fix avc denied for shannon-ims am: 6a9a85cd07
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14410097

Change-Id: I84e986338a7985fe26cdf179bd1734771956defa
2021-05-06 10:53:09 +00:00