Commit graph

1049 commits

Author SHA1 Message Date
Bruno Martins
535982b6d4 dre: Ship dependencies for S blobs
Change-Id: I36f92cf324ee0b1379e224b8a4415c4886bc2d11
2022-12-15 18:50:53 -06:00
LuK1337
fd763c826c dre: Pull appropriate USB props from vendor_product.mk
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2022-12-15 18:50:53 -06:00
Alexander Koskovich
92081d81fd dre: Update device that aptX is pulled from
* Same SHAs, but nice to note that it's the same on
   the newest release available.

Change-Id: I5c862470ac6f54251c8fa61984c734a51d89a750
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
Sal Savage
7a5ee8c328 dre: Enable Bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Merged-In: I0a76275baf2c80894b6be71d79b3265021ac921b
Change-Id: I0a76275baf2c80894b6be71d79b3265021ac921b
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
Edwin Moquete
7f8e345483 dre: Switch to legacy sepolicy_vndr
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2022-12-15 18:50:53 -06:00
Bowgo Tsai
59fb32fef9 dre: Removing GSI keys
Those keys will be embedded into VtsSecurityAvb on host side
instead, to verify the GSI image used on the device.

Bug: 149806769
Test: build and checks those keys are removed from
      $OUT/recovery/root/first_stage_ramdisk/avb/
Change-Id: I8a002ba6f1421fb460056ccae6572050bdb0ce3c
2022-12-15 18:50:53 -06:00
Albert Tang
859d381258 dre: overlay: Remove keyguard_indication_margin_bottom
This was mainly for UDFPS, which we do not have.

Change-Id: I5d6c984328d50515498d48fd1926c581fb61f7f2
2022-11-06 17:12:05 -06:00
Albert Tang
b9d9126ad0 dre: init: Load WLAN module during boot
Change-Id: I358d8e580996f9c5eb0bbd60f523ffcf160aea39
2022-11-06 17:12:05 -06:00
Albert Tang
4292f08385 dre: nfc: Use modified libnfc-hal-st.conf
Change-Id: I1c30f5d9e5a7212dfcda8cab168fb9d7eaccd1eb
2022-11-06 17:12:05 -06:00
Albert Tang
0a5706caf6 dre: audio: Fix audio policy configuration
Change-Id: I671912f888065474b85eb8515193a18abb8bed12
2022-11-06 17:12:05 -06:00
Albert Tang
adaa58d2ca dre: Update from OOS 11.C.16
Change-Id: Iadfe003a3ee0a7303de279debbd1708238877bf1
2022-11-06 17:12:03 -06:00
Albert Tang
5d02516f7a dre: Switch to oplus fingerprint HAL
The generic fingerprint HAL no longer works here.

Change-Id: Ibe16dd5f1e5c30de179c034e15b68ffb4a6f72ec
2022-11-06 17:11:02 -06:00
Albert Tang
da0d89af57 dre: overlay: Decommonize and restore from DE2117_11.C.15
Change-Id: Ib311d07854c7168668bd5d22d8c78eab74ac5af5
2022-11-06 17:11:02 -06:00
Albert Tang
cd0b7722b2 dre: Set faceunlock and enginner HALs as optional
Change-Id: Ia331733bd67701c2e58fb9e5df75d2801ee44efc
2022-11-06 17:11:02 -06:00
Albert Tang
44e20470d2 dre: Sync modules.load with DE2117_11.C.15
Change-Id: If6e9b7fcc8fa8fa355848ee8fb6f3dbb46ab777a
2022-11-06 17:11:02 -06:00
LuK1337
51d6e79867 dre: Extract hotword apps to correct directory
Fixes device blobs extract.

Change-Id: Ibdff2fcb3e49497733487c58b34404cb62e95280
2022-11-06 17:11:02 -06:00
Alexander Koskovich
6f00df6960 dre: Drop debug.sf.latch_unsignaled from system_ext.prop
* Already exists in vendor.prop

