Commit graph

1058 commits

Author SHA1 Message Date
Georg Veichtlbauer
57bdc981e2 dre: Implement ALS capture as AIDL service
Change-Id: I5d7522d2c8783e487ee9fdb7c90424ec2b5c8cab
2025-04-01 22:20:45 -05:00
pjgowtham
6f2744ce10 dre: Switch to oplus sensors AIDL
Change-Id: Ibe50667179a42845918f84bc403da21d2c28b160
2025-04-01 22:20:45 -05:00
Nick Reuter
521e326b67 dre: convert to Evervolv
Change-Id: I2f91bc02bc4bb4ab1dc3e96094631464f9b969bd
2025-04-01 22:20:45 -05:00
Nick Reuter
13671d04c5 dre: initial setup to support aosp
Change-Id: I17da1754471e38c8bd8e2c278ba595d5acaa8f4d
2025-04-01 22:20:44 -05:00
Nick Reuter
0f35477155 dre: perf: tune boost config
Values taken from Nokia TheThing 12-00WW_2_300-00WW_2_300-release-keys

Change-Id: I527e59750461f4be58114a88b382478ef5fec8ad
2025-04-01 22:20:44 -05:00
Alex Naidis
773745959f dre: Lower background apps to 38
Improves memory performance and decreases power consumption
in our test cases.

Change-Id: If26a7a4ac0283cf09ab02c769885f50eae6f7719
2025-04-01 22:20:44 -05:00
Vivekachooz
051325d88f dre: Update from CPH2467_14.0.0.1330(EX01)
Change-Id: I66fb0e2ddd7036626b49fffa2e2606e0543ea39e
2025-04-01 22:20:44 -05:00
Tim Zimmermann
068f59fa1a dre: Uprev audio HAL to V7
Updated audio policy by running:

hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh \
device/samsung/sm7325-common/audio/configs/audio_policy_configuration.xml 6.0

with some manual intervention.

Change-Id: Iede32c176742e89577365341732a86f6ecaee514
2025-04-01 22:20:44 -05:00
LuK1337
537445c308 dre: Include vendor/debugfs.config
This disables the following kernel configs:
* CONFIG_DEBUG_FS
* CONFIG_PAGE_OWNER

Change-Id: Idbf74e3dee4dccff4708462271e79374e28449ae
2025-04-01 22:20:44 -05:00
LuK1337
c08ffad131 dre: Add libaudiofoundation from stock for WFD
e69a5be2449122f90220151f9d01ace15221facf in system/hardware/interfaces
broke the ABI ;'(

Change-Id: I60691f2bab3f52fd9ade36ed6fcf6a2ef13a18c9
2025-04-01 22:20:36 -05:00
LuK1337
827d238be9 dre: Allow extra syscalls for wfdservice
Required for 15 QPR2.

Change-Id: Ifcc736e2aa2bff313825a95ab2df68a9b053cd5e
2025-03-31 18:34:55 -05:00
Anand S
038c148153 dre: Add migration to turn off persist.vendor.radio.poweron_opt
If this value 1 it breaks SMS receiving.

Change-Id: I7f56ecaac51abb6525c6022d92eac1c285ab0688
2025-03-29 14:23:14 -05:00
Arian
3a3d3af33f dre: Generate qcrilNr.db during build
Change-Id: I1f3425713b9b5b1cc7185bc94124b9f01efe3abb
2025-03-29 14:23:02 -05:00
Nick Reuter
02d95c71e9 dre: Add qcril_database files missed during blob update
Change-Id: Ic5280b9f4beac68273032268afb71d19ff3e0ed4
2025-03-25 16:22:40 -05:00
Michael Bestas
12f74ba4a3 dre: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-03-25 16:22:31 -05:00
Albert Tang
46c0a47f0f dre: Import LVIMFS libs from DE2117_11.C.34
Change-Id: I69531f5056b1cf90b940f9dc09de53bf1134ae2f
2025-03-06 18:29:02 -08:00
Michael Bestas
610a175646 dre: Enable UFFD GC
Kernel has support for it now.

Change-Id: I3863ee71477f321fe47646571b857fdc39a1902b
2025-03-06 18:28:46 -08:00
Yan Yan
c046b4f19d dre: Add feature flag for IPSEC_TUNNEL_MIGRATION
This commit adds the IPSEC_TUNNEL_MIGRATION feature flag,
with XFRM_MIGRATE used as the implementation

