Commit Graph

1234 Commits

Author SHA1 Message Date
Kumar Anurag Singh c4bd1e349a sm8150-common: audio: Remove direct flag for VOIP RX
Remove direct flag for VOIP RX.

Change-Id: I9ee6f300b7a891afd1ad06c063424509d16d271e
2025-01-18 09:09:37 +05:30
Fazil Sheik d46d974a21 Remove unused Android.mk
Change-Id: I3db282a8041a433812ac7f48b0948eabff5b1945
2025-01-17 20:45:28 +05:30
Fazil Sheik bfa449da95 Revert "sm8150-common: Move overlays back to ODM"
This reverts commit 5cd19b4351.

Reason for revert : No longer needed due to 3feadd8d83

Change-Id: I543e54d13e4cb00aacc35cacd07255ad0ac0d376
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2025-01-14 11:38:51 +05:30
Fazil Sheik d6ee50be22 sm8150-common: Move fod zpos flag to common.mk
Required after display HAL blueprint conversion

Change-Id: If9cccc4aba1285c5c68404a2f3c8571d8b63222c
2025-01-12 10:01:32 +05:30
Alexander Koskovich 15f3bb4c7a sm8150-common: overlay: Add Qualcomm® aptX™ audio codec overlays.
Change-Id: Id0f5323c2321acfb664dd946fd73f423ac372556
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2025-01-10 13:09:39 +05:30
Omkar Chandorkar a3360167d8 sm8150-common: QCC: Update to LA.QSSI.15.0.r1-12900-qssi.0
Change-Id: I164c3c57f602bbc6f7f962beefc991dd4e9c6112
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2025-01-10 13:04:44 +05:30
Fazil Sheik 34212be866 sm8150-common: Start iop service on boot
preferred apps was to aggressive.

Change-Id: I0481592599c38ceea6c27f7edcf07a6c992a6fd6
2025-01-04 21:19:40 +05:30
LuK1337 8cba1b551e sm8150-common: Enable elfchecks for arcsoft libs
Reference: I23190f0b83c9e28aa2624a7575544b0eaf5c83c8
Change-Id: I18b0b07bf3a435dd449106653e3ca458b4f07b69
2024-12-19 15:48:21 +05:30
Arian 1bec4bae13 hidl: fingerprint: Eat vendor acquired messages
UdfpsController is calling tryAodSendFingerUp when it receives
a vendor acquired message which in turn calls onPointerUp.
Since our sensors are sending a vendor acquired message during
scanning, the hal is informed about a finger up event and thus
disables hbm etc. during scanning in aod/screen off states.

[1]: 6cc7c9df3a/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsController.java (332)
[2]: 6cc7c9df3a/core/java/android/hardware/biometrics/BiometricFingerprintConstants.java (352)

Change-Id: Idffc6582b263b1a1fc0d49322aea4cbf8ff13ec8
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
Aaron Kling aa74cdff2f sm8150-common: Re-enable broken dup rules check
All failures of this have been resolved

Change-Id: I56a923ac90b98e63c093c8cb65cb1059dde57c49
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
Ido Ben-Hur 1d6114d0b8 sm8150-common: DisplayMode: Adapted to A14/QPR2
Change-Id: I3fb8d1ca4e3efc0fdc75f6dc1cfd1284861c4941
2024-12-19 15:48:21 +05:30
Fazil Sheik 1e5420aa53 sm8150-common: Sort blobs list
Change-Id: I0b1a5c97482600b2e4681e837cea4387b1308c91
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
Fazil Sheik 56e4d32f61 sm8150-common: Move android.hardware.nfc@1.2-service.rc to init
* This was our last overriding target so we can unset
   BUILD_BROKEN_DUP_RULES.

Change-Id: I4785c925ef7952b07b657e92025ee43a312c0283
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
Michael Bestas c1ad8afd7a sm8150-common: Build flp.conf & gps.conf
Prevents the following warnings:

build/make/core/Makefile:161: warning: overriding commands for target `out/target/product/oneplus7t/vendor/etc/flp.conf'
build/make/core/Makefile:161: warning: overriding commands for target `out/target/product/oneplus7t/vendor/etc/gps.conf'

Change-Id: I814b940c4e988f8f071509fe45df2d4169af679c
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
Fazil Sheik 9b5168fa2b sm8150-common: disable reporting a2dp return delay in NS.
This causes playback issue in op7 series.

Change-Id: I9d27fa500caccdcaec46ef8c38349925b87cc384
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
Rohit Sekhar f0d46ac6c9 sm8150-common: disable camera overrideFormat from reserved fields.
Also remove pinned generate camera blobs.
finally can get over this 'overriding commands for target'

