Commit graph

6488 commits

Author SHA1 Message Date
Jack Wu
b09140782b [automerger skipped] Update health AIDL HAL to V3 am: b58ea3f845 -s ours
am skip reason: Merged-In I57ff2ec2758f965a9e13e53f223c735a9d102219 with SHA-1 f143d6803b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/26743925

Change-Id: I94dd25d5aa74044c0a0f5d29807812203449d9e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 10:21:28 +00:00
Jack Wu
b58ea3f845 Update health AIDL HAL to V3
Bug: 328332299
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:f143d6803bd64b123306788e4e02670a829c3258)
Merged-In: I57ff2ec2758f965a9e13e53f223c735a9d102219
Change-Id: I57ff2ec2758f965a9e13e53f223c735a9d102219
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-04-15 10:06:28 +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
wenchangliu
a71e7d1dcc update odd resolution support in vpx and av1 codecs
[VSR-4.2.004.001] MUST support the smallest width/height alignment allowed
by the video standard. For AVC/HEVC/VCC, this requires 2x2 pixel alignment
for YUV 4:2:0 profiles, and 2x1 pixel alignment for YUV 4:2:2 profiles.
For VP8/VP9/AV1, this requires 1x1 pixel alignment for any profiles.
Note: This is usually stored as the crop rectangle in the bitstream.

Bug: 329378524
Test: CtsMediaV2TestCases
Change-Id: I0e84a342bf1093c74c712d2c811b37eca9c7908c
2024-04-10 11:20:32 +00:00
Ziyi Yang
a4ce888b94 Revert "Adding post notification to gca default permissions"
This reverts commit c71b017d9d.

Reason for revert: b/332797378 causing memory regression on oriole/raven

Bug: 331677590
Bug: 332797378
Change-Id: If215c02641de9f3ed497d4d7043a3257c1737d9a
2024-04-08 17:48:51 +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
Seungah Lim
fbf009b886 [packetrouter] Add oem-iptables-init.sh to artifact path allowed list
In order to apply user-defined chain from vendor by using
oem-iptables-init.ch, shell script path is added to
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST.

Bug: 312772796

Signed-off-by: Seungah Lim <sss.lim@samsung.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:83a119d7b7102319f7cb5d5015c8f01963ee7cf7)
Merged-In: If1b57f985284561f537c1124cd60fe91215f5adc
Change-Id: If1b57f985284561f537c1124cd60fe91215f5adc
2024-04-05 17:36:58 +00:00
Ziyi Yang
c71b017d9d Adding post notification to gca default permissions
Bug: 331677590
Test: Build and flash. Permission was pregranted to gca.
Change-Id: I4f217ecf1cd3b360b7ab261c2dd5c09d9756a5b8
2024-04-02 19:54:42 +00:00
Gina Ko
a41785042d gs101: Relax BOARD_SUPER_PARTITION_ERROR_LIMIT by 100MB
To allow coverage builds to build

Bug: 331488086
Test: TH
Change-Id: I063c31704a5390091016e778f6748db8eba1261d
2024-04-02 00:50:53 +00:00
Chris Lu
3d46d634ef gs101: upgrade IDisplay to V11 am: ea4d3ad582
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/26482878

Change-Id: I7e677ff3aa677112c7cc65ebdb4adcf46dd4ab9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-28 21:37:16 +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
Jack Wu
0d50cda4cf Update health AIDL HAL to V3 am: f143d6803b am: 6e01808813
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3010173

Change-Id: I449b102696f602d74a1c75929dd1150f489caf5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:59:18 +00:00
Jack Wu
6e01808813 Update health AIDL HAL to V3 am: f143d6803b
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3010173

Change-Id: Ib8049ed1799943afe5b9a0a35ceb99cf3c1b6591
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:43:14 +00:00
Jack Wu
f143d6803b Update health AIDL HAL to V3
Bug: 328332299
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: I57ff2ec2758f965a9e13e53f223c735a9d102219
Signed-off-by: Jack Wu <wjack@google.com>
2024-03-22 21:00:04 +08:00
Spade Lee
d1dd07e04d pixelstats: gs101: add history validation path
Bug: 329174074
Change-Id: I1982b772e59df66d143899086450c1e5a807f85a
Signed-off-by: Spade Lee <spadelee@google.com>
2024-03-22 07:30:26 +00:00
Chris Lu
ea4d3ad582 gs101: upgrade IDisplay to V11
Bug: 307787644
Test: build pass
Change-Id: I7d7bd95b04483afde0f53127c896e62f53a78116
2024-03-21 07:30:02 +00:00
Shashwat Razdan
3970338cd2 [automerger skipped] Adding android.software.contextualsearch to gs-101 devices. am: 4bb66fedc8 -s ours
am skip reason: Merged-In Id45a24ec3361caade132836e5e849940efa6ac2c with SHA-1 4ff9169f2f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/26574514

Change-Id: Ib09b859c6b2d0d85ea95332e5a8598e9671fc17d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-19 08:29:06 +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
Chungro Lee
e0d7a24937 pixelstats: move learning/model load path to sysfs
Reporting learning(relaxation) and model loading once a day
 * learning and model loading path moved from uevent to
   sysfs collector.

