Home
last modified time | relevance | path

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

/hardware/libhardware/modules/input/evdev/
DInputHub.cpp486 int wd = inotify_add_watch(mINotifyFd, path.c_str(), IN_DELETE | IN_CREATE); in registerDevicePath() local
487 if (wd < 0) { in registerDevicePath()
491 mWatchedPaths[wd] = path; in registerDevicePath()
497 int wd = -1; in unregisterDevicePath() local
500 wd = pair.first; in unregisterDevicePath()
505 if (wd == -1) { in unregisterDevicePath()
508 mWatchedPaths.erase(wd); in unregisterDevicePath()
509 if (inotify_rm_watch(mINotifyFd, wd) != 0) { in unregisterDevicePath()
683 std::string path = mWatchedPaths[event->wd]; in readNotify()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DConnectionDetector.cpp124 int wd = ::inotify_add_watch(mInotifyFd, path.c_str(), IN_CREATE | IN_DELETE); in FileConnectionDetector() local
125 if (wd < 0 || !mLooper->addFd(mInotifyFd, POLL_IDENT, Looper::EVENT_INPUT, nullptr, nullptr)) { in FileConnectionDetector()
/hardware/google/camera/common/apex_update_listener/
Dapex_update_listener.cc29 int fd, int wd, std::set<Info> last_info) in ApexUpdateListener() argument
34 watch_descriptor_(wd), in ApexUpdateListener()
Dapex_update_listener.h68 CallbackFunction callback, int fd, int wd,
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Main.cpp142 int wd; in firewall_monitor() local
157 wd = inotify_add_watch(inotify_fd, in firewall_monitor()
216 (void)inotify_rm_watch(inotify_fd, wd); in firewall_monitor()
/hardware/interfaces/usb/gadget/1.1/default/lib/
DMonitorFfs.cpp69 ALOGE(" wd =%2d; ", i->wd); in displayInotifyEvent()
/hardware/google/pixel/usb/
DMonitorFfs.cpp72 ALOGE(" wd =%2d; ", i->wd); in displayInotifyEvent()
/hardware/interfaces/usb/gadget/1.2/default/lib/
DMonitorFfs.cpp69 ALOGE(" wd =%2d; ", i->wd); in displayInotifyEvent()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Main.cpp145 int wd; in firewall_monitor() local
160 wd = inotify_add_watch(inotify_fd, in firewall_monitor()
219 (void)inotify_rm_watch(inotify_fd, wd); in firewall_monitor()
/hardware/interfaces/camera/provider/2.4/default/
DExternalCameraProviderImpl_2_4.cpp343 if (event->wd == mWd) { in threadLoop()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp1491 unsigned long wd = m_sVenc_cfg.input_width; in venc_use_buf() local
1495 wd = (wd + 15) & ~15; in venc_use_buf()
1497 luma_size = ht * wd; in venc_use_buf()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp1696 unsigned long wd = m_sVenc_cfg.input_width; in venc_use_buf() local
1700 wd = (wd + 15) & ~15; in venc_use_buf()
1702 luma_size = ht * wd; in venc_use_buf()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp1695 unsigned long wd = m_sVenc_cfg.input_width; in venc_use_buf() local
1699 wd = (wd + 15) & ~15; in venc_use_buf()
1701 luma_size = ht * wd; in venc_use_buf()