Commit Graph

471 Commits

Author SHA1 Message Date
Bruno Martins
8ae42047ec vintf: Add pogo pin keyboard interface
Change-Id: I13e53a96f10ad82d450b4acb7106e4aa39e7686c
2025-07-19 23:46:02 +01:00
LuK1337
e8f2b8aacd sepolicy: qti: Label OnePlus Pad 3 wakeup nodes
Change-Id: Ife85a0aee81ee79c115aeaf475b130fae7177fa1
2025-07-19 18:36:42 +00:00
LuK1337
f6bd8f76c4 sepolicy: qti: Add rules for nvram{_qmi,_server}
Spotted on erhai.

Change-Id: Idec44370c5e51fd65394fd7c9523b905d9a400d1
2025-07-19 18:36:42 +00:00
LuK1337
d4cfb60cf7 Introduce OplusPen
Change-Id: Icfc9d2d8172aa01bf1c71a5a23a8e6387660a746
2025-07-19 18:36:42 +00:00
LineageOS Infra
d58d8728aa Automatic translation import
Change-Id: I06723c2cb0ac2c6d2d6c693eb2927ffd7f9f54a7
2025-07-15 17:08:20 +00:00
Bruno Martins
363fa24baa vintf: Update fwk matrix for OOS 15.0.2
Change-Id: I3b851053dc540ee94b49128119ddb06146b5c6ed
2025-07-12 17:53:54 +00:00
Bruno Martins
a18c5e4bd5 sepolicy: qti: Label reserve files
Not everything is used, but it doesn't hurt to be labeled.

Change-Id: I540ab1c8617702d36a1da62feb3c5db2dd00ad99
2025-07-12 17:04:16 +01:00
LuK1337
c890a7708a sepolicy: qti: Use custom label for oplus subsys_imsrtp
Matches stock ROM (and fixes build for older platforms).

Also, it seems like the previous rule was wrong anyway given that it
allowed wrong domain to register this service.

Change-Id: Iad2e3e9a4b1b73c989571d37ae58cac91b018ecb
2025-07-08 09:46:45 +02:00
Michael Bestas
8c9358776c sepolicy: qti: Remove duplicate labels
Change-Id: I3575e6bad93b2f9d69f94033944c44b7f9fbc243
2025-07-07 13:52:00 +03:00
Bruno Martins
1a462ed83c touch: Implement GloveMode support
Change-Id: I1bb2f502e5b6947dfb2d68572b098d0e5b058c28
2025-07-06 23:56:31 +01:00
Bruno Martins
74dbc92458 Euicc: Add OnePlus 13 support
Change-Id: I970d9fbc0ee975962887ea0d61beeee5001183cf
2025-07-06 23:56:31 +01:00
chandu078
6c901c1bef sepolicy: qti: Bring up support for dodge (OnePlus 13)
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Change-Id: I63828b2c1cb27524845cc63271c0978de78b3374
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-07-06 23:56:31 +01:00
dianlujitao
12190ecbc4 aidl: vibrator: qti: load effects from blobs
Change-Id: I55350bea3b7c4f31a62b60a6792ba2a343c72970
2025-07-06 23:01:45 +01:00
dianlujitao
b0fb5146b2 vintf: add more AIDL services to device FCM
Change-Id: I1f61cb7a96d23ce90fa6be7a2431015b2a727be1
2025-07-06 14:51:27 +01:00
DtHnAme
00f0edf25e power: Implement DT2W through OplusTouch
Co-authored-by: Maitreya25 <maitreyapatni25@gmail.com>
Co-authored-by: Mashopy <eliasgheeraert@gmail.com>
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Change-Id: I5ad57428aeefe68c8a188aa1e445f4091cbc0d8a
2025-07-06 14:51:26 +01:00
Maitreya25
165c5e47a9 touch: Support interfacing with stock OplusTouch service
Co-authored-by: inferno0230 <mail@inferno0230.in>
Co-authored-by: Mashopy <eliasgheeraert@gmail.com>
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Change-Id: I305ac931dac35a7fa422745f4250ffb1145c3bf6
2025-07-06 15:39:16 +02:00
LuK1337
8b6ff63e03 touch: Introduce vendor.oplus.hardware.touch-headers
Change-Id: If93b1305f7ee82f2c954969f83c052d0b3a2772b
2025-07-06 15:39:15 +02:00
chandu078
a6255edcb4 sepolicy: qti: Bring up support for waffle (OnePlus 12)
Co-authored-by: John Galt <johngaltfirstrun@gmail.com>
Change-Id: I5b3a87dda201c5779ab4826352ffddc3d1ce4fd2
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-07-04 03:12:32 +01:00
bengris32
07c948a77c oplus-fwk: Add OplusNecManager stub implementation
* Required by RMX3572 (RMX3572_11.F.08_2080_202407301657) IMS stack.

