Commit graph

2305 commits

Author SHA1 Message Date
Android Build Coastguard Worker
a837d59bb9 Snap for 12158986 from e155aa7c04 to 24Q4-release
Change-Id: Ia4c59bed91b891b10b1da191eff07741af54ea0c
2024-07-30 23:02:28 +00:00
YiKai Peng
e155aa7c04 WLC: service: add sepolicy for property vendor.wlcservice.test
avc:  denied  { read } for  comm="binder:882_3" name="u:object_r:default_prop:s0" dev="tmpfs" ino=172 scontext=u:r:hal_wlcservice:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0

Test: authentication test mode
Bug: 350830879
Flag: EXEMPT bugfix
Change-Id: Ie9f8fc5cce8e62b06931b77aa8cd16a3c9516fb5
Signed-off-by: YiKai Peng <kenpeng@google.com>
2024-07-30 08:53:50 +00:00
Android Build Coastguard Worker
63dc88c8cf Snap for 12129055 from 2b3c202bd2 to 24Q4-release
Change-Id: I8b2bb787b6d6655737430d6cbe569c42d5e24323
2024-07-23 23:02:17 +00:00
Treehugger Robot
2b3c202bd2 Merge "Adjust name of vendor_camera_image_processing_hal_service" into main 2024-07-22 19:24:18 +00:00
Cheng Gu
9d83f45ffb Adjust name of vendor_camera_image_processing_hal_service
Also removes vendor_camera_isp_service from sepolicy.

Bug: 354335791
Test: make
FLAG: EXEMPT bugfix
Change-Id: I1d1d2dd113676d0df5efc55d3a2fa931e3b9d588
2024-07-20 07:48:58 +00:00
Android Build Coastguard Worker
821bc67975 Snap for 12116631 from 826a8afe4c to 24Q4-release
Change-Id: Iee62a9b321686c5b56576a9237d7c8d6e11ffca0
2024-07-20 01:02:01 +00:00
Ernie Hsu
826a8afe4c Merge "mediacodec: fix sepolicy for video playback/recording" into main 2024-07-19 06:47:07 +00:00
Ernie Hsu
cbe40aac4f Merge "Move mediacodec hal setting to gs-common" into main 2024-07-19 05:13:45 +00:00
Feiyu Chen
aab6967f85 Merge "Allow Tachyon service to binder call a shell program" into main 2024-07-19 04:47:25 +00:00
feiyuchen
5c45a3e263 Allow Tachyon service to binder call a shell program
Our Tachyon tests are running as shell program. We need this CL, so we can successfully run the tests without `adb root`.

Bug: 353826183
Test: All tests in `run_tachyon_tests.py` passed after disabling the stress tests (cl/653778337)
Change-Id: I7275029f5a837243c81968d5b53ffc3b00ddf9a5
Flag: EXEMPT bugfix
2024-07-19 04:47:00 +00:00
Ernie Hsu
bbe999c372 mediacodec: fix sepolicy for video playback/recording
07-18 08:46:26.420   925   925 I CodecLooper: type=1400 audit(0.0:404): avc:  denied  { use } for  path="/dev/ashmemf7003569-92c8-48c6-bfdb-b7331af5f4e9" dev="tmpfs" ino=1121 scontext=u:r:mediacodec_google:s0 tcontext=u:r:mediaserver:s0 tclass=fd permissive=1
07-18 08:46:26.468   925   925 I HwBinder:925_3: type=1400 audit(0.0:405): avc:  denied  { use } for  path="/dmabuf:system-uncached" dev="dmabuf" ino=734 scontext=u:r:mediacodec_google:s0 tcontext=u:r:hal_graphics_allocator_default:s0 tclass=fd permissive=1
07-18 08:46:26.664   925   925 I HwBinder:925_4: type=1400 audit(0.0:406): avc:  denied  { use } for  path="anon_inode:sync_file" dev="anon_inodefs" ino=52 scontext=u:r:mediacodec_google:s0 tcontext=u:r:untrusted_app_27:s0:c83,c256,c512,c768 tclass=fd permissive=1
07-18 08:46:26.668   925   925 I HwBinder:925_5: type=1400 audit(0.0:407): avc:  denied  { use } for  path="anon_inode:sync_file" dev="anon_inodefs" ino=52 scontext=u:r:mediacodec_google:s0 tcontext=u:r:surfaceflinger:s0 tclass=fd permissive=1
07-18 08:46:26.696   925   925 I HwBinder:925_5: type=1400 audit(0.0:408): avc:  denied  { use } for  path="anon_inode:sync_file" dev="anon_inodefs" ino=52 scontext=u:r:mediacodec_google:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=fd permissive=1
07-18 08:46:29.392   925   925 I HwBinder:925_6: type=1400 audit(0.0:409): avc:  denied  { use } for  path="anon_inode:sync_file" dev="anon_inodefs" ino=52 scontext=u:r:mediacodec_google:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=fd permissive=1

