BT: update bt system property and overlay config

Bug: 331884942
Test: build and check system property and config file at device
Change-Id: I81b51823df591a3ff0a72b538d0e45cd904c7592
This commit is contained in:
kuanyuhuang 2024-03-29 06:02:27 +00:00
parent 9fb19253e9
commit d40f1b4814
4 changed files with 93 additions and 39 deletions

27
bluetooth/Android.bp Normal file
View file

@ -0,0 +1,27 @@
//
// Copyright (C) 2024 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
soong_namespace {
}
package {
default_applicable_licenses: ["device_google_tegu_license"],
}
prebuilt_etc {
name: "le_audio_codec_capabilities.xml",
vendor: true,
src: "le_audio_codec_capabilities.xml",
}

View file

@ -3,20 +3,22 @@
# Uart port name
UartPort = /dev/ttySAC18
# Userial type
# UserialType = 2
# Priority of uart type
# HciUartSocket = 0
# SerialUartPort = 1
# SerialAocUartPort = 2
# UserialInvalid = 3
UserialTypePriority = 1
# <boolean> Enable check whether let aoc controls power pin
AocPowerPinCtrlCheckEnable = true
# <string> The hardware support which offload capability
BtOffloadCap = AOC
# <string> The BT Offload Trunk Flag Group Name
BtOffloadTrunkGroup = 25M_AOC
# Sar backOff high resolution support
SarBackOffHighResolution = true
# Update BQR Event Mask property value
BqrEventMaskValueUpdate = 262238
BtA2dpOffloadCap = sbc-aac-aptx-aptxhd-ldac-opus
BtOpusEnabled = true
AccelBtDisable = false
BtHalRecoveryByRestart = true

View file

@ -1,12 +0,0 @@
# This is BTBCM HAL overlay configuration file.
# Uart port name
UartPort = /dev/ttySAC18
# Userial type
# UserialType = 2
# Sar backOff high resolution support
SarBackOffHighResolution = true
AccelBtDisable = false