summaryrefslogtreecommitdiff
path: root/vibrator
AgeCommit message (Collapse)Author
2021-03-12[LSC] Add LOCAL_LICENSE_KINDS to device/google/sunfishBob Badour
Added SPDX-license-identifier-Apache-2.0 to: bootctrl/Android.bp health/Android.bp keymaster/Android.bp overlay_packages/SettingsOverlayG025J/Android.bp overlay_packages/SettingsOverlayG025M/Android.bp overlay_packages/SettingsOverlayG025N/Android.bp pixelstats/Android.bp powerstats/Android.bp rro_overlays/WifiOverlay/Android.bp sunfish/overlay/packages/apps/NoCutoutOverlay/Android.bp usb/Android.bp vibrator/Android.bp vibrator/apex/Android.bp vibrator/common/Android.bp vibrator/common/bench/Android.bp vibrator/drv2624/Android.bp vibrator/drv2624/bench/Android.bp vibrator/drv2624/tests/Android.bp voice_processing/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT legacy_not_a_contribution legacy_unencumbered to: Android.bp Added SPDX-license-identifier-BSD to: gpt-utils/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I63560849d80af79ae86a0a97c375c5ab221ea477 Merged-in: I63560849d80af79ae86a0a97c375c5ab221ea477
2021-02-16Set updatable=false explicitly.android-s-preview-1Mathew Inwood
Currently, this is the default so this is a no-op, But the default is changing to true. Bug: 180375550 Test: Treehugger Change-Id: I15fa7c3e04b479556c9c1c5e4177e17134dbc989
2020-09-02resolve merge conflicts of 1e3d9fb376aaf1be6de1bd16a9004ccc95226ab0 to ↵Jooyung Han
stage-aosp-master Test: I solemnly swear I tested this conflict resolution. Bug: None Change-Id: Id0e7fa0f058185a363334c51c423a9fc3a1ce8ba
2020-09-01vibrator: put in a vendor apex along with firmwareJooyung Han
vibrator-service is packaged in an APEX. It also embeds required libraries and firmware. The contents of the apex: /apex/com.android.vibrator.sunfish ├── apex_manifest.pb ├── bin │   └── hw │   └── android.hardware.vibrator@1.3-service.sunfish ├── etc │   └── android.hardware.vibrator@1.3-service.sunfish.rc ├── firmware │   └── drv2624.bin └── lib64 ├── android.hardware.vibrator@1.0.so ├── android.hardware.vibrator@1.1.so ├── android.hardware.vibrator@1.2.so └── android.hardware.vibrator@1.3.so Bug: 162701747 Test: lunch sunfish-userdebug m && device boots && vibrator works Change-Id: I242f46424665eb1f01fda64a8fd82c28b7675d25
2020-06-18[DO NOT MERGE] vibrator: Update property naming rulechasewu
Bug: 158802146 Test: manual check properies value Signed-off-by: chasewu <chasewu@google.com> Change-Id: I6b6342560ecfcb238496568c24c7c74b9fbce39c
2020-04-28vibrator: Fix VTS in gsi test environmentchasewu
Since AOT Compliance Test (GSI) will remove some properties to AOSP environment, the new temerature awareness mechanism will fail due to null setting. This commit add a flag to avoid that situation. Bug: 150352000 Bug: 154558579 Test: remove vibrator properties and test VTS items Signed-off-by: chasewu <chasewu@google.com> Change-Id: I2953876440f1a9db8f5845410a583676aae2366f
2020-04-28vibrator: Remove trigger effect supportchasewu
In the previous projects, only edge sensor used this trigger effect. However, edge sensor did not involve in this project, we decide to remove trigger effect support. Bug: 148838005 Test: print registers' value in suspend mode Change-Id: I27d7c2419f77a3ddba71776c35b3de20c29af016 Signed-off-by: chasewu <chasewu@google.com>
2020-03-04[DO NOT MERGE] vibrator: Fix VTS in gsi test environmentchasewu
Since AOT Compliance Test (GSI) will remove some properties to AOSP environment, the new temerature awareness mechanism will fail due to null setting. This commit add a flag to avoid that situation. Bug: 150352000 Test: remove vibrator properties and test VTS items Signed-off-by: chasewu <chasewu@google.com> Change-Id: I2953876440f1a9db8f5845410a583676aae2366f
2020-02-25[DO NOT MERGE] vibrator: Remove trigger effect supportchasewu
In the previous projects, only edge sensor used this trigger effect. However, edge sensor did not involve in this project, we decide to remove trigger effect support. Bug: 148838005 Test: print registers' value in suspend mode Change-Id: I27d7c2419f77a3ddba71776c35b3de20c29af016 Signed-off-by: chasewu <chasewu@google.com>
2020-02-25vibrator: Add a temperature awareness mechanismchasewu
From component reliability test results, the actuator operating life is lower in low temperature. Thus, we changed the voltage when device in a low temperature to expand the actuator operating life. Temperature rule: > 10°C : Switch to "Normal Intensity" => Depends on each device's K file 5 ~ 10°C: This is a buffer period. Keep current voltage setting. < 5°C: Switch to "Low Bound Intensity" => ~1.8 Vpeak(od_clamp=90), sine wave, F0-10. Bug: 146329519 Test: need HW pals to check Change-Id: I4d913d2c513e5c261eb7a9c60a696bb254dbfc95 Signed-off-by: chasewu <chasewu@google.com>
2020-02-15haptics: Add protection mechanism on long vibrationchasewu
1. To make sure post_cal long vibration is not calibrated too low, this patch set a minimum calibrated voltage(1.8Vpeak, od_clamp=90) for long vibration. 2. If the device maximum amplitude cannot reach target G, this patch set a maximum voltage 161(3.2 Vpeak) for those devices. Bug: 149461098 Bug: 149531761 Test: manual check the calibration result Change-Id: I9ba5289a12c9ac4b662f869c8c2d49d170fcd875 Signed-off-by: chasewu <chasewu@google.com>
2020-02-05[DO NOT MERGE] vibrator: Fix the defect in calibration processchasewu
1. Add output protection for the rest of cases 2. Add boundary protection for the maximum level 3. Add a linear approach for 2 coeffs cases Bug: 147206963 Bug: 147784756 Test: manual check calibration output values Change-Id: I7d415b39b58ed94a152c3a4729fb172711cea7dc Signed-off-by: chasewu <chasewu@google.com>
2020-02-05vibrator: Modify haptics tuning resultchasewu
Bug: 148906325 Test: manual check haptics feelings Change-Id: I6ab2a8a1c2d4387742c592f9226e90c8f57079f9 Signed-off-by: chasewu <chasewu@google.com>
2020-01-16vibrator: Add first haptics tuning patternchasewu
This is the initial version for dogfood rom. TEXTURE_TICK 6ms TICK 6ms CLICK 6ms DOUBLE_CLICKS 8 + 125 + 11 ms HEAVY_CLICK 6ms Bug: 146316176 Test: UT pals checked the haptics Change-Id: I9b7a8dbbe0a710248872ab23cc11866ec757e2f4 Signed-off-by: chasewu <chasewu@google.com>
2020-01-08vibrator: Remove haptics intensity supportchasewu
1. Remove haptics intensity support 2. Stick TEXTURE_CLICK effect strength to level 1 Bug: 146540987 Bug: 147334606 Test: manual check the mapping od_clamp value Change-Id: I48e0b751c861b7ec9b12189c5ad0baf25a73d616 Signed-off-by: chasewu <chasewu@google.com>
2019-12-12vibrator: Replace calibration path to fix avc denied problemchasewu
Bug: 143667198 Test: no avc denied log via dmesg | grep -ie vib Change-Id: Ia97dd56d4ca3934101172e407bc51ada5650ad13 Signed-off-by: chasewu <chasewu@google.com>
2019-12-05drv2624: Impliment new haptics calibration for drv2624 based projectschasewu
Add the new calibration process to drv2624 vibrator hal Bug: 145575211 Test: manual cmd test Change-Id: Ie1edcfabdee619eb07c62688bcdb7486a5d87122 Signed-off-by: chasewu <chasewu@google.com>
2019-12-05vibrator: Add drv2624 1-3 version vibrator halchasewu
Bug: 145575211 Test: manual command test Change-Id: I34bce2b96da57194263904c598a23e0f8b646952 Signed-off-by: chasewu <chasewu@google.com>
2019-08-21Initial S5 device folderCyan_Hsieh
Reference 67d47b661b457286b602df626c3aa8ba0bc721fe aa6f4ddc29c893aacb41e3ae06ae031b605bbde4 device/qcom/common and device/qcom/sm6150 of LA.UM.8.9.R1.09.00.00.558.029 Bug: 139269901 Change-Id: I663fd9ae5d0ecb92c579200cef9eae6f6c0e3ccd