summaryrefslogtreecommitdiff
path: root/usb/service.cpp
diff options
context:
space:
mode:
authorAlbert Wang <albertccwang@google.com>2021-03-24 22:23:02 +0800
committerAlbert Wang <albertccwang@google.com>2021-03-24 22:23:02 +0800
commit03a719a5080b1d1c321054545c54fb75ac088d8e (patch)
tree32cb42c66ba1d3d49e230433652d4b8f04a7f9d3 /usb/service.cpp
parenta85522aa5aebb90e5fb50461e39e24178d9048c0 (diff)
downloadbramble-03a719a5080b1d1c321054545c54fb75ac088d8e.tar.gz
Add USB Gadget HAL 1.2 support
Add a new API to query current USB connection speed Bug: 181938674 Test: Pass USB Gadget V1.2 HIDL tests Signed-off-by: Albert Wang <albertccwang@google.com> Change-Id: I5a04207325a5fa9c1338f2a4a6d78c4afa363913
Diffstat (limited to 'usb/service.cpp')
-rw-r--r--usb/service.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/usb/service.cpp b/usb/service.cpp
index 427a0bd..94872aa 100644
--- a/usb/service.cpp
+++ b/usb/service.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2018 The Android Open Source Project
+ * Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,8 +27,8 @@ using android::hardware::configureRpcThreadpool;
using android::hardware::joinRpcThreadpool;
// Generated HIDL files
-using android::hardware::usb::gadget::V1_1::IUsbGadget;
-using android::hardware::usb::gadget::V1_1::implementation::UsbGadget;
+using android::hardware::usb::gadget::V1_2::IUsbGadget;
+using android::hardware::usb::gadget::V1_2::implementation::UsbGadget;
using android::hardware::usb::V1_2::IUsb;
using android::hardware::usb::V1_2::implementation::Usb;