Home
last modified time | relevance | path

Searched refs:busdir (Results 1 – 3 of 3) sorted by relevance

/system/core/fastboot/
Dusb_linux.c315 DIR *busdir; in find_usb_device() local
320 busdir = opendir(base); in find_usb_device()
321 if(busdir == 0) return 0; in find_usb_device()
323 while((de = readdir(busdir)) && (usb == 0)) { in find_usb_device()
361 closedir(busdir); in find_usb_device()
/system/core/adb/
Dusb_linux.cpp131 DIR *busdir , *devdir ; in find_usb_device() local
135 busdir = opendir(base); in find_usb_device()
136 if(busdir == 0) return; in find_usb_device()
138 while((de = readdir(busdir)) != 0) { in find_usb_device()
310 closedir(busdir); in find_usb_device()
/system/core/libusbhost/
Dusbhost.c122 DIR *busdir; in find_existing_devices() local
126 busdir = opendir(USB_FS_DIR); in find_existing_devices()
127 if(busdir == 0) return 0; in find_existing_devices()
129 while ((de = readdir(busdir)) != 0 && !done) { in find_existing_devices()
136 closedir(busdir); in find_existing_devices()