Bug: 273379472
Test: build, flash and verify with "adb shell pm list features"
Test: atest IpSecManagerTunnelTest
Change-Id: Id2ee3e65183e32ea63f6251ba921e1e4c6b09ed0
2025-03-06 18:28:46 -08:00
Yumi Yukimura
6f6627e73e dre: manifest: Bump target-level to 6
Change-Id: I8d419d248f29b7d316a87d55e19ae7ff141e19a5
2025-03-06 18:28:46 -08:00
Tyler Wear
8ce167833a dre: tetheroffload: Version 1.1
Update tetheroffload to version 1.1.

Change-Id: I004e44e416a88a1b39a4c80366df9008722f096b
2025-03-06 18:28:46 -08:00
Kumar Anurag Singh
a0aa46e5d8 dre: audio: Remove direct flag for VOIP RX
Remove direct flag for VOIP RX.

Change-Id: I9ee6f300b7a891afd1ad06c063424509d16d271e
2025-03-06 18:28:46 -08:00
Albert Tang
1408ace291 dre: Swap to OSS audio_io_policy.conf
The 24-bit stuff from oplus is useless anyway.

Change-Id: I8a16002c1afe2c5c4d710b785ff376a7b0273399
2025-03-06 18:28:46 -08:00
LuK1337
29faac8c00 dre: Migrate to avbtool --set_verification_disabled_flag
Change-Id: Ib73f4d97a923b25e25848b24a3554cdd4de1a5ae
2025-03-06 18:28:46 -08:00
LuK1337
5641b0442f Revert "dre: Disable WiFi Aware & RTT for unsupported target"
This reverts commit 98080a2194cdf19a9fa8178a8bc2215cf9a66cad.

Test: run CtsVerifier tool
Change-Id: Ibe8c64d2ba95326594e3103c3cff4c03153e11b9
2025-03-06 18:28:46 -08:00
Albert Tang
bf711e18a8 dre: Drop duplicate audio_platform_info.xml
Change-Id: I02a4279ccec7351c146900f7dada512b29486189
2025-03-01 22:26:04 -08:00
Bruno Martins
020dc6a61d dre: Use aidl sensors multihal
Change-Id: I21da3da39e9726dca693d6bcbe42e93be861f7c7
2025-02-24 19:40:45 -08:00
Michael Bestas
6d84147ff1 dre: Remove unused media_codecs_c2_audio inclusion
Change-Id: Ia163033eb53d24faf74c09f301f227dea9f89a1a
2025-02-24 19:40:45 -08:00
Michael Bestas
96029cfecb fixup! dre: Remove software omx codec references
Change-Id: Ib96c6ff0a0ad7cd9769a008b2b0669effc62db7c
2025-02-24 19:40:45 -08:00
Michael Bestas
2e429556a1 dre: Import media_codecs*.xml from vendor
Change-Id: Ic874270d8bc50e854109556b663cffae22025324
2025-02-24 19:40:45 -08:00
LuK1337
6384736719 dre: Ship lvimfs params files
Change-Id: Iaa653c71094f0cbadcb50692de0a9296d1b006e9
2025-02-24 19:40:45 -08:00
Nick Reuter
035a3a74c2 dre: Copy audio configs to device tree
* audio_platform_info.xml is a copy of audio_platform_info_intcodec.xml
   as it is the closest in comparision to stock

Change-Id: I733f848dd221c21171413711e835f9e77ae70e13
2025-02-24 19:40:45 -08:00
Michael Bestas
c2a9564491 dre: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-02-24 19:40:45 -08:00
LuK1337
e49fea649d dre: Reserve more space on /product
Change-Id: I25884eb89ea7d4cbe2b82504c21c83c8513095aa
2025-02-24 19:40:45 -08:00
Luofan Chen
aa2560cffb dre: Define TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE
Otherwise the error happens:
```
qdgralloc: Invalid gralloc handle (at 0xb400007004aa1580): ver(12/12) ints(23/22) fds(2/2)
```

