Commit graph

158 commits

Author SHA1 Message Date
Albert Wang
16852c05b5
sm8350-common: Update USB HAL to V1.3 implementation
Supports to enable/disable USB data signaling

Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-03-23 20:30:47 +02:00
Alexander Koskovich
3461fd1735 sm8350-common: Drop support for Snapdragon Camera.
* Won't be implemented this cycle (or ever again hopefully).

Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
2022-03-15 21:37:00 +01:00
Bruno Martins
9b930e1eea sm8350-common: Migrate to fingerprint HIDL v2.3
Change-Id: Ibf065cfb9b6b8210713ab6dba8302937f56cf4c1
2022-02-23 20:34:27 +01:00
LuK1337
14438cff60 sm8350-common: Switch to AOSP NfcNci
Change-Id: I3403084373445475ee1d997c47cfaa887bcfeb4a
2022-02-21 20:59:03 +00:00
Bruno Martins
942a1ab614 sm8350-common: Build Goodix fingerprint HIDL interface from source
Change-Id: I1a3ae9a726c29d813d8ea5a8ef8f68adf988d4ef
2022-02-21 20:59:03 +00:00
LuK1337
f6b6525622 sm8350-common: Build needed HIDL libs into vendor
Change-Id: I1db79176ac103cb7fc8db0fa4b4cfc699e38ad49
2022-02-21 20:59:00 +00:00
linjoey
b090eb9f3d sm8350-common: Modify Vulkan and OpenGL version to 2020-03-01
Bug: 191252896
Test: android.graphics.cts.VulkanDeqpLevelTest#testVulkanDeqpLevel pass
Change-Id: I0e598ee8a26cd614dc5076a87c514756ba39d740
2022-02-21 20:54:40 +00:00
Alastair Donaldson
eab7b66e3b sm8350-common: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new	feature	flag to	record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

Bug: 159841535
Bug: 175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
2022-02-21 20:54:40 +00:00
Edwin Wong
c7babf502d sm8350-common: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I3adf55199301768bacb38103c3ef4ba24807df2f
2022-02-21 20:54:40 +00:00
LuK1337
86105c0544 sm8350-common: Build libssrec from source
Change-Id: Ib5b1d99a0b6980a76d4c83063c7a84a0c090b361
2021-10-28 23:54:36 +02:00
LuK1337
0885f34c01 sm8350-common: Adjust for recent tri state key changes
tri-state-key package has been integrated into KeyHandler app, and
KeyHandler itself no longer needs to be added to lineage-sdk overlays.

Change-Id: I13b8f05e8e0b036c9303a01ec0c7e2d99b6756f7
2021-10-20 21:34:42 +02:00
LuK1337
34972ef817 sm8350-common: Switch to hardware/oneplus components
Change-Id: I26ba94eac5d7a0cdad07559afe55e6cabe2e161e
2021-09-22 11:43:30 +02:00
LuK1337
5737b9b037 sm8350-common: RIP remove_packages
No longer necessary since now we can just pass `OVERRIDES` to extract
utils and it'll handle it automatically for us :^)

Change-Id: I19c97f5daa72d809dae2442fcb2b8b81a702aaf2
2021-08-23 18:51:48 +02:00
Bruno Martins
5de6aea994 sm8350-common: Build opensource soundtrigger HAL
Change-Id: I956d53a67841a9e1e296de6b73f08ef2efac7470
2021-06-29 16:52:04 +02:00
Bruno Martins
d6bb4df668 sm8350-common: Copy haptics exclusion config directly from QTI repo
Change-Id: I9758f359c4be549b334e487bbc49ca34b749efc3
2021-06-19 14:02:50 +02:00
Bruno Martins
97f2aa546d sm8350-common: Remove unused keylayout and input device config files
Change-Id: Iddd5298bb0d9a7e2944166faf2811b780cf2c141
2021-06-18 20:55:19 +01:00
LuK1337
15da14ed60 sm8350-common: Build android.hardware.thermal@2.0-service.qti
As seen on stock ROM.

Change-Id: I950ab50ded7b3c1164ff88ab18d7f1e3365a6086
2021-06-12 10:43:07 +02:00
PIPIPIG233666
f726563012 sm8350-common: Split component-overrides to support pure AOSP/QTI BT stack
Change-Id: Ia40a996ba5164ba8a6fc5dde0dfb3ef859af1477
2021-06-10 19:16:10 +02:00
LuK1337
58cb8ab963 sm8350-common: Install charger_fw_fstab.qti to /vendor/etc
We are loading it for offline charging mode, see init.target.rc.