Change-Id: I471f990a5f3717f0db4d289b8cf6764e10cd47e3
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2025-07-04 02:08:46 +00:00
Bruno Martins
bb5f08081e sepolicy: qti: Rewrite touchdaemon rules
Change-Id: I313ef308979b3428fbb3a01ae44b4a914b479b34
2025-06-29 14:52:38 +00:00
Fenglin Wu
e42da48bbd vibrator: qti: Add external control support for sun platform
Add haptics module in sun platform to support external control.

Change-Id: Ie735e8fb50912156b680fd2bf4a0d38c7d2f1c77
2025-06-29 14:48:01 +00:00
LuK1337
d9b3335f6a vintf: Add ICameraRfiService V3
Spotted on erhai.

Change-Id: I6c3e87167d25f4354ace385f3f0c5d9f114c2bf1
2025-06-29 16:11:45 +02:00
Fenglin Wu
332e7e4baf vibrator: qti: Add external control support for pineapple
Pineapple SOC uses PMIC that has haptics module can support external
control. Add support for it.

Change-Id: I471561a91be8fd054d34dc83860b5b53b8026706
Signed-off-by: madmax7896 <madmax78968@gmail.com>
2025-06-21 11:44:48 +00:00
Bruno Martins
a50f0d25f8 sepolicy: qti: Remove redundant rules
Change-Id: Ic7dd3562f8d84d83180317acc75ee7a3d147c8fa
2025-06-21 11:29:33 +00:00
LuK1337
3f8e847483 sepolicy: qti: LC_ALL=C sort wakeup nodes
Change-Id: Ib92a476695552d848d5d13a856012bf64bff8615
2025-06-19 15:20:16 +02:00
chandu078
f875d13162 Euicc: Add OnePlus 12 support
Change-Id: I9a3c9f37ce3e905ea1c69a8877f99201dc758b52
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-06-19 15:04:28 +02:00
chandu078
a0c3a0b5fb vintf: Update fwk matrix to support waffle
Based on relevant interfaces from CPH2581_15.0.0.510(EX01)

Change-Id: Iaddd07fdfcf8d06642ce091c55051292ea545aef
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-06-18 18:29:51 +00:00
Michael Bestas
b3c23f51f2 overlay: qssi: Remove deprecated config_mobile_tcp_buffers/networkAttributes
Change-Id: Ieda947e283cde11cf74a01dc1b438e1deeb902c9
2025-06-16 22:28:48 +01:00
Bruno Martins
dc9a1d06e2 touch: Use CHECK_EQ(a, b) assertion
Change-Id: I7522c86f168a2a5226b2ef28903afa74cee62997
2025-06-07 19:00:50 +01:00
Bruno Martins
ae39496553 touch: Enable HighTouchPollingRate by default
Every new device supports the feature.

Change-Id: I9a08dfb6f8f416af99f9811aa1fa1f1166d2b9f4
2025-06-06 20:56:56 +00:00
Bruno Martins
a79e50e87a touch: Add soong configuration for features
Change-Id: I73870f82b6dfc5f9b13e1a450796060bc8dc58f1
2025-06-06 20:56:56 +00:00
Bruno Martins
cfceb7c1c3 touch: Migrate to AIDL
Change-Id: I7fc7992744df049835213c58261eb81579d6f3c1
2025-06-06 20:56:56 +00:00
LuK1337
90b33a8325 powershare: Use EX_SERVICE_SPECIFIC exception code for setEnabled()
Makes it match hardware/lineage/interfaces/powershare/aidl/default.

Change-Id: I5a4978cc7b62127dd00795dd6aaff10c2f2ade38
2025-05-27 00:39:02 +02:00
Michael Bestas
8e39a4f7a4 configs: Create usb_compositions.conf with OPPO USB IDs
Change-Id: I5ed2df909951675e9a9a9dfbe3c7ff7ddcdaeafe
2025-05-23 20:50:10 +00:00
Bruno Martins
7f612125c2 powershare: Migrate to AIDL
Change-Id: I181478469e0de7e913a8e3fb665155b63a74f63a
2025-05-10 11:48:17 +00:00
Alexander Koskovich
c085cde213 sepolicy: qti: Label missing wakeup node on OP9
Error opening kernel wakelock stats for: wakeup85 (../../devices/platform/soc/990000.i2c/i2c-9/9-0048/wakeup/wakeup85): Permission denied

