1#
2# Copyright (C) 2021 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17SHIPPING_API_LEVEL := 34
18
19ifdef RELEASE_GOOGLE_CAIMAN_RADIO_DIR
20RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_CAIMAN_RADIO_DIR)
21endif
22ifdef RELEASE_GOOGLE_CAIMAN_RADIOCFG_DIR
23RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_CAIMAN_RADIOCFG_DIR)
24endif
25RELEASE_GOOGLE_BOOTLOADER_CAIMAN_DIR ?= 24D1# Keep this for pdk TODO: b/327119000
26RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CAIMAN_DIR)
27$(call soong_config_set,caimito_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CAIMAN_DIR))
28
29ifdef RELEASE_KERNEL_CAIMAN_VERSION
30TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_CAIMAN_VERSION)
31else
32TARGET_LINUX_KERNEL_VERSION ?= 6.1
33endif
34
35ifdef RELEASE_KERNEL_CAIMAN_DIR
36TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_CAIMAN_DIR)
37TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_CAIMAN_DIR)/kernel-headers
38
39ifneq ($(TARGET_BOOTS_16K),true)
40PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_CAIMAN_16K_DEVELOPER_OPTION)
41endif
42
43include device/google/caimito/device-caimito-16k-common.mk
44
45else
46TARGET_KERNEL_DIR ?= device/google/caimito-kernels/6.1/24D1
47TARGET_BOARD_KERNEL_HEADERS ?= device/google/caimito-kernels/6.1/24D1/kernel-headers
48endif
49
50LOCAL_PATH := device/google/caimito
51
52ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
53    USE_UWBFIELDTESTQM := true
54endif
55ifeq ($(filter factory_caiman, $(TARGET_PRODUCT)),)
56    include device/google/caimito/caiman/uwb/uwb_calibration.mk
57endif
58
59$(call inherit-product-if-exists, vendor/google_devices/caimito/prebuilts/device-vendor-caiman.mk)
60$(call inherit-product-if-exists, vendor/google_devices/zumapro/prebuilts/device-vendor.mk)
61$(call inherit-product-if-exists, vendor/google_devices/zumapro/proprietary/device-vendor.mk)
62$(call inherit-product-if-exists, vendor/google_devices/caiman/proprietary/device-vendor.mk)
63$(call inherit-product-if-exists, vendor/google_devices/caimito/proprietary/caiman/device-vendor-caiman.mk)
64$(call inherit-product-if-exists, vendor/qorvo/uwb/qm35-hal/Device.mk)
65
66ifeq ($(filter factory_caiman, $(TARGET_PRODUCT)),)
67    $(call inherit-product-if-exists, vendor/google_devices/caimito/proprietary/WallpapersCaiman.mk)
68endif
69
70# display
71DEVICE_PACKAGE_OVERLAYS += device/google/caimito/caiman/overlay
72
73ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL),true)
74USE_AUDIO_HAL_AIDL := true
75endif
76
77include device/google/caimito/audio/caiman/audio-tables.mk
78include device/google/zumapro/device-shipping-common.mk
79include device/google/gs-common/bcmbt/bluetooth.mk
80include device/google/gs-common/touch/gti/predump_gti.mk
81include device/google/caimito/fingerprint/ultrasonic_udfps.mk
82include device/google/gs-common/modem/radio_ext/radio_ext.mk
83include device/google/gs-common/pixelsupport/pixelsupport.mk
84include device/google/gs-common/gril/hidl/1.7/gril_hidl.mk
85
86# Increment the SVN for any official public releases
87ifdef RELEASE_SVN_CAIMAN
88TARGET_SVN ?= $(RELEASE_SVN_CAIMAN)
89else
90# Set this for older releases that don't use build flag
91TARGET_SVN ?= 04
92endif
93
94PRODUCT_VENDOR_PROPERTIES += \
95    ro.vendor.build.svn=$(TARGET_SVN)
96
97# Set device family property for SMR
98PRODUCT_PROPERTY_OVERRIDES += \
99    ro.build.device_family=CM4KM4TK4TG4
100
101# Set build properties for SMR builds
102ifeq ($(RELEASE_IS_SMR), true)
103    ifneq (,$(RELEASE_BASE_OS_CAIMAN))
104        PRODUCT_BASE_OS := $(RELEASE_BASE_OS_CAIMAN)
105    endif
106endif
107
108# Set build properties for EMR builds
109ifeq ($(RELEASE_IS_EMR), true)
110    ifneq (,$(RELEASE_BASE_OS_CAIMAN))
111        PRODUCT_PROPERTY_OVERRIDES += \
112        ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_CAIMAN)
113    endif
114endif
115
116# go/lyric-soong-variables
117$(call soong_config_set,lyric,camera_hardware,caiman)
118$(call soong_config_set,lyric,tuning_product,caiman)
119$(call soong_config_set,google3a_config,target_device,caiman)
120
121PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layers=true
122
123# Init files
124PRODUCT_COPY_FILES += \
125	device/google/caimito/conf/init.caiman.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.caiman.rc
126
127# Recovery files
128PRODUCT_COPY_FILES += \
129        device/google/caimito/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.caiman.rc
130
131# NFC
132PRODUCT_COPY_FILES += \
133	frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
134	frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
135	frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
136	frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
137	frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
138	device/google/caimito/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
139	device/google/caimito/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
140
141PRODUCT_PACKAGES += \
142	$(RELEASE_PACKAGE_NFC_STACK) \
143	Tag \
144	android.hardware.nfc-service.st \
145	NfcOverlayCaiman
146
147# SecureElement
148PRODUCT_PACKAGES += \
149	android.hardware.secure_element-service.thales
150
151PRODUCT_COPY_FILES += \
152	frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
153	frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
154	device/google/caimito/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf
155
156# Bluetooth HAL
157PRODUCT_COPY_FILES += \
158	device/google/caimito/bluetooth/bt_vendor_overlay_caiman.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
159PRODUCT_PROPERTY_OVERRIDES += \
160    ro.bluetooth.a2dp_offload.supported=true \
161    persist.bluetooth.a2dp_offload.disabled=false \
162    persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
163
164# Coex Config
165PRODUCT_SOONG_NAMESPACES += device/google/caimito/radio/caiman/coex
166PRODUCT_PACKAGES += \
167    camera_front_mipi_coex_table \
168    camera_rear_main_dbr_coex_table \
169    camera_rear_main_mipi_coex_table \
170    camera_rear_tele_mipi_coex_table \
171    camera_rear_wide_mipi_coex_table \
172    display_primary_mipi_coex_table
173
174# Bluetooth Tx power caps
175PRODUCT_COPY_FILES += \
176        $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_caiman.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
177        $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_caiman_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv \
178        $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_caiman_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_CA.csv \
179        $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_caiman_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \
180        $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_caiman_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv
181
182# DCK properties based on target
183PRODUCT_PROPERTY_OVERRIDES += \
184    ro.gms.dck.eligible_wcc=3 \
185    ro.gms.dck.se_capability=1
186
187# POF
188PRODUCT_PRODUCT_PROPERTIES += \
189    ro.bluetooth.finder.supported=true
190
191# Spatial Audio
192PRODUCT_PACKAGES += \
193	libspatialaudio
194
195# declare use of spatial audio
196PRODUCT_PROPERTY_OVERRIDES += \
197       ro.audio.spatializer_enabled=true
198
199ifneq ($(USE_AUDIO_HAL_AIDL),true)
200# HIDL Sound Dose
201PRODUCT_PACKAGES += \
202	android.hardware.audio.sounddose-vendor-impl \
203	audio_sounddose_aoc
204endif
205
206# HdMic Audio
207PRODUCT_SOONG_NAMESPACES += device/google/caimito/audio/caiman/prebuilt/libspeechenhancer
208PRODUCT_PROPERTY_OVERRIDES += \
209    persist.vendor.app.audio.gsenet.version=1
210PRODUCT_PACKAGES += \
211    libspeechenhancer
212
213# Audio CCA property
214PRODUCT_PROPERTY_OVERRIDES += \
215	persist.vendor.audio.cca.enabled=false
216
217# Bluetooth hci_inject test tool
218PRODUCT_PACKAGES_DEBUG += \
219    hci_inject
220
221# Bluetooth OPUS codec
222PRODUCT_PRODUCT_PROPERTIES += \
223    persist.bluetooth.opus.enabled=true
224
225# Bluetooth SAR test tool
226PRODUCT_PACKAGES_DEBUG += \
227    sar_test
228
229# Bluetooth EWP test tool
230PRODUCT_PACKAGES_DEBUG += \
231    ewp_tool
232
233# Bluetooth AAC VBR
234PRODUCT_PRODUCT_PROPERTIES += \
235    persist.bluetooth.a2dp_aac.vbr_supported=true
236
237# Bluetooth Super Wide Band
238PRODUCT_PRODUCT_PROPERTIES += \
239    bluetooth.hfp.swb.supported=true
240
241# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
242ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
243PRODUCT_PRODUCT_PROPERTIES += \
244    persist.bluetooth.bqr.event_mask=295006 \
245    persist.bluetooth.bqr.vnd_quality_mask=29 \
246    persist.bluetooth.bqr.vnd_trace_mask=0 \
247    persist.bluetooth.vendor.btsnoop=true
248else
249PRODUCT_PRODUCT_PROPERTIES += \
250    persist.bluetooth.bqr.event_mask=295006 \
251    persist.bluetooth.bqr.vnd_quality_mask=16 \
252    persist.bluetooth.bqr.vnd_trace_mask=0 \
253    persist.bluetooth.vendor.btsnoop=false
254endif
255
256# default BDADDR for EVB only
257PRODUCT_PROPERTY_OVERRIDES += \
258	ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
259
260# Spatial Audio
261PRODUCT_PACKAGES += \
262	libspatialaudio \
263	librondo
264
265# Keymaster HAL
266#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= [email protected]
267
268# Gatekeeper HAL
269#LOCAL_GATEKEEPER_PRODUCT_PACKAGE ?= [email protected]
270
271
272# Gatekeeper
273# PRODUCT_PACKAGES += \
274# 	[email protected]
275
276# Keymint replaces Keymaster
277# PRODUCT_PACKAGES += \
278# 	android.hardware.security.keymint-service
279
280# Keymaster
281#PRODUCT_PACKAGES += \
282#	[email protected] \
283#	[email protected]
284
285#PRODUCT_PACKAGES += [email protected]
286#PRODUCT_PACKAGES += [email protected]
287#LOCAL_KEYMASTER_PRODUCT_PACKAGE := [email protected]
288#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= [email protected]
289
290# PRODUCT_PROPERTY_OVERRIDES += \
291# 	ro.hardware.keystore_desede=true \
292# 	ro.hardware.keystore=software \
293# 	ro.hardware.gatekeeper=software
294
295# PowerStats HAL
296PRODUCT_SOONG_NAMESPACES += \
297    device/google/caimito/powerstats/caiman
298
299# UWB Overlay
300PRODUCT_PACKAGES += \
301    UwbOverlayCM4
302
303# WiFi Overlay
304PRODUCT_PACKAGES += \
305    WifiOverlay2024
306
307# Settings Overlay
308PRODUCT_PACKAGES += \
309    SettingsCaimanOverlay
310
311# Trusty liboemcrypto.so
312PRODUCT_SOONG_NAMESPACES += vendor/google_devices/caimito/prebuilts
313
314# UWB
315PRODUCT_SOONG_NAMESPACES += \
316    device/google/caimito/caiman/uwb
317
318# Location
319PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/caiman
320$(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT))
321PRODUCT_PACKAGES += gps.cfg
322# For GPS property
323PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true
324
325# Display LBE
326PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
327
328# Display ACL
329PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.acl.default=1
330
331#Thermal VT estimator
332PRODUCT_PACKAGES += \
333    libthermal_tflite_wrapper
334
335PRODUCT_VENDOR_PROPERTIES += \
336	persist.device_config.configuration.disable_rescue_party=true
337
338PRODUCT_VENDOR_PROPERTIES += \
339    persist.vendor.udfps.als_feed_forward_supported=true \
340    persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
341
342# OIS with system imu
343PRODUCT_VENDOR_PROPERTIES += \
344    persist.vendor.camera.ois_with_system_imu=true
345
346# Allow external binning setting
347PRODUCT_VENDOR_PROPERTIES += \
348    persist.vendor.camera.allow_external_binning_setting=true
349
350# Camera Vendor property
351PRODUCT_VENDOR_PROPERTIES += \
352    persist.vendor.camera.front_720P_always_binning=true
353
354# Enable camera exif model/make reporting
355PRODUCT_VENDOR_PROPERTIES += \
356    persist.vendor.camera.exif_reveal_make_model=true
357
358# Media Performance Class 15
359PRODUCT_PRODUCT_PROPERTIES += ro.odm.build.media_performance_class=35
360
361# Display RRS default Config
362PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=960x2142@120:120
363PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.preferred_mode=960x2142@120:120
364
365ifeq ($(filter factory_caiman, $(TARGET_PRODUCT)),)
366    PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.xrr.version=2.1
367    PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.blocking_zone.min_refresh_rate_by_nits=:1
368    PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.vrr.expected_present.headsup_ns=30000000
369    PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.vrr.expected_present.timeout_ns=500000000
370endif
371
372# Display OP HZ Config
373PRODUCT_VENDOR_PROPERTIES += \
374    vendor.primarydisplay.op.hs_hz=120 \
375    vendor.primarydisplay.op.ns_hz=120
376
377# Display fixed TE2
378PRODUCT_VENDOR_PROPERTIES += vendor.primarydisplay.fixed_te2.default_rate_hz=120
379
380# Vibrator HAL
381$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
382ACTUATOR_MODEL := luxshare_ict_081545
383ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
384PRODUCT_VENDOR_PROPERTIES += \
385    ro.vendor.vibrator.hal.chirp.enabled=1 \
386    ro.vendor.vibrator.hal.device.mass=0.222 \
387    ro.vendor.vibrator.hal.loc.coeff=2.8 \
388    persist.vendor.vibrator.hal.context.enable=false \
389    persist.vendor.vibrator.hal.context.scale=60 \
390    persist.vendor.vibrator.hal.context.fade=true \
391    persist.vendor.vibrator.hal.context.cooldowntime=1600 \
392    persist.vendor.vibrator.hal.context.settlingtime=5000 \
393    ro.vendor.vibrator.hal.pm.activetimeout=5
394
395# Override Output Distortion Gain
396PRODUCT_VENDOR_PROPERTIES += \
397    vendor.audio.hapticgenerator.distortion.output.gain=0.48
398
399# PKVM Memory Reclaim
400PRODUCT_VENDOR_PROPERTIES += \
401    hypervisor.memory_reclaim.supported=1
402
403# Bluetooth LE Audio
404# Unicast
405PRODUCT_PRODUCT_PROPERTIES += \
406	bluetooth.profile.bap.unicast.client.enabled=true \
407	bluetooth.profile.csip.set_coordinator.enabled=true \
408	bluetooth.profile.hap.client.enabled=true \
409	bluetooth.profile.mcp.server.enabled=true \
410	bluetooth.profile.ccp.server.enabled=true \
411	bluetooth.profile.vcp.controller.enabled=true
412
413# Set support one-handed mode
414PRODUCT_PRODUCT_PROPERTIES += \
415    ro.support_one_handed_mode=true
416
417# Bluetooth LE Audio Broadcast
418PRODUCT_PRODUCT_PROPERTIES += \
419	bluetooth.profile.bap.broadcast.assist.enabled=true \
420	bluetooth.profile.bap.broadcast.source.enabled=true
421
422# LE Audio switcher in developer options
423PRODUCT_PRODUCT_PROPERTIES += \
424	ro.bluetooth.leaudio_switcher.supported=true \
425
426# Enable hardware offloading
427PRODUCT_PRODUCT_PROPERTIES += \
428	ro.bluetooth.leaudio_offload.supported=true \
429	persist.bluetooth.leaudio_offload.disabled=false
430
431# Bluetooth LE Audio CIS handover to SCO
432# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
433PRODUCT_PRODUCT_PROPERTIES += \
434	persist.bluetooth.leaudio.notify.idle.during.call=true
435
436# LE Audio Offload Capabilities setting
437PRODUCT_COPY_FILES += \
438    device/google/caimito/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
439
440# Disable LE Audio dual mic SWB call support
441# This may depend on the BT controller capability or the launch strategy
442# For example, P22 BT chip is not able to support 32k dual mic
443# P23a disabled the 32k dual mic as it is not in the phase 2 launch plan
444PRODUCT_PRODUCT_PROPERTIES += \
445    bluetooth.leaudio.dual_bidirection_swb.supported=true
446
447# LE Audio Unicast Allowlist
448PRODUCT_PRODUCT_PROPERTIES += \
449   persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5,SM-R630
450
451# Support LE & Classic concurrent encryption (b/330704060)
452PRODUCT_PRODUCT_PROPERTIES += \
453    bluetooth.ble.allow_enc_with_bredr=true
454
455# Keyboard height ratio and bottom padding in dp for portrait mode
456PRODUCT_PRODUCT_PROPERTIES += \
457          ro.com.google.ime.kb_pad_port_b=8 \
458          ro.com.google.ime.height_ratio=1.12
459
460# Exynos RIL and telephony
461# Support RIL Domain-selection
462SUPPORT_RIL_DOMAIN_SELECTION := true
463
464SUPPORT_VENDOR_SATELLITE_SERVICE := true
465
466# Support NTN(satellite) with dual SIM
467NTN_DUAL_SIM := true
468
469# ETM
470ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
471$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
472endif
473
474# Enable Bluetooth AutoOn feature
475PRODUCT_PRODUCT_PROPERTIES += \
476    bluetooth.server.automatic_turn_on=true
477
478# Window Extensions
479$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
480
481# Connectivity Resources Overlay for Thread host settings
482PRODUCT_PACKAGES += \
483    ConnectivityResourcesOverlayCaimitoOverride
484
485# Thread Dispatcher enablement in Bluetooth HAL
486PRODUCT_PRODUCT_PROPERTIES += \
487    persist.bluetooth.thread_dispatcher.enabled=false
488
489#Component Override for Pixel Troubleshooting App
490PRODUCT_COPY_FILES += \
491    device/google/caimito/caiman/caiman-component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/caiman-component-overrides.xml
492
493# Bluetooth device id
494# Caiman: 0x4110
495PRODUCT_PRODUCT_PROPERTIES += \
496    bluetooth.device_id.product_id=16656
497
498# Set support for LEA multicodec
499PRODUCT_PRODUCT_PROPERTIES += \
500    bluetooth.core.le_audio.codec_extension_aidl.enabled=true
501
502# LE Audio configuration scenarios
503PRODUCT_COPY_FILES += \
504    device/google/caimito/bluetooth/audio_set_scenarios.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_scenarios.json
505
506PRODUCT_COPY_FILES += \
507    device/google/caimito/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json
508
509# Enable APF by default
510PRODUCT_VENDOR_PROPERTIES += \
511    vendor.powerhal.apf_disabled=false \
512    vendor.powerhal.apf_enabled=true
513