Commit graph

567 commits

Author SHA1 Message Date
Priyanka Advani
c8575dabaa Revert "Enable AIDL media.c2"
Revert submission 26384060-c2aidl-pixel-enable

Reason for revert: Culprit for b/335892284. Will be verifying through ABTD for confirmation and before submitting the revert.

Reverted changes: /q/submissionid:26384060-c2aidl-pixel-enable

Change-Id: I2f3473c028953db80791f8c2d4ff274379333fcd
2024-04-19 20:44:22 +00:00
Wonsik Kim
44d7a91524 Enable AIDL media.c2
Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: I1285da3e7a81570effa822d17e34d07737c91a72
2024-04-19 19:09:49 +00:00
Shashwat Razdan
53a6e73e3d Revert "Adding android.software.contextualsearch to gs-101 devices."
Revert submission 26467635-feature_cs

Reason for revert: b/329350496 - Introducing new config with `android.*` namespace is not allowed in 24Q2.

Reverted changes: /q/submissionid:26467635-feature_cs

Change-Id: Iafa5ea79e03f2406246b8cb9478600998f93a64f
2024-04-17 22:44:00 +00:00
Hongyang Jiao
a8926c3bac Add betterbug.mk to gs101 am: 7b56585224
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/26986836

Change-Id: I3407413b3a0345a6f2fa5e46e8ba01ea36cbffe9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:10:56 +00:00
Daniel Chapin
f8d7cf3e95 Revert "Add betterbug mk to gs101" am: 439d541d18
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/26630856

Change-Id: I84a7107d1410039c8318292b51ad9526f2d8a7c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:08:41 +00:00
Hongyang Jiao
7b56585224 Add betterbug.mk to gs101
Test: manual test
Bug: 322543833
Change-Id: Iccf4ceabd1c994b804de9e74b50fa8a0ca936af6
2024-04-16 22:57:07 +00:00
Daniel Chapin
439d541d18 Revert "Add betterbug mk to gs101"
Revert submission 26348985-bb-sepolicy-poc

Reason for revert: Droidfood blocking bug: b/327991669

Bug: 327991669

Reverted changes: /q/submissionid:26348985-bb-sepolicy-poc
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a43fedce4ef60251336a86c470250b2dfb8c9f3e)
Merged-In: I88a445da895c373c0a53c8a2f08726582c27be77
Change-Id: I88a445da895c373c0a53c8a2f08726582c27be77
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-04-16 22:47:39 +00:00
Barry
b234a074ba [Bluetooth] Disable BT auto on feature
Set bluetooth.server.automatic_turn_on false for disable Bluetooth Auto
On feature

Bug: 333830114

Test: make
Change-Id: Idcb80dad26f3a1bf928be9f83fd328712ca71a78
2024-04-11 15:15:40 +00:00
Enzo Liao
98d7af4bf7 Apply common SELinux policies related to ramdumps and coredumps to gs101.
Refer: ag/26620507

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
Change-Id: Ic465edc3914f2815b3696f7b1c7e3475bcbc2acc
2024-04-11 02:03:11 +00:00
Dinesh Yadav
333cdc1663 TPU Abrolhos Tachyon Migration
This change includes tachyon targets for edgetpu in the final image

TESTED:
Create a private build with this change and verified that the tachyon targets were present after flashing on a local device.

Bug: 307591410
Change-Id: I0894b8830cb62801c659a9b4d4f7a1ae6d851795
2024-04-08 16:11:19 +00:00
Herbert Xue
462a14e19d Update SOONG_NAMESPACES to include power-anomaly-sitril folder
Bug: 326175117
Test: 1. lunch raven-trunk_staging-userdebug
      2. m PowerAnomalySitril
