Commit graph

3460 commits

Author SHA1 Message Date
Rios Kao
bba42283a0 shusky: add libspeechenhancer for recorder.
note: library version 20241203_1624_RC01

Test: end-to-end test
Bug: 383647553
Flag: EXEMPT back porting existed feature.
Change-Id: If13996c049be653a9c17d69f789ef07838b5be24
2024-12-11 19:45:43 -08:00
Andrew Cheng
4e7392131c Merge "Fix properties to enable override" into main 2024-12-09 22:31:15 +00:00
Dmitry Skiba
769b383a3d Merge "Add a way to disable auto prefer fit for launch." into main 2024-12-09 19:01:12 +00:00
Andrew Cheng
265e6a3415 Fix properties to enable override
AAOS_on_phone targets need to override these properties, without
that builds are failing.

Bug: 382710252
Test: local build
Change-Id: I8eb4f6f904370caed9d87745331ff9b2ead1a2cd
2024-12-06 11:28:13 -08:00
Dmitry Skiba
7571b12f0e Add a way to disable auto prefer fit for launch.
This change introduces "is APF enabled" system properties, and
uses them as trigger conditions for APF nodes / pre-APF nodes.

By default APF nodes are active, and pre-APF nodes are inactive,
which maintains the situation before this change.

A future experiment will flip "is APF enabled" system properties,
deactivating APF nodes and activating pre-APF nodes. For more
info see go/pixel-perf-apf-experiment.

Bug: 365855872
Test: set vendor.powerhal.apf_enabled=false, vendor.powerhal.apf_disabled=true, observe auto_prefer_fit
procfs value staying "false" and instead preferred_idle_mask_mid
changing to 0x1ff during app launches
Flag: NONE powerhint change does not support flags
Change-Id: I85b5dc812132f229c2cc8583aaadd31d7eedc178
Signed-off-by: Dmitry Skiba <dskiba@google.com>
2024-12-06 07:23:40 +00:00
David Li
0ca625634d Merge "audio: align volume curve" into main 2024-12-06 06:43:18 +00:00
David Li
fc98bc4ea6 audio: align volume curve
Bug: 382270418
Test: n/a
Flag: EXEMPT bugfix
Change-Id: I396b61b57a07307285abeffa911fafdb04221e91
2024-12-06 03:14:34 +00:00
Treehugger Robot
7887236511 Merge "Revert "shusky/haptics: Remove voltage restriction for haptics"" into main 2024-12-05 22:15:01 +00:00
Zouberou Sayibou
a0670ae6e7 Revert "shusky/haptics: Remove voltage restriction for haptics"
Revert submission 30661505-tdm_amplitude_limitation_removal_dvl

Reason for revert: short time to properly test before 25q1 cut-off.

Reverted changes: /q/submissionid:30661505-tdm_amplitude_limitation_removal_dvl

Bug: 318476589

Change-Id: I7d0fc0f64aa41cd901797cfc4a81eb41e7de1c05
2024-12-04 23:13:04 +00:00
Zouberou Sayibou
ad6d888fd9 Merge "shusky: Remove dbc properties for fw 7.2.81." into main 2024-12-04 10:22:30 +00:00
Limon Mia
d3740d5bcb Merge "Add Samsung Galaxy Buds 3 pro to the LE audio allow list" into main 2024-12-04 02:00:55 +00:00
Jimmy Shiu
2201401f7b Merge "PowerHint: Refine FIXED_PERFORMANCE mode CPU Frequencies" into main 2024-12-03 02:24:12 +00:00
Zouberou Sayibou
53e6a3d054 shusky: Remove dbc properties for fw 7.2.81.
Removing dbc properties after adding dbc tuning file for
shiba and husky.

Bug: 377913163
Flag: EXEMPT mk only update
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
CtsVibratorTestCases
Change-Id: I59d864dd459b8622af3b119a849f0617a1027207
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-12-03 02:15:23 +00:00
Chris Paulo
dcc325566b shusky/haptics: Remove voltage restriction for haptics
Remove the voltage restriction for haptics since DVL is enabled.  This
will allow FW control for exertion protection of the motor, and allow
for stronger output for audio-haptics.

