301 Commits

Author SHA1 Message Date
kondors1995
9e6e67a60b aidl/fingerprint: utilize MaxPerformance task_profile
Some checks failed
action.yml / aidl/fingerprint: utilize MaxPerformance task_profile (push) Failing after 0s
2026-01-23 08:16:24 +09:00
Pranav Vashi
ea228a83fe dolby: Update layout to material expressive design
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2026-01-23 08:16:24 +09:00
Adithya R
5af4457253 interfaces: displayfeature: Fix method ordering
Based on analysis of stock interface.

Change-Id: Ib49d18ee15e3f7be1b3b314277357e54f953d73a
2026-01-23 08:16:24 +09:00
Aaron Kling
e73db17e01 healthd-ext: update AIDL HAL version to 3
Resolves vts failure:
For android.hardware.health.IHealth/default, manifest (targeting FCM:6)
declares version 2, but the actual version is 3

Change-Id: I8ff7278d373d6bdf906d3e1367fe7d4613552a8b
2026-01-23 08:16:24 +09:00
Fenglin Wu
48f0028833 healthd-ext: update VINTF manifest version to 2
Update VINTF manifest version to 2 to match with the latest definition
in android.hardware.health.IHealth AIDL interface.

Change-Id: Iabf4165c52cca95ff8aa75a67bbc61f4c102bb9e
(cherry picked from commit ad957d158ad1d53193536a2e0cee016836d90cd0)
2026-01-23 08:16:24 +09:00
Fabian Leutenegger
644e3d1535 healthd-ext: Fix charge_counter and ETA values
Based on 137843ec4f

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: I3d000d283302a84ee9fcbd5a85ef26817b68c0a7
2026-01-23 08:16:24 +09:00
chrisl7
2f541dfbfc healthd-ext: Define override to QTI AIDL healthd-ext hal
Change-Id: I26009b1f20c02219dd371ad184cad4eafb9e8eec
2026-01-23 08:16:24 +09:00
chrisl7
10cf15c402 healthd-ext: Rename hal to xiaomi to avoid compilation conflicts
Change-Id: I8f33b6870eccfd19272cfbdb816b5b53371012c5
2026-01-23 08:16:24 +09:00
Fenglin Wu
0323f7b0e6 healthd-ext: Update AIDL HAL service installation paths
Update the installation path for vendor and recovery partition
respectively.

Change-Id: I1908d10d782127f555e2fb316f3640bc93efcdbd
2026-01-23 08:16:24 +09:00
Fenglin Wu
872e163ae9 healthd-ext: Add suspend support for charger mode
Override ChargerEnableSuspend() function to true to support kernel
suspend and resume in charger mode.

Change-Id: I01ceaecf7e918504624b2bf1bfb34207fcde74e7
2026-01-23 08:16:24 +09:00
Fenglin Wu
bdf015820e healthd-ext: Add health HAL AIDL implementation
Add health HAL AIDL implementation which is a service running for
both health HAL and charger mode.

