Wilson Sung
14dda6e255
Update SELinux error
...
Test: SELinuxUncheckedDenialBootTest
Bug: 314054292
Test: scanBugreport
Bug: 313804706
Bug: 312894238
Change-Id: Ibf9517b585dcd8e06c62075d85dc55eb8ed7d18d
2023-11-30 07:14:04 +00:00
Khoa Hong
fb1c8b60bb
Suppress avc error log on debugfs's usb folder.
...
The XHCI driver in kernel will write debugging information to DebugFS on
some USB host operations (for example: plugging in a USB headphone). We
are not using those information right now.
Bug: 311088739
Test: No error when plugging a USB headphone in.
Change-Id: I3a8e2290e97967c02453eadff440d8bbeefa31b1
2023-11-30 14:50:52 +08:00
Treehugger Robot
73592fb6ac
Merge "Ueventd changes for new BT channel in zuma" into main
2023-11-30 00:32:17 +00:00
Treehugger Robot
d05c6ad1e6
Merge "Handle empty read from file." into main
2023-11-29 17:59:23 +00:00
Edgar Arriaga García
6a3349663d
Merge "Add webview pinning for zuma devices" into main
2023-11-27 18:05:05 +00:00
Jason Chiu
23feade4db
zuma: move sepolicy related to bootctrl hal to gs-common
...
Bug: 265063384
Change-Id: I230ca394c5d1b6e68dd8b4d51ea06568810eb4e0
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-11-27 17:45:29 +08:00
Jason Chiu
f16d3f60d2
zuma: include bootctrl_aidl.mk from gs-common
...
Bug: 265063384
Change-Id: I95cc9feca160004ee1d1c8fdf85da92b894d01d5
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-11-27 17:36:02 +08:00
Jason Chiu
0c71ce55cc
zuma: move bootctrl service declaration to gs-common
...
Bug: 265063384
Change-Id: Ic37e0e5fc5aa4730afdd9378cf7123f9216fb573
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-11-27 17:34:32 +08:00
Jason Chiu
719c85d06e
zuma: move bootctrl hal to gs-common
...
Bug: 265063384
Change-Id: I03d2f96928cfa3d2dc8aa15ac285bdef05780bfd
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-11-27 17:34:03 +08:00
Tai Kuo
f9eedf7d34
Merge "Remove unused vibrator mk" into main
2023-11-27 08:00:23 +00:00
Tai Kuo
04d36f987f
Remove unused vibrator mk
...
Bug: 246459244
Test: n/a
Change-Id: I1b6f5411c38118e72d059c1c93c0a27dce7c1528
2023-11-27 14:27:27 +08:00
Treehugger Robot
9c8cb72283
Merge "allow vendor init to access percpu_pagelist_high_fraction" into main
2023-11-27 01:45:54 +00:00
Kyle Tso
9bd6f5ebd1
hal_usb_impl: Add get_prop for vendor_usb_config_prop am: 5775ea074a
am: 2816dc3328
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25353179
Change-Id: I8745571157eb29f5809b338383c11aa64a1c67ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-23 14:58:34 +00:00
Kyle Tso
2816dc3328
hal_usb_impl: Add get_prop for vendor_usb_config_prop am: 5775ea074a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25353179
Change-Id: Ie03d8b8da3e6ca672906764bebfc29ef6d3cf97e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-23 14:25:25 +00:00
Kyle Tso
5775ea074a
hal_usb_impl: Add get_prop for vendor_usb_config_prop
...
avc: denied { read } for comm="android.hardwar" name="u:object_r:vendor_usb_config_prop:s0" dev="tmpfs" ino=391 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:vendor_usb_config_prop:s0 tclass=file permissive=0
Bug: 310560098
Change-Id: I86588715cae2696dd0e045c5b75dde55e0f84c1e
Signed-off-by: Kyle Tso <kyletso@google.com>
2023-11-23 08:33:04 +00:00
Chia-Chi Teng
59af5f70be
Merge "Revert^3 "bluetooth: Allow triggering AOC reset from BT HAL"" into udc-qpr-dev am: edac582d40
am: 650409d4b4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25400378
Change-Id: I2003f92080f61363c0549d36a2a95c0ddf651a6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-23 08:11:42 +00:00
Chia-Chi Teng
650409d4b4
Merge "Revert^3 "bluetooth: Allow triggering AOC reset from BT HAL"" into udc-qpr-dev am: edac582d40
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25400378
Change-Id: I92c8528073ca783dba8f9de5c51dde3616da47c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-23 07:39:22 +00:00
Martin Liu
b25d110b38
allow vendor init to access percpu_pagelist_high_fraction
...
Bug: 309409009
Test: boot
Change-Id: I2a4b34e3318b5de8688fe25133d7839165a2566d
Signed-off-by: Martin Liu <liumartin@google.com>
2023-11-23 15:35:07 +08:00
Chia-Chi Teng
edac582d40
Merge "Revert^3 "bluetooth: Allow triggering AOC reset from BT HAL"" into udc-qpr-dev
2023-11-23 07:07:04 +00:00
Florian Mayer
251d00eb0e
Handle empty read from file.
...
Test: run /vendor/bin/dump/dump_power
Bug: 312681873
Change-Id: I8c49cf7f0048190f02d35d50984abca361d517f1
2023-11-22 11:49:27 +00:00
Randall Huang
60b467ac40
Move sg_device related policy
...
Bug: 312582937
Test: make selinux_policy
Change-Id: Ic6e1f6228764cd2ddc96d574a10838ca4bc05332
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-11-22 14:21:06 +08:00
Wilson Sung
039124e7a4
Update SELinux error
...
Test: SELinuxUncheckedDenialBootTest
Bug: 312590044
Change-Id: I24e5462f111f05d051d398487a5931d808cf3002
2023-11-22 03:15:40 +00:00
Martin Liu
e55232fbac
adjust PCP high level
...
We have observed more reclaiming activities as upstream
has changed how PCP high is calculated since 5.15 kernel.
Re-align the level back to 5.10 first so we can monitor
how it impacts the MM metrics.
Bug: 309409009
Test: boot
Change-Id: I7ac1eb88a8dae7c823330a2c75aec9547bd5c427
Signed-off-by: Martin Liu <liumartin@google.com>
2023-11-21 10:24:32 +00:00
kierancyphus
741d0c09d7
LogMaskLibrary: Add newlines and fix posix perms
...
Bug:302435001
Test: Manually build, flash, `adb shell ls -l \
/data/vendor/radio`
Change-Id: If2696c577e66ee27a042ebe8d6ff61a9e832caec
2023-11-21 05:52:39 +00:00
Bryan Lavrich
70a5a27331
Merge "aoc: add sysfs file entry" into main
2023-11-20 20:22:27 +00:00
Devika Krishnadas
9fcc03e099
Merge "Add Pixel Mapper as a sp-HAL" into main
2023-11-20 18:17:28 +00:00
Luis Delgado de Mendoza
e5f95d1fc7
Add sepolicy entries for new BT channel
...
Bug: 308452948
Test: Validated locally on husky.
Change-Id: I68bce4f12b086168bdcbe6193b07dd1c11097c2d
2023-11-17 20:03:39 -08:00
Luis Delgado de Mendoza
9344919fe5
Ueventd changes for new BT channel in zuma
...
Bug: 308452948
Test: Validated locally on husky.
Change-Id: I4534d3c007f93e7dbd2ec3ed1f32d30ba8a90ea9
2023-11-17 20:02:43 -08:00
Ruofei Ma
09160b77ca
Merge "Enable adaptive playback for BigWave" into udc-qpr-dev am: c9e0f1c3ed
am: 2fea711bd5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25398212
Change-Id: I1812a2e5cfd27cf19b397a39a21d67b8ab3d85a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 23:03:04 +00:00
Ruofei Ma
2fea711bd5
Merge "Enable adaptive playback for BigWave" into udc-qpr-dev am: c9e0f1c3ed
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25398212
Change-Id: I542cf8cbbf506b1ef8e71d86d93bf1d705013543
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 22:29:24 +00:00
RD Babiera
c92ee8d02a
Merge "usb: reattempt to enter displayport alt mode if driver entry process fails" into main
2023-11-17 22:12:05 +00:00
Ruofei Ma
c9e0f1c3ed
Merge "Enable adaptive playback for BigWave" into udc-qpr-dev
2023-11-17 22:02:44 +00:00
Kyle Tso
658c20d024
dontaudit on dir search for vendor_votable_debugfs
...
Bug: 305880925
Bug: 310539058
Change-Id: I5e13370fe5430f3dfbf73ccff787986fbe80f9ea
Signed-off-by: Kyle Tso <kyletso@google.com>
2023-11-17 05:21:48 +00:00
Kyle Tso
0c0ce3699a
Merge "hal_usb_impl: Add get_prop for vendor_usb_config_prop" into main
2023-11-17 03:51:44 +00:00
Chia-Chi Teng
d240d1b4e2
Revert^3 "bluetooth: Allow triggering AOC reset from BT HAL"
...
eb2dcaedc8
Change-Id: Idb64a3e6d60747273159682102a5367b99fe6833
2023-11-16 22:37:36 +00:00
Ruofei Ma
d7b343305d
Enable adaptive playback for BigWave
...
Bug: 309722491
Change-Id: Ibc5a88efc535cc847fbde45541d451ee97c65a1e
Signed-off-by: Ruofei Ma <ruofeim@google.com>
2023-11-16 18:04:53 +00:00
Jerry Huang
228db5e2a5
zuma: add c2.android.av1-dav1d.decoder in media_codecs_performance_c2.xml
...
c2.android.av1-dav1d.decoder is based on dav1d implementation.
This dav1d-based sw av1 decoder provides better decoding throughput
than the default gav1-based av1 decoder on mid-to-low-tier devices.
c2.android.av1.decoder will be deprecate eventually before that we keep
both decoders.
Bug: 309412792
Test: run cts -m CtsMediaDecoderTestCases -t android.media.decoder.cts.VideoDecoderPerfTest --module-arg CtsMediaDecoderTestCases:instrumentation-arg:codec-prefix:=c2.android.av1.decoder
Change-Id: Ib66db8bf037de5ece05047f98bc176a79aca8aa7
2023-11-16 12:26:50 +00:00
Devika Krishnadas
b5c8a252b2
Add Pixel Mapper as a sp-HAL
...
Bug: 267352318
Change-Id: I3068038eb51f1a78a2cd300a6b71d96a2647b641
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2023-11-16 01:25:45 +00:00
RD Babiera
04d1e94d10
usb: reattempt to enter displayport alt mode if driver entry process fails
...
In the kernel, it is possible for the DisplayPort Alt Mode
driver to queue an Enter Mode message to the tcpm and have
that message be interupted by a Power Role or Vconn swap,
which results in the Port Partner never entering Alt Mode.
Add a debounce that checks to make sure that the port partner
enters Alt Mode when DisplayPort Alt Mode is active on the
port. On trigger, reattempt to send Enter Mode through the
tcpm up to 2 times.
Test: Manual test on device - put device into Preferred
Source role, test to see if Alt Mode reentry triggers
when original entry is interrupted by PR Swap from
monitor.
Bug: 308383356
Change-Id: I96563c9900a01e428850e4873371bcdb0225aa07
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-11-15 22:08:36 +00:00
Angela Wu
ca8e0baee7
[automerger skipped] Allows GCA to access the hw_jpeg /dev/video12. am: 77ce612093
-s ours am: 4746ff1aee
-s ours
...
am skip reason: Merged-In I97a96bddaaca9e95f0596cd4eff0d7e80d6023d6 with SHA-1 6216625ef8
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25321138
Change-Id: Ia2f1c97331008bae978881fb6e3708f93964332b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 09:56:28 +00:00
Angela Wu
4746ff1aee
[automerger skipped] Allows GCA to access the hw_jpeg /dev/video12. am: 77ce612093
-s ours
...
am skip reason: Merged-In I97a96bddaaca9e95f0596cd4eff0d7e80d6023d6 with SHA-1 6216625ef8
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25321138
Change-Id: Iad6a9cc9166ae916b05fc137d5c39ed315f01309
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 09:06:56 +00:00
Angela Wu
77ce612093
Allows GCA to access the hw_jpeg /dev/video12.
...
Bug: 309578078
Test: https://android-build.corp.google.com/builds/abtd/run/L41100030000291922
Merged-In: I97a96bddaaca9e95f0596cd4eff0d7e80d6023d6
Change-Id: I5b1649ec393d2f998159299b0f4feddcde4da80f
2023-11-15 06:28:23 +00:00
Roy Luo
c55415c1e2
usb: update usb hal version to v3
...
Bug: 308700954
Test: atest vts_treble_vintf_vendor_test
Change-Id: I724a170a1403dec7eecbc33d7f532471f09b559f
2023-11-14 20:41:47 +00:00
Kyle Tso
8912975a8b
hal_usb_impl: Add get_prop for vendor_usb_config_prop
...
avc: denied { read } for comm="android.hardwar" name="u:object_r:vendor_usb_config_prop:s0" dev="tmpfs" ino=391 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:vendor_usb_config_prop:s0 tclass=file permissive=0
Bug: 310560098
Change-Id: I86588715cae2696dd0e045c5b75dde55e0f84c1e
Signed-off-by: Kyle Tso <kyletso@google.com>
2023-11-14 02:15:14 +00:00
Treehugger Robot
78a70da442
Merge "zuma: update AIDL IGoogleBattery manifest version to 3" into main
2023-11-13 06:58:05 +00:00
Alan Chen
128a61054b
Merge "Add extensive_logging config file" into main
2023-11-13 05:47:28 +00:00
Will McVicker
d6716ccd63
fstab: allow unlocked devices to boot with AVB test key am: 1bc7e21a38
am: 9e663230ab
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25347023
Change-Id: I21eed5267eeff6443478301fe9b039c27aaf3f99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-13 04:39:36 +00:00
Will McVicker
9e663230ab
fstab: allow unlocked devices to boot with AVB test key am: 1bc7e21a38
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25347023
Change-Id: I2af7647f22ccbee3b5dd55f8d022e444d3d461f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-13 04:07:51 +00:00
Will McVicker
1bc7e21a38
fstab: allow unlocked devices to boot with AVB test key
...
Set `avb_keys=no_such_key` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel. This allows a few things:
1) Dogfooders can flash a custom kernel without wiping their device.
This can help developers track down hard-to-reproduce bugs without
rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
device or packaging the kernel with an Android platform build.
Note: we are using "no_such_key" to ensure an AVB keys file doesn't
accidentally get created.
Test: Flash CI build. Then flash custom kernel on top.
Bug: 274825778
Change-Id: Ibf3cee491404b9efc18c49936edf64c2e3084adf
2023-11-11 15:44:29 -08:00
Jack Wu
5c6e25c1b1
zuma: update AIDL IGoogleBattery manifest version to 3
...
Bug: 309518527
Test: TH
Change-Id: I6f80e0456eb5906feb4a6b0243765cbf6978b051
Signed-off-by: Jack Wu <wjack@google.com>
2023-11-11 03:46:33 +00:00