Change-Id: Ie6f1a1f7cdf8fed740766cbfe3d59ce815e90b2f
2021-06-06 23:01:55 +02:00
Han Wang
7f18ac549a sm8350-common: Unset PRODUCT_USE_PRODUCT_VNDK_OVERRIDE
* This is not needed if PRODUCT_SHIPPING_API_LEVEL is greater
   than 29, which is true for sm8350 series.

Change-Id: I5b3fa65dfaae20c788a96a6a22d4016ddfb19983
2021-06-05 10:55:56 +02:00
LuK1337
72da964f9a sm8350-common: Add wifi mac generator shell script
Change-Id: I95593db840dc4a668f899d248b2c8e03d4ebbc3e
2021-06-02 22:50:00 +02:00
Bruno Martins
79d93b6625 sm8350-common: Revise feature permission sets
Change-Id: I79396b6836f4ee45a7019c170ae6f647d06a8569
2021-06-02 00:59:17 +01:00
LuK1337
d2493c7765 sm8350-common: Build PowerShare HAL for all targets
Entire OnePlus 9 series supports wireless charging.

Change-Id: I50782fda084e0de21b32a67ae2d7be72579f16a5
2021-06-02 01:15:32 +02:00
LuK1337
ad3e0f3fdb sm8350-common: Sync surfaceflinger props with stock
Change-Id: I30c310b7e2bd5c7a21f07b8d8ae7056d99f22c4d
2021-06-01 23:23:38 +01:00
Sushil Chauhan
e973da39e0 sm8350-common: Enable Content Fps Detection
Enable Content Fps Detection feature in SurfaceFlinger.

CRs-Fixed: 2641659
Change-Id: I3a74823612d89b6901dfb7395f1c8ef924875a30
2021-06-01 23:23:38 +01:00
Lokesh Gidra
c0ab297b6f sm8350-common: Use 6GB dalvik-heap config
We are currently using 2GB dalvik-heap config.

Bug: 145823510
Test: MPTS
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2021-06-01 23:23:38 +01:00
LuK1337
4773fa9758 sm8350-common: Duplicate all audio configs to vendor/etc/audio/sku_lahaina
Change-Id: Ie14049e44c0f97729b96a171f29c25470ae162fa
2021-06-01 23:23:38 +01:00
LuK1337
892d7c1b59 sm8350-common: Build libhidltransport.vendor
Needed for composer HAL.

Change-Id: I3cf443297bc558b29c3033fce403394c412461b9
2021-06-01 23:23:38 +01:00
Bruno Martins
002ca5194d sm8350-common: Update wifi configs from OOS 11.2.5.5
Change-Id: Ie0fb31f5bfe4781319544d76ea5b0de085d2bed8
2021-06-01 23:23:38 +01:00
Bruno Martins
bd25594773 sm8350-common: Update gps configs from OOS 11.2.5.5
Change-Id: I041079a26ccfe243343854ae0bb8c9184c656d1b
2021-06-01 23:23:31 +01:00
Zhou Song
d8977f9f0e sm8350-common: Add dedicated hearing aid proxy configs
Add hearing aid configs in HAL.

Change-Id: Iaaec0b4d097fca67d35cb1e098c23f51b331837f
2021-06-01 22:29:58 +01:00
Bruno Martins
2947ddf81e sm8350-common: Update audio and media configs from OOS 11.2.5.5
Note that media_codecs.xml, media_codecs_performance.xml and
media_profiles_vendor.xml are now plain copies of media_codecs_lahaina.xml,
media_codecs_performance_lahaina.xml and media_profiles_lahaina.xml,
respectively.

Change-Id: I420d583f014ba4fd13f3e8f9629f36f7d158c957
2021-06-01 22:29:40 +01:00
Bruno Martins
b2e66f9cc7 sm8350-common: Update init scripts from OOS 11.2.5.5
Change-Id: Ia4e798ae3c5cbdb7246669b833c75e7058efa523
2021-06-01 21:43:16 +01:00
Bruno Martins
7c98da93ba sm8350-common: Remove useless or unused init scripts
Change-Id: I579319d620b14aab0decd49587d58a20262576ae
2021-06-01 17:40:16 +01:00
Bruno Martins
f9ba3937a7 sm8350-common: Import common fstab from OOS
Change-Id: I30d05c1b4f02137a109e30ffd491435acf0b3df3
2021-06-01 11:29:04 +02:00
Bruno Martins
7c0842401b sm8350-common: Populate initial common blobs list
Change-Id: I7c92ac6198463913907d8ee4a0faf998f5573a68
2021-06-01 11:29:04 +02:00
Leo Liou
8aed92f399 sm8350-common: Inherit the virtual a/b config
For devices launching with virtual A/B, inherit the virtual A/B
device base configuration.