Change-Id: I1599390860676ed2ec334e69e6b4c417ecca6095
2024-03-28 04:59:25 +00:00
Shashwat Razdan
4bb66fedc8 Adding android.software.contextualsearch to gs-101 devices.
Bug: 326143814
Test: Built and tested on device
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4ff9169f2f92191802e70fadb83810d03d2e9952)
Merged-In: Id45a24ec3361caade132836e5e849940efa6ac2c
Change-Id: Id45a24ec3361caade132836e5e849940efa6ac2c
CP feature CLs to 24d1-dev
2024-03-13 23:58:19 +00:00
Hongyang Jiao
5e69a4432a Add betterbug.mk to gs101
Test: manual test
Bug: 322543833
Change-Id: Iccf4ceabd1c994b804de9e74b50fa8a0ca936af6
2024-03-13 04:29:58 +00:00
Raphael Herouart
26a23b76de [Trusty] tipc-test is missing for p21.
Bug: 328562462

Test: Local build Pass.
Change-Id: Idb98464ef1f0a15087b124d50edb4691d39046c5
2024-03-07 14:05:07 +00:00
Shashwat Razdan
4ff9169f2f Adding android.software.contextualsearch to gs-101 devices.
Bug: 326143814
Test: Built and tested on device
Change-Id: Id45a24ec3361caade132836e5e849940efa6ac2c
2024-03-06 16:32:59 +00:00
Daniel Chapin
a43fedce4e Revert "Add betterbug mk to gs101"
Revert submission 26348985-bb-sepolicy-poc

Reason for revert: Droidfood blocking bug: b/327991669

Bug: b/327991669

Reverted changes: /q/submissionid:26348985-bb-sepolicy-poc

Change-Id: I88a445da895c373c0a53c8a2f08726582c27be77
2024-03-05 20:38:07 +00:00
Barry
3c31047ecf BT: set system property for Bluetooth Auto On
Set bluetooth.server.automatic_turn_on true for Bluetooth Auto On
feature.
The feature will be enabled with both system property and flag set.

Bug: 328168526
Test: check system property value
Change-Id: If7e9c3bab450dead2cfd46dddc55d293ccab3d92
2024-03-05 11:48:09 +00:00
Mark Chang
9ad27501e4 Add sepolicy include to gs101.
Bug: 325422902
Test: Manual, system booted without sepolicy denied error.

Change-Id: I2149188a925cc94aea077e9b6fb78cc850660dd7
Signed-off-by: Mark Chang <changmark@google.com>
2024-03-05 05:31:39 +00:00
Devika Krishnadas
f2d8196441 Move Gralloc packages to gs-common
Bug: 275906497
Test: Boot succeeds

Change-Id: I879a5ef8365abe018c501cdb0b06c9753e0e5902
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2024-03-04 22:13:50 +00:00
Hongyang Jiao
7e12c967fb Add betterbug mk to gs101
Bug: 322543833
Test: local test, recorded in http://shortn/_iEz9DTCHgo
Change-Id: Id10b95f2c0169f036f759a513cf16703d5f4e732
2024-03-01 01:10:43 +00:00
Lei Ju
b87b77a43a [gs101] Enable Multiclient HAL
Test: 1) complile and flash a gs101 device, passed PTS and CHQTS;
      2) checked logs to make sure no sepolicy violations

Bug: 247124878
Change-Id: I77925374dee75076de1820227cc8879a053af09b
2024-02-20 21:12:15 +00:00
Mark Chang
76895c0293 Move manifest entries to gs-common.
Bug: 322914403
Bug: 324214410
Test: build succeeds on all devices, failing tests pass.
Change-Id: I69b1cb9118b077d8594a6dcd5bc8643ffd417820
Signed-off-by: Mark Chang <changmark@google.com>
2024-02-11 23:03:52 +00:00
Richard Hsu
4bf2e493a8 [Refactor] Include edgetpu targets in final image
Make the EdgeTPU targets defined in <soc>/proprietary visible by product packages included in edgetpu.mk.

Bug: 323601370

Tested:
No functionality change. Edgetpu services still work.

Change-Id: Ic1acd66301f7eefc3f5282545f612721c59e6e23
2024-02-09 21:55:09 +00:00
Joen Chen
69fc18eb88 gs101: enable dynamic color mode
Enable dynamic color mode to reduce the power overhead of color space
conversion when GPU composition exists.

Bug: 315787778
Test: check "dumpsys SurfaceFlinger" and state of display color service
when playing SDR/HDR video

