Commit graph

2510 commits

Author SHA1 Message Date
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
ba09b1a269 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28028457'] into 24Q3-release.
Change-Id: I72686e6128a2583f0b48a62513770ce34c569b5e
2024-07-04 03:24:48 +00:00
Rios Kao
b5951eaeb0 audio: add vendor serialno prop
note:
      For some special device usage, the prop
      would be used for special setup.

Test: end-to-end validation.
Bug: 349276230
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:875dd78991c468e60a8437c9817dbabe71ef9b5d)
Merged-In: I3a7fb89b44b8df11d5fd71ed8635576f7d74ff87
Change-Id: I3a7fb89b44b8df11d5fd71ed8635576f7d74ff87
2024-07-04 03:08:15 +00: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
Android Build Coastguard Worker
2f7e9feb52 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28051496'] into 24Q3-release.
Change-Id: I3d8a93b1df256057a222837d837962ce9a2a1e73
2024-06-28 23:16:25 +00:00
liangjlee
fa0cce475e 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)
Signed-off-by: liangjlee <liangjlee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:21f38c7d0d5496fdf85419f7f37382a510599730)
Merged-In: Ib8219114ec7d789ea3ee9a44863497d3751c0baf
Change-Id: Ib8219114ec7d789ea3ee9a44863497d3751c0baf
2024-06-28 23:08:06 +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
liangjlee
21f38c7d0d 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:36:28 +08:00
Cheng Chang
c9160b5fc2 gps: Add pps_assert sepolicy
avc:  denied  { read } for  name="pps_assert" dev="sysfs" ino=104638 scontext=u:r:gpsd:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Bug: 258364350
Test: Verification at b/258364350.
Test: Function verification at b/258364350.
Test: Compile and verify the configuration is correct.
Change-Id: Id5589a798bc8535d069225778982a8be27898477
2024-06-25 10:12:25 +00:00
Rios Kao
875dd78991 audio: add vendor serialno prop
note:
      For some special device usage, the prop
      would be used for special setup.

Test: end-to-end validation.
Bug: 349276230
Flag: EXEMPT bugfix

Change-Id: I3a7fb89b44b8df11d5fd71ed8635576f7d74ff87
2024-06-25 09:24:40 +00:00
Android Build Coastguard Worker
9a8464ec90 Snap for 12007880 from 0dd653e624 to 24Q4-release
Change-Id: Ia360e5c291a4cabb3ba8b337d01d225e6825741d
2024-06-24 23:02:22 +00:00
Woody Lin
0dd653e624 gs_watchdogd: Use timeout defined by platform
Uses timeout value of watchdog device directly, without modifying it
with ioctl. On some platforms, especially these with multiple watchdog
devices, the timeout values can be strictly defined for the watchdogs to
timeout in a certain order. Leaves timeout value as it is and divides
minimal of them by 2 as watchdog kicking period.

Flag: EXEMPT normal/day-to-day bugfix
Bug: 348318712
Change-Id: Icdcce368f1803cd3b38a48f05e2788d881e3ad6f
2024-06-24 11:45:43 +08:00
Android Build Coastguard Worker
a09b0ebd20 Snap for 11996894 from b45af4f2a8 to 24Q4-release
Change-Id: I58768703a125d2172cccf2327720647ef85ea288
2024-06-20 23:02:15 +00:00
Xin Li
b45af4f2a8 [automerger skipped] Merge "Merge 24Q3 (ab/11976889) to aosp-main-future" into aosp-main-future am: ff902d4fd9 -s ours
am skip reason: Merged-In I188263ee9b186736a48fd3a0cfa83745e2e54108 with SHA-1 e15af041dd is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27908775

Change-Id: I8df31ecdebf037e99707da160528cd43b75fe558
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 20:55:48 +00:00
Xin Li
e3eb48f789 [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: ba94250476 -s ours
am skip reason: Merged-In I188263ee9b186736a48fd3a0cfa83745e2e54108 with SHA-1 e15af041dd is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27908775

Change-Id: Ie7c41132cd8b95aef6d6195bddb3046862f52a5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 20:55:43 +00:00
Xin Li
ff902d4fd9 Merge "Merge 24Q3 (ab/11976889) to aosp-main-future" into aosp-main-future 2024-06-20 20:22:34 +00:00
Android Build Coastguard Worker
87d52bdab4 Snap for 11992154 from bf85fe79bf to 24Q4-release
Change-Id: Icc8397acbafe77e35ec251d795ccc529cc932367
2024-06-19 23:02:02 +00:00
Utku Utkan
bf85fe79bf Merge "Move definition for vendor_camera_lyricconfigprovider_service into product" into main 2024-06-19 02:31:58 +00:00
Utku Utkan
360765f4f3 Merge "Move definition for vendor_camera_cameraidremapper_service into product" into main 2024-06-19 02:26:11 +00:00