summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-13Revert "vibrator: add logic to detect QTI haptics device"HEADsugisawaAdithya R
* breaks vibration on devices with non-qti vibrator, such as surya and miatoll which use aw8624 vibrator. This reverts commit c8f31f143e5ed2bfed4f47193fc7514580e87220. Change-Id: I652ad23eddac84cdbd590323c2f47cf42e8622d7
2022-01-13aidl/vibrator: Simplify soc check and drop prop depPig
[npjohnson]: adapt to reflect 18.1 upstream merges as well as include now required headers. Change-Id: I8581d22deac451d0c44e4b3135d2729da2865a36
2022-01-13aidl/vibrator: Use new vibrator NDK platformJeongik Cha
Change-Id: I191e1b942dea3a5cb38e79b8a05803a8b72acdc7
2021-10-24Merge 5fba81168e8446448da68a5e546c2aa77b8dd148 on remote branchLinux Build Service Account
Change-Id: If6d0be24b115a64ee5522bfee925ad843071c2d4
2021-09-17Merge 2feeb5e8573bf1b7fc6f682ccc91bd5444ee2a1b on remote branchLinux Build Service Account
Change-Id: I675a43549d15181379bf1dd94017a48a96854735
2021-09-16Vibrator: Update the perform operation to allow ringtone IDsKiran Gunda
Currently the "perform" operation is only allowing the effects up to HEAVY_CLICK. Update it to allow the ringtone IDs when the offload functionality is enabled. While at it update the below as well. 1. update the play_rate of fifo effect 17 to S_PERIOD_T_LRA_X_8 2. Include the "slatecom_interface.h" header and add "qti_kernel_header" lib in Android.bp file for compilation fix. Change-Id: I305288894da40837c54743012c1bfe25900efc51
2021-08-25Vibrator: Fix compilation issueKiran Gunda
Fix compilation issue while printing "chname". Change-Id: I552c846fae9076f413c3cdc41142f2940cbb193e
2021-08-18Vibrator: Add support to offload the patternsKiran Gunda
Extend the Vibrator HAL to support offloading the predefined patterns to remote processor in a multi-proc system. The applications which uses the vibrator can map their events to the predefined patterns to maintain the same vibration effect for an event on the remote proc after offloading. Change-Id: I049ad620a2e4aba461d3dd0194329e19b5ffed18
2021-07-23Merge 7b51113fb33aa18bba39f1cf70cf211bbe417df5 on remote branchLinux Build Service Account
Change-Id: I803e1287938761f3ac8919dae264917a8b826332
2021-05-24vibrator: compilation for new KS sync pathsNaveen S Nair
Compilation for new KS sync paths. Change-Id: If40b18d777172369461a8d62bca45347a37afe15
2021-05-07Merge c8f31f143e5ed2bfed4f47193fc7514580e87220 on remote branchLinux Build Service Account
Change-Id: I31bfb3ef3a55c18c4a693207cc9269cb1d1752d8
2021-04-29vibrator: add logic to detect QTI haptics deviceFenglin Wu
Check input device name to make sure a real QTI vibrator device is detected instead of other input FF device with the same capability being recognized wrongly as a QTI vibrator. Change-Id: I54f00e777212b3bd19088faa183b0ff41019dfcc
2021-02-04Merge c9bf693bd1080c14423a367c174caff6458e4dd7 on remote branchLinux Build Service Account
Change-Id: I7ba42cdd849f38834159cae26c6fb2cf761cc94f
2021-01-23Merge fc2ed8460e436dcc82b64edbc5f701a8a7433353 on remote branchLinux Build Service Account
Change-Id: I5ad38652e145d5696ca550840508128baf95a607
2021-01-19Merge "vibrator: Remove target check in makefile"qctecmdr
2021-01-13Merge 534d271d452dd39b589485e8edb4ed49024cf0d4 on remote branchLinux Build Service Account
Change-Id: I3ece55643daf7be88aa9967e5d0669935aa2d9ad
2021-01-07Vibrator: add support for yupikJishnu Prakash
Yupik QRD uses PM8350B which supports external control via sound-wire interface, hence enable the same. Change-Id: I2d7fa0424aaaa151ac0e6db3d9c7e1d4ddc61824 Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-01-07vibrator: Remove target check in makefileKavya Nunna
Remove target check for vibrator in makefile as it is not required for any target. Change-Id: I9448b06cc6a4b584e03dba2d02156ed5d685c039
2020-12-29Vibrator: add support for MSM/APQ8325Subbaraman Narayanamurthy
MSM8325/APQ8325P SOC uses same PMICs as Lahaina. Add the entries for them so that external control is supported. Change-Id: Ifc5639301679e9be9e1be73abd01915bc7f90f1f
2020-12-15Vibrator: add support for MSM/APQ8325Subbaraman Narayanamurthy
MSM8325/APQ8325P SOC uses same PMICs as Lahaina. Add the entries for them so that external control is supported. Change-Id: Ifc5639301679e9be9e1be73abd01915bc7f90f1f
2020-12-14Merge b228b898f868d8d11ee8760c57cb3a5f093a2b47 on remote branchLinux Build Service Account
Change-Id: Ie020945af624a5c4b6aa923769613b5b01bcbad6
2020-12-02Merge 188c60ca5ba378167d5b3e5956e57e88610df11c on remote branchLinux Build Service Account
Change-Id: Id4a18c422274163d794efd3c4f0df38368410ce9
2020-11-30vibrator: Enable LED based vibratorMandeep Singh
Enable LED based vibrator for sdm710 target. CRs-Fixed: 2813230 Change-Id: I8f1a2869f1ce5f689a0595a43e9f21ef03e02cae
2020-11-02vibrator: Enable LED based vibratorMilap Gajjar
Enable LED based vibrator for msm8998 targets. Change-Id: I705945cd384bedf5fd07ca0371076479cfb99fa3 CRs-Fixed: 2810214
2020-09-18Merge 7a587394f34079d54d39ba301eabfa52be26823f on remote branchLinux Build Service Account
Change-Id: I74cef5ad2abea6bd5e886c55dfc07ea85ab6667a
2020-09-14Merge "vibrator: Remove unused HAL implementations"qctecmdr
2020-09-14vibrator: Remove unused HAL implementationsFenglin Wu
Remove V1.2 and V1.3 HIDL based implementation because they are no longer used. Also remove the QMAA implementation because the AIDL based implementation is capable to support QMAA. Change-Id: I09c1a7d6a0c727eacb496d76a4f7ba390be1618d
2020-09-14vibrator: Enable LED based vibrator for target sdm660Rajshekar Eashwarappa
CRs-Fixed: 2764369 Change-Id: I421906752b49be69f4c3ce22d3b2295fe3413352
2020-09-10vibrator: Enable LED based vibrator for holiJishnu Prakash
Enable LED based vibrator for holi for userspace to access it. Change-Id: I06d3971c11b740946befc30fe53f07070e4668fe
2020-09-08Merge c948c20160c76ac879a55c9da7ccb2c414b0b567 on remote branchLinux Build Service Account
Change-Id: Id94b48c79a5e3a25ba46a3dd113856f437c5844e
2020-08-27vibrator: Enable LED based vibratorKavya Nunna
Enable LED based vibrator for trinket and bengal targets. Change-Id: I7e434c2df3e57dd706c81cc7b719cc972fa77fbc
2020-08-19Merge daef05db0a49485cd0b3efb6aafd245ccec3ed67 on remote branchLinux Build Service Account
Change-Id: Ie986c5529810b18716a7cf504dd3833e48658680
2020-08-10vibrator: Enable LED based vibrator for SPF2018 targetsBharat Pawar
Enable LED based vibrator for SDM632/450/439/429, MSM8917 and QM215 targets. Change-Id: I11a9168c0d69a13f6767d56a8461973a9762873b
2020-08-03vibrator: Enable LED based vibratorBharat Pawar
Enable LED based vibrator for talos, moorea and atoll targets. Change-Id: I079eefaefff77fe19304acc8749773febf91a7fc
2020-07-27vibrator: add LED class device based vibrator controlKiran Gunda
Extend the QTI vibrator HAL implementation for LED class interface. Change-Id: I0ef8a80f087a6e07d92338b5663a5b275eeb9611
2020-07-22Merge a7baae44ef236e8983eeb7a677525b63696016ad on remote branchLinux Build Service Account
Change-Id: I67952a903aef9d0fe61959297a04a6523dbfd0d6
2020-07-08vibrator: Add AIDL HAL implementationFenglin Wu
Add QTI vibrator HAL implementation using AIDL interfaces. Change-Id: I4a2ffdb36d4f24fce923b1023037e73451bdcc7e
2020-06-16Merge 5d179ffc66f293f1f123d229d8bcc8bf8997faff on remote branchLinux Build Service Account
Change-Id: Icd675b4fdbd5530f47f462c50578c9be6afe576c
2020-06-12vibrator: bail out for unsupported effect strengthFenglin Wu
When playing effect, bail out if unsupported effect strength value is received. Change-Id: I00bd72be3032e12835f6da185c69a024aa26f50c
2020-05-21vibrator: Add android.hardware.vibrator libraries for compilationFenglin Wu
Add android.hardware.vibrator shared libraries for 1.3 vibrator HAL service compilation. Change-Id: Ibd67b350b1d9dbfef08340e634d388df480bdc9c
2020-05-19Merge 6dc9ddef7d444b47327fda77dc77cdb025777723 on remote branchLinux Build Service Account
Change-Id: I412ca810cb4d1da78fdd0a7e983efbc2adf040ae
2020-04-25vibrator: add support to play effect data streamFenglin Wu
Currently, only effectId is given to the input device and the effect details need to be defined in the device driver. And an option to define the effect in the HAL with a data structure contains data stream and play-rate information. When playing an effect, the play() calling will give corresponding effect data structure to the device driver for playing. Change-Id: I36d4dc47dadce63a29e39cdb94367c2e1ce0dda8
2020-04-15vibrator: restructure to support V1.3 interfaceFenglin Wu
Vibrator interface V1.3 adds support for external control to support audio haptics. With the current design, it is difficult to support both V1.2 and V1.3 for different targets together. Hence, restructure the vibrator HAL code to add support for V1.3 vibrator interface. Also, make a change to keep the service running even if vibrator device is not detected to satisfy the requirement of QMAA. However, still keep the QMAA implementation in case if there is any further usage. Change-Id: I3eb07619f6553dfde4ad9f5f89a780a5bcee0f95
2020-04-04Merge 8051b1d026816d9c762ab37e90d91fec12a5d683 on remote branchLinux Build Service Account
Change-Id: Iaf1ab06b299f4ba3047caf02077d451f0a55093e
2020-03-05vibrator: Add config to exclude haptics devices from input subsystemFenglin Wu
Haptics devices which registers as input FF devices are not supposed to be detected by input subsystem. Add excluded-input-devices.xml file for input subsystem to exclude them. Change-Id: I52dc6e502b29e2813299d073195a0991bb2cf692
2020-03-04Merge 9c93b938d19c9e3e8fff91a94025b7fbc5e7b1fb on remote branchLinux Build Service Account
Change-Id: Ia933f10c3f6b43ab3c46925e789bf3f4d5c34529
2020-02-19Vibrator Hal : Set name of QMAA vibrator HalNirmal Kumar
Set name of QMAA vibrator HAL to default Hal. Init rc starts the Vibrator hal with default name. Change-Id: I9a6d94d1c7edd6982dd026dd4df0cfca5b1c93a4
2020-02-11Vibrator Hal QMAA: Select Vibrator hal based on QMAANirmal Kumar
vibrator-product-vendor.mk contains build flags for QMAA or non QMAA vendor.qti.hardware.vibrator@1.2-service is picked for non QMAA mode. vendor.qti.hardware.vibrator.qmaa@1.2-service is picked for QMAA mode. Change-Id: I280d5dd075bdefaa5ffa402abeda42f4cda1cc3c
2020-02-03Hal Vibrator : QMAA stub implementation for Vibrator HALNirmal Kumar
create a new QMAA compliant Vibrator hal when QMAA is enabled pick QMAA compliant vibrator hal else pick real vibrator hal Change-Id: Ic7a4a26d8929145baaf46a2ff31f9ceebce62dfc
2019-03-22Vibrator: Make sure to erase old effect before uploading new effectFenglin Wu
The vibration effect need to be erased every time after the playing is done, and this is implemented in Vibrator::off(). There are cases that the application may not call Vibrator:off() so the new effect will not be uploaded successfully. To fix this, make sure the old effect was erased before uploading a new effect. Change-Id: Iee4ff44d78646207d3da0a6aa54eefffaf512822