Change-Id: I5d785b87517bb954ab780ded4e297bc6286af05f
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
John Galt 5f8585b699 sepolicy/camera: support Laser AF
Stock uses same.

Change-Id: I9b37b0a9fe2e89e954dc577e53994f2c09971b9d
2024-12-19 15:48:21 +05:30
TimoDo 2f8c221283 common: Allow Aperture to access AUX cameras
Also Extend support for .dev app

Change-Id: If05c761e98f9748fa19c63338803d478e9b54dcb
2024-12-19 15:48:21 +05:30
LuK1337 aab90885bc sm8150-common: Use common lib_fixups
Change-Id: I862e547f3375184729eb1a909bb7d6f676d45dfe
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
Michael Bestas 47277b51b9 sm8150-common: ELF checks are enabled by default
Change-Id: I5740f4c8d359831b4cb794912c5d650f55c33f17
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
LuK1337 c0cab2760e sm8150-common: Switch to py extract utils
Change-Id: I67fba53592e12e176c54d33f554e027bac81a1b9
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
dianlujitao 8c98038978 sm8150-common: Nuke ATFWD
It's normally not used at all.

Change-Id: Idb824b3b8c783b6ac962e604df05f9154beb4ed2
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-19 15:48:21 +05:30
Bruno Martins 6b15da6aaa sm8150-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2024-12-14 16:59:44 +05:30
Bruno Martins 937b748e49 sm8150-common: Work around using prebuilt audio primary HAL
Change-Id: I71b091950e5ecc810779d3ab51e99807d6648d0b
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2024-12-14 16:59:44 +05:30
Cosmin Tanislav 18a74c2a08 sm8150-common: Do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-14 16:59:44 +05:30
Fazil Sheik dab2073ee8 sm8150-common: Remove duplicate postprocessing Display interfaces
- Already present in display-4.14 component

Change-Id: If81a8aeb21bb8d0305405c2e155aeb16f622c6f0
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-14 16:59:44 +05:30
Fazil Sheik a8f445d5b1 sm8150-common: Remove duplicate SDM and HDR interfaces
- Already present in display-4.14 component

Change-Id: I514e9052b4f179d50db0a863b3cf768077615348
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-14 16:59:44 +05:30
Omkar Chandorkar a5674c17e6 sm8150-common: Remove duplicate VPP interfaces
- Already present in media-legacy component

Change-Id: Icbdfc974eec4acd14ed62ad4263bc4b70aca4f66
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2024-12-14 16:59:44 +05:30
Cyber Knight c31e3ac6ce sm8150-common: Import missing BT libs from LA.UM.9.1.r1-13700-SMxxx0.QSSI13.0
Change-Id: I5c4d88b26d8be6d3a7e8e2bdd1a2b74f0ea82eea
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-14 16:59:44 +05:30
Cyber Knight e32f4a734d sm8150-common: Update BT A2DP libs to LA.UM.9.1.r1-13700-SMxxx0.QSSI13.0
- These are imported from LA.UM.9.1.r1-13700-SMxxx0.QSSI13.0

Change-Id: Id490a309e936a1447c3e3b21acdd21046d71f2b5
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-14 16:59:44 +05:30
PRANAY BHARGAV BHAVARAJU a0fc5efdf4 sm8150-common: avoid setting permission for /dev/hw_random
Below patch from system/core is setting required access policy
for /dev/hw_random. And CTS test is updated accordingly

https://android-review.googlesource.com/c/platform/system/core/+/2229337
https://android-review.googlesource.com/c/platform/cts/+/2232052