Test: video playback, screen recording
Bug: 353638738
Change-Id: I071268d39cedf10b8f7c0ca0c9cb2bd33a367d09
2024-07-19 03:26:55 +00:00
Android Build Coastguard Worker
340698deeb Snap for 12110738 from f26bca6ccb to 24Q4-release
Change-Id: I267d0b06d61f8a35264a8b33ea4dbda3b8f3a9ae
2024-07-18 23:02:00 +00:00
Hongyang Jiao
f26bca6ccb Merge "Apply flag RELEASE_PACKAGE_BETTER_BUG" into main 2024-07-18 18:42:44 +00:00
feiyuchen
4a08cc17a9 Add missing SEPolicy for audio HAL to use EdgeTpu lib am: e0ddd9b2fa am: db1943023e
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3180719

Change-Id: I8c05d28aae1053889a4673a4a619c1462d642a16
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-18 16:43:38 +00:00
feiyuchen
db1943023e Add missing SEPolicy for audio HAL to use EdgeTpu lib am: e0ddd9b2fa
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3180719

Change-Id: I2dcc98a6f61057a525b97e03d42af852a45d9a54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-18 16:13:50 +00:00
Ernie Hsu
3b4a36a573 Move mediacodec hal setting to gs-common
Flag: EXEMPT refactor
Bug: 353638738
Change-Id: Id17997c75e7dc4f44d7ba8a3a98fa241052cbbff
2024-07-18 09:37:16 +00:00
feiyuchen
e0ddd9b2fa Add missing SEPolicy for audio HAL to use EdgeTpu lib
Copied from ag/27351988

Bug: 352789444
Test: Default presubmit. To be tested on device
Change-Id: I8a124d644906ffc622598ac0bf6079d704197a33
2024-07-18 00:28:25 +00:00
Android Build Coastguard Worker
a5443257db Snap for 12104175 from 4fa1df0c7c to 24Q4-release
Change-Id: I5395d2f059f88855f9a4f148f73b26d4000a7e68
2024-07-17 23:02:00 +00:00
Treehugger Robot
4fa1df0c7c Merge "[BT] change # of copy file when crash" into main 2024-07-17 04:44:32 +00:00
shihchienc
37cf26dae4 [BT] change # of copy file when crash
Bug: 353618079
Test: m
Test: make bt crash and check bugreport
Flag: NONE not related to logic change
Change-Id: I20a7e5b27b64f40ffa7ae3ced38f4044f2bf64b9
2024-07-17 03:23:38 +00:00
Minche Li
c4a241c72c Merge "Updates TTS voice packs in gs-common 202407" into main 2024-07-17 02:48:30 +00:00
Hongyang Jiao
a0e5b35936 Apply flag RELEASE_PACKAGE_BETTER_BUG
Flag: build.RELEASE_PACKAGE_BETTER_BUG
Bug: 353584670
Change-Id: I41b3fe23f68d46d29ef12692d00e1c6c1f7f141f
Test: manual test
2024-07-16 23:10:34 +00:00
Android Build Coastguard Worker
f6dbf8c55f Snap for 12098010 from 3582506fec to 24Q4-release
Change-Id: Ia585ff437af9b9adde70c9b31565ff8e9b645a53
2024-07-16 23:02:35 +00:00
Dinesh Yadav
3582506fec Allow camera HAL to access tachyon HAL
Bug: 352680961
Flag: EXEMPT updates device sepolicy only
Change-Id: I8383887e36340db67c595a12c11c336d3d9bf974
2024-07-16 04:31:02 +00:00
Android Build Coastguard Worker
2184dd7b23 Snap for 12091711 from 1a4e01ef9e to 24Q4-release
Change-Id: I98a41c54a2eb5869cfccfcb01ff6944ef798e481
2024-07-15 23:01:59 +00:00
Richard Chang
1a4e01ef9e sepolicy: allow powerhal to access vendor_mm dir
Error log:
auditd  : type=1400 audit(0.0:79): avc:  denied  { search } 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: 322916612
Test: check avc logs
Flag: EXEMPT bugfix
Change-Id: I0fa6ba0a11551646d76b65ec764b25cd697d0364
2024-07-15 06:39:22 +00:00
mincheli
3a090c42f9 Updates TTS voice packs in gs-common 202407
ag/28084993 update 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: Id942b52b763e519b25af9337b913a4599b249193
2024-07-15 04:00:32 +00:00
Android Build Coastguard Worker
e69717adc0 Snap for 12078078 from c1c7a5ff41 to 24Q4-release
Change-Id: I541c7a6d4d277a176b190c59a604434655c13c9c
2024-07-11 23:02:06 +00:00
Steven Tsai
c1c7a5ff41 Merge "Support AR one-shot fuse on the new platform" into main 2024-07-11 04:27:49 +00:00
Android Build Coastguard Worker
09e47ade08 Snap for 12072601 from 6344093af4 to 24Q4-release
Change-Id: I6563683a2df0d8d572990f676d57b4aab3e6a611
2024-07-11 01:02:28 +00:00
Baligh Uddin
6344093af4 Merge "Add dist_lyric_apex flag to lyric.mk" into main 2024-07-10 23:06:21 +00:00
Juan Yescas
488cbde222 Merge "Revert "Add a different implementation of insmod.sh"" into main 2024-07-09 23:46:59 +00:00
Juan Yescas
3b484f698e Revert "Add a different implementation of insmod.sh"
This reverts commit 99f848ed48.

