Commit graph

69 commits

Author SHA1 Message Date
Edwin Moquete
7a8ba5de0c dre: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: cf25e33147

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2023-02-14 21:15:53 -06:00
Edwin Moquete
e95c402869 dre: Restore vendor bluetooth props
These are read by the BT audio blobs, even without the
QTI BT stack.

Change-Id: Ia2335bedfd7e19899c2cb32c23fcc664f2cfe8ce
2023-02-14 21:15:53 -06:00
LuK1337
4831b7afb9 dre: Migrate vendor.camera.aux.packageexcludelist to overlay
Change-Id: Iee884cc98b5fada492b27e8085de98ae08406cf4
2023-02-10 10:06:43 -06:00
Bruno Martins
29eeb7cafd dre: Switch to AOSP BT stack
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
2023-02-10 10:06:43 -06:00
LuK1337
fd763c826c dre: Pull appropriate USB props from vendor_product.mk
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2022-12-15 18:50:53 -06:00
Michael Bestas
2852296ff8 dre: Remove persist.sys.fflag.override.settings_bluetooth_hearing_aid
This has been replaced by `bluetooth.profile.asha.central.enabled`

Change-Id: I0bb72ec01a77f790ebeb594e45c695e9a087dc43
2022-12-15 18:50:53 -06:00
Alexander Koskovich
dbb445de25 dre: Move Bluetooth power overlays to sysprops
* These were moved to sysprops in Android 13 [1] and while
   frameworks reads the values directly from power_profile.xml
   Bluetooth app reads from the properties.

 [1] 976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2022-12-15 18:50:53 -06:00
Alice Kuo
053210fbd1 dre: Disable LE audio related profiles
Bug: 231671426
Test: build
Change-Id: I57eaa7abe70e4c7739c707b09dc95530e10b5586
2022-12-15 18:50:53 -06:00
Sal Savage
30669050a8 dre: 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
Merged-In: Ie29700e8b87f6f3fc2da741411dfbe94fa56ca36
Change-Id: Ie29700e8b87f6f3fc2da741411dfbe94fa56ca36
2022-12-15 18:50:53 -06:00
Sal Savage
f6ad7132cd dre: 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

Merged-In: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
Change-Id: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
2022-12-15 18:50:53 -06:00
Sal Savage
8cc553454c dre: Update LE Audio profile properties
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Merged-In: I0d23d92ae4d75d6658c2ab2ca25122dd5ac68300
Change-Id: I0d23d92ae4d75d6658c2ab2ca25122dd5ac68300
2022-12-15 18:50:53 -06:00
Alexander Koskovich
4fe805701c dre: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2022-12-15 18:50:53 -06:00
Woody Lin
b7798f1084 dre: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2022-12-15 18:50:53 -06:00
Jayachandran C
b59ef5ea4a dre: Move default network property to vendor partition
This fixes GSI image overriding the default value

Bug: 153852350
Test: Manually verified after flashing the GSI image
Change-Id: I78b415862c420c23121ec03d6953814cd628ea9a
2022-11-06 17:11:02 -06:00
LuK1337
fdd6de8d14 dre: Disallow aux cam usage for Telegram / Telegram X
These seem to misbehave when they reach certain camera IDs.

Change-Id: Ib07269215d76a09bf5b305bfb6ae9b84f5c5a7d3
2022-11-06 17:11:02 -06:00
Alexander Koskovich
0edc4e9c42 dre: Drop unused audio properties
* ro.vendor.audio.sdk.ssr: False is default
   vendor.audio.enable.mirrorlink: Unused in AOSP
   vendor.audio.safx.pbe.enabled: False is default

Change-Id: If30194f5bcd4f69edf7ac43fe3725db4fe9b3da1
2022-11-06 17:11:02 -06:00
Alexander Koskovich
f651152569 dre: Move oplus specific properties to /odm
* Easier to track changes if we know everything in
   vendor.prop is from QCOM.

Change-Id: I02e65c4d4e4df344672fb4c04cf7ccace3b07b60
2022-11-06 17:11:02 -06:00
Alexander Koskovich
8a48076979 dre: Disable WiFi Aware & RTT for unsupported target
* Lahaina is supposed to be a supported target, but
   some CTS tests fail. Oplus also disables these in
   OOS.

