exynos9610: Rename USB HAL suffix to exynos9610
authorRashed Abdel-Tawab <rashed@linux.com>
Wed, 21 Aug 2019 23:55:03 +0000 (16:55 -0700)
committerJan Altensen <info@stricted.net>
Sun, 1 Nov 2020 02:06:30 +0000 (03:06 +0100)
Change-Id: Iffc638b3bf747be07e9ce34278edeb546b905948

hidl/usb/Android.bp
hidl/usb/Usb.cpp
hidl/usb/android.hardware.usb@1.1-service.exynos9610.rc [new file with mode: 0644]
hidl/usb/android.hardware.usb@1.1-service.wahoo.rc [deleted file]
hidl/usb/service.cpp

index f5bde70af77140a2f45af1db7fae8f963113b95e..263be6c6c9a41bd0885e5583ced4cb6f4b167fa5 100644 (file)
@@ -13,9 +13,9 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 cc_binary {
-    name: "android.hardware.usb@1.1-service.wahoo",
+    name: "android.hardware.usb@1.1-service.exynos9610",
     relative_install_path: "hw",
-    init_rc: ["android.hardware.usb@1.1-service.wahoo.rc"],
+    init_rc: ["android.hardware.usb@1.1-service.exynos9610.rc"],
     srcs: ["service.cpp", "Usb.cpp"],
     cflags: [
         "-Wall",
index 5f8bdce4da149c511a494a528380119a39834935..46124d0e8005e96a28263303ffa7d7d75d6c9e19 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "android.hardware.usb@1.1-service.wahoo"
+#define LOG_TAG "android.hardware.usb@1.1-service.exynos9610"
 
 #include <android-base/logging.h>
 #include <assert.h>
diff --git a/hidl/usb/android.hardware.usb@1.1-service.exynos9610.rc b/hidl/usb/android.hardware.usb@1.1-service.exynos9610.rc
new file mode 100644 (file)
index 0000000..a9226e5
--- /dev/null
@@ -0,0 +1,12 @@
+service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.exynos9610
+    class hal
+    user root
+    group root system
+
+on boot
+    chown root system /sys/class/typec/port0/power_role
+    chown root system /sys/class/typec/port0/data_role
+    chown root system /sys/class/typec/port0/port_type
+    chmod 664 /sys/class/typec/port0/power_role
+    chmod 664 /sys/class/typec/port0/data_role
+    chmod 664 /sys/class/typec/port0/port_type
diff --git a/hidl/usb/android.hardware.usb@1.1-service.wahoo.rc b/hidl/usb/android.hardware.usb@1.1-service.wahoo.rc
deleted file mode 100644 (file)
index 1bb4977..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.wahoo
-    class hal
-    user root
-    group root system
-
-on boot
-    chown root system /sys/class/typec/port0/power_role
-    chown root system /sys/class/typec/port0/data_role
-    chown root system /sys/class/typec/port0/port_type
-    chmod 664 /sys/class/typec/port0/power_role
-    chmod 664 /sys/class/typec/port0/data_role
-    chmod 664 /sys/class/typec/port0/port_type
index 5fffc4cefe622123d0d971e83bab5dfc16d23145..0fbb3b19af9e6a1ba1373f8c61e0db37e9909d9e 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "android.hardware.usb@1.1-service.wahoo"
+#define LOG_TAG "android.hardware.usb@1.1-service.exynos9610"
 
 #include <hidl/HidlTransportSupport.h>
 #include "Usb.h"