Searched refs:UsbGadget (Results 1 – 12 of 12) sorted by relevance
/hardware/interfaces/usb/gadget/aidl/default/ |
D | service_gadget.cpp | 20 using ::aidl::android::hardware::usb::gadget::UsbGadget; 23 std::shared_ptr<UsbGadget> usbgadget = ndk::SharedRefBase::make<UsbGadget>(); in main() 24 const std::string instance = std::string() + UsbGadget::descriptor + "/default"; in main()
|
D | UsbGadget.cpp | 43 UsbGadget::UsbGadget() : mGadgetIrqPath("") { in UsbGadget() function in aidl::android::hardware::usb::gadget::UsbGadget 46 Status UsbGadget::getUsbGadgetIrqPath() { in getUsbGadgetIrqPath() 89 UsbGadget *gadget = (UsbGadget *)payload; in currentFunctionsAppliedCallback() 93 ScopedAStatus UsbGadget::getCurrentUsbFunctions(const shared_ptr<IUsbGadgetCallback>& callback, in getCurrentUsbFunctions() 108 ScopedAStatus UsbGadget::getUsbSpeed(const shared_ptr<IUsbGadgetCallback> &callback, in getUsbSpeed() 143 Status UsbGadget::tearDownGadget() { in tearDownGadget() 147 ScopedAStatus UsbGadget::reset(const shared_ptr<IUsbGadgetCallback> &callback, in reset() 154 Status UsbGadget::setupFunctions(long functions, in setupFunctions() 204 ScopedAStatus UsbGadget::setCurrentUsbFunctions(int64_t functions, in setCurrentUsbFunctions()
|
D | UsbGadget.h | 82 struct UsbGadget : public BnUsbGadget { struct 83 UsbGadget();
|
D | Android.bp | 33 srcs: ["service_gadget.cpp", "UsbGadget.cpp"],
|
/hardware/interfaces/usb/gadget/1.1/default/ |
D | UsbGadget.cpp | 36 UsbGadget::UsbGadget() { in UsbGadget() function in android::hardware::usb::gadget::V1_1::implementation::UsbGadget 44 UsbGadget* gadget = (UsbGadget*)payload; in currentFunctionsAppliedCallback() 48 Return<void> UsbGadget::getCurrentUsbFunctions(const sp<V1_0::IUsbGadgetCallback>& callback) { in getCurrentUsbFunctions() 57 V1_0::Status UsbGadget::tearDownGadget() { in tearDownGadget() 68 Return<Status> UsbGadget::reset() { in reset() 134 V1_0::Status UsbGadget::setupFunctions(uint64_t functions, in setupFunctions() 175 Return<void> UsbGadget::setCurrentUsbFunctions(uint64_t functions, in setCurrentUsbFunctions()
|
D | service.cpp | 30 using android::hardware::usb::gadget::V1_1::implementation::UsbGadget; 38 android::sp<IUsbGadget> service2 = new UsbGadget(); in main()
|
D | UsbGadget.h | 69 struct UsbGadget : public IUsbGadget { struct 70 UsbGadget();
|
D | Android.bp | 35 "UsbGadget.cpp",
|
/hardware/interfaces/usb/gadget/1.2/default/ |
D | UsbGadget.cpp | 36 UsbGadget::UsbGadget() { in UsbGadget() function in android::hardware::usb::gadget::V1_2::implementation::UsbGadget 44 UsbGadget* gadget = (UsbGadget*)payload; in currentFunctionsAppliedCallback() 48 Return<void> UsbGadget::getCurrentUsbFunctions(const sp<V1_0::IUsbGadgetCallback>& callback) { in getCurrentUsbFunctions() 57 Return<void> UsbGadget::getUsbSpeed(const sp<V1_2::IUsbGadgetCallback>& callback) { in getUsbSpeed() 101 V1_0::Status UsbGadget::tearDownGadget() { in tearDownGadget() 112 Return<Status> UsbGadget::reset() { in reset() 191 V1_0::Status UsbGadget::setupFunctions(uint64_t functions, in setupFunctions() 232 Return<void> UsbGadget::setCurrentUsbFunctions(uint64_t functions, in setCurrentUsbFunctions()
|
D | service.cpp | 30 using android::hardware::usb::gadget::V1_2::implementation::UsbGadget; 38 android::sp<IUsbGadget> service = new UsbGadget(); in main()
|
D | UsbGadget.h | 76 struct UsbGadget : public IUsbGadget { struct 77 UsbGadget();
|
D | Android.bp | 35 "UsbGadget.cpp",
|