Change-Id: I4b98724aadf261e5b06c0135e305ffce455c14ae
2022-11-06 17:11:02 -06:00
Santiago Seifert
b80212bdfc dre: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
2022-11-06 17:11:02 -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
LuK1337
64700b2cd1 dre: Register IHighTouchPollingRate interface
Change-Id: I3c48324cd201e810f04ccaa39898d7c8e43fa2e5
2022-11-06 17:11:02 -06:00
LuK1337
cfed861db7 dre: overlay: Add VZW MMS UA profile config
config_mms_user_agent_profile_url seems dead but nonetheless stock still
seems to use it.

Change-Id: I78efbbfb5e2012f54905565e208a3b75fa05bf56
2022-11-06 17:11:02 -06:00
Alexander Koskovich
f5ba6792a2 dre: overlay: Move OPlusWifiResCommon to hardware/oplus
Change-Id: I0751a3271fcdeed3a5e43cf37ae49f67f75285b4
2022-11-06 17:11:02 -06:00
kocolin
c948487909 dre: Add some libraries to pinner list
Add some librart which will load during camera launch to reduce camera
launch time in I/O busy case.

Bug: 165825997
Test: Camera_checklist, dumpsys pinner
Change-Id: I48b5503ad674dc19cda940c44878291171fa4536
2022-11-06 17:11:02 -06:00
Alexander Koskovich
5f56fa086c dre: overlay: Don't translate some strings
Change-Id: I1ea88f84af03f157894c11f857fc59ad0a4bae88
2022-11-06 17:11:02 -06:00
Alexander Koskovich
ad5ad0568b dre: overlay: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2022-11-06 17:11:02 -06:00
Alexander Koskovich
9da020832f dre: Don't disable inband ringing as per OOS
Change-Id: Id424be6405464348d64410e91ca1d38f208ee465
2022-11-06 17:11:02 -06:00
Alexander Koskovich
d4135351bf dre: Define OPA device model ID for GMS
Change-Id: I3098054e9176fd3c4962791858e1047bbb94964a
2022-11-06 17:11:02 -06:00
Alexander Koskovich
93f3520fc8 dre: Add some relevant properties wanted by RMT storage
Change-Id: Ie354fd5a07e3673bcd5dcb4e067af55f20ba45a1
2022-11-06 17:11:02 -06:00
LuK1337
211108ed5e dre: Use hardware/oplus/sepolicy/qti
Keep certain policies here for now.

Change-Id: I8d1f4c402a4e9ce8d97cf315d32148f88089c4c5
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
6db1973e9a dre: Update to Boot Control HAL v1.2
Change-Id: Ib5d06c9b0c7e2ed000eb03a9bf18e4d78cc8740d
2022-11-06 17:11:02 -06:00
Alexander Koskovich
cfbc0ffd45 dre: Move bootctrl and gpt-utils to hardware/oplus
Change-Id: Icccbb163ab5b1678a7e6a6b042afbf52ec1e6c85
2022-11-06 17:11:02 -06:00
Michael Bestas
28bd6e8beb dre: bootctrl: Remove bootctrl.holi target
* This is no longer used after switching to QTI 1.1 impl

Change-Id: Id770b77da62c3b16eaea83cec366b299b1ea49d2
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
Alexander Koskovich
612812765a dre: Move DTC_EXT definition to vendor/lineage
Change-Id: I452ec4dabfd6abf052f020fe48527403df873f5f
2022-11-06 17:11:02 -06:00
Alexander Koskovich
e57cbb4e30 dre: Move LLVM=1 and LLVM_IAS=1 to BoardConfigKernel
Change-Id: I994ed59207aaad159d8f5363be21a0a1357374e6
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
Alexander Koskovich
edd6ad958f dre: Set media performance class to 30, per OOS
Change-Id: I17b658aeaaabd7159f9fcc4d04e73f45a3980069
2022-11-06 17:11:02 -06:00