Change-Id: I5921e0f4ecb2140a5610059bdd16cc6e99d7d725
2022-11-06 17:11:02 -06:00
Pratham Pratap
6dba679fe2 dre: Set sys.usb.mtp.batchcancel for MTP over FFS
* Currently, cancelEvents in MTP will cancel the requests one by
   one, and it will check each response to confirm success or
   failure. However, if kernel usb controller driver got the
   cancel request, the driver will handle all requests in the same
   endpoint so that the second io_cancel in cancelEvents will be
   useless causing the cancelEvents to return error and fail the
   transfer.

 * Fix this by setting sys.usb.mtp.batchcancel for the targets
   using MTP over FFS.

Change-Id: Icea9a2815c79ff710ee887d02e4c99dfe5ad6361
2022-11-06 17:11:02 -06:00
Alexander Koskovich
e34cc81234 dre: Drop vendor.media.vpp.oplus.version
* Used by system_ext/lib64/liboplusstagefright.so
   and Oplus' surfaceflinger, neither of which we
   have.

Change-Id: Id04538d5c7ed3424fbb8aab9031aa929c7e2fe01
2022-11-06 17:11:02 -06:00
Alexander Koskovich
433a1d18eb dre: Drop implied Bluetooth properties
Change-Id: Ibf99eb0a1cfec92b849403db710df3239e1de203
2022-11-06 17:11:02 -06:00
Vishalcj17
e7b7c5a976 dre: Steal SurfaceFlinger offsets from taro
* Before:
   Jitter: 0.6ms
   Total duration: 7.1ms

 * After:
   Jitter: 0.3ms
   Total duration: 6.4ms

Change-Id: I878eb5cd7acb1fa322b28fce61ea59d8bfa47932
2022-10-11 08:31:24 -05:00
Alexander Koskovich
8e8185245e dre: Sync display properties with holi
* Remove properties that aren't referenced anywhere
   and ones where the value is the default.

Change-Id: I0b68179c7d8d32ca5bde0b959e57e2146b8537a3
2022-10-11 08:31:24 -05:00
Alexander Koskovich
426a9e28f5 dre: Remove radio properties where the value is the default
Change-Id: I46a4fd1bc358fa7503a470054e8c6cd14ccfd1c0
2022-10-11 08:31:24 -05:00
Alexander Koskovich
89c8af1e55 dre: Remove ro.com.android.dataroaming override
* build/make/target/product/full_base_telephony.mk
   24:    ro.com.android.dataroaming?=true

 * system_ext/etc/build.prop:ro.com.android.dataroaming=false
   vendor/build.prop:ro.com.android.dataroaming=true

   In QSSI builds the partition priority is: odm, vendor,
   product, system_ext, system.

Change-Id: Ia90d73ce62a156e4b88731cffd4d5f7a6dd795e6
2022-10-11 08:31:24 -05:00
Alexander Koskovich
73bd7212e4 dre: Drop QSPM vendor property
* Only used in system_ext libraries that we don't include.

Change-Id: I5ddcb48558df9b396cf4753aca9044978d3ddcb5
2022-10-11 08:31:24 -05:00
Alexander Koskovich
45d6b0b943 dre: Drop PASR properties
* vendor.power.pasr.enabled is unused and vendor.pasr.activemode.enabled
   is only used on property:vendor.pasr.enabled=true, which isn't the
   case since we disable memory hotplugging kernel.

verify_pasr_support()
{
         if [ -d /sys/kernel/mem-offline ]; then
                setprop vendor.pasr.enabled true
         fi
}

Change-Id: I73145cb15bd970eaec3bd96f87a48c44e3115a3b
2022-10-11 08:31:24 -05:00
Alexander Koskovich
13c31dcd58 dre: Drop shutdown wait time property
* Can't find anything that uses it.

Change-Id: I146158a8f37fb888a3ae88e5241ab68f62d69194
2022-10-11 08:31:24 -05:00
Alexander Koskovich
b2de3cc369 dre: Drop vendor camera properties
* Unused, at least for us.

Change-Id: Icf0f599db2ed1d19be2a93f3ee362686333a2792
2022-10-11 08:31:24 -05:00
Alexander Koskovich
5a36ce2a00 dre: Sync audio properties with QSSI & MANNAR
* Remove all values that are assumed false.

Change-Id: I8885cb0af27c66aabdc4b2561e0eef48c60220cd
2022-10-11 08:31:24 -05:00
Alexander Koskovich
a99a36b875 dre: Move properties to their respective partitions
* They don't have permission to be set otherwise.