Bug: 329124192
Change-Id: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
Signed-off-by: Chungro Lee <chungro@google.com>
2024-03-13 01:29:46 +00:00
Limon Mia
5fa0e12ada bt: set rfkill device nodes permission setting on early_boot stage
move the rfkill permission setting from post-fs-data to early_boot
stage because the kernel/net/rfkill/rfkill.ko may not be loaded on
post-fs-data stage and cause the permission setting failed.

Bug: 277148159
Test: m
Change-Id: I65f0593caddbe659528877f583917cdaead1756b
2024-03-11 12:34:13 +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
Xin Li
ee3a78e22f [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 8331b62013 -s ours am: efb4973193 -s ours
am skip reason: Merged-In Id43ef0c972cab098f056e418cee940b702a1f251 with SHA-1 04ea7c073b is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2990107

Change-Id: Ia9899e4f8bff2e419eea1cb9361decb25f167402
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:55 +00:00
Xin Li
efb4973193 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 8331b62013 -s ours
am skip reason: Merged-In Id43ef0c972cab098f056e418cee940b702a1f251 with SHA-1 04ea7c073b is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2990107

Change-Id: Ia0c2ac35286267b602ba8517b73bfc360a63c6a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:30 +00:00
Xin Li
8331b62013 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: Id43ef0c972cab098f056e418cee940b702a1f251
Change-Id: Iff818dc1e2f9da1e4d47146608d7719628094da0
2024-03-06 09:29:48 -08: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
Wonsik Kim
def43cc017 Add AIDL media.c2 fragments
Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: I3a0a38f71421a8673038f63764250f7a1a88c730
2024-03-05 06:16:54 +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
Jenny Ho
49ae2f663b pixelstats: added multiple GMSR paths
support different project paths

Bug: 308364170
Change-Id: I4ef71192ad2b2717c515164bd65463759320b32a
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-03-01 03:14:37 +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
Jenny Ho
4d1085e4a2 pixelstats: gs101: add Learning/Update/ModelLoad path
Upload more FG data to analyze its trends

Bug: 317827237
Change-Id: Idf59bbe47b17de52592a1cc8fd33296c027930ba
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-02-27 04:06:14 +00:00
Will McVicker
91bda4797a Update tcpm-source-psy i2c name
Use a regex to accomodate for the new and old name.

Bug: 315190967
Bug: 323447554
Change-Id: I41c4882fdccdbc3f98eedf6fc518d04b73ee92a0
2024-02-22 17:54:36 +00:00
Daniel Okazaki
536524e4cd dumpstate: moving charger nodes to user build
Bug: 323415060
Test: adb bugreport
Change-Id: I757d17f45f0cb302ec186ec5c1467e158c04a81a
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2024-02-21 00:11:20 +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
Qais Yousef
908d73a76a init.gs101.rc: Increase uclamp_min at boot time by 1.25
With uclamp changes against margins, we need to bump this value by 1.25
to retain previous boost.

Bug: 314123492
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I0b001772116bdbc2285e942b5795451dee925eda
2024-02-19 18:29:07 +00:00
George Lee
e3ec636b99 bcl: Adjust GPU clk divider ratio
Revert GPU clk divider ratios.

Bug: 324534203
Test: Confirm no DATA_INVALID_FAULT while running GFXBench under stress
Change-Id: I9379988d68665924de72441bc0ea24f5fc12be4d
Signed-off-by: George Lee <geolee@google.com>
2024-02-15 18:39:33 +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
Yong Zhang
8f8ce29d46 Add Youtube back in MRR Small Area Detection Allowlist
Bug: 324132231
Test: Make Pixel builds to verify Allowlist
Change-Id: I5bdaee773d517a3fbd2e41c04192db30bb002b1a
2024-02-07 16:37:42 +00:00
Jacky Liu
06501969ec Update i2c device paths
Update i2c device paths with static bus numbers.
Also remove some redundant paths.

Bug: 323447554
Test: Boot to home
Change-Id: I90a723018f6628c825e97ff75a80350843684959
2024-02-06 16:17:25 +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
Xin Li
723b5aa2c6 [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: 04ea7c073b -s ours
am skip reason: Merged-In I29c352696cd9d31168a8eac8c58d23adb484f5d0 with SHA-1 93d9eb0a8f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/25971329

Change-Id: I21c965509e48c8eb488c3f466d1ee8b235422932
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:03:43 +00:00
Darren Hsu
9f8d681088 powerstats: expose display MRR state residency data provider
Bug: 321848496
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I967210bef1d33d8bc344ea80e6c31f70a3414604
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-29 06:23:49 +00:00
kierancyphus
34f3ee5073 liboemservice_proxy: Remove service defs
`Liboemservice_proxy` was originally included as a part of the build
target for DMD, which meant that the binder aidl declaration had to be
done on all devices that used DMD (all Lassen devices), even if they
didn't use the service. `Liboemservice_proxy` has now been decoupled
from DMD so it only needs to be included on our target devices now. This
CL removes the outdated service definitions.

Test: Build gs101 and ensure it still builds.
Bug: 321867236
Change-Id: Iefd8a4e563c41ffc5221810e3fb042dbe4a3e733
2024-01-29 05:58:40 +00:00
Robin Peng
d790cec569 Disable stripping vendor_dlkm modules
Need to disable stripping the vendor_dlkm modules to retain the GKI
modules' signature. Fortunately, the kernel build strips the modules for
us.

Bug: 290274601
Bug: 322457552
Change-Id: I4c8ff2196d062dc65a1f707a738f78bc8bfda704
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-01-26 12:56:54 +00:00