Bug: 146466421
Bug: 149155051
Test: boot to home, check system property of virtual_ab
Test: Run full storage-qa test
Change-Id: I8ebbbe897dc9278f43e37a6a9599b89d68419b27
Signed-off-by: Leo Liou <leoliou@google.com>
2021-06-01 11:12:31 +02:00
Daniel Rosenberg
5d0602d85a sm8350-common: Enable casefolding support on userdata
This enables casefolding, which is required for removal of sdcardfs.

Test: Wipe data and boot. lsattr /data/media, check for +F
Bug: 138322712
Change-Id: I020aa6bb9c121e7bda83c07bc9fb37dcfa26702c
2021-06-01 11:12:31 +02:00
Bruno Martins
410e7ff323 sm8350-common: Initial common device tree conversion
Change-Id: I0d7188b3fa82dddf3f9fb9523d716a8f15f46184
2021-06-01 11:12:31 +02:00
Bruno Martins
2bee5a8ca6 sm8250-common: Move "proprietary" seccomp policies to vendor
Also discard unused qspm.policy as we don't ship qspm.

Change-Id: Icc1b978d373de8b0b7bc3e483c088c2cdeb5d325
2021-06-01 10:56:16 +02:00
Bruno Martins
919636446c sm8250-common: Move unnecessary WFD priv-app permissions whitelist
Our apk does not have these permissions in AndroidManifest.xml.

Change-Id: I5c8adf64e83a570f8c6a90ad7f082c78b707cb07
2021-05-28 00:14:43 +02:00
LuK1337
dc3d086fbd sm8250-common: Import QTI vibrator HAL
Change-Id: I6ed3252c6da746c8fb24f44b3b3ec2b1f32a6cb2
2021-04-14 18:57:16 +02:00
LuK1337
335e820c4c sm8250-common: livedisplay: Uprev to 2.1
Change-Id: I98b2ea16ed342339ee652d5cb79dcfd22f8c0a0d
2021-04-09 12:09:28 +02:00
PIPIPIG233666
278ffc532d sm8250-common: Add custom audio amplifier for TFA amp feedback
* Based on observing reverse engineering from davinci stock audio HAL.
 * Fixes speaker distortion on high volume.

 * Same logic with Smosia, rewritten by me.

Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2021-03-02 18:56:18 +01:00
chandra
c5ba644983 sm8250-common: Correct media codecs copy destination
Change-Id: I4ac12b4945aea67df067e1778f6e0c7aa1b790ad
2021-03-02 11:08:40 +01:00
dianlujitao
0a0b0f26f8 sm8250-common: Switch to source built vendor.qti.hardware.perf@2.0.so
Change-Id: Ia5de8c300d71b6def223e97ef9d58898c9c11a57
2021-02-16 13:28:27 +01:00
Nicholas Ambur
6edfb6eea4 sm8250-common: Add SoundTrigger HAL v2.3 support
Bug: 139071862
Test: gts-tradefed run gts-dev -m GtsAssistIntentTestCases
Change-Id: I2d17aade762ceb7800d5305119c37ec0f5991f35
2021-02-08 20:07:51 +01:00
Bruno Martins
0615d4b4d0 sm8250-common: Deduplicate handheld_core_hardware.xml copy rule
Since Android 10 that this is already done while inheriting from
full_base_telephony.mk.

Change-Id: If533fbf95a9cf9798ddba24955a624d26f550d62
2021-02-02 14:57:40 +01:00
Tao Bao
38e5c38009 sm8250-common: AB_OTA_UPDATER is BoardConfig variable.
Bug: 130433003
Test: TreeHugger
Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd
2021-02-02 14:57:40 +01:00
LuK1337
232c213a90 sm8250-common: Enable barometer sensor for SKU 9 and 11
Change-Id: I2a0568822557d1ce4217f092a695037c8329dc1a
2021-01-17 13:48:55 +01:00