Commit graph

583 commits

Author SHA1 Message Date
Ethan Chen
30885811ec
Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 05:01:11 +03:00
Neel Chauhan
899e4a029b
Revert "Enable compressed snapshots/VABc."
Virtual AB compression prevents GApps from being installed to
raviole/bluejay.

This reverts commit 2bfa6d3ba0.

Change-Id: I119b8e042e4cdeec27a19ab5dd4f0666cc115ae1
2024-10-20 05:01:10 +03:00
Michael Bestas
5865285289
Disable modem logging on userdebug builds
Change-Id: Ib8ebf5926ed0bcdcbb06d5b9de3a7e3409b5779c
2024-09-29 19:37:13 +03:00
mydongistiny
6bf56e5e85
gs101: Use Google's wifi_ext service
* Use vendor.google.wifi_ext@1.0-service
  that is in the vendor partition instead
  of the AOSP WiFi service.

Change-Id: Ia0fff6ffc532cc6b5e41f8ac242d00e64627cee8
2024-09-29 19:37:11 +03:00
liangjlee
ebddc4ff3f gs101: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Signed-off-by: liangjlee <liangjlee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7b58898aee6694762f57077bac5626f7baa32a46)
Merged-In: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
Change-Id: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
2024-06-28 23:08:21 +00:00
chenkris
6f6ad28270 gs101: build fingerprint dump
Bug: 346450599
Test: adb bugreport
Change-Id: I5a3d508592e9fed10e429d57c6c7068e0ce0d918
2024-06-12 04:39:27 +00:00
Jim Tang
3af7f6c818 Make SUPPORT_MULTI_SIM recognizable in bp am: f34142e084 am: c9504aa1a6
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3115519

Change-Id: Ice689a458558bf1cfc8dbdbf4d76101d76d26a0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:35:35 +00:00
Jim Tang
c9504aa1a6 Make SUPPORT_MULTI_SIM recognizable in bp am: f34142e084
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3115519

Change-Id: Ie9a88d4f5265538e22b72382d042ecfe603f12ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:16:02 +00:00
Jim Tang
f34142e084 Make SUPPORT_MULTI_SIM recognizable in bp
This commit establishes a soong config variable `sim_count` for
easier converting Android.mk to Android.bp when dealing with multiple
SIMs.

Bug: 343823190
Test: presubmit
Change-Id: I8226003df3d9f669df6e2af12310ad73e5786a74
2024-06-06 14:58:28 +08:00
Jörg Wagner
64a2022282 Use 2024-03-01 deqp levels for GLES and Vulkan
Bug: 327589279
Change-Id: Ia9691ab42c7435bc2c4d5fb56bce9665f365cbd3
2024-05-14 08:55:03 +00:00
Xin Li
df949b6d9a Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I4ef71192ad2b2717c515164bd65463759320b32a
Change-Id: I92c47a5388ba62c9f9395553dbb65acb07ad525b
2024-05-06 12:09:15 -07:00
Treehugger Robot
cc53a465df Merge "Update USES_LASSEN_MODEM soong config settings for aosp projects." into main am: 1ba83c9b09 am: 700ae2e395
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3039355

Change-Id: I8c500c975ae717f1b4ecd4493da112f3f82a6f17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 09:59:33 +00:00
Herbert Xue
2c4ada3a40 Update USES_LASSEN_MODEM soong config settings for aosp projects.
Add the flag "use_lassen_modem" for bp to do the same checking like
"USES_LASSEN_MODEM" in mk.

Bug: 330654744
Test: 1. lunch aosp_cheetah-trunk_staging-userdebug
      2. m RilConfigService
Change-Id: Ic277823f330794f6ceff6d3ccc6a96bb75e82b94
2024-04-29 16:24:53 +08:00
Thomas Girardier
e20c4f7f8d Revert "[Bluetooth] Disable BT auto on feature"
Revert submission 26919210-BTAUTOOFF4389

Reason for revert: Auto On has been approved for 24Q3

Reverted changes: /q/submissionid:26919210-BTAUTOOFF4389

Change-Id: I7e817f7003ba96486791b87a6934dfd845244d17
2024-04-26 04:02:50 +00:00
SaiChand Duppala
8796579a5f Disable dumpstate strict-run flag in gs101
The change disables the dumpstate strict-run flag in gs101 devices, which is enabled by default. Disabling this flag increases the timeout for capturing incident report to 120 seconds, from the default 20 seconds. This is done because 20s isn't enough to capture incident report proto in some cases, especially when device is throttling.

Bug: 330400782

Test: Booted a gs101 device with the change. Then manually thermal throttled the device and captured bugreports. In some tests Incident report took a lot more more than 20s, and in all these cases it was succesfully captured.
Change-Id: I8c4ee4e4412c517822776a9b10bbdad7da1c1213
2024-04-25 01:11:50 +00:00
Sungtak Lee
1dfdc56738 Reapply "Enable AIDL media.c2"
This reverts commit c8575dabaa.

Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: I9c7cc5e03fe35af1a69f114b84be97087b3ce602
2024-04-23 08:37:07 +00:00
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