Bug: 318476589
Flag: EXEMPT config xml change
Test: dumpsys vibrator_manager and accel measurement
Change-Id: Ic8ece936df599725ad1ab66089b0f66a3791e422
2024-12-03 00:26:03 +00:00
Jimmy Shiu
eb79ff9e68 PowerHint: Refine FIXED_PERFORMANCE mode CPU Frequencies
Set the CPU frequencies of FIXED_PERFORMANCE to align with Thermal CPU Light level.

Bug: 327070837
Test: Boot to home
Flag: NONE powerhal doesn't have a flag yet
Change-Id: Ibb698b608c21c2a4f81354f852cb077345907947
2024-12-02 08:14:22 +00:00
Xin Li
ebb85f4b84 [automerger skipped] Merge ab/AP4A.240925.013 into aosp-main-future am: 9a96d60af3 -s ours
am skip reason: Merged-In Ic19ff6af1a86f94853e8d2c65012ee247ae25bde with SHA-1 11aaff6299 is already in history

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

Change-Id: I1bcf21556cca29c7751187eff1be27be95f07c5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 18:18:51 +00:00
Treehugger Robot
c31cc1f32f Merge "Revert "thermal: Add JSON Schema Checker"" into main 2024-11-25 18:03:02 +00:00
TeYuan Wang
3f93d0e415 Revert "thermal: Add JSON Schema Checker"
Remove thermal JSON Schema Checker first to avoid the false positive
because it cannot support the current thermalHAL design.

This reverts commit 97871af7ae.

Bug: 380370209
Test: build
Flag: EXEMPT disable config checker
Change-Id: I771d748373520399201b06799737496bfd9c8bad
2024-11-23 00:12:24 +00:00
Limon Mia
882ac42099 Add Samsung Galaxy Buds 3 pro to the LE audio allow list
Bug: 380369950
Test: PTE PQM-BT LE audio unicast test
Flag: EXEMPT The Samsung Galaxy Buds 3 pro users are able to disable LE audio in Settings app
Change-Id: I142d38d66e844aab35a72733e84374df72158042
2024-11-22 07:09:38 +00:00
David Chao
ca743653c2 Merge "thermal: update thermal config" into main 2024-11-22 05:19:23 +00:00
Xin Li
9a96d60af3 Merge ab/AP4A.240925.013 into aosp-main-future
Bug: 370570306
Merged-In: Ic19ff6af1a86f94853e8d2c65012ee247ae25bde
Change-Id: Idbaffc65743da6b0daf9af80398b3f409d9c2a3b
2024-11-21 15:09:59 -08:00
Treehugger Robot
b76898c5cd Merge "Revert "powerhint: enable auto_prefer_idle in games"" into main 2024-11-21 19:47:31 +00:00
Kame(TeYuan) Wang
758dd12700 Revert "powerhint: enable auto_prefer_idle in games"
Revert submission 29817358-p23_auto_prefer_idle

Reason for revert: Power efficiency regression

Reverted changes: /q/submissionid:29817358-p23_auto_prefer_idle

