Commit graph

2706 commits

Author SHA1 Message Date
Android Build Coastguard Worker
2f139730bb Snap for 12241618 from e6a505e473 to 24Q4-release
Change-Id: I04553ac72931daf232f7dddc77b5d29c1b5e3ac7
2024-08-17 01:01:57 +00:00
Treehugger Robot
e6a505e473 Merge "Init widevine sepolicy" into main 2024-08-16 17:15:08 +00:00
Snehal
84aaa5491e Init widevine sepolicy
Bug: 354191444

Flag: EXEMPT bugfix

Change-Id: I331c31be2f1478b161a9af1d0c49506b717c30d2
2024-08-16 16:15:03 +00:00
Will Song
38522ec23e gs-common: Move cpufreq perf settings to gs-common
Moving common cpufreq perf settings to gs-common

Bug: 335874870
Flag: NONE code refactor
Test: boot and check parameters
Change-Id: I9038a54d782be75d520e611fd93d18b1880ae442
Signed-off-by: Will Song <jinpengsong@google.com>
2024-08-15 16:54:48 -07:00
Will Song
6a77a85f6a gs-common: Added common perf init.rc
Migrate configuratuions from devices setting to common folder
for kernel 6.1 devices.

Bug: 335874870
Flag: NONE code refactor
Test: Boot and check parameters
Change-Id: I3c204c1df36eda67744d085600a95ac8bb696da9
Signed-off-by: Will Song <jinpengsong@google.com>
2024-08-15 16:54:28 -07:00
Android Build Coastguard Worker
b4d0a2002a Snap for 12229688 from 722dbe869c to 24Q4-release
Change-Id: Ib02018a0dda57c28c143244d6dee6dc9554dc826
2024-08-14 23:02:08 +00:00
Devika Krishnadas
722dbe869c Merge "Rename arm-gralloc namespace to pixel-gralloc for mapper-version" into main 2024-08-14 18:06:09 +00:00
Devika Krishnadas
6d8cc33dde Rename arm-gralloc namespace to pixel-gralloc for mapper-version
Bug: 355046697
Test: Build and boot
Change-Id: Ic4e7bf898aec3bf37fe3b46d5109d06f86b13646
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2024-08-14 15:48:41 +00:00
Android Build Coastguard Worker
56b2e3c7a9 Snap for 12224018 from 805f6b577c to 24Q4-release
Change-Id: Ie6199d72d076854e23d98b6a54332095a2baf3a2
2024-08-13 23:02:25 +00:00
Treehugger Robot
60bd35ec38 Merge "Use Build-Time flag to choose build from source or use prebuilt" into main 2024-08-13 22:11:48 +00:00
Baligh Uddin
29b454da85 Use Build-Time flag to choose build from source or use prebuilt
BUG: 358627252
Test: Local build + TH
Change-Id: I4ef22dbe357bb04876e459061a694bfb146ae6e3
Flag: build.RELEASE_PIXEL_CAMERA_ENABLE_PREBUILT
2024-08-13 15:05:46 +00:00
Will Song
805f6b577c gs-common:performance: Add perf owner file am: 2c5b457e4b am: f14ff6e8dc
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3211739

Change-Id: Icc3d1cfa433589e2a3119990f757c0c25dd5dab0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-13 04:13:07 +00:00
Will Song
f14ff6e8dc gs-common:performance: Add perf owner file am: 2c5b457e4b
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3211739

