Device tree for Google Pixel 7 & 7 Pro
Find a file
Yung Ti Su 3ff3a57ebb Seperate audio_policy_configuration for a2dp and le
If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == true
use audio_policy_configuration_a2dp_offload_disabled.xml (a2dp X LE X)

If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == false AND
(ro.bluetooth.leaudio_offload.supported == false OR persist.bluetooth.leaudio_offload.disabled == true)
use audio_policy_configuration_le_offload_disabled.xml (a2dp O LE X)

If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == false AND
ro.bluetooth.leaudio_offload.supported == true AND persist.bluetooth.leaudio_offload.disabled == false
use default audio_policy_configuration.xml (a2dp O LE O)

Note:
The above settings are based on ro.bluetooth.a2dp_offload.supported == true condition
If ro.bluetooth.a2dp_offload.supported == false, the content of the default audio_policy_configuration.xml
file must be replaced by audio_policy_configuration_a2dp_offload_disabled.xml on the target

Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I4a9bd45c1341100217ab32fd81f7421af00e059d
2022-03-18 19:06:27 +08:00
audio Seperate audio_policy_configuration for a2dp and le 2022-03-18 19:06:27 +08:00
bluetooth bt: support Sar backoff high resolution command in P22 projects 2022-03-18 06:04:58 +00:00
cheetah Handle the network selection restoring in modem side 2022-03-16 17:53:01 +08:00
cloudripper Initialize device folder 2021-11-25 19:59:21 +08:00
conf P10: Start twoshay service during boot. 2022-03-08 05:08:41 +00:00
location gps: Enable SI SUPL over Wifi 2022-03-08 11:05:49 +00:00
nfc Enable STNFC_ACTIVERW_TIMER 2022-03-04 09:49:51 +08:00
panther Handle the network selection restoring in modem side 2022-03-16 17:53:01 +08:00
powerstats powerstats: add NFC state residency stats for specific device 2022-01-11 10:52:57 +08:00
ravenclaw Initialize device folder 2021-11-25 19:59:21 +08:00
rro_overlays/WifiOverlay wifi: configuration update 2022-02-17 04:27:25 +00:00
sensors Initialize device folder 2021-11-25 19:59:21 +08:00
uwb panta(uwb): update calibration file for uci uwb stack 2022-03-14 16:09:02 +00:00
wifi wifi: configuration update 2022-02-17 04:27:25 +00:00
Android.bp Initialize device folder 2021-11-25 19:59:21 +08:00
Android.mk Initialize device folder 2021-11-25 19:59:21 +08:00
AndroidProducts.mk Initialize device folder 2021-11-25 19:59:21 +08:00
aosp_cheetah.mk Enable radio on aosp_panther/cheetah 2022-01-21 09:36:16 +00:00
aosp_cloudripper.mk Remove DEVICE_USES_NO_TRUSTY for targets. 2022-01-20 23:35:26 +00:00
aosp_panther.mk Enable radio on aosp_panther/cheetah 2022-01-21 09:36:16 +00:00
aosp_ravenclaw.mk Remove DEVICE_USES_NO_TRUSTY for targets. 2022-01-20 23:35:26 +00:00
board-info.txt Initialize device folder 2021-11-25 19:59:21 +08:00
device-cheetah.mk battery: disable wireless for pts battery test 2022-03-17 18:03:29 +00:00
device-cloudripper.mk powerhint: fork powerhint.json for pantah 2022-03-08 15:22:52 +00:00
device-panther.mk battery: disable wireless for pts battery test 2022-03-17 18:03:29 +00:00
device-ravenclaw.mk powerhint: fork powerhint.json for pantah 2022-03-08 15:22:52 +00:00
factory_cheetah.mk Initialize device folder 2021-11-25 19:59:21 +08:00
factory_cloudripper.mk Initialize device folder 2021-11-25 19:59:21 +08:00
factory_panther.mk Initialize device folder 2021-11-25 19:59:21 +08:00
factory_ravenclaw.mk Initialize device folder 2021-11-25 19:59:21 +08:00
init.insmod.cheetah.cfg haptics: enable hapitcs sink and slot setting 2022-02-16 17:39:13 +00:00
init.insmod.cloudripper.cfg Initialize device folder 2021-11-25 19:59:21 +08:00
init.insmod.panther.cfg haptics: enable hapitcs sink and slot setting 2022-02-16 17:39:13 +00:00
init.insmod.ravenclaw.cfg Initialize device folder 2021-11-25 19:59:21 +08:00
manifest.xml audio: update AudioExt to 3.0 2022-02-15 09:13:54 +00:00
media_profiles_cheetah.xml media_profiles: Advertise 4K60 on C10 and P10. 2022-02-10 16:22:38 +00:00
media_profiles_cloudripper.xml media_profiles: Fix camcorder profile mappings. 2022-01-21 20:11:17 +00:00
media_profiles_panther.xml media_profiles: Advertise 4K60 on C10 and P10. 2022-02-10 16:22:38 +00:00
media_profiles_ravenclaw.xml Initialize device folder 2021-11-25 19:59:21 +08:00
NOTICE Initialize device folder 2021-11-25 19:59:21 +08:00
powerhint-cheetah.json disable powerhint for F2FS gc_urgent mode 2022-03-16 12:07:06 -07:00
powerhint-cloudripper.json disable powerhint for F2FS gc_urgent mode 2022-03-16 12:07:06 -07:00
powerhint-panther.json disable powerhint for F2FS gc_urgent mode 2022-03-16 12:07:06 -07:00
powerhint-ravenclaw.json disable powerhint for F2FS gc_urgent mode 2022-03-16 12:07:06 -07:00
thermal_info_config_cheetah.json thermal: Reduce DVFS throttling per BCL irq 2022-03-10 20:17:32 +00:00
thermal_info_config_cloudripper.json Revert "thermal: remove TPU/GPU cdev dependency" 2022-02-09 00:05:42 +00:00
thermal_info_config_panther.json thermal: Reduce DVFS throttling per BCL irq 2022-03-10 20:17:32 +00:00
thermal_info_config_ravenclaw.json thermal: Reduce DVFS throttling per BCL irq 2022-03-10 20:17:32 +00:00