Bug: 372961087
Test: manual testing
Change-Id: I4b24954cb37a469c2d6835e6f01e6abc655ce0b2
2024-11-21 18:23:40 +00:00
Joner Lin
7db364174f Merge "bt: add bthal service permission to access bt wakelock control device node" into main 2024-11-21 07:12:50 +00:00
Isaac Chiou
f89ff69fdc Merge "Disable Wifi BugReport for subsystem restart" into main 2024-11-20 12:58:29 +00:00
jonerlin
c93b55b02b bt: add bthal service permission to access bt wakelock control device node
Bug: 380024887
Test: BLE scan test and check wakelock time
Flag: EXEMPT project configuration patch.
Change-Id: Iafce4fea2e80e1eac076ce2258f62bbe5159513a
2024-11-20 12:33:25 +00:00
Joner Lin
8b4fe1f51c Merge "Enable bthal service recovery by restart" into main 2024-11-19 12:42:08 +00:00
jonerlin
fc28f056f7 Enable bthal service recovery by restart
Bug: 368342010
Test: Fake bt crash and check log
Flag: EXEMPT project configuration patch.
Change-Id: I70c0f23819011ecd6b7424569e06758596090a8a
2024-11-19 09:19:03 +00:00
Treehugger Robot
933c21ebe5 Merge "thermal: remove duplicate counting power rail" into main 2024-11-19 05:21:58 +00:00
Xin Li
c51bcfef0b [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: 70c0fe6355 -s ours
am skip reason: Merged-In I977fa738050ae90d6f0cf7d0bb5d1f5a006ab696 with SHA-1 449e58e874 is already in history

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

Change-Id: I435052d96ce0fd4ddf754740a61b3803a42aca7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 02:49:32 +00:00
Rios Kao
b159a75c28 Merge "shusky: add microphone info for aidl hal." into main 2024-11-12 09:25:42 +00:00
Rios Kao
6b0cee8be6 shusky: add microphone info for aidl hal.
Test: atest VtsHalAudioCoreTargetTest
Bug: 377832994
Flag: EXEMPT bugfix
Change-Id: I2727420f8943757f223b2b522680267a4c7325a7
2024-11-12 07:44:08 +00:00
Isaac Chiou
5399e1c7e8 Disable Wifi BugReport for subsystem restart
Flag: EXEMPT gated by overlay
Bug: 373594936
Test: Manuel test, trigger SSR and won't create bugreport automatically
Change-Id: I28af1c1400b90b302b3c9b86c1c377dcdfe6db2a
2024-11-08 09:38:13 +00:00
David Chao
4a40152e89 thermal: update thermal config
thb_hda behavior is changed to align with P24 devices,
update WLC_CHECK with thb_hda changed.

Flag: EXEMPT config update
Bug: 377595455
Test: boot to home and thermal throttling worked properly
Change-Id: I83005da7543c5886dc695bcee11bcc245588c88e
2024-11-08 07:54:11 +00:00
Kyle Hsiao
111f28dd81 [NFC] Enable STNFC_ACTIVERW_TIMER
Bug: 378004423
Test: Manual
Flag: EXEMPT bugfix
Change-Id: I395abcad3d1751f311c3292cbec7545bac5b794e
2024-11-08 05:33:59 +00:00
Xin Li
70c0fe6355 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I977fa738050ae90d6f0cf7d0bb5d1f5a006ab696
Change-Id: If39bf65998fe85a3da4572cbfcf359a169f4de65
2024-11-06 10:31:20 -08:00
Silen Sun
d110bdb50d Merge "Remove 'RELEASE_PIXEL_BROADCAST_ENABLED'" into main 2024-10-30 22:59:42 +00:00
silens
2ca729d6e5 Remove 'RELEASE_PIXEL_BROADCAST_ENABLED'
This build flag is not used now.

Test: build
Bug: 376153497
Flag: EXEMPT only modify device config file
Change-Id: If8ac0328494e15ee4a18e9316f527d9867a129c0
2024-10-30 06:08:09 +00:00
Vilas Bhat
4537ccaca0 [automerger skipped] 16k: Move BoardConfig-shusky-common.mk to device/google/zuma/BoardConfig-16k-common.mk am: ffdcb5933c am: 7a359f5ac4 -s ours
am skip reason: Merged-In I80cb3e9f4c4a1609ca668af554d930edb3b4c5a0 with SHA-1 2502760f89 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311724

Change-Id: I8e121634457f86f748c10d62d84b1cfd7da0151f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:14 +00:00
Juan Yescas
f434f45010 [automerger skipped] 16kb: Set 16kb TARGET_ vars in BoardConfig files and targets am: c4818d8641 am: 420aebdc50 -s ours
am skip reason: Merged-In Ic1da7f21b696f1659ef7d7b0b7089c3d2c03103e with SHA-1 d3ad2f99ce is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311723

Change-Id: Ia49a05c3cfeb25328447e53191bc81131371b286
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:10 +00:00
Juan Yescas
3683f78be3 [automerger skipped] 16kb: Use PRODUCT_BOOTS_16K to select the kernel and fs am: 71af04af16 am: e808efbddf -s ours
am skip reason: Merged-In Ia75c7f8cfca6d651777c730a3f86715a0991fbec with SHA-1 73c64fff21 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311722

Change-Id: Ie4e972e96ad18d1e0f88414df436e5ac6bb60656
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:06 +00:00
Vilas Bhat
7a359f5ac4 16k: Move BoardConfig-shusky-common.mk to device/google/zuma/BoardConfig-16k-common.mk am: ffdcb5933c
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311724

Change-Id: Idffed1d2feeecb55109f6d51d19bbe1daf2954bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:21 +00:00
Juan Yescas
420aebdc50 16kb: Set 16kb TARGET_ vars in BoardConfig files and targets am: c4818d8641
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311723

Change-Id: Iaa820ad02ebc5693a2d901fc0e8626b02119757b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:19 +00:00
Juan Yescas
e808efbddf 16kb: Use PRODUCT_BOOTS_16K to select the kernel and fs am: 71af04af16
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311722

Change-Id: I42db11e0930be78de9b1d1dcbd097b6dc690416c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:15 +00:00
Treehugger Robot
e494c690f1 Merge "Enable CDPreferHighCap for CAMERA_STREAMING_HIGH" into main 2024-10-21 23:04:00 +00:00
Vince Chiu
e0635d2ad8 Enable CDPreferHighCap for CAMERA_STREAMING_HIGH
Test: 1080p60 power and perf, 4k60 power
Bug: 371210260
Flag: EXEMPT resource file only change
Change-Id: I71d6af9baab500ae6a37bda75a371747263e41c5
2024-10-18 05:41:17 +00:00
Vilas Bhat
ffdcb5933c 16k: Move BoardConfig-shusky-common.mk to device/google/zuma/BoardConfig-16k-common.mk
The makefile logic in this file is identical to the logic required for
akita-trunk_staging-userdebug. Hence, this logic is moved to
device/google/zuma/BoardConfig-16k-common.mk to avoid duplicating the
file for akita.

Bug: 370842132
Bug: 349877551
Test: Built and booted up `aosp_shiba` and and `aosp_shiba-pgagnostic` targets
Flag: EXEMPT bugfix
Change-Id: I80cb3e9f4c4a1609ca668af554d930edb3b4c5a0
Merged-In: I80cb3e9f4c4a1609ca668af554d930edb3b4c5a0
2024-10-17 23:31:01 +00:00
Juan Yescas
c4818d8641 16kb: Set 16kb TARGET_ vars in BoardConfig files and targets
TARGET_ build variables MUST NOT be set up in device*
files. In the device* files, the PRODUCT_ variables are not
defined properly and only after the build system finishes
parsing all the product files, we can set up TARGET_ vars
based on PRODUCT_ vars. During the parsing of the BoardConfig
files, the PRODUCT_ vars are defined and their values can
not be changed.

Test: Built and booted up `aosp_shiba` and and `aosp_shiba-pgagnostic` targets
Bug: 370842132
Bug: 350529323
Bug: 346868433
Flag: EXEMPT bugfix
Change-Id: Ic1da7f21b696f1659ef7d7b0b7089c3d2c03103e
Merged-In: Ic1da7f21b696f1659ef7d7b0b7089c3d2c03103e
2024-10-17 23:30:45 +00:00
Juan Yescas
71af04af16 16kb: Use PRODUCT_BOOTS_16K to select the kernel and fs
The build flag PRODUCT_BOOTS_16K will be used to select
whether the shusky devices boot with 16kb kernel or 4kb kernel.

Bug: 370842132
Bug: 346868433
Test: Built and booted up the following targets:
      aosp_shiba_pgagnostic-trunk_staging-userdebug
      aosp_shiba-trunk_staging-userdebug
Flag: EXEMPT bugfix
Change-Id: Ia75c7f8cfca6d651777c730a3f86715a0991fbec
Merged-In: Ia75c7f8cfca6d651777c730a3f86715a0991fbec
2024-10-17 23:30:35 +00:00
Ali K. Zadeh
ae8f5d5f10 Merge "[shusky] Define CAMERA_MULTICAM_BOOST" into main 2024-10-15 23:10:57 +00:00