Change-Id: Id7325b32068421ed33086cb3e2c11d09e1bef49d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-13 03:53:59 +00:00
Android Build Coastguard Worker
1ee3252730 Snap for 12217053 from c417cf5c11 to 24Q4-release
Change-Id: I7ad9535ec7c1198913215f029ec079814b61a601
2024-08-12 23:06:42 +00:00
Xin Li
3e8a1e1c86 [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: ee94facd74 -s ours
am skip reason: Merged-In I3a7fb89b44b8df11d5fd71ed8635576f7d74ff87 with SHA-1 875dd78991 is already in history

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

Change-Id: Ibe5f4894e08487e2b7719658ae7cfa414fec4a1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:01:29 +00:00
Super Liu
c417cf5c11 Merge "Refine the GTI dump order" into main 2024-08-12 06:17:17 +00:00
Will Song
2c5b457e4b gs-common:performance: Add perf owner file
Bug: 358659371
Change-Id: I23b5033435e1bc240eaabcd4213134195a34d3f8
Test: build
2024-08-09 20:55:42 +00:00
Super Liu
8aaaec0793 Refine the GTI dump order
Adjust the order to get the touch snapshot as soon as possible.
This will avoid the following operations to overwrite the touch
statistics for further analysis.

Bug: 356993163
Flag: EXEMPT bugfix
Test: Manual test.
Change-Id: I012544849868ca7b81c11ffa13858eaa209af5c5
Signed-off-by: Super Liu <supercjliu@google.com>
2024-08-09 01:47:32 +00:00
Xin Li
ee94facd74 Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
Bug: 347831320
Merged-In: I3a7fb89b44b8df11d5fd71ed8635576f7d74ff87
Change-Id: I11751a3d94188293cacbaa7dbd71b69b177b732f
2024-08-08 11:15:48 -07:00
YiKai Peng
5c3b95a98f WLC: service: update AIDL manifest version to 1-2
Test: Build/Flash
Bug: 357493518
Flag: vendor.google.wireless_charger.service.flags.enable_service
Change-Id: If318fd6fe855855a40fbb14157612b75149208cf
Signed-off-by: YiKai Peng <kenpeng@google.com>
2024-08-08 04:58:14 +00:00
Android Build Coastguard Worker
226dddf4d2 Snap for 12185670 from f91cdac2fe to 24Q4-release
Change-Id: Ice1efd8bc416ff71a69a53c14029f088d34c9a1e
2024-08-05 23:01:56 +00:00
Poomarin Phloyphisut
1ea1cff89a [USB Audio] Fix SEPolicy issue
Error:
avc:  denied  { search } for  name="01" dev="debugfs" ino=927573 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:vendor_usb_debugfs:s0 tclass=dir permissive=0

Bug: 342060153
Test: Local Test.
Flag: EXEMPT bugfix
Change-Id: I29a73a202b239cf37dc53ccf3ef83df3b693e717
2024-08-05 11:11:03 +00:00
Richard Chang
f91cdac2fe Merge "zram: Ensure 1.5 GB free space before creating zram backing device" into main 2024-08-05 09:06:06 +00:00
Richard Chang
bf04670197 zram: Ensure 1.5 GB free space before creating zram backing device
fs_mgr follows system property 'ro.zram_backing_device_min_free_mb'
to check available space before creating zram backing device.

Previously, in Repair Mode, it requires at least 2 GB to boot
successfully with 512 MB zram backing device size. So we can set
1.5 GB as the minimum threshold.

Bug: 322821637
Bug: 326877642
Test: Fill up userdata, enlarge zram backing device size on next
boot.
Test: Boot to Repair Mode
Flag: EXEMPT bugfix

Change-Id: I16c6f1649181af94347b4534c790522bfd2fc166
2024-08-05 09:04:34 +00:00
Cyan_Hsieh
ee9fc2619a Add FSTAB_OWNERS and update OWNERS to include Android.bp am: 70b62a2bcd am: 7c84d4f5d8
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3205326

Change-Id: I6dd88ed20fd36d030c05d521c354924f82755378
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-05 03:09:21 +00:00
Cyan_Hsieh
7c84d4f5d8 Add FSTAB_OWNERS and update OWNERS to include Android.bp am: 70b62a2bcd
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3205326

Change-Id: I2020275cf385bbdc63e2015ed2a91dfafb440c60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-05 02:46:52 +00:00
Cyan_Hsieh
70b62a2bcd Add FSTAB_OWNERS and update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:838218ded4fee43f7982438487a143f95d29c615)
Merged-In: I55736409ba04b348a75c2934686f9c1328223c1a
Change-Id: I55736409ba04b348a75c2934686f9c1328223c1a
2024-08-02 11:39:01 +00:00
Android Build Coastguard Worker
f56127c4de Snap for 12164422 from b8dbc2a0df to 24Q4-release
Change-Id: Ib0569018386969dbd8d5a273fe65e6ec2e189db2
2024-07-31 23:01:55 +00:00
Treehugger Robot
b8dbc2a0df Merge "sensors: Support registry dump on DEV device." into main 2024-07-31 03:37:58 +00:00
Android Build Coastguard Worker
a837d59bb9 Snap for 12158986 from e155aa7c04 to 24Q4-release
Change-Id: Ia4c59bed91b891b10b1da191eff07741af54ea0c
2024-07-30 23:02:28 +00:00
Rick Chen
35d4b2bf94 sensors: Support registry dump on DEV device.
Flag: EXEMPT bugfix
Bug: 356344263
Test: adb bugreport on DS.
Change-Id: Ifccf1ed18e01bd54bfbfd421969361734e631a32
Signed-off-by: Rick Chen <rickctchen@google.com>
2024-07-30 20:08:40 +08: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