Change-Id: I2ade1c6a791bc3f184cba70c763b8b511b526cea
2025-04-27 04:27:01 +00:00
Bruno Martins
ec00c65468 powershare: Fix PowerShare QS tile state toggle
Assuming that the node exists and is writable, this was always
returning true, causing the QS tile state to look as turned on
even after disabling the feature.

Change-Id: I6c833438e500a8050cd0a27fe576d789e86a727e
2025-04-25 13:10:19 +00:00
Bruno Martins
9ca0fcaa96 vintf: Mark all HALs as optional
Change-Id: Ic00e778bd4e60c7ba1b3e4d2a25f79bca8277cfc
2025-04-21 00:05:19 +01:00
LineageOS Infra
df48e72f9c Automatic translation import
Change-Id: I92ebfad3057ce416cbc2f3567d30924b8b634a2d
2025-04-15 13:55:17 +00:00
Mashopy
406d2da3d3 vibrator: richtap: Fixup service declaration for loading AAC effects
The previous declaration was resulting in non-working vibrator effects
on vitamin due to the perms being set too late and the service running
too soon at the same time.

This match vitamin's vendor.oplus.hardware.vibrator-service declaration.

Change-Id: Iec7bf9c070da280b9b4920b4d85a22abea3aad67
2025-04-13 23:45:55 +00:00
Mashopy
4cdcb94010 oplus: Run bpfix
Change-Id: Ida4dd24167f0f15b1e67a3ae3f73454caa4e1f6e
2025-04-13 23:45:13 +00:00
LuK1337
1fc2c39807 sepolicy: qti: Label just crtc early_wakeup
Prevents us from overriding QCOM sepolicy rules.

Change-Id: I8c7446b4aa04503af7efc11a53f67b1edb6e3b1e
2025-04-09 19:21:16 +02:00
LineageOS Infra
93e25021b2 Automatic translation import
Change-Id: Ife02e8ee27d8d656c6a24e28b86ffaab03b762e2
2025-04-07 16:25:24 +00:00
Bruno Martins
ba4c32da03 oplus: Declare hidl_pixelworks_feature_interface
Change-Id: I0896a93cc6c44628d5b79c75e58db9dcf6f58683
2025-04-06 00:51:34 +01:00
Bruno Martins
d5f168f6a8 aidl: vibrator: Drop compile_multilib from dummy richtap lib
Not necessarily needed and prevents builds to start on 32-bit-only
targets with this repository also present.

Change-Id: Ic9838753240a25883d591b4be385691f2e070a07
2025-03-31 17:39:50 +00:00
Bruno Martins
fd03aaaed9 fingerprint: Do not notify AIDL HAL about touch events
As previously noticed with uff fingerprint HIDL HAL, Oplus makes
use of touch down/up events for product testing. With the most
recent AIDL HAL, entering the code paths for factory tests breaks
fingerprint registration.

By setting halHandlesDisplayTouches prop to true, the framework
will skip passing the display touch events in ISession#onPointerDown
and ISession#onPointerUp down to the HAL.

Change-Id: I194719f27c182d044c0f4e349c3e0ef032361fbd
2025-03-28 08:03:04 +00:00
Edwin Moquete
a6435e6bc0 doze: Fix compilation on V QPR2
Change-Id: If1693603abc530af3b761b53396f2dda8225177e
2025-03-12 23:35:45 +00:00
Cosmin Tanislav
18ef7dd547 oplus: switch to common QCOM AIDL bootctrl HAL
Change-Id: I04ab771d3b1c38b58913607fbff1bb3b55e1fe25
2025-03-12 04:36:08 +00:00
LuK1337
41fb946c65 audio_amplifier: Add lahaina SoC
Change-Id: Icb52dd78e34e6cfd8f4f3e93917f32e9660ca602
2025-03-07 14:53:54 +01:00
AnierinB
e50dfe2d6c doze: Move to PreferenceFragmentCompat
PreferenceFragment was deprecated in API level 28.

https://developer.android.com/jetpack/androidx/releases/preference#1.1.0

Change-Id: Ie8a4b04bd588afbbbc5882349ddbc05f988f80bf
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-02-26 23:00:34 +00:00