Change-Id: I1f3205d1e34d93ed1739d5fa29c95a8f2b2d2894
2026-01-23 08:16:24 +09:00
AdarshGrewal
5ff2752c40 hardware/xiaomi: Mark setTouchMode as void
* these methods dont return any values this needs to be doe for remaining methods too probabbly
2026-01-23 08:16:24 +09:00
AdarshGrewal
8cb5e216a8 interfaces: Import reversed aidl interface for IDisplayFeature
This Interface Needed for parts fragment to make working custom saturation Slider instead of using linej livedisplay hal.
Signed-off-by: GuidixX <guidixm@gmail.com>
2026-01-23 08:16:24 +09:00
AdarshGrewal
c3061b6b82 hardware/xiaomi: fixup aidl interfaces 2026-01-23 08:16:24 +09:00
raghavt20
2407c73977 hardware/xiaomi: Import reversed aidl interface for ITouchFeature
Change-Id: Icc959b71ae4d90f81c5769de4ad16ba1a0984871
2026-01-23 08:16:24 +09:00
raghavt20
c12f2b7f19 hardware/xiaomi: Import reversed aidl interface for IXiaomiFingerprint
Change-Id: I0d60666324d986333dc10824250d90fe42ab878a
2026-01-23 08:16:24 +09:00
Piotr Kozimor
fbb6973d74 vintf: Add IMiSys HAL in compatibility matrix
Change-Id: I65bb9bf6d0aff733ca533f3c8bd5a7922058c9ff
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2026-01-23 08:16:24 +09:00
basamaryan
4d300dc97e vinf: Add {vendor.dolby_sp.hardware.dmssp, vendor.dolby_v3_6.hardware.dms360} to FCM
Change-Id: I19a0ca830469aa3978e0e89a75536d14cec735b8
2026-01-23 08:16:24 +09:00
Adithya R
a8f7cfdf39 vintf: Add more hals to fcm
Change-Id: I6645216d2665ab1d51f789b9f4f80acf411e875c
2026-01-23 08:16:24 +09:00
Pranav Vashi
1e0db9dfa6 DSPVolumeSynchronizer: Do not install for clone apps or private space
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2026-01-23 08:16:24 +09:00
Alcatraz323
9854381e8a Implement DSPVolumeSynchronizer
Some Xiaomi devices have a speaker that needs a framework to cooperate
with DSP to synchronize volume so that the DSP can limit bass when the
volume is high to prevent distortion.

Change-Id: I750803d94161e1e7482552d2a39566f42e82fc0a
2026-01-23 08:16:24 +09:00
Abhay Singh Gill
3808a4ae68 dolby: Add custom profile
Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
2026-01-23 08:16:24 +09:00
Abhay Singh Gill
6b582cabb8 dolby: Add icons for dolby profiles
Also nuke voice profile and fixup some strings.

Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
2026-01-23 08:16:24 +09:00
Abhay Singh Gill
3c023d81a5 dolby: Make bass enhancer available on speakers as well
Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
2026-01-23 08:16:24 +09:00
Pranav Vashi
b84903b8ae dolby: Exempt installing package in clone or private space
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2026-01-23 08:16:24 +09:00
Marat Budkevich
8ed00feb62 dolby: translate strings to Russian 2026-01-23 08:16:24 +09:00
Pranav Vashi
aac59d1bb9 dolby: Override AudioFx
Change-Id: I8523c10fdec7809f2872db82d85e89d076ae582a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2026-01-23 08:16:24 +09:00
Kevin Truong
e2a08fae39 dolby: [Tooltip] Use new positioning logic
rememberTooltipPositionProvider contains new positioning logic that should be used for both Plain and Rich tooltips.

Test: Update to use rememberTooltipPositionProvider.
Bug: b/372914353
Relnote: Added rememberTooltipPositionProvider that contains an updated positioning logic. Deprecated rememberPlainTooltipPositionProvider and rememberRichTooltipPositionProvider.
Change-Id: Ie66e2ec58567cc38fc06bb8e13ef928160db114a
2026-01-23 08:16:24 +09:00
Bruno Martins
a55e7da413 dolby: Use all shared resources from devicesettings
Change-Id: Icd7f381c574ea36eb4d797cefd60ba9f1a0941bd
2026-01-23 08:16:24 +09:00
Fabian Leutenegger
9e64f1bfa4 dolby: Update EqualizerScreen background color for 15
Switch to MaterialTheme settingsBackground for EqualizerScreen background color

Change-Id: I546e3528814276eb857a650cb6c173d914550fb5
2026-01-23 08:16:24 +09:00
Pranav Vashi
ac49d682fc dolby: Remove deprecated PlainTooltipBox
Change-Id: I70ffff5ba30c5eeaff431e46c82eaf05d46e4cb0
2026-01-23 08:16:24 +09:00
basamaryan
1c85c69ecd dolby: Fix build with kotlinc 1.9.0
Change-Id: I4f9fdc9d25eb57240612cff1b3bef3663014f9a8
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2026-01-23 08:16:24 +09:00
Michael Bestas
58fa6a7535 dolby: Convert to SwitchPreferenceCompat
Change-Id: Ic1cbaba37d499da1855af9c3930f2df426e2d3af
2026-01-23 08:16:24 +09:00
Chaohui Wang
4ab4637909 dolby: Migrate to CompoundButton.OnCheckedChangeListener
Switch and SwitchCompat are both CompoundButton.