Change-Id: I762dfa3b1e84dee6c49fc178b5b75cf1c134cfb7
2024-12-14 16:59:44 +05:30
LuK1337 a67a7552b2 sm8150-common: sensors: multihal -> oneplus_msmnile
Change-Id: I11a55f6d5d40b259b0bfc4095938d2ba8be9e413
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-14 16:59:44 +05:30
Edwin Moquete 0386a3c104 hidl: fingerprint: Remove vendor.oneplus.hardware.display@1.0 dependency
Change-Id: Ia8dc20bdff2884e3a48d56e3f02b5afbc78ab336
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-14 16:59:44 +05:30
Aaron Kling 5b4260b61d sm8150-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-12-14 16:59:44 +05:30
Omkar Chandorkar 0eb5e2c229 sm8150-common: QCC: Update to LA.QSSI.15.0.r1-10500-qssi.0
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
Change-Id: I89154af89a7be70fa3702ac3a74adf8bd087b6ef
2024-12-14 16:59:44 +05:30
Bruno Martins f7a83584ac sm8150-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-14 16:59:44 +05:30
Michael Bestas daa392d396 sm8150-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-14 16:59:44 +05:30
LuK1337 fdea899bd0 sm8150-common: Add extra blobs to make checkelf happy
Co-authored-by: Fazil Sheik <fazil.sheik96@gmail.com>
Change-Id: I34945e373b62714538813cc0fd12ee8ad4f04e1f
2024-12-14 16:59:44 +05:30
Omkar Chandorkar 443e25d412 sm8150-common: Setup ELF checks
Change-Id: I89154af89a7be70fa3702ac3a74adf8bd087b6ef
Co-Authored-By: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-14 16:59:43 +05:30
Michael Bestas c3f5063d21 sm8150-common: Sync extract-utils with template
Change-Id: I7963ae050cfb193c5d0c2636da9c1e8f82bcdbdb
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-10 16:41:50 +05:30
Sebastiano Barezzi 160f021527 sm8150-common: Drop libril-qcril-hook-oem.so
Requires libril, we disabled that target, safe to assume only non-qcrild
uses this

Change-Id: I5d868306c7ef72fb863009f0f3db72a2e01bf1fd
2024-12-10 16:39:26 +05:30
alk3pInjection b2ae9ce894 sm8150-common: add missing audio blobs
Change-Id: Idc22777491b50db2ad338af6c7e82e4960becfa3
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-10 16:38:02 +05:30
Simão Gomes Viana f1a25b064c init-persist-sensors: update sensors_list.txt when lower than expected
Change-Id: Ib9cf746520059669735e870513a8dddc3e541a94
Signed-off-by: Noah <noah.anleitner@halogenos.org>
2024-12-10 16:37:08 +05:30
Simão Gomes Viana 44c4a21000 Turn init-persist-sensors into vendor service
Including carefully crafted sepolicy as a result of hours upon hours of
sweat and tears while fighting with neverallows.

No neverallows were hurt during this process.

Change-Id: I918e0091bb8526006012e304208c2b064c01afd7
Signed-off-by: Noah <noah.anleitner@halogenos.org>
2024-12-10 16:36:39 +05:30
Simão Gomes Viana 60fff2053b Fix sensors boot delay by updating sensors_list.txt
Change-Id: Idec4a4d50f4b9ddd51da9c9fb54fc530bf6e50b5
Signed-off-by: Noah <noah.anleitner@halogenos.org>
2024-12-10 16:36:15 +05:30
Fazil Sheik 00c9d99b74 sm8150-common: Add to PRODUCT_SOONG_NAMESPACES
Change-Id: Ia4b45d65d8eb1e962ae72d7d877a2ab8adf6b69f
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-10 16:35:49 +05:30
Fazil Sheik 08adae59ab sm8150-common: Import oneplus/common
Change-Id: I8e781cabd0e2e807d7682701ef603ce6c1149491
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-10 16:35:19 +05:30
Arian ac51d8c1cf sm8150-common: Allow gettid syscall for atfwd@2.0
10-03 09:24:10.458  5933  5933 W ATFWD-daemon: libminijail[5933]: failed to get path of fd 3: No such file or directory
10-03 09:24:10.458  5933  5933 W ATFWD-daemon: libminijail[5933]: allowing syscall: connect
10-03 09:24:10.458  5933  5933 W ATFWD-daemon: libminijail[5933]: allowing syscall: fcntl
10-03 09:24:10.458  5933  5933 W ATFWD-daemon: libminijail[5933]: allowing syscall: sendto
10-03 09:24:10.458  5933  5933 W ATFWD-daemon: libminijail[5933]: allowing syscall: socket
10-03 09:24:10.458  5933  5933 W ATFWD-daemon: libminijail[5933]: allowing syscall: writev
10-03 09:24:10.459  5933  5933 W ATFWD-daemon: libminijail[5933]: logging seccomp filter failures

Change-Id: I9a556785b9bbda0f08974ad2b367c77c649ee01b
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
2024-12-10 16:34:43 +05:30
Omkar Chandorkar 376407bb1a sm8150-common: Update QCC system_ext to LA.QSSI.15.0.r1
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: Fazil Sheik <fazil.sheik96@gmail.com>
Change-Id: Ibfb076d067bb7c4786f65719698f2487c5f9799e
2024-12-10 16:34:34 +05:30
SamarV-121 fda5edaf0a sm8150-common: Link older libcrypto for widevine blobs
e202e51cb0

Change-Id: Ic32d5103d42cd28ccbc8055e766288dfefc1c02d
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-12-10 16:34:34 +05:30