Home
last modified time | relevance | path

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

/system/core/libusbhost/
Dusbhost.c125 DIR *busdir; in find_existing_devices() local
129 busdir = opendir(USB_FS_DIR); in find_existing_devices()
130 if(busdir == 0) return 0; in find_existing_devices()
132 while ((de = readdir(busdir)) != 0 && !done) { in find_existing_devices()
139 closedir(busdir); in find_existing_devices()
/system/core/fastboot/
Dusb_linux.cpp356 std::unique_ptr<DIR, decltype(&closedir)> busdir(opendir(base), closedir); in find_usb_device() local
357 if (busdir == 0) return 0; in find_usb_device()
359 while ((de = readdir(busdir.get())) && (usb == nullptr)) { in find_usb_device()