Commit graph

12 commits

Author SHA1 Message Date
Michael Bestas
aa1c1da3c0
sm6225-common: Disable app freezer
Change-Id: I2fa2ee133008736ee233e063ec11d152c3dadb87
2023-05-19 04:20:33 +03:00
Michael Bestas
862362c8c6
sm6225-common: Import lmkd props from stock
Change-Id: I85a9bd6d61b95b00cfabc41d9f1911514ad2b915
2023-05-19 04:20:33 +03:00
Michael Bestas
5cb5a1a942
sm6225-common: Move properties around
* Move whatever makes sense to vendor
* Eliminate system.prop

Change-Id: I2fd914463fec036b09ca673dfa2f72ff1992ca87
2023-04-20 19:12:32 +03:00
Michael Bestas
a3f3ca2931
sm6225-common: Update properties
* Remove properties that are same as defaults
* Add missing properties from stock
* Correct some properties from stock

Change-Id: I9ee3b8c1760e33b14a1b8a81a99c80ade35cdfd2
2023-04-20 19:12:28 +03:00
Michael Bestas
c8c5c3db01
sm6225-common: Sort properties
Change-Id: Ifd699f4be39f62e357621b4d3e892fc9589dd02a
2023-04-20 18:28:20 +03:00
Alexander Koskovich
da8595804a
sm6225-common: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2023-04-14 05:18:18 +03:00
Alice Kuo
44402c56d8
sm6225-common: Disable LE audio related profiles
Bug: 231671426
Test: build
Change-Id: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
Merged-In: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
(cherry picked from commit acb0b19b8348a4b9518d2f46b1599f423f620347)
2023-04-14 05:07:34 +03:00
Sal Savage
a399d4ed80
sm6225-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-04-14 05:07:13 +03:00
Sal Savage
eb2c6e9743
sm6225-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-04-14 05:06:48 +03:00
Sal Savage
7d26fc869c
sm6225-common: Update LE Audio profile properties to match spec and implementation
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I9312b9b70b51603aca6da6f4081533ab73c1614d
2023-04-14 05:06:32 +03:00
Sal Savage
3164d99718
sm6225-common: Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Change-Id: Idd7e52b7822915ed61299f1c0b29bf87ca0339fe
2023-04-14 05:06:07 +03:00
Dhina17
dddfe6b32a sm6225-common: Import initial properties
Change-Id: I589704358b06b08000eac3e638bc628091f9fbb6
2023-03-30 22:51:57 +05:30