Commit graph

13 commits

Author SHA1 Message Date
TreeHugger Robot
efbba954b3 Merge "cs40l26: Add cancelSynced when prepare sync fail" into tm-qpr-dev am: d520623aed am: d8acae6982
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20533491

Change-Id: I49286cb8e27e9190454a2c1810b04a63bee95484
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 08:49:44 +00:00
TreeHugger Robot
d8acae6982 Merge "cs40l26: Add cancelSynced when prepare sync fail" into tm-qpr-dev am: d520623aed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20533491

Change-Id: I274dcecbfd34f04b8db7407b23b72f3f7fe12f50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 08:16:48 +00:00
Chase Wu
8d22072195 cs40l26: Add cancelSynced when prepare sync fail
Also add more logs to improve the ability of debugging.

Bug: 259012441
Test: scrolling the minute hand in alarm
Change-Id: I93b9dc7999ef0285d66a54a4fa5b74f4b72150bc
Signed-off-by: Chase Wu <chasewu@google.com>
2022-11-21 22:01:35 +08:00
TreeHugger Robot
d5ab577902 Merge "cs40l26: Improve the vibrator manager stability" into tm-qpr-dev am: ee8e70c340 am: 0a60197d7c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20414375

Change-Id: I37115166b5b4fecdd32fc27be391424ad83723bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-11 04:41:26 +00:00
TreeHugger Robot
0a60197d7c Merge "cs40l26: Improve the vibrator manager stability" into tm-qpr-dev am: ee8e70c340
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20414375

Change-Id: I068a25d5e3d54b1ba47979545156bf68eff34693
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-11 04:09:54 +00:00
Chase Wu
a5ab84ba2a cs40l26: Improve the vibrator manager stability
1. Add the return check when doing the prepareSynced process.
2. Add more debugging log pattern
3. Correst the corner case when doing the erase process

Bug: 258391756
Test: command in the bug
Change-Id: Ib6e189cca66f67b0501299cdb1a8c2572215a70e
Signed-off-by: Chase Wu <chasewu@google.com>
2022-11-10 10:58:31 +00:00
Bob Badour
bbc71e8d4f [LSC] Add LOCAL_LICENSE_KINDS am: be95819a39
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20369970

Change-Id: I4eae6b1afd166f37ac574e76397c3b1dc57beaa4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 18:41:40 +00:00
Bob Badour
be95819a39 [LSC] Add LOCAL_LICENSE_KINDS
Added SPDX-license-identifier-Apache-2.0 to:
  vibrator/cs40l26/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Change-Id: I0f79d8c1a23c701b8cb149d966a9bc8b688ef585
2022-11-03 07:35:24 -07:00
Chase Wu
e34ac08d6f cs40l26: Add vibrator manager support am: 3584a67955 am: f2dbe82adc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20258321

Change-Id: Iae9869dfdcab4c41fa57e8b05c8a3e8db0aa46af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 10:10:15 +00:00
Chase Wu
3f32520d2f [DO NOT MERGE] cs40l26: Enable vibrator manager feature
This patch remove the old dual design and add it into the original
vibrator HALs'rc file.

Also, this patch dynamically gets the service name from rc file.

Bug: 181615889
Test: Manual type and trigger a long/short vibration
Test: cmd vibrator_manager synced xxxx
Test: cmd vibrator_manager sequential -v 0 xxxx
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I7a5dd65c67e01a008f8d2c675dc7b96599469622
2022-11-02 22:26:31 +08:00
Chase Wu
3584a67955 cs40l26: Add vibrator manager support
Bug: 181615889
Test: Manual type and trigger a long/short vibration
Test: cmd vibrator_manager synced xxxx
Test: cmd vibrator_manager sequential -v 0 xxxx
Test: atest VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest \
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: Ib93e8eb4a0de9269116e07f76b66a77b58915211
2022-10-28 23:31:25 +08:00
Chase Wu
fd52691553 [DO NOT MERGE] cs40l26: using the project folder mk
The based mk file is different from master one, so
there is no need to merge this patch to master branch.

Bug: 181615889
Test: Run all test suites
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I61106aee64c87f77cef966d307ca5f047b5cc0b2
2022-10-28 23:31:13 +08:00
Chase Wu
89fda9efcb cs40l26: Move the latest vibrator HAL to device
This is the base version for the vibrator manager feature.

Bug: 181615889
Test: Run all test suites
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I703835346864853a0d5a5918e3c50f541b67dc1f
2022-10-28 23:31:07 +08:00