Age | Commit message (Collapse) | Author |
|
Bug: 111163725
Change-Id: I00af3102379676cedf818caa2e86c5e1593a48da
Signed-off-by: Roger Liao <rogerliao@google.com>
|
|
This change adjust the delay timings for some of the ringtone-coupled
effects.
Bug: 75947705
Test: manual haptics test
Change-Id: Iee7705bfeb06ae8d67217a27ebeff83ee6a8a5a8
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change corrects the repeat and wait time for "The Big Adventure"
ringtone haptics.
Bug: 75947705
Test: manual
Change-Id: I96b333ee9919f671c6c0a6a0a68b2cbb05c51990
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change adds the support for audio-coupled haptics for P18
ringtones.
Bug: 75947705
Test: manual
Change-Id: I1d8cfc62ed976062d0c997dda561fe6e90030dab
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This patch adds the function to handle the waveform index offset for
different strength. This also fixes an minor error on the incorrect
durations for the effects.
Bug: 77243572
Test: manual haptics test
Change-Id: I6a07c006540d3284e6f2f247d55dbac761549036
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change updates the firmware driver that addresses the issue with
long cold-start latency, and this also removes the workaround changes
that was added previously to avoid the issue.
Bug: 78128429
Test: manual haptics test
Change-Id: I9df69f8fb452e986a5cc3dbe50aae965a98763f2
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change adds the trigger-to-start latency (max of 5 ms) to the
playback duration. This change contains a workaround with increaed
latency to 15 ms to address a firmware issue.
Bug: 74752238
Test: manual
Change-Id: Ia1e9c9b9643f3b34754e53b227519b1fe7f9fbe0
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change adds the firmware (v3.0.0) and the updated waveform library
for supporting auto-suspend power management feature on the DSP.
Bug: 74752238
Test: manual haptics test power measurement
Change-Id: I92d3cfe019f25ef9fca42d506f1cf26e8e51bb53
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change updates the waveform #6, #7 and #8 so that he waveform of #6
is composed of #1 and #2 with 100ms interval between.
Similarly, #7 = #2 + #3, and #8 = #3 + #4.
Bug: 73722420
Test: manual haptics test
Change-Id: I29bfd2ff90c2f2a9407d994aa61a9bb7b676b3fc
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change fixes an issue with the script that generates the waveform
table was using an incorrect equation. The scaling factor listed in the
firmware release notes for ReDC (5.687) has been incorrect since the
beginning, and should be 5.857. Therefore the formulae for redc_measured
and redc_stored change as follows:
ReDC (ohms) = redc_measured / 2^17 * 5.857
redc_stored = ReDC (ohms) / 5.857 * 2^17
Bug: 70630396
Test: perform cal and manual verification
Change-Id: I08eaa44c5d7c758b682d1ef1f8423677f40350a8
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change updates the haptics waveform design from the UX team.
Waveform files Index Description
============== ===== ===========
continuous_sine_f0.json 0 PWLE reference
[#1] 00 (15%).wav 1 Low TICK
[#2] 00 (23%).wav 2 Low CLICK / Medium TICK
[#3] 00 (39%).wav 3 Low HEAVY_CLICK / medium CLICK / high TICK
[#4] 00 (75%).wav 4 Medium HEAVY_CLICK / high CLICK
[#5] 11-2 (-3).wav 5 High HEAVY_CLICK
[#6] Double (L) = #1 + #2.wav 6 Low DOUBLE_CLICK
[#7] Double (M) = #2 + #3.wav 7 Medium DOUBLE_CLICK
[#8] Double (H) = #3 + #4.wav 8 High DOUBLE_CLICK
Bug: 73722420
Test: manual haptics test
Change-Id: Ic77154d7a78385ffd74f0f15d8b09b0fe5a61487
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This waveform table update fixes an issue with weak notification
vibration due to the missing waveform index 0 for continuous sine wave.
Bug: 76440863
Test: manual haptics test
Change-Id: Ib48ce9b90086684ab71911b385db64d682949230
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This firmware release addressed the following issues:
- First call for vibration following DSP reset may be ignored
- Up to three corrupt samples follow compensated waveforms
Bug: 76440863
Test: manual haptics test
Change-Id: I56234450db4d9a4f64d514de2cd33c6f27afc91e
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This updates the firmware binary as well as the waveform library to
support click compensation - that is to load the stored f0 and ReDC
value pairs from the factory and apply them to the waveform library be
able to produce consistent acceleration of the feedback across different
devices.
Bug: 70630396
Test: manual haptics test
Change-Id: I947974919face6c2b920acd873d7539045c2d2f2
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This CL adds the support of per-device calibration file loading for
click compensation support.
Bug: 70630396
Test: verify with a dummy calibration pattern
Change-Id: I7fa9787f6bc1bd5cd8629500a1b6a28a6195e419
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change contains the new waveform design from the UX team. General update
is to reduce the intensity based on the initial feedbacks.
Waveform files Index Description
============== ===== =====================
n/a 0 PWLE reference
[#1] 00 (-15).wav 1 Low TICK
[#2] 00 (-10).wav 2 Low CLICK / Medium TICK
[#3] 00 (-5).wav 3 Low HEAVY_CLICK / medium CLICK / high TICK
[#4] 00.wav 4 Medium HEAVY_CLICK / high CLICK
[#5] 11-2 (-3)/wav 5 High HEAVY_CLICK
[#6] Double (L) = #1 + #2.wav 6 Low DOUBLE_CLICK
[#7] Double (M) = #2 + #3.wav 7 Medium DOUBLE_CLICK
[#8] Double (H) = @3 + #4.wav 8 High DOUBLE_CLICK
Bug: 73722420
Test: manual haptics test
Change-Id: Ic9609f24bd4ca7cf0f21b1a2dd7f75b8440561a3
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This adds the support for amplitude scaling control for the cs40l20
driver IC.
Bug: 74767820
Test: charging confirmation apk
Change-Id: I9760ff58d0e77bb96a663cd233550194c9533fb7
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change updates the waveform library to contain the following effects
designed by the UX team.
Index Description
===== ===========
0 PWLE reference
1 Low TICK
2 Low CLICK / default TICK
3 Low HEAVY_CLIK / default CLICK / high TICK
4 Default HEAVY_CLICK / high CLICK
5 High HEAVY_CLICK
6 Low DOUBLE_CLICK
7 Default DOUBLE_CLICK
8 High DOUBLE_CLICK
Bug: 73722420
Test: manual test
Change-Id: I1a2e51d9b3b15869f689a4bd5f97370588ccd440
Signed-off-by: David Lin <dtwlin@google.com>
|
|
Bug: 73722420
Test: build
Change-Id: Idee6d99df535722b2bfae5e797232f46ae32ef62
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This adds the custom effect playback for TICK, CLICK, HEAVY_CLICK and
DOUBLE_CLICK of the default strength.
Bug: 73722420
Test: manual test
Change-Id: I43d661700336db029a428080cb47e1259d502f92
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This removes the min 10 ms duration workaround for the firmware issue.
Bug: 73722420
Test: manual test
Change-Id: I199de5d97535fe401c60e7b4c3441307e7f69015
Signed-off-by: David Lin <dtwlin@google.com>
|
|
Bug: 73722420
Test: VtsHalVibratorV1_2TargetTest
Change-Id: I85bb8bf0c8dd5164b817e9ffda833e8db1b619ab
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This adds the customized waveforms.
Bug: 73722420
Test: manual vibrator test
Change-Id: I472ea7d88198b682d03e330c211af68ed1f4c4cb
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This updated firmware fixes a race condition that DSP may miss the
ENDPLAYBACK command from the host.
Updated firmware release version is 2.0.5.
Bug: 72941200
Test: stress test with gboard
Change-Id: I9b570314db5910a040c1b967a7aa4404966d3acb
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This updates the DSP firmware from Cirrus Logic to the latest version
that address issues such that if the “start playback” register is
written while playback is already in progress, the subsequent write to
the “stop playback” register is ignored and playback continues
indefinitely.
Bug: 72941200
Change-Id: I68f4336c55e0a6b7418ca5910f365c5ed24a7f6e
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This removes the old code for drv2624 as well as adding a workaround for
the DSP firmware issue that for any playback with short duration (< 10
ms) it may cause the playback to be stuck indefinitely.
Bug: 72941200
Change-Id: I0cbc9b5520b780b57612b671fcda7f94036e5bec
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This is to allow the framework to continue booting in case vibrator
driver IC failed to init.
Change-Id: I16e282c312222b6030a8badcbdae211d98a40f78
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This patch updates the firmware that supports f0 tracking as well as LRA
resistance measurement. This new firmware requires a new waveform
library format that's incompatible with the old version. We'll remove
the waveform library from the device for now to prevent it from for the
driver to fail since currently the waveform is not being used.
Bug: 70630396
Test: Follow instructions on go/b1c1-haptics-cal
Change-Id: I6435b47f27743c4c05ceb5f31201cab431cb0df2
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This change increases the number of samples of the calibration chirp
waveform from 6247 to 6400 to increase accuracy of the f0 tracking,
Bug: 70630396
Change-Id: Icff2b5f499db187632ddd5623a5c26a753c594d3
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This patch updates the firmware to match with the latest kernel driver
and the waveform library to include the 132-170 Hz tonal sweep required
for factory calibration.
Content of the waveform lib (cs40l20.bin):
Index - Description
0 - sine tone 150 Hz
1 - strong click round 1
2 - strong click round 2
3 - strong click round 3
4 - subtle click
5 - tonal sweep 132-170 Hz (800 ms)
Bug: 69815738
Change-Id: Ia0c119656e98bf03d791972dd1e460906fdb5064
Signed-off-by: David Lin <dtwlin@google.com>
|
|
This patch adds the firmware and waveform lib for cs40l20. This also
moves drv2624 waveform to the common vibrator HAL location.
Bug: 69815738
Change-Id: I320429f0eec28192a2816ce77ef61e5b882af1b9
Signed-off-by: David Lin <dtwlin@google.com>
|
|
* Remove unused local variable.
* Fix warning of unused return status value.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: If035c7870d3109ae27e51651054e74daa571439c
|
|
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.
Test: succeeded building, and confirmed that service names were renamed
correctly.
Bug: 36796459
Change-Id: I7c51123aa83b93b65208c8cfa1766fcc1af4b45b
|
|
Change-Id: I303e8fe6be155c8c0d5385f5598c7f27c19282b1
|
|
commit dc78ac4aaa64e427c0f5c0672dc22939a9a7b85f
Merge: 820b880 163a21c
Author: Glenn Kasten <gkasten@google.com>
Date: Tue Jun 27 15:12:54 2017 +0000
Merge "Report feature android.software.midi to enable testing" into oc-dr1-dev am: 614e203677
am: 163a21c15f
Change-Id: I18876c0ce8e0435fdcb947d475c66fe7fae57da1
Change-Id: Id08e99f0603407199020818485eb29d92d421c43
|