summaryrefslogtreecommitdiff
path: root/usb
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 /usb
parent5560211c7ce93a2e92cd7f59c76b6950315ff5bc (diff)
bonito and sargo: initial device support
Bug: 111163725 Change-Id: I00af3102379676cedf818caa2e86c5e1593a48da Signed-off-by: Roger Liao <rogerliao@google.com>
Diffstat (limited to 'usb')
-rw-r--r--usb/Android.bp4
-rw-r--r--usb/Usb.cpp2
-rw-r--r--usb/UsbGadget.cpp2
-rw-r--r--usb/android.hardware.usb@1.1-service.bonito.rc (renamed from usb/android.hardware.usb@1.1-service.crosshatch.rc)2
-rw-r--r--usb/service.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/usb/Android.bp b/usb/Android.bp
index 511af205..449b0678 100644
--- a/usb/Android.bp
+++ b/usb/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.usb@1.1-service.crosshatch",
+ name: "android.hardware.usb@1.1-service.bonito",
relative_install_path: "hw",
- init_rc: ["android.hardware.usb@1.1-service.crosshatch.rc"],
+ init_rc: ["android.hardware.usb@1.1-service.bonito.rc"],
srcs: ["service.cpp", "Usb.cpp", "UsbGadget.cpp"],
shared_libs: [
"libbase",
diff --git a/usb/Usb.cpp b/usb/Usb.cpp
index f0eceddd..ccbdcc6a 100644
--- a/usb/Usb.cpp
+++ b/usb/Usb.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "android.hardware.usb@1.1-service.crosshatch"
+#define LOG_TAG "android.hardware.usb@1.1-service.bonito"
#include <android-base/logging.h>
#include <assert.h>
diff --git a/usb/UsbGadget.cpp b/usb/UsbGadget.cpp
index 1976dac2..0941aed1 100644
--- a/usb/UsbGadget.cpp
+++ b/usb/UsbGadget.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "android.hardware.usb.gadget@1.0-service.crosshatch"
+#define LOG_TAG "android.hardware.usb.gadget@1.0-service.bonito"
#include "UsbGadget.h"
#include <dirent.h>
diff --git a/usb/android.hardware.usb@1.1-service.crosshatch.rc b/usb/android.hardware.usb@1.1-service.bonito.rc
index dc2a1702..7061e559 100644
--- a/usb/android.hardware.usb@1.1-service.crosshatch.rc
+++ b/usb/android.hardware.usb@1.1-service.bonito.rc
@@ -1,4 +1,4 @@
-service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.crosshatch
+service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.bonito
class hal
user root
group root system shell mtp
diff --git a/usb/service.cpp b/usb/service.cpp
index 372267e6..ec9d3f06 100644
--- a/usb/service.cpp
+++ b/usb/service.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "android.hardware.usb@1.1-service.crosshatch"
+#define LOG_TAG "android.hardware.usb@1.1-service.bonito"
#include <hidl/HidlTransportSupport.h>
#include "Usb.h"