Home
last modified time | relevance | path

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

/system/core/adb/
Dadb_auth_host.cpp362 auto root_it = g_monitored_paths.find(event->wd); in adb_auth_inotify_update()
364 LOG(FATAL) << "observed inotify event for unmonitored path, wd = " << event->wd; in adb_auth_inotify_update()
400 int wd = inotify_add_watch(infd, path.c_str(), IN_CREATE | IN_MOVED_TO); in adb_auth_inotify_init() local
401 if (wd < 0) { in adb_auth_inotify_init()
406 g_monitored_paths[wd] = path; in adb_auth_inotify_init()
407 LOG(INFO) << "watch descriptor " << wd << " registered for " << path; in adb_auth_inotify_init()
/system/core/libusbhost/
Dusbhost.c238 int wd; in usb_host_read_event() local
245 wd = event->wd; in usb_host_read_event()
246 if (wd == context->wdd) { in usb_host_read_event()
256 } else if (wd == context->wddbus) { in usb_host_read_event()
268 } else if (wd == context->wds[0]) { in usb_host_read_event()
289 if (wd == context->wds[i]) { in usb_host_read_event()