Reason for revert: b/350767144#comment8

Bug: 350767144
Change-Id: I169af080656e8e871e3f6322b123eee8e681d530
2024-07-09 23:46:49 +00:00
Baligh Uddin
941dc90593 Add dist_lyric_apex flag to lyric.mk
This flag controls whether Lyric apex can be located in the dist-directory.

Flag: dist_lyric_apex
Change-Id: I7a87b2e0b1c220955aafda28173533bd4f6bcd52
BUG: 352009541
Test: TH
2024-07-09 23:22:59 +00:00
Steven Tsai
c984d655c2 Support AR one-shot fuse on the new platform
Bug: 351059371
Flag: EXEMPT bugfix
Change-Id: I14faf995aa259b607300616ba1a1ea6d24a92d2a
Signed-off-by: Steven Tsai <steventsai@google.com>
2024-07-05 15:34:07 +08:00
Android Build Coastguard Worker
d3fba7d53f Snap for 12048319 from bb0d0ca8ff to 24Q4-release
Change-Id: I10d2aa9c1121f78fbf42448b1dd1aed55ae9a174
2024-07-03 23:02:17 +00:00
Super Liu
bb0d0ca8ff touch: gti support sysfs_wakeup
07-03 02:59:22.526   517   517 W binder:517_5: type=1400 audit(0.0:18): avc:  denied  { read } for  name="wakeup36" dev="sysfs" ino=98946 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_touch_gti:s0 tclass=dir permissive=0
07-03 02:59:22.531   517  1547 E android.system.suspend-service: Error opening kernel wakelock stats for: wakeup36 (../../devices/virtual/goog_touch_interface/gti.0/wakeup36): Permission denied

Test: TH build pass
Bug: 335839116
Change-Id: I1840dc5433fd2bfd0722852e6b721c20ff14e39b
Signed-off-by: Super Liu <supercjliu@google.com>
2024-07-03 03:02:35 +00:00
David Lin
9e20095889 Merge "audio: add vendor serialno prop" into 24D1-dev am: 07890d909b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/28028457