Change-Id: I63aa83d0ff316c5fe0c90df85f0951c4d3a19e06
2022-10-11 08:31:23 -05:00
Alexander Koskovich
4f1bc6a399 dre: Sync properties with OOS
Change-Id: I7b53d83d9acd46fd91f842f552338952a95f86d3
2022-10-11 08:31:23 -05:00
Albert Tang
aa5a3c68d7 dre: Enable automatic refresh rate switching
Change-Id: Idfed67ca24da746207e911ebb80e5c2e0481b5dc
2022-06-13 10:36:54 -05:00
Albert Tang
0246645893 dre: Move SurfaceFlinger properties to vendor.prop
Change-Id: I6a7aff873e528ad3bcd859547492694de142f605
2022-06-13 10:36:54 -05:00
Albert Tang
2f13abf6d5 dre: Set voice call volume steps to 9
Change-Id: I3ae8d2466aaaa563b2aa10e3675608bc68976591
2022-06-10 22:30:12 -05:00
Alexander Koskovich
845d1950c9 dre: Disable QCOM system daemon
* For factory use only and has real performance costs.

Change-Id: I2d25c28c2ba146fa4464cb49f02ead6a6d787b48
2022-06-10 22:30:12 -05:00
Albert Tang
2e43ab76f9 dre: Sync properties with OOS 11.0.6.0.DE17AA
Change-Id: I5a95e81a3baa4d3b7acd7b538796298565c01dfd
2022-06-06 21:01:30 -05:00
Albert Tang
35633e4a49 dre: Drop ro.gfx.driver
Neither of these exist in stock OOS.

Change-Id: Id37646e1c357b23782606acd6fb17eb5b034c2a2
2022-06-05 18:26:10 -05:00
Albert Tang
620d3be334 dre: Initial device tree conversion and decommonization
Added properties taken from lemonade and modified for dre.

Change-Id: Ibac1a345547184d7dc6e231ce9b867c457d6b576
2022-06-01 22:09:03 -05:00
Alexander Koskovich
1c3cd134a6 sm8350-common: Drop some unused properties
Change-Id: Ice71640f911be4146720d2df6fd2d29a9eb48021
2022-04-13 18:13:43 +01:00
Wilson Sung
04d89ff9cd sm8350-common: Set SOC manufacturer and chipset properties
Bug: 158284209
Bug: 180589452
Change-Id: I9be67a1a78ab1d3b4a0e717fb3381458eb4996da
2022-02-21 20:54:40 +00:00
LuK1337
17656ebff5 sm8350-common: Force DSDS rather than SSSS
This allows users to setprop dsds on a single SIM device without it
getting reset back to ssss on boot.

While this restricts disabling dsds on native dual SIM devices,
doubtfully anyone would actually want to do that.

Change-Id: I72f019c466d23a89f4c3438150b592d21b65b742
2021-06-08 20:01:32 +02:00
P.Adarsh Reddy
3ce0b4aae7 sm8350-common: Enable incremental FS feature.
Change-Id: I23e19b4fd6f65d9abeabb50b7b417db966717ccd
2021-06-06 22:25:22 +02:00
LuK1337
d202951a85 sm8350-common: Sync sensors related props with stock
Change-Id: I9995281b9e61f1dada7dc3369e060bec5ba9f3d5
2021-06-03 18:26:14 +02:00
Manisha Agarwal
13a9ce2716 sm8350-common: a2dp: Support lc3 codec playback
Add support for lc3 codec playback.

Change-Id: I11df956272068b6b7fe0911ce091225dccc4fd18
2021-06-02 18:02:47 +02:00
Bruno Martins
82593d3701 sm8350-common: Explicitly enable dm-default-key volume metadata encryption method
Change-Id: Iabfe4d15ac108fa594df391be728986274e3126e
2021-06-02 01:05:14 +02:00
LuK1337
0ff6496538 sm8350-common: Sync audio props with stock
Change-Id: Icf3bd214c67fa68ba113b55f374dad68a7a60850
2021-06-01 23:23:38 +01:00
Ajender Reddy
9847562161 sm8350-common: Enable vbat monitor feature by default
Change-Id: Ic5e8248bbd7c79553510d0094463607cc316a50e
2021-06-01 23:23:38 +01:00
Sudheer Papothi
14e5d46fab sm8350-common: Add speaker protection v4 configuration
Add speaker protection v4 configuration on lahaina.

Change-Id: I8d1e9e7055bc78ba4c14e395e0880c8ee8d20013
2021-06-01 23:23:38 +01:00
LuK1337
56e0ada962 sm8350-common: Enable display early wakeup
Change-Id: I43b9339763fefe732856db669687eeee4771c740
2021-06-01 23:23:38 +01:00