Change-Id: Ie9e87091385ab5247141bf956fbaba3275cc6811
2024-02-05 04:26:11 +00:00
Leon Scroggins III
1acd6a2870 gs101: Remove sysprop forcing renderengine to skiaglthreaded
This is already the default, so no need to set via sysprop. Moving
forward, we will set this using flags, unless a particular category
of device needs to override the flag.

Bug: 293371537
Test: NA
Change-Id: Ifd34f14af1948b0d30d0583e4ed71d32680b5c99
2024-02-02 14:28:28 +00:00
Devika Krishnadas
9903962c79 Revert^3 "Use graphics allocator 2"
0a894f5d0d

Reverting to comply with the Allocator VTS for 24Q1, do not merge to main.

Bug: 310046460
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I57a9dc98122f312ad98dacbab343d7eb98700cec
2024-01-11 20:58:19 +00:00
wenchangliu
d662abbfbc gs101: uses Codec2 HIDL 1.2 service
- Include mediacodec_samsung setting from gs-common
- Enable Codec2 HIDL 1.2 from BoardConfig and update
manifest hidl version for samsung.hardware.media.c2

Bug: 318793681
Test: run cts -m CtsMediaDecoderTestCases
Test: run cts -m CtsMediaPlayerTestCases
Test: run vts -m vts_treble_vintf_vendor_test
Change-Id: I5679bee76ca0ff7f430797ed261069e0f7fc3937
2024-01-09 14:49:56 +00:00
Limon Mia
2bbde5e0ce Packed vendor log to bugreport for P21 and B3
Bug: 316071157
Test: enable vendor log and take bugreport
Flag: .
Change-Id: I748d2c2bd260b4fcd71f7bb78fe12e43e903555d
2023-12-29 05:35:43 +00:00
Jason Chiu
a2074a4363 gs101: use android.hardware.boot aidl interface
Bug: 314215524
Change-Id: Ie66c1d5288cfa363ac41d578fd7c03a95eee361e
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-06 02:48:41 +00:00
Jason Chiu
845ec9cfb5 gs101: include bootctrl_hidl_1.2.mk from gs-common
Bug: 265063384
Change-Id: I53db48880aa384afba9e1e48fb49f04a8af0e1fb
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 02:30:54 +00:00
Jason Chiu
0561656a79 gs101: move bootctrl service declaration to gs-common
Bug: 265063384
Change-Id: I426977fd0a8e0b0e65f74c12c35668cb8c530c31
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 02:30:54 +00:00
Devika Krishnadas
0a894f5d0d Revert^2 "Use graphics allocator 2"
900e7f1a45

Bug: 287353739
Test: VtsHalGraphicsMapperV4_0TargetTest

Change-Id: Iec05757e26a5d16a3315188cd29821377d21b9d8
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2023-11-08 23:21:06 +00:00
Bruno BELANYI
4a8b8ace61 Enable HDR shader priming in SurfaceFlinger
Bug: 295257834
Test: manual - check that HDR shaders are generated after applying
Change-Id: I62cb104914d41f7402e80c83598006a6a018be27
2023-10-18 12:44:02 +00:00
Minchan Kim
402f9f3f88 gs101: change swap_free_low_percentage to 10
Since LMKD introduced aggressive kill for cached apps, we can change the
swap_free_low_percentage back to 10.

Bug: 300660611
Change-Id: Ib570d579e0d3addee242b226aed72a3a138a0f78
Signed-off-by: Minchan Kim <minchan@google.com>
2023-10-11 20:50:27 -07:00
Ian Elliott
d5f81e1ce8 Revert "gs101: Enable SkiaVk as RenderEngine backend" am: 36c9c135fd am: cbb7eda2fb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24866271

Change-Id: Ia866558f36426477768058ba393ef11e91002b22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 19:16:30 +00:00
Ian Elliott
cbb7eda2fb Revert "gs101: Enable SkiaVk as RenderEngine backend" am: 36c9c135fd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24866271

Change-Id: I39c49cc34c10660f00bd5a83b90fd00b01cdc24f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 18:18:51 +00:00
Ian Elliott
36c9c135fd Revert "gs101: Enable SkiaVk as RenderEngine backend"
This reverts commit b8a0da464b.

