Home
last modified time | relevance | path

Searched refs:writeable (Results 1 – 4 of 4) sorted by relevance

/system/core/libusbhost/
Dusbhost.c86 int writeable; member
325 int fd, attempts, writeable = 1; in usb_device_open() local
336 writeable = 1; in usb_device_open()
341 writeable = (access(dev_name, R_OK | W_OK) == 0); in usb_device_open()
350 if (writeable) { in usb_device_open()
355 D("usb_device_open open returned %d writeable %d errno %d\n", fd, writeable, errno); in usb_device_open()
360 result->writeable = writeable; in usb_device_open()
388 device->writeable = 1; in usb_device_new()
401 if (device->writeable) in usb_device_reopen_writeable()
408 device->writeable = 1; in usb_device_reopen_writeable()
[all …]
/system/core/adb/client/
Dusb_linux.cpp73 unsigned writeable = 1; member
492 if (h->writeable) { in usb_kick()
572 usb->writeable = 0; in register_device()
576 usb->path.c_str(), (usb->writeable ? "" : " (read-only)"), usb->fd); in register_device()
578 if (usb->writeable) { in register_device()
604 register_usb_transport(done_usb, serial.c_str(), dev_path, done_usb->writeable); in register_device()
/system/core/adb/
Dtransport.h466 unsigned writeable);
Dtransport.cpp1469 unsigned writeable) { in register_usb_transport() argument
1470 atransport* t = new atransport(writeable ? kCsOffline : kCsNoPerm); in register_usb_transport()