Change-Id: Ia62146e8e4bef1342dc964724bd0d088656ad4bc
2025-02-24 19:40:45 -08:00
Nick Reuter
00bfc3b725 dre: organize tree to match sm8350-common
Change-Id: Ia5a9a9a70d662c3fcfef9a30c8fa78acc734b59a
2025-02-24 19:40:45 -08:00
P.Adarsh Reddy
a84d257640 dre: Enforce android-S new launch debugfs restrictions
Change-Id: I78878e1c4177c07d66b13e5659d4360252c5f87b
2025-02-24 19:40:45 -08:00
SagarMakhar
f1051e96cc dre: Turn off persist.vendor.radio.poweron_opt
It's set to 1 in qcril_database migrations. Sed the property
to something else so it defaults to 0.

When the value is 1 it breaks SMS receiving without QTI telephony.

Change-Id: I7f56ecaac51abb6525c6022d92eac1c285ab0688
2025-02-24 19:40:07 -08:00
Albert Tang
49f47b2936 Revert "dre: Set saturated color mode as default"
Keep saturated mode around, in case we need it again.

This reverts commit aa3aceda39.

Change-Id: I0a0c874c9e8934c27ff0df4aaee44cf78aa61103
2025-02-15 12:06:06 -08:00
Albert Tang
00821c77cc dre: Fix sRGB mode in qdcm calibation data
qdcm_calib_data_default.xml has features 2, 7 and 8 disabled for sRGB.
Do the same thing for nt36672c to fix sRGB here.

Change-Id: Ieee41c8a224bf73ad92b5fdcbb2c5d3c4ee2f9ca
2025-02-15 12:05:09 -08:00
Albert Tang
aa3aceda39 dre: Set saturated color mode as default
All other color modes are borked from V QPR1 onwards.

Change-Id: I9e4137a24473f16f3e385cade1d61ef767535557
2025-02-11 10:53:10 -08:00
LuK1337
dcc2c3fa37 dre: Enable elfchecks for camera libs
Reference: I23190f0b83c9e28aa2624a7575544b0eaf5c83c8
Change-Id: I18b0b07bf3a435dd449106653e3ca458b4f07b69
2025-02-11 10:53:00 -08:00
dianlujitao
9acfd5598e dre: move to aidl bootctrl hal
Change-Id: I50fd09148097f0cda03c1a105340a3fd5f55ce8d
2025-02-11 10:52:47 -08:00
danascape
f2c8225ae9 dre: Drop atrace HAL
It is deprecated in Android 14.

Change-Id: I5af8056853058ad29be7debb5c5af5dea83d84a9
2025-02-06 14:39:23 -08:00
LuK1337
6c2484f942 dre: Move WfdCommon boot jar declaration to vendor
Change-Id: I8fa2c0f64692873b432cc252ec88b388a32023a1
2025-02-06 14:39:23 -08:00
Pawin Vongmasa
3298af0f05 dre: Move input surface to CCodec
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Bug: 131800183

Change-Id: I8783a7de4a4fdf7ff2eac6697c71f6592c9a9e06
2025-02-06 14:39:23 -08:00
Michael Bestas
a4a325f15e dre: Disable OMX service
Change-Id: I5381e098af64271f9d71c484262e1710e8fcacea
2025-02-02 10:40:55 -08:00
dianlujitao
a27d857000 dre: remove OMX
* OMX HW video codecs are no longer used after enabling Codec2
 * OMX HW audio codecs won't work without QCOM A/V enhancements, which
   we don't have on Lineage.

Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64
2025-02-02 10:40:55 -08:00
SebaUbuntu
72f32ab5a3 dre: overlay: Remove config_defaultPeakRefreshRate
* Our hwcomposer already correctly reports display modes

Change-Id: Ic84ee92914b0c50e6e4f1a64d5b729b8ee8c6985
2025-02-02 10:40:55 -08:00
LuK1337
8dfb14cd39 dre: Move network scan overlay to OPlusSettingsResTarget
Change-Id: I5a5a8feea72a74ffaefd598d5e80bec92783d2ea
2025-02-02 10:40:55 -08:00
Ashok Mutyala
2a9c6383cb dre: init: Mlock limited to 64 KB
In Android 14 and higher, the platform reduces the maximum
memory that can be locked using mlock() to 64 KB per process.
In previous versions, the limit was 64 MB per process.
The new restriction promotes better memory management
across apps and the system.

Test: CtsInitTestCases#MemLockLimit

Signed-off-by: Ashok Mutyala <quic_amutyala@quicinc.com>
Change-Id: I883bff0c1e4bd540a1fae9ab0ea35ebdf4da5255
2025-02-02 10:40:55 -08:00