Commit graph

913 commits

Author SHA1 Message Date
LuK1337
fd732c0a74 dre: overlay-lineage: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-04-10 20:56:03 -05:00
Michael Bestas
c426c6bd4b dre: Remove leftover A2DP input configuration
Change-Id: I29e7c09f9ba13717a996755e4f9320485cacdff0
2023-02-14 21:15:53 -06:00
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
althafvly
9a431a2322 dre: Inherit launch_with_vendor_ramdisk for vAB
- sm4350 devices have a vendor_boot partition

Change-Id: I5c344890bc12ee769e2f27369a4151b469271a51
2023-02-10 10:06:43 -06:00
Dan Pasanen
3bae34ec95 dre: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2023-02-10 10:06:43 -06:00
Michael Bestas
6ee40466e6 dre: Compile the kernel without GCC
Change-Id: I882c0d8600f88c1bb939c7ee247230ec5e70338a
2023-02-10 10:06:43 -06:00
jabashque
2a0087a04c dre: Disallow aux cam usage for Zoom
Zoom seems to try using camera ID 2 for the back camera instead of
camera ID 0. Block access to aux camera for Zoom to force it to use
camera ID 0 for the back camera.

Change-Id: I99d79259a2a3adefb72a5ffed5fbbb37bd8b756d
2023-02-10 10:06:43 -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
08cc2b73e0 dre: Create IMS symlinks
Change-Id: I25d011323268b2f25c98e38441df633fb91e0715
2023-02-10 10:06:43 -06:00
Aaron Kling
d500a981a2 dre: Remove references to a2dp module
APM would fail to parse the config anyway:

  E DevicesFactoryHAL: loadAudioInterface couldn't load audio hw module audio.a2dp (No such file or directory)
  W DevicesFactoryHalHidl: The specified device name is not recognized: "a2dp"
  E AudioFlinger: loadHwModule() error -22 loading module a2dp
  W APM_AudioPolicyManager: could not open HW module a2dp

Change-Id: Iaa1be881cfe8f8474cef0ba46e1b0a62b59e14be
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
Bruno Martins
2cd76d66b2 dre: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2022-12-15 18:50:53 -06:00
Michael Bestas
5bedce0348 dre: Fix disabling A2DP offload
Change-Id: I49c717a19afb2491b6280670fdbfe8765813a4dc
2022-12-15 18:50:53 -06:00
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