Home
last modified time | relevance | path

Searched refs:usb_device (Results 1 – 25 of 61) sorted by relevance

123

/system/core/libusbhost/include/usbhost/
Dusbhost.h44 struct usb_device *dev;
104 struct usb_device *usb_device_open(const char *dev_name);
107 void usb_device_close(struct usb_device *device);
110 struct usb_device *usb_device_new(const char *dev_name, int fd);
113 int usb_device_get_fd(struct usb_device *device);
118 const char* usb_device_get_name(struct usb_device *device);
123 int usb_device_get_unique_id(struct usb_device *device);
135 uint16_t usb_device_get_vendor_id(struct usb_device *device);
138 uint16_t usb_device_get_product_id(struct usb_device *device);
141 const struct usb_device_descriptor* usb_device_get_device_descriptor(struct usb_device *device);
[all …]
/system/core/libusbhost/
Dusbhost.c81 struct usb_device { struct
323 struct usb_device *usb_device_open(const char *dev_name) in usb_device_open()
358 struct usb_device* result = usb_device_new(dev_name, fd); in usb_device_open()
364 void usb_device_close(struct usb_device *device) in usb_device_close()
370 struct usb_device *usb_device_new(const char *dev_name, int fd) in usb_device_new()
372 struct usb_device *device = calloc(1, sizeof(struct usb_device)); in usb_device_new()
399 static int usb_device_reopen_writeable(struct usb_device *device) in usb_device_reopen_writeable()
415 int usb_device_get_fd(struct usb_device *device) in usb_device_get_fd()
422 const char* usb_device_get_name(struct usb_device *device) in usb_device_get_name()
427 int usb_device_get_unique_id(struct usb_device *device) in usb_device_get_unique_id()
[all …]
/system/sepolicy/prebuilts/api/28.0/public/
Ddevice.te60 type usb_device, dev_type, mlstrustedobject;
/system/sepolicy/prebuilts/api/26.0/public/
Ddevice.te58 type usb_device, dev_type, mlstrustedobject;
/system/sepolicy/prebuilts/api/27.0/public/
Ddevice.te58 type usb_device, dev_type, mlstrustedobject;
/system/sepolicy/prebuilts/api/29.0/public/
Ddevice.te52 type usb_device, dev_type, mlstrustedobject;
/system/sepolicy/prebuilts/api/30.0/public/
Ddevice.te53 type usb_device, dev_type, mlstrustedobject;
/system/sepolicy/prebuilts/api/26.0/private/
Disolated_app.te90 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
Dsystem_server.te491 allow system_server usb_device:chr_file rw_file_perms;
492 allow system_server usb_device:dir r_dir_perms;
Dapp.te241 allow { appdomain -isolated_app -ephemeral_app } usb_device:chr_file { read write getattr ioctl };
/system/sepolicy/public/
Ddevice.te58 type usb_device, dev_type, mlstrustedobject;
/system/sepolicy/prebuilts/api/27.0/private/
Disolated_app.te105 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
Dsystem_server.te520 allow system_server usb_device:chr_file rw_file_perms;
521 allow system_server usb_device:dir r_dir_perms;
/system/sepolicy/prebuilts/api/31.0/public/
Ddevice.te58 type usb_device, dev_type, mlstrustedobject;
/system/sepolicy/prebuilts/api/28.0/private/
Disolated_app.te108 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
Dsystem_server.te571 allow system_server usb_device:chr_file rw_file_perms;
572 allow system_server usb_device:dir r_dir_perms;
/system/sepolicy/private/
Disolated_app.te119 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
/system/sepolicy/prebuilts/api/29.0/private/
Disolated_app.te120 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
Dsystem_server.te669 allow system_server usb_device:chr_file rw_file_perms;
670 allow system_server usb_device:dir r_dir_perms;
/system/sepolicy/prebuilts/api/30.0/private/
Disolated_app.te119 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
/system/sepolicy/prebuilts/api/31.0/private/
Disolated_app.te119 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
/system/core/fs_mgr/tests/
Dadb-remount-test.sh281 local usb_device=`cat ${USB_SERIAL%/serial}/devnum 2>/dev/null | tr -d ' \t\r\n'`
282 if [ -n "${usb_device}" ]; then
283 USB_DEVICE=dev${usb_device}
/system/sepolicy/prebuilts/api/28.0/private/compat/26.0/
D26.0.cil698 (typeattributeset usb_device_26_0 (usb_device))
/system/sepolicy/prebuilts/api/31.0/private/compat/26.0/
D26.0.cil722 (typeattributeset usb_device_26_0 (usb_device))
/system/sepolicy/prebuilts/api/27.0/private/compat/26.0/
D26.0.cil644 (typeattributeset usb_device_26_0 (usb_device))

123