Using CompoundButton in Java will helps migration in the future.

Bug: 306658427 | AOSP | AOSP
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
Change-Id: I85a70d4c504d8584030ea4a058f30d74206ab835
2026-01-23 08:16:24 +09:00
Peter Kalauskas
a445c78924 dolby: Enable use_resource_processor for all sysui deps
This will make the build faster

Test: m checkbuild
Bug: 295208392
Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e
2026-01-23 08:16:23 +09:00
Adithya R
fcb804fe98 dolby: Make sure to persist value after toggling QS tile
Toggling the switch pref automatically sets the shared pref for us, but
toggling the QS tile does no such thing so we gotta do it ourselves.

Change-Id: Iac881ed654bf4eb76b111fc87667f16476d11522
2026-01-23 08:16:23 +09:00
Adithya R
3ca0074fef dolby: Add intelligent equalizer setting
Move preference-related classes to a new package while we're at it,
to reduce code clutter.

Change-Id: I2430e8ab9b6758503ce1777ec985a3e400b55b8e
2026-01-23 08:16:23 +09:00
Adithya R
a43373294b dolby: Introduce graphical equalizer
Squashed:

dolby: Refresh preset name on main screen

Change-Id: I96783e2a03c384f031787f4cc9140f7d64dadb2f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

Change-Id: I38ee6ce594e5671af42afc3d4bf0f004329482b9
2026-01-23 08:16:23 +09:00
Pranav Vashi
d080d60171 dolby: Add launcher icon
Change-Id: I4d36842ca96048f9b55604d66cc7741759d657f3
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
[adithya2306: Add monochrome icon as well]
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2026-01-23 08:16:23 +09:00
Adithya R
ab8b987d02 fixup! dolby: Restore all settings upon bootup
Stereo widening dependency on virtualizer was accidentally removed.

Change-Id: I9b1e35aef5037935af3dc18a303408e2a81ca635
2026-01-23 08:16:23 +09:00
Adithya R
1fdea7dc97 dolby: Restore current profile _after_ resetting profiles
Ensure to end the onBootCompleted routine with the correct profile set.

Change-Id: I2d5f74a7c0145af2f9d064cd98fa2dc70e5a7acd
2026-01-23 08:16:23 +09:00
Adithya R
99c749a64c dolby: Do not set volume leveler amount
This value is set to zero in almost every known dax-default.xml,
including ours.
DaxService also doesn't mess with this value, instead only sets
VolumeLevelerEnabled.

Change-Id: Ib944728d478cff58aebc4f47128bcd5fe32ff9f6
2026-01-23 08:16:23 +09:00
Adithya R
649443ae12 dolby: Restore all settings upon bootup
Dolby often messes up restoring profile-specific settings after a reboot.
"Fine. I'll do it myself."

Change-Id: Ic255c6922eabae0b522c05110f87e2c10a97fb6c
2026-01-23 08:16:23 +09:00
Adithya R
87ec3c12c3 dolby: Rewrite in Kotlin
Some cleanup and restructuring while we're at it.

Change-Id: I2f1fc53c202d91421c7b6af68c814c25398a62e4
2026-01-23 08:16:23 +09:00
Adithya R
beea2617ad dolby: Revert "Re-enable speaker virtualization after bootup"
No longer necessary

Change-Id: Iac820eafa71ea3e4ccaad2bfa0fb76c37279a22a
2026-01-23 08:16:23 +09:00
Adithya R
d3353c6ab3 xiaomi: Introduce Dolby Atmos
Moved from marble/sm8450-common

History:

commit 82fe03168c0402e4cb10d25859c3b398c0ef654a
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Thu Mar 21 21:35:36 2024 +0530

    marble: parts: Restore dolby profile on audio changes

    Something keeps resetting back at random times, from what I observed,
    after resuming media or on a device change, lets workaround that.

    Change-Id: Id065f2482636194655c2399f0c35ad56b8e7a29d

commit c4400bd1326f65aeac1d0f26bb830ce7fd079773
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Fri Feb 2 09:29:08 2024 +0530

    marble: parts/keyhandler: Guard debug logging

    Change-Id: I246941f26cd1f71b696eb3c996794c9baa5dbc00

commit f11b70a98a11d0b89673d73002996aed9f11fbd7
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Sun Dec 31 20:36:52 2023 +0530

    marble: parts: Re-enable speaker virtualization after bootup

    For whatever reason, speaker virtualization isn't automatically
    restored at bootup unlike the other parameters. It was reported to be
    fixed by connecting and disconnecting headphones or disabling and
    enabling the toggle, so let's just automate that at bootup.

commit abcff4fb947c89b69c1d25bd290fd91b7873af6a
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Fri Oct 20 06:49:19 2023 +0530

    marble: parts: Implement profile-specific Dolby settings

    Some refactoring and cleanup while we're at it.

commit dc54f9ddeff212d017b0cba16e56516e99335bb3
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Mon Oct 9 21:58:58 2023 +0530

    marble: parts: Remove play/pause hack while toggling Dolby

    Not required with/fixed by:
    35217: audioflinger: Do not allow DAP effect to be suspended | https://gerrit.aospa.co/c/AOSPA/android_frameworks_av/+/35217

commit dd2acc8e0c10d05f86ff229412cc9f72ea242b44
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Wed Sep 13 21:41:20 2023 +0530

    marble: parts: Set proper summary for dolby settings

    Show the current status in Settings > Sound as well as the QS tile.

commit 92d341ba3d22f323eded525487db4289d6edc0fe
Author: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Date:   Fri Aug 25 10:26:53 2023 +0200

    marble: parts: Always refresh playback if status changed

     * otherwise dolby would stay active even if you disable its setting

    Change-Id: If59d8081fa12da2aa67e5149db97965c0805d76e

commit b1944744649b6fddcb7bc3864b92f298b6e78821
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date:   Mon Aug 21 13:21:18 2023 +0530

    marble: parts: Introduce Dolby Atmos

    Based on existing dirac implementation and observing stock
    sound effects app and daxservice.

    Thanks to jhenrique09 for the hack from old dirac parts
    "Pause/play music stream to get effects applied".

    TODO: bring back misound (same as stock)

    Co-authored-by: Henrique Silva <jhenrique09.mcz@hotmail.com>

Change-Id: I79841c045fe7b92c438177916f756faab72ff0e9
2026-01-23 08:16:23 +09:00
Rocky Fang
040e50155c aidl: sensors: Set dynamic_sensor_timeout to 1600 during boot
Test: on device test
Bug: 398856625
Flag: EXEMPT N/A for *.rc file

Change-Id: I6c97e6b34305934efdc833e96f0aa4374cb3d878
2026-01-23 08:16:19 +09:00
Bruno Martins
91d15fa7af xiaomi: Move all apps under packages directory
Becomes much better organized.

Change-Id: Ifb7c4d984e7ac1776edc567e682f8d4b0b713543
2026-01-22 13:23:28 +02:00
Jihoon Kang
dbf0dc9428 aidl: sensors: Define vintf_fragments as modules
Define vintf_fragments as modules so that the generated vintf
manifest.xml file is identical between soong and make.

Test: m --no-soong-only && diff xml files
Bug: 322089980
Bug: 409368614
Change-Id: I75c698dfdac9f84a2b37afef62b4086b7b0a5210
2026-01-17 18:21:15 +00:00
Rocky Fang
2c14234077 aidl: sensors: Update a misleading error log.
Bug: 389000592
Bug: 400469383
Test: Presubmit
Flag: EXEMPT bugfix
Change-Id: I0ce33c9e9f7bf4136a1d8aa9219dfce45de157e9
2026-01-17 18:20:34 +00:00