Michael Bestas
6c534de061
gs-common: Remove zuma HIDL audio configuration
...
Change-Id: I72c988fb23b7dece6cbc0b18b28a6b37fee4b896
2025-06-26 06:20:40 +03:00
Michael Bestas
6b78398240
gs-common: Remove RELEASE_PIXEL_AIDL_BATTERY_MITIGATION_HAL guard
...
This has been enabled since a while, remove the aconfig dependency.
Change-Id: I0282a6b4e7aa9f7b110974837917b19e5afde22b
2025-06-26 06:20:40 +03:00
Michael Bestas
797741c2bf
gs-common: Drop pixelsystemservice sepolicy
...
We don't ship this app and it breaks the build since we are missing
its policies.
Change-Id: I136579fbd7c07de195b66b9f1e6b0fcb4bd3493a
2025-06-26 06:20:40 +03:00
Michael Bestas
02b9cc144c
gs-common: Remove non-existent vendor includes
...
Change-Id: I1bc76430d30259984f4eb91907be61ef39646c27
2025-06-26 06:20:40 +03:00
Michael Bestas
0dbbbc376c
gs-common: sepolicy: Import missing rules from BP2A
...
Change-Id: I70ebc8a2bce09d2590c24fc919b2804cef256568
2025-06-26 06:20:40 +03:00
Michael Bestas
edc3d90511
gs-common: Import wfc-pkt-router configuration from gs101
...
Change-Id: I929c92f633494ec22b7714d1efc58ccb68c2b861
2025-06-24 02:44:55 +03:00
Michael Bestas
22322941ea
gs-common: Remove userdebug/eng configuration
...
Change-Id: Ie1e8b6bbebdfac97f8bc382e41c70cc8a32caf07
2025-06-23 19:29:31 +03:00
Michael Bestas
dc28234ecd
gs-common: Update init scripts from BP2A
...
Change-Id: Ibb8d3715ec6cb9ebb5d89e116374d468dfcad826
2025-06-23 19:29:30 +03:00
Michael Bestas
eeb40af781
gs-common: Downgrade vendor.google.bluetooth_ext to match BP2A
...
Change-Id: I9b61349fe5aadd9b473a27c6866707fa8c07e942
2025-06-23 06:11:17 +03:00
Michael Bestas
e42f6f3d8e
gs-common: Update FCM for 16
...
Change-Id: I8ee67a706412502088bec78b261080eb4cea9894
2025-06-23 06:11:14 +03:00
Michael Bestas
50929e081f
Merge tag 'aml_tz6_351400020' into staging/lineage-23.0_merge-aml_tz6_351400020
...
aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)
# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
# eCi5AKCHAzJVFdsm++eJGXcPb6LbaKIGTQCcDiWODLyLOWCK64nt7tfCwTgUFCE=
# =3OQU
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar 18 02:18:39 2025 EET
# gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com >" [ultimate]
# By Jaegeuk Kim (6) and others
# Via Android (Google) Code Review (55) and others
* tag 'aml_tz6_351400020': (74 commits)
Fix comment
Adjust the version set in manifest xml and matrix xml
Add astd sepolicy to gs-common for P26 factory builds
Allow tachyon service to make binder calls to gca
display: add drm_atomic_state to debug-build bugreport
init.pixel-perf.rc: Setup default rampup multiplier and util_est
Allow write for restorecon
Dump F2FS disk_map and UFS phy version
Fix UFS err_stats
Fix selinux permission denials
move common init perf settings to gs_common
Revert "Set up access control rule for aocxd"
16KB: Move CopyEfsTest to device/google/gs-common
Revert^2 "Add Bluetooth extension HAL - CCO"
gs-common: wlc: add tx update permission for hal_googlebattery
Revert "Add Bluetooth extension HAL - CCO"
storage: fix userdata_exp.ai partition selinux error
Revert "move common init perf settings to gs_common"
insmod-sh: Allow writing to kmsg
RamdumpService: Fix the SELinux errors from introducing Firebase Analytics.
...
Conflicts:
display/dump_pixel_display.mk
Change-Id: Iaa05ef7e62a7b8320f320ad4db482998863fe136
2025-06-23 05:14:52 +03:00
Android Build Coastguard Worker
fb8021ba67
Snap for 13025264 from 3f842350d7 to mainline-tzdata6-release
...
Change-Id: Iea561daccd5edf37d16abe72bd7312abfbdeaad2
2025-02-06 14:21:03 -08:00
Treehugger Robot
3f842350d7
Merge "Fix comment" into main
2025-02-06 09:19:33 -08:00
Charlie Lin
be9f4c732e
Merge "Add astd sepolicy to gs-common for P26 factory builds" into main
2025-02-05 20:28:46 -08:00
Jaegeuk Kim
9409c3382e
Fix comment
...
Bug: 378120929
Flag: build.RELEASE_PIXEL_VENDOR_INTELLIGENCE_AID
Change-Id: I20b1fb2eb21d0db63c69d9eb30e89b0a824540f8
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com >
2025-02-05 20:13:18 -08:00
Martin Yan
8e57e75903
Merge "Adjust the version set in manifest xml and matrix xml" into main
2025-02-05 19:40:06 -08:00
Martin Yan
6e31d8db91
Adjust the version set in manifest xml and matrix xml
...
Bug: 361443653
Test: m and build pass
Flag: EXEMPT, this feature is related to CS which is controlled
by com.android.bluetooth.flags.channel_sounding_in_stack
Change-Id: I2f2f46cfd15ce0104a6309c8032f7f4ef5ba267a
2025-02-05 09:00:52 +00:00
Treehugger Robot
340cf2f377
Merge "display: add drm_atomic_state to debug-build bugreport" into main
2025-02-04 08:05:49 -08:00
Treehugger Robot
7196fcdb48
Merge changes Ia03cddd6,I8e174e37,I159f5bcf into main
...
* changes:
Allow write for restorecon
Dump F2FS disk_map and UFS phy version
Fix UFS err_stats
2025-02-03 08:58:52 -08:00
Charlie Lin
7f468a902f
Add astd sepolicy to gs-common for P26 factory builds
...
Bug: 391090956
Bug: 393999182
Flag: EXEMPT bugFix
Test: Compile successful.
Change-Id: Idfcbf96a52326b613684b680676f5213136f2326
2025-02-03 11:13:52 +00:00
Dinesh Yadav
25b66183cf
Allow tachyon service to make binder calls to gca
...
This permission is needed for tachyon service to call callbacks shared by clients of gxp/edgetpu device for tensor G5. As tachyon is present in pixel 6 where google_camera_app is not defined, I need to assign it here.
AVC Error seen when tachyon tries accessing GCA:
01-22 11:40:03.212 6987 6987 W com.google.edge: type=1400 audit(0.0:17): avc: denied { call } for scontext=u:r:edgetpu_tachyon_server:s0 tcontext=u:r:google_camera_app:s0:c145,c256,c512,c768 tclass=binder permissive=0
01-23 07:12:26.424 4166 4166 W com.google.edge: type=1400 audit(0.0:254): avc: denied { call } for scontext=u:r:edgetpu_tachyon_server:s0 tcontext=u:r:debug_camera_app:s0:c67,c257,c512,c768 tclass=binder permissive=0
Bug:391537620
Flag: EXEMPT updates device sepolicy only
Change-Id: I9dd78bd941b0de9057606409fd18632cc76f56b0
2025-02-02 20:02:52 -08:00
Taylor Nelms
7cbab2dea5
display: add drm_atomic_state to debug-build bugreport
...
AVC Error Log Justification:
[ 157.933663] type=1400 audit(1738255720.900:459): avc: denied { read } for comm="dump_pixel_disp" name="state" dev="debugfs" ino=105961 scontext=u:r:dump_pixel_display:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0
Bug: 393355365
Test: `adb bugreport`, check for "DRM State" entry
Flag: EXEMPT bugfix
Change-Id: Ibbf3fe022863644ecc137ab28d3a2409e701e104
Signed-off-by: Taylor Nelms <tknelms@google.com >
2025-01-30 11:50:13 -05:00
Qais Yousef
5201b55858
init.pixel-perf.rc: Setup default rampup multiplier and util_est
...
Bug: 335874870
Flag: EXEMPT not supported for init.rc files
Signed-off-by: Qais Yousef <qyousef@google.com >
Change-Id: I41f1235e8c6f1ec57af3962c2a6cbc9707444917
2025-01-28 17:45:04 +00:00
Piotr Klasa
5262751145
Merge "move common init perf settings to gs_common" into main
2025-01-28 03:12:07 -08:00
Jaegeuk Kim
b1072785ba
Allow write for restorecon
...
[ 8345.125689] type=1400 audit(1737841652.160:245): avc: denied { write } for comm="kworker/u16:2" path="/dev/block/sda34" dev="tmpfs" ino=1060 scontext=u:r:kernel:s0 tcontext=u:object_r:userdata_exp_block_device:s0 tclass=blk_file permissive=0
Bug: 361093433
Flag: EXEMPT bugfix
Change-Id: Ia03cddd6eebe9b8875bdbd1a8eb3a67f51269032
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com >
2025-01-25 16:27:47 -08:00
Jaegeuk Kim
7bd70d06d7
Dump F2FS disk_map and UFS phy version
...
[ 91.358748] type=1400 audit(1737771651.492:274): avc: denied { search } for comm="dump_storage" name="f2fs" dev="proc" ino=4026532053 scontext=u:r:dump_storage:s0 tcontext=u:object_r:proc_f2fs:s0 tclass=dir permissive=0
[ 49.564560] type=1400 audit(1737778106.496:153): avc: denied { read } for comm="dump_storage" name="f2fs" dev="proc" ino=4026532053 scontext=u:r:dump_storage:s0 tcontext=u:object_r:proc_f2fs:s0 tclass=dir permissive=0
[ 91.358930] type=1400 audit(1737771651.492:275): avc: denied { read } for comm="dump_storage" name="phy_version" dev="sysfs" ino=109125 scontext=u:r:dump_storage:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
[ 91.359249] type=1400 audit(1737771651.492:276): avc: denied { read } for comm="dump_storage" name="phy_release_date" dev="sysfs" ino=109126 scontext=u:r:dump_storage:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
Bug: 392193452
Flag: EXEMPT bugfix
Change-Id: I8e174e378064a94681f74a88ee13b4461527076a
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com >
2025-01-24 20:28:24 -08:00
Jaegeuk Kim
6151bff500
Fix UFS err_stats
...
Bug: 392193452
Change-Id: I159f5bcfb8de1b33f46ba860b4436d1dfc6907f2
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com >
2025-01-24 20:21:06 -08:00
Treehugger Robot
861f6bcf77
Merge "Revert "Set up access control rule for aocxd"" into main
2025-01-24 02:32:27 -08:00
Jaegeuk Kim
f329ce7a91
Fix selinux permission denials
...
[ 9.280675] type=1400 audit(1737659534.344:11): avc: denied { mounton } for comm="init" path="/data/vendor/intelligence" dev="dm-59" ino=490 scontext=u:r:init:s0 tcontext=u:object_r:intelligence_data_file:s0 tclass=dir permissive=0
Bug: 391452461
Flag: EXEMPT bugfix
Change-Id: I355c61bd2c5bb5af6d463cf84a3fc80093b16550
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com >
2025-01-23 17:15:16 -08:00
Piotr Klasa
924237f464
move common init perf settings to gs_common
...
compared to ag/31352563 I did not transfer the settings for "write /sys/devices/system/cpu/cpuidle/current_governor teo", which caused the problem
Test: Verified if all values of transferred settings are as they should be after rebooting the device, and and checked that there are no new selinux errors for hal_power_default, verified all metrics that caused power regression in the previous commit on abtd
Bug: 335874870
Flag: EXEMPT not supported by this component yet
Change-Id: If340ce8e8d3f3493045077470f8aa5560f9b313e
2025-01-23 03:35:46 -08:00
Zheng Pan
728e059b69
Revert "Set up access control rule for aocxd"
...
Revert submission 31133794-aocx_sepolicy
Reason for revert: http://b/391697603 build break
Reverted changes: /q/submissionid:31133794-aocx_sepolicy
Change-Id: I602d3ba880931a045146f216075f7baca513f0f3
2025-01-22 14:59:23 -08:00
Treehugger Robot
55c62e18d3
Merge "16KB: Move CopyEfsTest to device/google/gs-common" into main
2025-01-22 11:34:44 -08:00
Vilas Bhat
a61947b1c5
16KB: Move CopyEfsTest to device/google/gs-common
...
Additional changes
1. Android.bp lint/formatting error was resolved.
2. The regex pattern on line 78 in CopyEfsTest.java:
"line.split("(?<![\\\\])\s+")" was updated to
"line.split("(?<![\\\\])\\s+")" to resolve a presubmit error as \s is a
special character in Java.
(see https://errorprone.info/bugpattern/MisleadingEscapedSpace )
Bug: 390502355
Test: atest CopyEfsTest for Pixel 8 & 9 targets
Flag: EXEMPT bugfix
Change-Id: Iebcda9859666ff595b50b8105b7e841591ba3c67
2025-01-22 18:00:37 +00:00
Martin Yan
8d6007f19c
Merge "Revert^2 "Add Bluetooth extension HAL - CCO"" into main
2025-01-21 05:30:12 -08:00
Jerry Pai
894727003b
Revert^2 "Add Bluetooth extension HAL - CCO"
...
This reverts commit 3e78c36e5f .
Reason for revert: build break
ERROR: files are incompatible: The following instances are in the device manifest but not specified in framework compatibility matrix:
vendor.google.bluetooth_ext.IBluetoothCco/default (@1)
Bug: 361443653
Change-Id: I59f325ad1d8af5fca54cc9bb8a6208c5c8c20939
2025-01-21 01:57:41 -08:00
Piotr Klasa
79b5c54ba8
Merge "Revert "move common init perf settings to gs_common"" into main
2025-01-21 01:27:07 -08:00
Enzo Liao
763de77705
Merge "RamdumpService: Fix the SELinux errors from introducing Firebase Analytics." into main
2025-01-21 00:34:02 -08:00
Martin Yan
d95ffea63b
Merge "Revert "Add Bluetooth extension HAL - CCO"" into main
2025-01-20 22:36:41 -08:00
Treehugger Robot
6a42934470
Merge "gs-common: wlc: add tx update permission for hal_googlebattery" into main
2025-01-20 22:28:33 -08:00
Yi-Yo Chiang
2e8de0999f
insmod-sh: Allow writing to kmsg am: 51357e0322 am: cbb2324f5d
...
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3444122
Change-Id: Ib9cf4f6ab7267143ff445eaf30f798e55c584cdb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2025-01-20 21:43:41 -08:00
Yi-Yo Chiang
cbb2324f5d
insmod-sh: Allow writing to kmsg am: 51357e0322
...
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3444122
Change-Id: Ifb648b6ba43d4bc57a8846f3ebb1aaf878787bd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2025-01-20 21:19:12 -08:00
YiKai Peng
9b6b7e35b9
gs-common: wlc: add tx update permission for hal_googlebattery
...
Bug: 391056983
Test: trigger tx fwupdate
Flag: vendor.google.wireless_charger.service.flags.enable_service
Change-Id: I66e5fe88d43b8e33e3548d642f7ba89d63c96051
Signed-off-by: YiKai Peng <kenpeng@google.com >
2025-01-20 21:13:46 -08:00
Martin Yan
3e78c36e5f
Revert "Add Bluetooth extension HAL - CCO"
...
This reverts commit b25c089c59 .
Reason for revert: For now, adding Cco results in VTS failed, need to modify the version as well. We'll modify both this CL and aidl version in xml after we enable Cco.
Bug: 361443653
Change-Id: Ib4f84c749f626d3274eba4ad63ecca366715d128
2025-01-20 19:15:40 -08:00
Randall Huang
6cda4c1c19
storage: fix userdata_exp.ai partition selinux error
...
avc: denied { write } for comm="init" name="sda34" dev="tmpfs" ino=1296 scontext=u:r:init:s0 tcontext=u:object_r:userdata_exp_block_device:s0 tclass=blk_file permissive=1
Bug: 361093433
Test: boot without issue
Change-Id: I0c74eb19172f39c44fc2ca61ba0bb8e38c808556
Signed-off-by: Randall Huang <huangrandall@google.com >
2025-01-21 08:58:19 +08:00
Piotr Klasa
d88ced0ff8
Revert "move common init perf settings to gs_common"
...
Revert submission 31215196-move_common_init_perf_settings_to_gscommon
Reason for revert: Power Regression
Reverted changes: /q/submissionid:31215196-move_common_init_perf_settings_to_gscommon
Bug: 390502171
Change-Id: I9b11900fd61e7f7abae52597aef41f5ab3c8ebd0
2025-01-20 07:00:49 -08:00
Kai Hsieh
5468ea3a18
Merge "Add SEPolicy allowing GIA to communicate with Suez service" into main
2025-01-20 02:32:35 -08:00
Yi-Yo Chiang
51357e0322
insmod-sh: Allow writing to kmsg
...
modprobe would log errors to /dev/kmsg, need to explicit allow this.
```
avc: denied { write } for comm="modprobe" name="kmsg" dev="tmpfs" ino=5 scontext=u:r:insmod-sh:s0 tcontext=u:object_r:kmsg_device:s0 tclass=chr_file permissive=0
```
Bug: 388717752
Test: DeviceBootTest#SELinuxUncheckedDenialBootTest
Change-Id: I49a3e6a9f76f20151034cb00f772247b0e9c668e
2025-01-20 01:34:42 -08:00
Enzo Liao
dc83bcf6a5
RamdumpService: Fix the SELinux errors from introducing Firebase Analytics.
...
Fix the SELinux errors from introducing Firebase Analytics (ag/30936923):
01-16 10:44:12.432 W/ScionFrontendAp( 4336): type=1400 audit(0.0:17): avc: denied { read } for name="PrebuiltGmsCoreNext_DynamiteLoader.apk" dev="dm-59" ino=7119 scontext=u:r:ramdump_app:s0:c18,c257,c512,c768 tcontext=u:object_r:privapp_data_file:s0:c512,c768 tclass=lnk_file permissive=0 bug=b/385858590 app=com.android.ramdump
01-20 15:41:03.180 10754-10754 W/ScionFrontendAp: type=1400 audit(0.0:342): avc: denied { execute } for path="/data/user_de/10/com.google.android.gms/app_chimera/m/00000067/oat/arm64/PrebuiltGmsCoreNext_DynamiteLoader.odex" dev="dm-54" ino=80602 scontext=u:r:ramdump_app:s0:c13,c257,c522,c768 tcontext=u:object_r:privapp_data_file:s0:c522,c768 tclass=file permissive=0
Bug: 386149375
Flag: EXEMPT bugfix
Change-Id: Ia10a5585ebc8f4e895d4dc6ecf0d8cd4dc727ac8
2025-01-20 17:03:50 +08:00
Bowen Lai
f23d87650d
Merge "Set up access control rule for aocxd" into main
2025-01-19 19:15:30 -08:00
Hyungwoo Yang
3d542c3f96
Fix version mismatch in vintf manifest file
...
vintf manifest version doesn't match with acutal implementation.
Bug: 390520103
Test: atest vts_treble_vintf_vendor_test
Flag: EXEMPT vintf manifest version change
Change-Id: I25f77dcb6e2a344e44560ee9bcd408d650d7ae27
Signed-off-by: Hyungwoo Yang <hyungwooyang@google.com >
2025-01-19 22:21:10 +00:00
Vilas Bhat
fe6e700db0
Merge "Revert "Revert "16KB: Move copy_efs_file_to_data script to gs-co..."" into main
2025-01-17 11:04:09 -08:00
Ocean Chen
c8609b7e8b
gs-common: add pixelstats-vendor package and sepolicy
...
This commit adds the `pixelstats-vendor` package to the build
`BOARD_SEPOLICY_DIRS` to include the corresponding sepolicy rules.
Bug: 374323691
Test: forrest build
Flag: EXEMPT refactor
Change-Id: If85375f9ad3a1cb7f6301f9ad4c94f14ac8dc54e
2025-01-16 23:32:01 -08:00
YiKai Peng
59befd3c7f
Merge "gs-common: wlc: update compatibility matrix" into main
2025-01-16 17:51:31 -08:00
Vilas Bhat
0ec2cdae26
Revert "Revert "16KB: Move copy_efs_file_to_data script to gs-co..."
...
Revert submission 31345232-revert-31155502-move_copy_efs_script-IXYVMGOHBR
Reason for revert: Re-submitting with fix for breaking target
Reverted changes: /q/submissionid:31345232-revert-31155502-move_copy_efs_script-IXYVMGOHBR
Bug: 383151792
Flag: EXEMPT bugfix
Change-Id: I6ae4d5f26325e0cf732792483e056132226633e2
2025-01-16 17:09:09 -08:00
Priyanka Advani (xWF)
58410cd87d
Merge "Revert "16KB: Move copy_efs_file_to_data script to gs-common"" into main
2025-01-16 16:59:51 -08:00
Priyanka Advani (xWF)
0594fa2887
Revert "16KB: Move copy_efs_file_to_data script to gs-common"
...
Revert submission 31155502-move_copy_efs_script
Reason for revert: Droidmonitor created revert due to b/390502519. Will be verifying through ABTD before submission.
Reverted changes: /q/submissionid:31155502-move_copy_efs_script
Change-Id: Iba1b7ffca817e2750481f44c86a38b083b795353
2025-01-16 16:50:41 -08:00
Vilas Bhat
dcadf3aed6
Merge "16KB: Move copy_efs_file_to_data script to gs-common" into main
2025-01-16 16:30:54 -08:00
Vilas Bhat
23425fbc54
16KB: Move copy_efs_file_to_data script to gs-common
...
There are 4 partitions that are flashed at the factory and use F2FS
fs with 4KB block size:
- /dev/block/by-name/efs
- /dev/block/by-name/efs_backup
- /dev/block/by-name/modem_userdata
- /dev/block/by-name/persist
These partitions can NOT be mounted by 16KB kernels because F2FS
expects BLOCK_SIZE == PAGE_SIZE.
In order for the files in these partitions to be accessible to 16KB
kernels, the dump.f2fs tool is used.
This change will perform these steps at boot time ONLY for 16KB mode.
For every partition (efs/efs_backup/modem_userdata/persist):
1. Use dump.f2fs to copy the content of the partition
to /data/vendor/copied/<partition name>.img.
2. If the copy was succesfull, rename /data/vendor/copied/<partition
name>.img to /data/vendor/copied/<partition name>
3. fsync the content of the directory /data/vendor/copied/<partition
name>.
After the content of the partitions is in /data/vendor/copied,
bind-mount the partitions to the directory /mnt/vendor. See
conf/fstab.efs.from_data.
Note: This change ONLY applies to 16KB kernels. This change does not
modify the original partitions.
Test: Boot test and Enable16kbTest for Pixel 8 & Pixel 9 targets
Fingerprint and Phone Calls work in 16KB mode
Bug: 383151792
Flag: EXEMPT bugfix
Change-Id: Ib67fd8678f8bd97bd50663657046c28137bd4435
2025-01-16 13:45:48 -08:00
YiKai Peng
ed91971d1a
gs-common: wlc: update compatibility matrix
...
Bug: 375156879
Test: Manual
Flag: EXEMPT HAL interface change
Change-Id: I446505624af157d7e723b7ba0203d51b5529b8d1
Signed-off-by: YiKai Peng <kenpeng@google.com >
2025-01-16 03:07:38 -08:00
Piotr Klasa
cf818e3bc5
Merge "move common init perf settings to gs_common" into main
2025-01-16 01:38:35 -08:00
Bowen Lai
cb1a8297c3
Set up access control rule for aocxd
...
avc:
12-25 14:34:43.292 root 7005 7005 W binder:7005_1: type=1400 audit(0.0:23): avc: denied { call } for scontext=u:r:aocxd:s0 tcontext=u:r:aocxdallowdomain:s0:c512,c768 tclass=binder permissive=0
11-27 14:56:33.645 1000 422 422 E SELinux : avc: denied { find } for pid=7360 uid=10267 name=aocx.IAocx/default scontext=u:r:aocxdallowdomain:s0:c512,c768 tcontext=u:object_r:aocx:s0 tclass=service_manager permissive=0
Test: make -j64
Bug: 385663354
Flag: EXEMPT bugfix
Change-Id: I7888e89710cfb671fb26180f8b2bc3152e1ced89
2025-01-15 23:39:08 -08:00
Kai Hsieh
b7aa4a2742
Add SEPolicy allowing GIA to communicate with Suez service
...
Attached AVC error log in commit message:
```
[ 68.276362] SELinux: avc: denied { find } for pid=6775 uid=0 name=android.frameworks.stats.IStats/default scontext=u:r:gia:s0 tcontext=u:object_r:fwk_stats_service:s0 tclass=service_manager permissive=1
[ 68.280115] type=1400 audit(1736239951.684:21): avc: denied { call } for comm="binder:6775_3" scontext=u:r:gia:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1
```
Flag: build.RELEASE_PIXEL_GIA_ENABLED
Test: Manualy, check `dmesg` to make sure that the cooresponding service can be started normally.
Bug: 369965212
Change-Id: I26d4b324f1359b1b895ea8d3fd51c0877098c5ea
Signed-off-by: Kai Hsieh <kaihsieh@google.com >
2025-01-16 10:47:24 +08:00
Piotr Klasa
3e2cacbc1e
move common init perf settings to gs_common
...
Test: Verified if all values of transferred settings are as they should be after rebooting the device, and and checked that there are no new selinux errors for hal_power_default
Bug: 335874870
Flag: EXEMPT not supported by this component yet
Change-Id: Ic544aa854962b0d975316113abbe798e34288155
2025-01-14 14:12:13 +00:00
Treehugger Robot
244e746f73
Merge "gs-common: nfc: Add rules for vendor_init" into main
2025-01-14 02:56:09 -08:00
Kai Hsieh
e350d201d3
Merge "Include GIA only on needed, expose GIA permission only if the target service exists" into main
2025-01-13 23:09:38 -08:00
Kai Hsieh
fed627115e
Include GIA only on needed, expose GIA permission only if the target service exists
...
Flag: EXEMPT, bugfix only.
Bug: 388685884
Test: Factory, AOSP and Pixel build success.
Test: Pixel System Service can access GIA features on Pixel device builds.
Test: GIA exists on factory builds.
Change-Id: I12f55f1ce1c717da6d6c45edbb92854f7efa53e5
Signed-off-by: Kai Hsieh <kaihsieh@google.com >
2025-01-13 20:01:49 -08:00
George Chang
30664a1604
gs-common: nfc: Add rules for vendor_init
...
avc: denied { set } for property=persist.vendor.nfc.streset pid=340 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_nfc_prop:s0 tclass=property_service permissive=1
Bug: 388949600
Bug: 381405365
Flag: EXEMPT update sepolicy
Test: SELinuxUncheckedDenialBootTest
Change-Id: If34f3ea1229ed8025c56ce6a8cf315218ae5a86f
2025-01-13 04:57:54 -08:00
Naresh Kumar Podishetty (xWF)
5997295f8b
Merge "Revert "modem: Add kernel metrics log to bugreport"" into main
2025-01-10 00:23:44 -08:00
Naresh Kumar Podishetty (xWF)
677274ccf1
Revert "modem: Add kernel metrics log to bugreport"
...
This reverts commit 92ce682a8e .
Reason for revert: <Reason for revert: Dorid monitor: Likely culprit for b/388963512 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>
Change-Id: I5db1d095aa0960c7445f390b68d7dbe293ecc4b3
2025-01-09 22:12:35 -08:00
Eileen Lai
d3da929dc3
Merge "modem: Add kernel metrics log to bugreport" into main
2025-01-09 20:22:21 -08:00
Eileen Lai
92ce682a8e
modem: Add kernel metrics log to bugreport
...
Test: adb bugreport
Bug: 368510043
Flag: EXEMPT use property flag: persist.vendor.modem.qms.kernel_metrics_collection
Change-Id: I874157f12308194f38f67755abbcf2ba7efe3c7a
2025-01-10 02:49:50 +00:00
Hyungwoo Yang
6b14c86389
Merge "Add sepolicy for Twoshay Notification Service" into main
2025-01-09 10:34:09 -08:00
Treehugger Robot
854d1bb51c
Merge "Remove -pedantic" into main
2025-01-08 16:34:23 -08:00
Treehugger Robot
dc14dee43f
Merge "thermal: update sepolicy for thermal powercap framework" into main
2025-01-08 14:34:48 -08:00
Aditya Kumar
9ca0a241e2
Remove -pedantic
...
Bug: b/383382218
Test: m
Flag: TEST_ONLY
Change-Id: I612a5104379d56e4d9d6322cb2645aa8f8100cc6
2025-01-08 14:31:30 -08:00
Brian Norris
83637f6db5
Merge "insmod.sh: Fix 'setprop' syntax" into main
2025-01-08 14:04:49 -08:00
Treehugger Robot
a5d9d5630b
Merge "gs-common: nfc: Add rules for hal_nfc_service" into main
2025-01-08 12:45:08 -08:00
Brian Norris
17719c9da4
insmod.sh: Fix 'setprop' syntax
...
These all require a value.
Bug: 360934165
Test: run `/vendor/bin/insmod.sh` with a missing cfg file
Flag: EXEMPT bugfix
Change-Id: If6b3b95f1eb4fcc21ca9d3f47c174af80ee98187
2025-01-08 10:14:32 -08:00
Treehugger Robot
dda10db0c0
Merge "dump_gps: fix dump fail if gps folder existed" into main
2025-01-08 00:14:16 -08:00
George Chang
dfe9a2d4b5
gs-common: nfc: Add rules for hal_nfc_service
...
avc: denied { set } for property=persist.vendor.nfc.antenna.am_value pid=13816 uid=1027 gid=1027 scontext=u:r:hal_nfc_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0
avc: denied { set } for property=persist.vendor.nfc.antenna.i_value pid=13816 uid=1027 gid=1027 scontext=u:r:hal_nfc_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0
avc: denied { set } for property=persist.vendor.nfc.antenna.se1_value pid=13816 uid=1027 gid=1027 scontext=u:r:hal_nfc_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0
avc: denied { set } for property=persist.vendor.nfc.antenna.se2_value pid=13816 uid=1027 gid=1027 scontext=u:r:hal_nfc_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0
avc: denied { set } for property=persist.vendor.se.reset pid=14792 uid=1027 gid=1027 scontext=u:r:hal_nfc_default:s0 tcontext=u:object_r:vendor_secure_element_prop:s0 tclass=property_service permissive=0
avc: denied { read } for name="u:object_r:vendor_nfc_antenna_prop:s0" dev="tmpfs" ino=414 scontext=u:r:untrusted_app:s0:c79,c257,c512,c768 tcontext=u:object_r:vendor_nfc_antenna_prop:s0 tclass=file permissive=0 app=com.google.android.apps.internal.nfcassistancetool
Bug: 381405365
Flag: EXEMPT update sepolicy
Test: manual
Change-Id: Ib02cebc625965928286dba7be278f6998ecdabe4
2025-01-08 07:33:39 +00:00
Hyungwoo Yang
f720f9e87e
Add sepolicy for Twoshay Notification Service
...
Test: The notification service is successfully running.
Flag: com.google.android.input.twoshay.flags.enable_notification_service
Bug: 385001604
Change-Id: I8bb8a894ecc88d588e867022a0c61d8d8a5560ca
Signed-off-by: Hyungwoo Yang <hyungwooyang@google.com >
2025-01-08 07:16:16 +00:00
Edwin Tung
8e3e5d6db1
dump_gps: fix dump fail if gps folder existed
...
Flag: EXEMPT logs collection.
Bug: 387195808
Test: check gps files in dumpstate
Change-Id: I972645e70827de0aad949d607809d655351c121a
2025-01-08 13:58:18 +08:00
Jaegeuk Kim
787e3b81dd
Mount rw to get restorecon_recursive working
...
Bug: 378120929
Test: Boot and check selabel in /data/vendor/intelligence
Flag: EXEMPT bugfix
Change-Id: I0d3d391629248f7014c28b5f74bb95b50626c99d
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com >
2025-01-07 16:42:24 -08:00
Richard Chang
cc790dd80c
Merge "dumpstate: add readtracefs group permission for vendor dumpstate service" into main
2025-01-06 22:10:06 -08:00
Android Build Coastguard Worker
87077ce11a
Snap for 12872597 from 7bc11b8bba to mainline-tzdata6-release
...
Change-Id: I15371109b930e9427a27967d1d0699dc52183ff8
2025-01-06 04:35:10 -08:00
Richard Chang
0c57ab86da
dumpstate: add readtracefs group permission for vendor dumpstate service
...
Fix the permission problem when bugreport wants to read pixel trace
node /sys/kernel/tracing/instances/pixel/trace.
Bug: 387943504
Test: adb bugreport
Test: adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default dump_memory
Test: system-ui trigger bugreport
Flag: EXEMPT bugfix
Change-Id: I2e666e8a1e40bce83b1f8c1b447e2d64e8912098
2025-01-06 03:27:35 -08:00
Martin Yan
7bc11b8bba
Merge "Add Bluetooth extension HAL - CCO" into main
2025-01-06 01:07:53 -08:00
Martin Yan
b25c089c59
Add Bluetooth extension HAL - CCO
...
Bug: 361443653
Test: build pass
Flag: EXEMPT, this feature is related to CS which is controlled
by com.android.bluetooth.flags.channel_sounding_in_stack
Change-Id: I92d27664c05ed1c2ec043b9b2efa186ff5405170
2025-01-06 09:04:46 +00:00
Treehugger Robot
9b0da94086
Merge "Add feature recording critical timestamps to track to predump latency." into main
2025-01-05 23:58:06 -08:00
Midas Chien
f2ebdb354d
Merge "allow power hal to access display files" into main
2025-01-05 23:12:53 -08:00
Kai Hsieh
a736c0013e
Add feature recording critical timestamps to track to predump latency.
...
Test: Manually, flash and trigger predump and check the timestamp recorded under: /data/vendor/dump_touch/ folder
Bug: 387909187
Flag: EXEMPT log only update
Change-Id: Ib926efecb27e6df02927eba0353a1c18cb04d27d
Signed-off-by: Kai Hsieh <kaihsieh@google.com >
2025-01-05 22:54:40 -08:00
Midas Chien
6a918f2bd3
allow power hal to access display files
...
avc: denied { write } for name="early_wakeup" dev="sysfs" ino=110609 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:sysfs_display:s0 tclass=file permissive=1
avc: denied { open } for path="/sys/devices/platform/sswrp_dpu@ec00000/ee00000.dc9x00/early_wakeup" dev="sysfs" ino=110609 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:sysfs_display:s0
class=file permissive=1
Bug: 350981178
Test: PowerHAL can access early_wakeup node in enforcing mode
Flag: EXEMPT bugfix
Change-Id: Ic9d619e971059d9b496a9e5c146089a01f6a0431
2025-01-05 20:22:27 -08:00
Eileen Lai
8ada857980
Merge "kernel metrics: add selinux policy for kernel metrics feature" into main
2025-01-05 19:41:56 -08:00
TeYuan Wang
d6d0daa2fa
thermal: update sepolicy for thermal powercap framework
...
Bug: 381132895
Test: check no selinux denied log
Flag: EXEMPT sepolicy change
Change-Id: Id6578c3f3eefdc6dc09fe0d7b469da7c8877d9d2
2025-01-03 23:10:25 -08:00
Cheng Chang
72d5eb8a6e
Merge "dump_gps: Support thinmd logs collect" into main
2025-01-03 01:02:14 -08:00
Leonardo Blanger
2d245f83c6
Merge "twoshay: Add AIDL api v4 to compat. matrices and manifest files" into main
2025-01-02 22:36:47 -08:00
Cheng Chang
fe1d00ff58
dump_gps: Support thinmd logs collect
...
Flag: EXEMPT logs collection.
Bug: 386286230
Test: b/386286230#comment3 bugreport example.
Change-Id: I93d385cd1a03aa55f63520626072d1bf7ccedb86
2025-01-03 04:54:53 +00:00
Eileen Lai
6e56542845
Merge "kernel metrics: add selinux policy about modem_boot_duration for kernel metrics feature" into main
2025-01-02 17:48:40 -08:00
Eileen Lai
ca670f1106
kernel metrics: add selinux policy for kernel metrics feature
...
Add selinux policy for modem_wakeup_ap, pcie_link_state, pcie_link_duration, pcie_link_stats, pcie_link_updown
Bug: 368510043
01-03 00:28:02.216 952 952 I binder:952_2: type=1400 audit(0.0:1550): avc: denied { read } for name="modem_wakeup_ap" dev="sysfs" ino=146476 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:28:02.216 952 952 I binder:952_2: type=1400 audit(0.0:1551): avc: denied { open } for path="/sys/kernel/pixel_metrics/modem/modem_wakeup_ap" dev="sysfs" ino=146476 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:28:02.216 952 952 I binder:952_2: type=1400 audit(0.0:1552): avc: denied { getattr } for path="/sys/kernel/pixel_metrics/modem/modem_wakeup_ap" dev="sysfs" ino=146476 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:36:43.740 988 988 I binder:988_2: type=1400 audit(0.0:970): avc: denied { read } for name="pcie_link_state" dev="sysfs" ino=153493 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:36:43.740 988 988 I binder:988_2: type=1400 audit(0.0:971): avc: denied { open } for path="/sys/kernel/pixel_metrics/modem/pcie_link_state" dev="sysfs" ino=153493 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:36:43.740 988 988 I binder:988_2: type=1400 audit(0.0:972): avc: denied { getattr } for path="/sys/kernel/pixel_metrics/modem/pcie_link_state" dev="sysfs" ino=153493 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:44:06.248 1001 1001 I binder:1001_2: type=1400 audit(0.0:1045): avc: denied { read } for name="pcie_link_duration" dev="sysfs" ino=153542 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:44:06.248 1001 1001 I binder:1001_2: type=1400 audit(0.0:1046): avc: denied { open } for path="/sys/kernel/pixel_metrics/modem/pcie_link_duration" dev="sysfs" ino=153542 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:44:06.248 1001 1001 I binder:1001_2: type=1400 audit(0.0:1047): avc: denied { getattr } for path="/sys/kernel/pixel_metrics/modem/pcie_link_duration" dev="sysfs" ino=153542 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:49:48.640 966 966 I binder:966_2: type=1400 audit(0.0:1124): avc: denied { read } for name="pcie_link_stats" dev="sysfs" ino=153354 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:49:48.640 966 966 I binder:966_2: type=1400 audit(0.0:1125): avc: denied { open } for path="/sys/kernel/pixel_metrics/modem/pcie_link_stats" dev="sysfs" ino=153354 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:49:48.640 966 966 I binder:966_2: type=1400 audit(0.0:1126): avc: denied { getattr } for path="/sys/kernel/pixel_metrics/modem/pcie_link_stats" dev="sysfs" ino=153354 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:58:31.152 945 945 I binder:945_2: type=1400 audit(0.0:973): avc: denied { read } for name="pcie_link_updown" dev="sysfs" ino=153308 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:58:31.152 945 945 I binder:945_2: type=1400 audit(0.0:974): avc: denied { open } for path="/sys/kernel/pixel_metrics/modem/pcie_link_updown" dev="sysfs" ino=153308 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
01-03 00:58:31.152 945 945 I binder:945_2: type=1400 audit(0.0:975): avc: denied { getattr } for path="/sys/kernel/pixel_metrics/modem/pcie_link_updown" dev="sysfs" ino=153308 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/369735902
Flag: EXEMPT update sepolicy
Change-Id: I86908fccb65944a8bbc779b5bae38d08c1776c45
2025-01-02 18:09:35 +00:00
Treehugger Robot
e57feb6c21
Merge "Revert "Set up access control rule for aocxd"" into main
2024-12-30 17:42:21 -08:00
Leonardo Blanger
57c69f455f
twoshay: Add AIDL api v4 to compat. matrices and manifest files
...
Bug: 384567963
Test: atest vts_treble_vintf_vendor_test
Flag: EXEMPT AIDL API version change
Change-Id: I01e1487a324c5d930364ff20fb5120a92db62afc
Signed-off-by: Leonardo Blanger <leoblanger@google.com >
2024-12-30 15:23:38 +08:00
Wilson Sung
132d2f2515
Revert "Set up access control rule for aocxd"
...
This reverts commit f3564e9b91 .
Reason for revert: BB
Change-Id: If529dbe90cdae4cd9266af85de63bb8a4f808977
Fix: 386696682
2024-12-29 19:41:00 -08:00
Hung-Yeh Lee
06d1a53ceb
Merge changes from topic "b376426334-dump-display" into main
...
* changes:
display-dump: sepolicy for new secondary display dump
display-dump: sepolicy for legacy secondary display dump
display-dump: sepolicy for new primary display dump
display-dump: sepolicy for legacy primary display dump
display-dump: update project-specific crtc sysfs node
2024-12-29 18:31:49 -08:00
Bowen Lai
09f71b4f37
Merge "Set up access control rule for aocxd" into main
2024-12-26 22:39:47 -08:00
Hung-Yeh Lee
0dcf585cd6
display-dump: sepolicy for new secondary display dump
...
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I5186dfa9de755caa5023d159cb3cc1601268aa6a
2024-12-26 22:16:12 -08:00
Hung-Yeh Lee
c980a0a5c1
display-dump: sepolicy for legacy secondary display dump
...
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I903eb0d954f18b1501787d1292497696f1886437
2024-12-26 22:15:51 -08:00
Hung-Yeh Lee
19268ffb20
display-dump: sepolicy for new primary display dump
...
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I3b1d1f46ddea4882f028d9314cfd174371039925
2024-12-26 22:14:20 -08:00
Hung-Yeh Lee
33f5985af3
display-dump: sepolicy for legacy primary display dump
...
Create sub-directory for project-specific sepolicy files, and move
legacy sepolicy files to sub-directory.
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I7de8667b666d7f47c05b147a1f9e7da62ba35e1c
2024-12-26 22:13:48 -08:00
Bowen Lai
f3564e9b91
Set up access control rule for aocxd
...
Test: make -j64
Bug: 385663354
Flag: EXEMPT bugfix
Change-Id: I1b6584a0643085e9d69c85b27a0ba3667aacf1cf
2024-12-26 04:23:08 +00:00
Jooyung Han
72bec82019
Merge "Move lyric sysconfig to vendor" into main
2024-12-25 17:24:55 -08:00
Treehugger Robot
338f8db4dc
Merge "Rename sysfs_gpu_uevent to sysfs_gpu" into main
2024-12-25 02:11:21 -08:00
Wilson Sung
e3c536e772
Rename sysfs_gpu_uevent to sysfs_gpu
...
Fix: 385248542
Fix: 385248720
Fix: 385248893
Fix: 385248956
Fix: 385808247
Fix: 385978257
Test: make selinux_policy
Flag: EXEMPT bugfix
Change-Id: I8395401e50905bdcabd4858442238570edb916e9
2024-12-25 00:20:24 -08:00
Todd Poynor
cfa4033ecc
Merge "Revert "sepolicy: edgetpu: add debugfs contexts"" into main
2024-12-24 05:46:01 -08:00
Pechetty Sravani (xWF)
19b79e1312
Revert "sepolicy: edgetpu: add debugfs contexts"
...
This reverts commit 4b68ad6e8d .
Reason for revert: <Droidmonitor created revert due to b/385827654.Will be verified through ABTD for standard investigation.>
Change-Id: I0fbdcd276c9e20010b3bfbbcad5203bf276859a4
2024-12-24 01:42:39 -08:00
Robin Peng
c7b8062120
Merge "check_current_prebuilt: Move symlink file into out/pixel" into main
2024-12-23 19:59:52 -08:00
Treehugger Robot
896ea46985
Merge "sepolicy: edgetpu: add debugfs contexts" into main
2024-12-23 19:56:58 -08:00
Jooyung Han
31e885a477
Move lyric sysconfig to vendor
...
This sysconfig is about the apex (com.google.pixel.camera.hal). So it
should be installed with the apex, not in /product.
Bug: 375357389
Test: SysConfigTest#testVendorApexAllowlist
Change-Id: I551870fcff576527d3fdfff3d17a5e7b0ce198a9
2024-12-24 10:38:36 +09:00
Liz Prucka
327eb5b7eb
Merge "Add Mali SELinux build flag for Pixel" into main
2024-12-23 09:09:23 -08:00
Robin Peng
6940a61c92
check_current_prebuilt: Move symlink file into out/pixel
...
From Android Build System, it's improper to update the source tree during
'lunch'. Move symlink files into out/pixel folder
Bug: 364831620
Flag: EXEMPT export current prebuilt path
Change-Id: I5024788e169abb8f117a289c6a07e7c47527fe60
Signed-off-by: Robin Peng <robinpeng@google.com >
2024-12-20 23:08:43 -08:00
Kai Hsieh
b24840ba97
Merge "Solve SEPolicy issue with the Troubleshooting Wizard" into main
2024-12-20 22:34:57 -08:00
Kai Hsieh
13dcd24c48
Solve SEPolicy issue with the Troubleshooting Wizard
...
- Allow pixelsystemservice_app to access GIA
- Allow GIA to execute a callback for pixelsystemservice_app
[avc error]
12-09 20:39:51.287 416 416 E SELinux : avc: denied { find } for pid=5454 uid=10285 name=com.google.input.gia.core.IGiaService/default scontext=u:r:pixelsystemservice_app:s0:c29,c257,c512,c768 tcontext=u:object_r:hal_gia_service:s0 tclass=service_manager permissive=1
12-09 20:39:51.280 5454 5454 I pool-4-thread-1: type=1400 audit(0.0:19): avc: denied { call } for scontext=u:r:pixelsystemservice_app:s0:c29,c257,c512,c768 tcontext=u:r:gia:s0 tclass=binder permissive=1 app=com.google.android.pixelsystemservice
12-09 20:39:51.280 5454 5454 I pool-4-thread-1: type=1400 audit(0.0:20): avc: denied { transfer } for scontext=u:r:pixelsystemservice_app:s0:c29,c257,c512,c768 tcontext=u:r:gia:s0 tclass=binder permissive=1 app=com.google.android.pixelsystemservice
12-09 20:39:51.280 1341 1341 I binder:1341_3: type=1400 audit(0.0:21): avc: denied { call } for scontext=u:r:gia:s0 tcontext=u:r:pixelsystemservice_app:s0:c29,c257,c512,c768 tclass=binder permissive=1
Flag: EXEMPT, bug-fix only.
Bug: 379991501
Change-Id: I14942cc0df9b9032b2c054fc87d29fc8098aa455
Signed-off-by: Kai Hsieh <kaihsieh@google.com >
2024-12-19 23:39:24 -08:00
Todd Poynor
4b68ad6e8d
sepolicy: edgetpu: add debugfs contexts
...
Add vendor_edgetpu_debugfs contexts for dumpstate dump_tpu.sh access.
Bug: 349699101
Test: adb bugreport, check dumpstate_board.txt
Flag: NONE dumpstate support bundled with device
Change-Id: I42b7eb2391c42323c7da0b544402e9a08b9d56f3
Signed-off-by: Todd Poynor <toddpoynor@google.com >
2024-12-20 01:27:48 +00:00
Chintan Pandya
c5c4f1ef81
Disable redundant trace event for performance reasons
...
It's been found that every GIA trace events takes about
0.7 us. GIA driver throws 5 trace events for every IRQ
via GIA. Reducing some events would make IRQ handler
flow a but more optimized.
Bug: 380463996
Test: observed the trace and the disabled trace entries
are not longer present, reducing pressure on runtime
performance as well as memory pressure on trace buffer.
Flag: EXEMPT, optimize interrupt tracing.
Change-Id: I233d82da7a6eb75344afe3798c9f850a74e5e16b
Signed-off-by: Chintan Pandya <chintanpandya@google.com >
2024-12-19 22:59:37 +00:00
Chintan Pandya
60a9a7b17b
Optimize interrupts trace buffer size
...
Reduce the trace buffer size further
Bug: 383121598
Test: Manually observed the optimized trace settings
Flag: EXEMPT, optimize interrupt tracing.
Change-Id: Id6e02df4d73a97b99a019b210dbd508b115462fc
Signed-off-by: Chintan Pandya <chintanpandya@google.com >
2024-12-19 22:59:37 +00:00
Chintan Pandya
a67610e46e
Update irq_gia_google permission
...
Current permission 666 blocks bugreport use-case be able to
copy interrupt traces into bugreport. Provide required
permissions.
Bug: 376124648
Test: Captured bugreport and traces are visible in that.
Flag: EXEMPT, init rc change to modify permission
Change-Id: Ib03ab97fcd65d18e2420421f8fc997eefd55570f
Signed-off-by: Chintan Pandya <chintanpandya@google.com >
2024-12-19 22:59:25 +00:00
Hung-Yeh Lee
bbe22a1056
display-dump: update project-specific crtc sysfs node
...
Refactor and rename project-specific dump
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I7bf470e5784e0fd726c49823b55aae6235aceaec
2024-12-18 21:59:42 -08:00
Liz Prucka
bfa32da350
Add Mali SELinux build flag for Pixel
...
Created initial Pixel SELinux flag module.
Added Mali release flag to build be built by soong.
Bug: 384720119
Test: make
Change-Id: Iffcae7bc64114b80b2750da8823768a15efff9b3
2024-12-17 23:11:31 +00:00
Richard Chang
e67bff18e9
Merge "sepolicy: update init.te for zram device" into main
2024-12-16 17:34:47 -08:00
Minche Li
a12a209a03
Merge "Updates TTS voice packs in gs-common 202412" into main
2024-12-16 02:34:58 -08:00
Richard Chang
cf29787f8d
sepolicy: update init.te for zram device
...
Sync patch from zuma: ag/21578379, but move to gs-common.
Avc denied log:
avc: denied { write } for comm="init" name="zram0" dev="tmpfs" ino=1306 scontext=u:r:init:s0 tcontext=u:object_r:ram_device:s0 tclass=blk_file permissive=1
Verify on PBuilds:
https://android-build.corp.google.com/abtd/run/L32800030008398424/
Bug: 370643878
Test: Boot and check avc denied logs
Flag: EXEMPT sepolicy
Change-Id: I90ea0b248835fa51fe07cfa23e5f819fd8422c08
2024-12-16 01:32:02 -08:00
Eileen Lai
a8634006fb
kernel metrics: add selinux policy about modem_boot_duration for kernel metrics feature
...
Bug: 368510043
12-13 23:10:00.604 993 993 I binder:993_2: type=1400 audit(0.0:327): avc: denied { read } for name="modem_boot_duration" dev="sysfs" ino=72272 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs_kernel_metrics:s0 tclass=file permissive=1
12-13 23:10:00.604 993 993 I binder:993_2: type=1400 audit(0.0:328): avc: denied { open } for path="/sys/kernel/pixel_metrics/modem/modem_boot_duration" dev="sysfs" ino=72272 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs_kernel_metrics:s0 tclass=file permissive=1
12-13 23:10:00.604 993 993 I binder:993_2: type=1400 audit(0.0:329): avc: denied { getattr } for path="/sys/kernel/pixel_metrics/modem/modem_boot_duration" dev="sysfs" ino=72272 scontext=u:r:shared_modem_platform:s0 tcontext=u:object_r:sysfs_kernel_metrics:s0 tclass=file permissive=1
Flag: EXEMPT update sepolicy
Change-Id: Id50146858f84d3716855b9010e95c7232c6accfa
2024-12-16 07:09:01 +00:00
Xiaofan Jiang
da6c722022
Merge "modem_uart: add modem uart log to bugreport" into main
2024-12-14 00:08:31 -08:00
Xin Li
aa687b7c4c
[automerger skipped] Merge 24Q4 into AOSP main am: b61a4f4345 -s ours am: 261899fc1b -s ours
...
am skip reason: Merged-In I96f429ec3284114868ad220ea308a6920930c065 with SHA-1 421324351c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/29954999
Change-Id: I461895b52139d919f3bdc7b4475e117e110cb816
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-12-13 21:45:19 -08:00
Xin Li
261899fc1b
[automerger skipped] Merge 24Q4 into AOSP main am: b61a4f4345 -s ours
...
am skip reason: Merged-In I96f429ec3284114868ad220ea308a6920930c065 with SHA-1 421324351c is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3413779
Change-Id: Ia0e940e4a7404c36f40cfb677226e1fe508951c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-12-13 18:51:51 -08:00
Xin Li
b61a4f4345
Merge 24Q4 into AOSP main
...
Bug: 370570306
Merged-In: I96f429ec3284114868ad220ea308a6920930c065
Change-Id: I8967334343407bc9eab73bb0ade0b939e3aa7873
2024-12-13 11:15:09 -08:00
Kieran Cyphus
d2295d66e6
Merge "pms: Create mk file in gs-common" into main
2024-12-13 00:41:27 -08:00
kierancyphus
9a52810bab
pms: Create mk file in gs-common
...
Bug: 382192979
Test: ran abtd test with both git_main and git_main-without-vendor
Flag: EXEMPT Cannot flag mk file changes
Change-Id: Ic7fc13ad191abb1147f35d8d4bd1fd02dc56e772
2024-12-13 10:27:37 +08:00
mincheli
ae9ffbc0b3
Updates TTS voice packs in gs-common 202412
...
ag/30871748 updates GoogleTTS.
So preloaded TTS voice packs should be also updated.
And see doc, Preload Google Text-to-Speech (TTS) Voice Packs:
The voice packs are dowloanded follow the steps.
Flag: EXEMPT update preloaded files
Bug: 333626474
Test: build passed and manual test
Change-Id: I982df07d49c4be47e819ebe561d5d53212c40b32
2024-12-13 00:27:55 +00:00
Treehugger Robot
5a51adbdd3
Merge "allow power hal to access vendor_mm files" into main
2024-12-12 15:11:48 -08:00
Martin Liu
437d35e7cb
allow power hal to access vendor_mm files
...
I auditd : type=1400 audit(0.0:79): avc: denied { write } for comm="NodeLooperThrea" name="vendor_mm" dev="sysfs" ino=56518 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:sysfs_vendor_mm:s0 tclass=dir permissive=0
Bug: 357995885
Test: check avc error
Flag: EXEMPT adding avc rule
Change-Id: I1261aa14f2cd912ede51edc2e1a547d2e182ca46
Signed-off-by: Martin Liu <liumartin@google.com >
2024-12-12 13:38:20 +00:00
Xiaofan Jiang
e319e6c3e4
modem_uart: add modem uart log to bugreport
...
Bug: 353397822
Flag: NONE, config
Change-Id: I9668f70859796ca4475dfa0456a955ac3a7ada5d
2024-12-11 18:40:52 -08:00
Piotr Klasa
78f0d4c8e6
Move all vendor_sched parameters and permissions to init.pixel.perf.rc
...
Bug: 335874870
Test: Checked that permissions and values for all affected files are correct (ls -l, cat)
Flag: EXEMPT not supported by this component yet
Change-Id: Ia6dedcb49534d6be9007addca0d8d1080f219315
2024-12-11 06:35:06 -08:00
Joe Tessler
737725ba27
Support IAudioExtension AIDL v4 and v5
...
We unfroze the v4 IAudioExtension AIDL API and modified it in
ag/30424231 and incremented the version to v5 in ag/30702418 to fix the
tests. This broke the -next builds, which expected the previously frozen
version (v4).
This change modifies the compatibility matrix to support both v4 and v5.
This fixes both the local tests and -next builds.
Bug: 378303588
Bug: 383213634
Test: atest vts_treble_vintf_vendor_test
Flag: vendor.google.whitechapel.audio.flags.enable_always_available_display
Change-Id: I467434ccb41ab71dc1b230e64dc09fc0959a8b8a
2024-12-10 04:15:21 +00:00
Joe Tessler
7ee457daf9
Merge "Update IAudioExtension AIDL to v5" into main
2024-12-10 02:56:27 +00:00
Dmitry Skiba
ae00670e9c
Merge "Reapply "Add amm experiment."" into main
2024-12-09 23:57:53 +00:00
Dmitry Skiba
c0ac52ad63
Reapply "Add amm experiment."
...
See go/pixel-perf-amm-experiment for more info.
(This change is a reland of ag/30770395 after fixing issues that caused a revert.)
Bug: 365855872
Test: build/flash; set .Perf__amm_experiment=true, observe auto_migration_margins_enable value changing 1->0; set .Perf__amm_experiment="", observe the value changing 0->1
Flag: NONE controlled by Mendel instead
Change-Id: I833ea7cd104b95abf80f2286e91f96a102d8086a
Signed-off-by: Dmitry Skiba <dskiba@google.com >
2024-12-09 18:20:00 +00:00
Joe Tessler
ae42297f0f
Update IAudioExtension AIDL to v5
...
We unfroze the v4 IAudioExtension AIDL API and modified it in
ag/30424231, meaning we need to increment references AIDL version
elsewhere to take advantage of the new functionality (and to make tests
happy).
We will freeze the IAudioExtension AIDL API as v5 at a later date.
Bug: 378303588
Test: atest vts_treble_vintf_vendor_test
Flag: vendor.google.whitechapel.audio.flags.enable_always_available_display
Change-Id: I94434fcc2802c8759b59a0004aca1be603e7e88e
2024-12-05 04:27:25 +00:00
Android Build Coastguard Worker
0eedc805e0
Snap for 12605939 from 31cb3f5521 to mainline-tzdata6-release
...
Change-Id: I52e4a8f9924ba01518dc96884db8e3b08e79a935
2024-11-05 10:09:33 +00:00
Android Build Coastguard Worker
fbcc92b639
Snap for 12462067 from 0a9c248adb to mainline-tzdata6-release
...
Change-Id: Ibd1a88a27aa18f771950e8d76954a90fc6089aba
2024-10-07 08:57:19 +00:00
Android Build Coastguard Worker
ea2ca6992f
Snap for 12238800 from 722dbe869c to mainline-tzdata6-release
...
Change-Id: I7ac66c38bd66baa994d2bb7a82c1d6ec45a9ca0c
2024-08-16 12:56:31 +00:00
Android Build Coastguard Worker
f6954b2ba3
Snap for 12034474 from 9a26ed1a9b to mainline-tzdata6-release
...
Change-Id: I8a415b43b06cca60caa484fcefd6737c21e5d397
2024-07-01 08:33:47 +00:00
Android Build Coastguard Worker
13811d2a7f
Snap for 11947112 from 5f01cd2856 to mainline-tzdata6-release
...
Change-Id: I15b058571185470de2d5ce987ce7526a95d5623b
2024-06-10 10:12:42 +00:00
Android Build Coastguard Worker
b0c3134c36
Snap for 11919022 from 85ff832530 to mainline-tzdata6-release
...
Change-Id: I931fa0e3500b9e5d9cdf23dedad04273c22ddfb6
2024-06-03 15:30:40 +00:00
Android Build Coastguard Worker
f95db50ffd
Snap for 11607654 from 7a5eea3546 to mainline-tzdata6-release
...
Change-Id: I815a03e79286bcd252ca78b0bc100f8fb41d9110
2024-03-21 12:27:17 +00:00