Change-Id: I45639f601462a9400e9c5245429af434cb3d197c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 02:32:24 +00:00
David Lin
07890d909b Merge "audio: add vendor serialno prop" into 24D1-dev 2024-07-03 02:19:47 +00:00
Super Liu
f61d73580b Merge "Support touch sepolicy for spi20" into main 2024-07-03 01:49:48 +00:00
Android Build Coastguard Worker
fdaef4be49 Snap for 12042346 from 662ff8069f to 24Q4-release
Change-Id: Iceb070161425209ea9a0ca92e001c84f8c6c9afe
2024-07-02 23:02:51 +00:00
Super Liu
f897a71294 Support touch sepolicy for spi20
avc denied logs:
07-02 13:17:48.412     1     1 I auditd  : type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { read } for property=persist.sys.tap_gesture pid=0 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:gesture_prop:s0 tclass=file permissive=0'
07-02 13:17:56.204   315   315 I auditd  : type=1400 audit(0.0:20): avc:  denied  { write } for  comm="init" name="nvt_heatmap" dev="proc" ino=4026536248 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0

vendor_init change to access sysfs_touch from sysfs:
07-02 13:17:56.680     1     1 I init    : Command 'write /sys/devices/virtual/goog_touch_interface/gti.0/vendor_input/nvt_dttw_mode 1' action=vendor.all.modules.ready=1 (/vendor/etc/init/hw/init.rc:127) took 462ms and succeeded
ls -lZ /sys/devices/virtual/goog_touch_interface/gti.0/vendor_input/nvt_dttw_mode
-rw-r--r-- 1 system system u:object_r:sysfs:s0  4096 2024-07-02 13:17 /sys/devices/virtual/goog_touch_interface/gti.0/vendor_input/nvt_dttw_mode

Bug: 335839116
Test: TH pass
Change-Id: If1890defcb9400405071b1c669098d9d62bc56e4
Signed-off-by: Super Liu <supercjliu@google.com>
2024-07-02 14:15:46 +00:00
liangjlee
662ff8069f Create power folder and align pm_freeze_timeout settings with p22 am: 16b70cbf76
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/28051339

Change-Id: Ieee24d5babc7d61036cf80e6d0d52d92a2156860
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-02 09:36:37 +00:00
Treehugger Robot
a20a805fc0 Merge "gps: Add pps_assert sepolicy" into main 2024-07-02 06:51:49 +00:00
Android Build Coastguard Worker
c21a0d5372 Snap for 12037182 from 90ea9b5fca to 24Q4-release
Change-Id: I019eddf7c2a31bf69dfc26b92f71288de5297e3c
2024-07-01 23:07:34 +00:00
Tim Lin
90ea9b5fca Revert^2 "Support AIDL based radio HALs"
Enable AIDL for V requirement

AVC log in b/281968564#comment208 and go/v-ril-hal-migration
Forrest build result in go/v-ril-hal-migration

Bug: 281968564
Test: telephony function test
Flag: EXEMPT HAL interface change

9a26ed1a9b

Change-Id: I13117df3e25c01026c100207cc0d43aac8b82b7a
2024-07-01 08:32:25 +00:00
Pechetty Sravani
9a26ed1a9b Revert "Support AIDL based radio HALs"
Revert submission 27917806-v_hal_migration_phase3

Reason for revert: Droidmonitor created revert due to b/350390759. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:27917806-v_hal_migration_phase3

Change-Id: I466c1b61b86cb7a87f5a1a5ffbc0b4a86438beea
2024-07-01 06:11:17 +00:00
timtmlin
d44c33ec48 Support AIDL based radio HALs
Enable AIDL for V requirement

AVC log in b/281968564#comment208 and go/v-ril-hal-migration

Bug: 281968564
Test: telephony function test
Flag: EXEMPT HAL interface change

Change-Id: I9c1e9aecd8a9704fc290bdb3f66dc94d9e2e5073
2024-06-28 12:49:19 +00:00
Android Build Coastguard Worker
68adb28cfb Snap for 12025384 from 21f38c7d0d to 24Q4-release
Change-Id: If2fe899f02923da9af30093690b5211324bd03a3
2024-06-27 23:02:16 +00:00
liangjlee
16b70cbf76 Create power folder and align pm_freeze_timeout settings with p22
Create a new power folder for adding common settings among projects.
The first usage would be to align pm_freeze_timeout with p22.

Bug: 331612600
Test: cat /sys/power/pm_freeze_timeout and the value is correct.
Flag: EXEMPT (bug 337358613)
Change-Id: Ib8219114ec7d789ea3ee9a44863497d3751c0baf
Signed-off-by: liangjlee <liangjlee@google.com>
2024-06-27 02:27:20 +00:00