History log of /frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f268bf573f671fdc051bf4485dc0ea972406ea38 08-Feb-2018 Michael Wright <michaelwr@google.com> Add support for vibrator HAL 1.2 effects.

Test: atest android.os.VibrationEffectTest
Bug: 64184692
Bug: 64185677
Change-Id: I0b3f9caa04b3e7bdadba5c44188120ac14943f82
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
dc2b3be240705b53fa1749cbdaedd0a63931378d 02-Aug-2017 Michael Wright <michaelwr@google.com> Don't always fallback to clockTick for EFFECT_TICK.

Some things really need to be tuned in order to not annoy users, and
should otherwise be turned off. Let an effect state whether it should
fallback to a generic effect or should just be silent if there's no
hardware specific version of it.

Fixes: 65219268
Test: manual
Change-Id: I38fcbd6d80803cdf8f4ec04e8e1ac363b8d6361b
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
9f430b2782849090d2e5e3737304cd26724366fa 20-Jul-2017 Steven Moreland <smoreland@google.com> Merge "frameworks/base: use proper nativehelper headers" am: 826eafd958 am: 5c091dc944
am: c840945a78

Change-Id: I654e14f0d1b495450db81592a2e564e308746350
5c091dc9449b583e18656a8850a61f557dfcc945 20-Jul-2017 Steven Moreland <smoreland@google.com> Merge "frameworks/base: use proper nativehelper headers"
am: 826eafd958

Change-Id: I36f10ff4d963284a313f1cc5b368f82549a4adb2
2279b2534272282a5b5152723235da397e49195c 19-Jul-2017 Steven Moreland <smoreland@google.com> frameworks/base: use proper nativehelper headers

libnativehelper exports headers under nativehelper. These were
available before incorrectly as global headers in order to give
access to jni.h.

Test: modules using frameworks/base find headers
Bug: 63762847
Change-Id: I0f9f231acdebe460f279135462f43d3e32eff64d
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
baa2125a3df7bedb7aba8e90268346b36e7ae46f 13-Jul-2017 David Lin <dtwlin@google.com> Fix issue with double vibration trigger

This patch fixes an issue that cause duplicated calls to HAL even when
the first call succeeded.

Bug: 63667425
Test: manual test
Change-Id: I4c29e3c9872cc42ea143b3adda3a3defca728e71
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
a92c154d3e0f09d56df47e9d5f08ed0a0b249100 17-Jun-2017 Tri Vo <trong@google.com> Fwk vibrator server handles vibrator hal dying.

Bug: 35729206
Test: 1. on device: pkill -f vibrator
2. trigger vibrator
3. runtime survives
Change-Id: Ic2d98e36635151029e3dda78c3a58f481e273936
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
57d94d9fb1e55345307e579977138aaf6177e388 31-May-2017 Michael Wright <michaelwr@google.com> Add support for vibrator 1.1 HAL and TICK effect.

New HAL support is a bit hacky but gets us unblocked.

Bug: 38417655
Bug: 38417570
Test: Manual (hacked up 1.1 HAL implementation that just logs)
Change-Id: I207cce97c81734bac1ca00a5de18e160d13e2bbe
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
7121697a5e2d4458f6f63e9eb3b5deec62ee6202 31-Jan-2017 Michael Wright <michaelwr@google.com> BZZZZZZT! BZZZZZT! New Vibrator APIs

Replace the existing Vibrator APIs with a new class to encapsulate the
haptic effect information, and add the ability to control the vibration
strength.

Test: cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.cts.VibratorTest
cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.cts.VibrationEffectTest
runtest systemui-notification
Manual testing with $T/google_experimental/users/michaelwr/Vibrator

Bug: 30961353

Change-Id: Idbb9864a7b084c85e7b7de3257a0e6b40d9d91d6
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
c310a9049516aada4dda24d1ec035a54bcc20cbe 20-Jan-2017 Chris Phoenix <cphoenix@google.com> vibrator HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds; verify HAL still works

Bug: 33844934

Change-Id: I7ad730bc5b52b9bd3c63410f6f926cbc08d0b73c
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
d1256ee9094eb0cc516c240c052545797087f32a 28-Oct-2016 Steven Moreland <smoreland@google.com> vibrator: Remove unused using statement.

Bug: 32313592
Test: compiles
Change-Id: Ia2b99bd0a28653daa61150da022024e21a02a842
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
a9cdaace679e6aa0d889ce2c40009d4c46e0d1f6 16-Sep-2016 Prashant Malani <pmalani@google.com> services: Use HIDL Vibrator

Bug: 32021191
Test: Builds, boots, vibrator works on bullhead

Change-Id: Ib46a8e902bca1bc28638f3b4477a2fd91e7186b3
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
5603eca33c8e322997029d3101fd2442df3c274e 17-Nov-2015 Colin Cross <ccross@android.com> Merge "Vibra: Add loading of the vibrator hardware module."
76f6a86de25e1bf74717e047e55fd44b089673f3 19-Sep-2015 Daniel Micay <danielmicay@gmail.com> constify JNINativeMethod function pointer tables

Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
e6904fbdf7976abbadf3e7e658e9416ca49402f9 10-Aug-2012 Vincent Becker <vincentx.becker@intel.com> Vibra: Add loading of the vibrator hardware module.

Vibrator HAL is now formed of two hardware modules: one is the default
AOSP and the other is the vendor implementation.

The vendor implementation will be loaded prior to the default one.
For that, the vibrator service has to load the module before
registering itself to the JNI.

This change is related to other changes in:
- hardware/libhardware
- hardware/libhardware_legacy

Change-Id: I844279f5535289f079d412fdc44c5cb3c9c1130c
Author: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: David Wagner <david.wagner@intel.com>
Author-tracking-BZ: 49760 94611
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp
8dcf593f90792272bd21e498da1aeb60fced1989 01-Oct-2014 Andreas Gampe <agampe@google.com> resolved conflicts for merge of 6290c048 to lmp-dev-plus-aosp

Change-Id: I9fd4b4402f301c3521f57b207793ab4dfdd67a12
9158825f9c41869689d6b1786d7c7aa8bdd524ce 22-Nov-2013 Amith Yamasani <yamasani@google.com> Move some system services to separate directories

Refactored the directory structure so that services can be optionally
excluded. This is step 1. Will be followed by another change that makes
it possible to remove services from the build.

Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/jni/com_android_server_VibratorService.cpp