summaryrefslogtreecommitdiff
path: root/vibrator
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Update stale OWNERS." into mainMichael Wright2024-06-131-3/+1
|\
| * Update stale OWNERS.Michael Wright2024-06-131-3/+1
| | | | | | | | | | | | | | | | | | | | | | None of the people in this OWNERS file work on haptics anymore. Point to a maintained OWNERS file so there's only one place to update when the team changes in the future. Bug: 346876927 Test: N/A Flag: EXEMPT OWNERS change Change-Id: I17b17b4972c5af4ebdd28cc871303677385a857e
* | libc++fs is now part of libc++.Elliott Hughes2024-06-101-1/+0
| | | | | | | | Change-Id: I55e47a328adfd70f991985b492030310ad580c14
* | libc++fs is part of libc++ now.Elliott Hughes2024-06-071-3/+0
|/ | | | Change-Id: Ib1f4d34553657875b202681ca4faff21e6a58713
* Migrate Test Targets to New Android Ownership ModelAditya Choudhary2024-04-222-0/+2
| | | | | | | | | | | | | | This CL is created as a best effort to migrate test targets to the new Android ownership model. It is based on historical data from repository history and insights from git blame. Given the nature of this effort, there may be instances of incorrect attribution. If you find incorrect or unnecessary attribution in this CL, please create a new CL to fix that. For detailed guidelines and further information on the migration please refer to the link below, go/new-android-ownership-model Bug: 304529413 Test: N/A Change-Id: I54cd70acb1b5d7ca2bd5725e1c0e113b064602df
* [LSC] Add LOCAL_LICENSE_KINDS to device/google/barbetBob Badour2021-03-263-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added SPDX-license-identifier-Apache-2.0 to: barbet/overlay/packages/apps/NoCutoutOverlay/Android.bp barbet/overlay_packages/SettingsOverlayG025H/Android.bp barbet/overlay_packages/SettingsOverlayG1F8F/Android.bp barbet/overlay_packages/SettingsOverlayG4S1M/Android.bp usb/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 to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I9edf9a9e5c8187eed85d1edb5226416beb90c5fa Merged-in: I9edf9a9e5c8187eed85d1edb5226416beb90c5fa
* vibrator: implement chirp APIsVince Leung2021-03-232-0/+37
| | | | | | | | | Implement the chirp APIs and necessary helper methods. This capability is not supported on drv2624 so we return EX_UNSUPPORTED_OPERATION. Bug: 162859057 Test: m Change-Id: Ibcf28b10f9313d94379103cafcf0400afc7b33b4
* Add APIs to get resonant frequency and Q factorVince Leung2021-02-222-0/+21
| | | | | | | | | | | Actuators can have resonant frequency and Q factor information. Exposing this information can allow for better optimized audio generated haptics. Bug: 178826612 Bug: 180932901 Test: m Change-Id: I55f8996f78fc3cbb0666e834566cd5eaaf50b047
* Merge changes from topic "vibrator-tuning" into rvc-qpr-dev am: 8e2e3f3d97 ↵Eddie Lan2021-02-031-3/+5
|\ | | | | | | | | | | | | | | | | | | am: c75993ae38 Original change: https://googleplex-android-review.googlesource.com/c/device/google/barbet/+/13451813 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I556b103fc0f21e628b026edeb5020641b0cb1d4f
| * drv2624: Dogfood haptic tuning setting V2eddielan2021-02-021-2/+2
| | | | | | | | | | | | Bug: 178545391 Test: Build Pass Change-Id: Id4fa8f51f3d44557c5392c5487a8b78462319bbd
| * drv2624: Reduce Gsensor Polling Timeeddielan2021-02-011-1/+3
| | | | | | | | | | | | | | Bug: 178436908 Test: Build Pass Test: MotionAwareness() works on device Change-Id: I6e9d44d8b17528b41622c58c6ff5feb70827adec
* | vibrator: declare AIDL version in VINTFYifan Hong2021-01-211-0/+1
|/ | | | | | | | Vibrator HAL uses unstable version, which is currently version 2. Test: pass Bug: 178035621 Change-Id: I751ab4365c0897bd9149ce82004ac01afd3b85e0
* drv2624: Get the tempture value from the thermal nodeeddielan2020-11-301-1/+1
| | | | | | Bug: 174330771 Test: Build pass, Motion/Non-motion test Change-Id: I0415a783d2de9e337eb3e56b0360f4192b490701
* vibrator: correct marco formateddielan2020-11-121-2/+2
| | | | | | Bug: 173087659 Test: Build pass, locally validate motion/non-motion feature Change-Id: If4bc2d036fbf1d83147ab24091a5f99e0f4b4a67
* vibrator: Update haptic tuning setting V1eddielan2020-11-111-2/+2
| | | | | | | | | | | | | | Click 1: [vibrator.hal.effect.strength1]: [115] Click 2: [vibrator.hal.effect.strength2]: [175] Click 3: [vibrator.hal.effect.strength3]: [210] Click 4: [vibrator.hal.effect.strength4]: [360] Click 5: [vibrator.hal.effect.strength5]: [450] High motion: [vibrator.hal.steady.strength1]: [950] Non-motion: [vibrator.hal.steady.strength3]: [600] Bug: 172536831 Test: manual check target G values Change-Id: If93f7065b48a2eddf0ebf928bc2a4b0b0e743047
* vibrator: Fix if condition judgementeddielan2020-11-112-2/+2
| | | | | | Bug: 171946988 Test: build pass, vibrator functionality works fine Change-Id: I9f579970e7645979e7a4802635901df9a6aef192
* vibrator: Add a threshold to filter out some short vibration caseseddielan2020-11-101-24/+26
| | | | | | | | | | | | | | Some app will use short vibration to implement haptics effect and those cases will feel a delay from the motion awareness mechanism. We add this patch to filter out those cases since those behaviors beyond the motion awareness mechanism scope. Bug: 162346934 Bug: 171946988 Bug: 172405410 Test: Build pass and vibration works fine Change-Id: I6b624de51f8f88e36e5d2b95ba61cec3043419cc
* Merge changes from topic "SyncFromFactory" into rvc-qpr-devTreeHugger Robot2020-10-303-2/+23
|\ | | | | | | | | | | | | * changes: vibrator: Add a switch in motion awareness mechanism vibrator: Update f0 when vibrator hal ready vibrator: Show vibrator target G values
| * vibrator: Add a switch in motion awareness mechanismchasewu2020-10-273-0/+16
| | | | | | | | | | | | | | | | | | Add VIBRATOR_FACOTORY_FLAG to control awareness function Bug: 163963216 Test: check if motion awareness mechanism is triggered or not Signed-off-by: chasewu <chasewu@google.com> Change-Id: I19b5c420489d80a6dd1b5bf8fcc6749fe1e22c41
| * vibrator: Update f0 when vibrator hal readychasewu2020-10-271-2/+2
| | | | | | | | | | | | | | Bug: 166220412 Test: manual check f0 value Signed-off-by: chasewu <chasewu@google.com> Change-Id: Ieb948854d662c3b3078e0331fade0c30e955138f
| * vibrator: Show vibrator target G valueschasewu2020-10-271-0/+5
| | | | | | | | | | | | | | Bug: 166220412 Test: dumpsys android.hardware.vibrator.IVibrator/default Signed-off-by: chasewu <chasewu@google.com> Change-Id: I61dfe5f9cfacdb7ffc5170f9678baf95e45788d0
* | Merge "vibrator: Update property naming rule" into rvc-qpr-devTreeHugger Robot2020-10-301-1/+1
|\ \
| * | vibrator: Update property naming rulechasewu2020-10-271-1/+1
| |/ | | | | | | | | | | | | Bug: 163963216 Test: manual check properies value Signed-off-by: chasewu <chasewu@google.com> Change-Id: Id0593ff28b2eb3f5de28e9f892dca21004ab284d
* / vibrator: Update target G values, Target amplitude change (v3)eddielan2020-10-271-2/+2
|/ | | | | | | | Update the target G per HW request Bug: 170287017 Test: manual check target G values Change-Id: Ibb32a93c428b778495700961cb08b7cb3b0dd94d
* Initial bringup for B9Cyan_Hsieh2020-06-0319-0/+2847
- checkout from 45f1551534ce630e990eaeeac0394a280d5c7e8d - switch file/dir name to barbet - replace project name in code - remove self-extractors/, factory-images/ (b/147820999) for no image ready for AOSP yet Bug: 157613138 Change-Id: If9b10a1d5e827ffdd67c0f1d0bbf03ee54e7dd7c