Home
last modified time | relevance | path

Searched refs:UsbGadget (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/usb/gadget/aidl/default/
Dservice_gadget.cpp20 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()
DUsbGadget.cpp43 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()
DUsbGadget.h82 struct UsbGadget : public BnUsbGadget { struct
83 UsbGadget();
DAndroid.bp33 srcs: ["service_gadget.cpp", "UsbGadget.cpp"],
/hardware/interfaces/usb/gadget/1.1/default/
DUsbGadget.cpp36 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()
Dservice.cpp30 using android::hardware::usb::gadget::V1_1::implementation::UsbGadget;
38 android::sp<IUsbGadget> service2 = new UsbGadget(); in main()
DUsbGadget.h69 struct UsbGadget : public IUsbGadget { struct
70 UsbGadget();
DAndroid.bp35 "UsbGadget.cpp",
/hardware/interfaces/usb/gadget/1.2/default/
DUsbGadget.cpp36 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()
Dservice.cpp30 using android::hardware::usb::gadget::V1_2::implementation::UsbGadget;
38 android::sp<IUsbGadget> service = new UsbGadget(); in main()
DUsbGadget.h76 struct UsbGadget : public IUsbGadget { struct
77 UsbGadget();
DAndroid.bp35 "UsbGadget.cpp",