summaryrefslogtreecommitdiff
path: root/vibrator
diff options
context:
space:
mode:
authorRoger Liao <rogerliao@google.com>2018-06-28 17:37:19 +0800
committerRoger Liao <rogerliao@google.com>2018-07-12 20:58:37 +0800
commit7288740f649dc738d02637b149aba8324b4b72c5 (patch)
tree74ea25e04b28cb8ccde2638f4c71e4fc41dd74c3 /vibrator
parent5560211c7ce93a2e92cd7f59c76b6950315ff5bc (diff)
downloadbonito-7288740f649dc738d02637b149aba8324b4b72c5.tar.gz
bonito and sargo: initial device support
Bug: 111163725 Change-Id: I00af3102379676cedf818caa2e86c5e1593a48da Signed-off-by: Roger Liao <rogerliao@google.com>
Diffstat (limited to 'vibrator')
-rw-r--r--vibrator/Android.bp4
-rw-r--r--vibrator/android.hardware.vibrator@1.2-service.bonito.rc (renamed from vibrator/android.hardware.vibrator@1.2-service.crosshatch.rc)2
-rw-r--r--vibrator/service.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/vibrator/Android.bp b/vibrator/Android.bp
index f95d5fdb..2462082a 100644
--- a/vibrator/Android.bp
+++ b/vibrator/Android.bp
@@ -13,9 +13,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
cc_binary {
- name: "android.hardware.vibrator@1.2-service.crosshatch",
+ name: "android.hardware.vibrator@1.2-service.bonito",
relative_install_path: "hw",
- init_rc: ["android.hardware.vibrator@1.2-service.crosshatch.rc"],
+ init_rc: ["android.hardware.vibrator@1.2-service.bonito.rc"],
srcs: ["service.cpp", "Vibrator.cpp"],
cflags: ["-Wall", "-Werror"],
shared_libs: [
diff --git a/vibrator/android.hardware.vibrator@1.2-service.crosshatch.rc b/vibrator/android.hardware.vibrator@1.2-service.bonito.rc
index f94469a3..b47bee88 100644
--- a/vibrator/android.hardware.vibrator@1.2-service.crosshatch.rc
+++ b/vibrator/android.hardware.vibrator@1.2-service.bonito.rc
@@ -1,4 +1,4 @@
-service vendor.vibrator-1-2 /vendor/bin/hw/android.hardware.vibrator@1.2-service.crosshatch
+service vendor.vibrator-1-2 /vendor/bin/hw/android.hardware.vibrator@1.2-service.bonito
class hal
user system
group system
diff --git a/vibrator/service.cpp b/vibrator/service.cpp
index 9696690e..953f75d9 100644
--- a/vibrator/service.cpp
+++ b/vibrator/service.cpp
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#define LOG_TAG "android.hardware.vibrator@1.2-service.crosshatch"
+#define LOG_TAG "android.hardware.vibrator@1.2-service.bonito"
#include <android/hardware/vibrator/1.2/IVibrator.h>
#include <hidl/HidlSupport.h>