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.cpp72 unsigned writeable = 1; member
472 if (h->writeable) { in usb_kick()
552 usb->writeable = 0; in register_device()
556 usb->path.c_str(), (usb->writeable ? "" : " (read-only)"), usb->fd); in register_device()
558 if (usb->writeable) { in register_device()
584 register_usb_transport(done_usb, serial.c_str(), dev_path, done_usb->writeable); in register_device()
/system/core/adb/
Dtransport.h398 const char* devpath, unsigned writeable);
Dtransport.cpp1325 unsigned writeable) { in register_usb_transport() argument
1326 atransport* t = new atransport(writeable ? kCsOffline : kCsNoPerm); in register_usb_transport()