Reason for revert: Increased jank reported, especially on the Pixel tablet

Bug: 301846142
Bug: 298975477
Change-Id: I8aa4f335cd61ef2800238424aeac2cedd6dcfb67
2023-09-26 17:40:39 +00:00
Klines Jiang
f71cd944e8 [SELinux] Add gyotaku_app doamin to Pixel 2020. am: cd3ffcdd70
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24742248

Change-Id: I7411fa57385f2d7b97c2b58fc9fc51447454e448
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 06:06:42 +00:00
Klines Jiang
cd3ffcdd70 [SELinux] Add gyotaku_app doamin to Pixel 2020.
Bug: 296836878

Test: Local build and tested pass.

Change-Id: I3c4e63fb73ea233838a5ea777a340310a18186ed
Merged-In: I3c4e63fb73ea233838a5ea777a340310a18186ed
2023-09-20 18:04:47 +00:00
Martin Liu
ba00bbc6fb gs101: tweak memory management am: 1540e87a66 am: 849279d51b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24724736

Change-Id: Ia0daebb113f119d61db05a335834db38c53f7f7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 22:03:25 +00:00
Martin Liu
849279d51b gs101: tweak memory management am: 1540e87a66
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24724736

Change-Id: Ib093d5bc779809bb50950f9cb54135bd6b156315
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 21:12:19 +00:00
Martin Liu
1540e87a66 gs101: tweak memory management
- set lmkd's swap_free_low_percentage to 100
- decrease swappiness to 60

This tweak also aligns the policy with P23.

Test: boots with correct settings
Bug: 299975853
Change-Id: I0ed7088ddf2ff2fa0feca2197e5cc03c7f5c6778
Signed-off-by: Martin Liu <liumartin@google.com>
2023-09-12 20:35:33 +00:00
Klines Jiang
5c815914ae [SELinux] Add gyotaku_app doamin to Pixel 2020.
Bug: 296836878

Test: Local build and tested pass.

Change-Id: I3c4e63fb73ea233838a5ea777a340310a18186ed
2023-09-08 07:15:37 +00:00
Jorim Jaggi
299863c9ae Revert "Enable small dirty detection for variable refresh rate" am: b2b8c18001 am: 86553268ac
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24679219

Change-Id: Ibf373a2cf5fb307b39faa1077f9d82d7d4069e2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 20:32:47 +00:00
Jorim Jaggi
86553268ac Revert "Enable small dirty detection for variable refresh rate" am: b2b8c18001
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24679219

Change-Id: Ie5e9a85a93140e9992d6bc2d706221e041077f13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 19:43:44 +00:00
Jorim Jaggi
b2b8c18001 Revert "Enable small dirty detection for variable refresh rate"
Revert submission 24149209-enable-vrr-extension

Reason for revert: Bug: 299131033

Reverted changes: /q/submissionid:24149209-enable-vrr-extension

Change-Id: I9eb3fda4b994344b9125a6b6750cb38298a79db3
2023-09-07 17:47:34 +00:00
Arthur Hung
aca004baeb Enable small dirty detection for variable refresh rate am: a18057de76 am: c37c32a614
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24418405

Change-Id: I723181ac346006190a8f65af16937c816072ec17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 07:08:06 +00:00
Arthur Hung
c37c32a614 Enable small dirty detection for variable refresh rate am: a18057de76
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24418405

Change-Id: Ia8fa4e7e6949574a5e63dd903deab9ffc625419b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 06:14:02 +00:00
Arthur Hung
a18057de76 Enable small dirty detection for variable refresh rate
Bug: 283055450
Test: Build
Change-Id: I670432d6e566260df3cfdc938f4ddbae70b5d47a
2023-09-02 19:19:07 +00:00
Krzysztof Kosiński
081ecf1448 Set USF SoC from board makefile. am: 0c89ac66a3 am: 83cdf90651
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24544036

Change-Id: I3474f47d041350578d85f8e314223943955072e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 23:17:41 +00:00