aidl: usb: Rebrand to samsung
authorTim Zimmermann <tim@linux4.de>
Thu, 25 Aug 2022 09:39:48 +0000 (11:39 +0200)
committerTim Zimmermann <tim@linux4.de>
Fri, 14 Oct 2022 15:31:47 +0000 (17:31 +0200)
Change-Id: I61e228d7d7958c5078e8186700b8cc14804154c9

aidl/usb/Android.bp
aidl/usb/android.hardware.usb-service.example.rc [deleted file]
aidl/usb/android.hardware.usb-service.example.xml [deleted file]
aidl/usb/android.hardware.usb-service.samsung.rc [new file with mode: 0644]
aidl/usb/android.hardware.usb-service.samsung.xml [new file with mode: 0644]

index da0cff23c3c69123e2754ba10ce6a567074f911b..f067e6ea68485daefe253c4a370b8bb5a5b00a4d 100644 (file)
@@ -1,5 +1,6 @@
 //
 // Copyright (C) 2021 The Android Open Source Project
+// Copyright (C) 2022 The LineageOS Project
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 //
 
 cc_binary {
-    name: "android.hardware.usb-service.example",
+    name: "android.hardware.usb-service.samsung",
     relative_install_path: "hw",
-    init_rc: ["android.hardware.usb-service.example.rc"],
-    vintf_fragments: ["android.hardware.usb-service.example.xml"],
+    init_rc: ["android.hardware.usb-service.samsung.rc"],
+    vintf_fragments: ["android.hardware.usb-service.samsung.xml"],
     vendor: true,
     srcs: [
         "service.cpp",
diff --git a/aidl/usb/android.hardware.usb-service.example.rc b/aidl/usb/android.hardware.usb-service.example.rc
deleted file mode 100644 (file)
index 335bca7..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-service vendor.usb_default /vendor/bin/hw/android.hardware.usb-service.example
-    class hal
-    user system
-    group system
diff --git a/aidl/usb/android.hardware.usb-service.example.xml b/aidl/usb/android.hardware.usb-service.example.xml
deleted file mode 100644 (file)
index 6088194..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<manifest version="1.0" type="device">
-    <hal format="aidl">
-        <name>android.hardware.usb</name>
-        <version>1</version>
-        <interface>
-            <name>IUsb</name>
-            <instance>default</instance>
-        </interface>
-    </hal>
-</manifest>
diff --git a/aidl/usb/android.hardware.usb-service.samsung.rc b/aidl/usb/android.hardware.usb-service.samsung.rc
new file mode 100644 (file)
index 0000000..ee5c4c0
--- /dev/null
@@ -0,0 +1,4 @@
+service vendor.usb_default /vendor/bin/hw/android.hardware.usb-service.samsung
+    class hal
+    user system
+    group system
diff --git a/aidl/usb/android.hardware.usb-service.samsung.xml b/aidl/usb/android.hardware.usb-service.samsung.xml
new file mode 100644 (file)
index 0000000..6088194
--- /dev/null
@@ -0,0 +1,10 @@
+<manifest version="1.0" type="device">
+    <hal format="aidl">
+        <name>android.hardware.usb</name>
+        <version>1</version>
+        <interface>
+            <name>IUsb</name>
+            <instance>default</instance>
+        </interface>
+    </hal>
+</manifest>