Home
last modified time | relevance | path

Searched refs:usb_host_context (Results 1 – 5 of 5) sorted by relevance

/aosp12/system/core/libusbhost/include/usbhost/
H A Dusbhost.h33 struct usb_host_context;
70 struct usb_host_context *usb_host_init(void);
73 void usb_host_cleanup(struct usb_host_context *context);
76 int usb_host_get_fd(struct usb_host_context *context);
79 int usb_host_load(struct usb_host_context *context,
86 int usb_host_read_event(struct usb_host_context *context);
97 void usb_host_run(struct usb_host_context *context,
/aosp12/system/core/libusbhost/
H A Dusbhost.c69 struct usb_host_context { struct
144 static void watch_existing_subdirs(struct usb_host_context *context, in watch_existing_subdirs()
163 struct usb_host_context *usb_host_init() in usb_host_init()
165 struct usb_host_context *context = calloc(1, sizeof(struct usb_host_context)); in usb_host_init()
179 void usb_host_cleanup(struct usb_host_context *context) in usb_host_cleanup()
185 int usb_host_get_fd(struct usb_host_context *context) in usb_host_get_fd()
190 int usb_host_load(struct usb_host_context *context, in usb_host_load()
229 int usb_host_read_event(struct usb_host_context *context) in usb_host_read_event()
307 void usb_host_run(struct usb_host_context *context, in usb_host_run()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbHostManager.cpp108 struct usb_host_context* context = usb_host_init(); in android_server_UsbHostManager_monitorUsbHostBus()
/aosp12/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c187 struct usb_host_context* context = usb_host_init(); in main()
/aosp12/frameworks/base/libs/usb/tests/accessorytest/
H A Dusb.c223 struct usb_host_context* context = usb_host_init(); in usb_run()