Commit Graph

9 Commits

Author SHA1 Message Date
Alexander Koskovich
4fa5583056 sm6375-common: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2023-01-16 02:54:36 +00:00
Alexander Koskovich
6e1ef5ae16 sm6375-common: Add Bluetooth power overlays to sysprops
* These are currently in FrameworksResTarget, but were
   moved to sysprops in Android 13.

   976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2023-01-16 02:31:44 +00:00
Sal Savage
31054045d8 sm6375-common: Use the ?= operator so BT properties can be overridden
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.

Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c
2023-01-16 02:22:02 +00:00
Sal Savage
a5bea0762a sm6375-common: Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Change-Id: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1
2023-01-16 02:22:02 +00:00
Sal Savage
b3ed40bb5e sm6375-common: Update LE Audio profile properties to match spec and implementation
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I9312b9b70b51603aca6da6f4081533ab73c1614d
2023-01-16 02:22:02 +00:00
Sal Savage
3917ebd967 sm6375-common: Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Change-Id: Idd7e52b7822915ed61299f1c0b29bf87ca0339fe
2023-01-16 02:22:02 +00:00
kiranpranay
f06cb05b23 sm6375-common: overlay: Fix Video Calling
Co-Authored-By: AngeloGioacchino Del Regno <kholk11@gmail.com>
Co-Authored-By: IMMANUEL44 <immanuelr44@gmail.com>
Signed-off-by: Anar Jabiyev <cebiyevanar@gmail.com>
Change-Id: I9b785c9ad6d77780ef9ac4bc8545bf4d2795132d
2022-09-04 23:16:44 +00:00
hkuang
509fed3481 sm6375-common: Update the transcoding operating rate
Bug: 175231451
Test: CtsMediaTranscodingTestCases:MediaTranscodeManagerTest
Change-Id: Id25ce60b58ab29a8670695c77be20dd53d63981a
2022-09-04 13:00:15 +00:00
kubersharma001
c4b7cc6c9d sm6375-common: Import product props
- V13.0.8.0.RKCMIXM

Change-Id: I54c4a00971a42750a4b0809913250f72b0b7c167
2022-09-04 13:00:14 +00:00