Searched refs:usb_device (Results 1 – 25 of 61) sorted by relevance
123
/system/core/libusbhost/include/usbhost/ |
D | usbhost.h | 44 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/ |
D | usbhost.c | 81 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/ |
D | device.te | 60 type usb_device, dev_type, mlstrustedobject;
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | device.te | 58 type usb_device, dev_type, mlstrustedobject;
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | device.te | 58 type usb_device, dev_type, mlstrustedobject;
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | device.te | 52 type usb_device, dev_type, mlstrustedobject;
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | device.te | 53 type usb_device, dev_type, mlstrustedobject;
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | isolated_app.te | 90 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
|
D | system_server.te | 491 allow system_server usb_device:chr_file rw_file_perms; 492 allow system_server usb_device:dir r_dir_perms;
|
D | app.te | 241 allow { appdomain -isolated_app -ephemeral_app } usb_device:chr_file { read write getattr ioctl };
|
/system/sepolicy/public/ |
D | device.te | 58 type usb_device, dev_type, mlstrustedobject;
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | isolated_app.te | 105 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
|
D | system_server.te | 520 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/ |
D | device.te | 58 type usb_device, dev_type, mlstrustedobject;
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | isolated_app.te | 108 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
|
D | system_server.te | 571 allow system_server usb_device:chr_file rw_file_perms; 572 allow system_server usb_device:dir r_dir_perms;
|
/system/sepolicy/private/ |
D | isolated_app.te | 119 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | isolated_app.te | 120 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
|
D | system_server.te | 669 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/ |
D | isolated_app.te | 119 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | isolated_app.te | 119 neverallow isolated_app { usb_device usbaccessory_device }:chr_file *;
|
/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 281 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/ |
D | 26.0.cil | 698 (typeattributeset usb_device_26_0 (usb_device))
|
/system/sepolicy/prebuilts/api/31.0/private/compat/26.0/ |
D | 26.0.cil | 722 (typeattributeset usb_device_26_0 (usb_device))
|
/system/sepolicy/prebuilts/api/27.0/private/compat/26.0/ |
D | 26.0.cil | 644 (typeattributeset usb_device_26_0 (usb_device))
|
123