Home
last modified time | relevance | path

Searched refs:watchEvents (Results 1 - 6 of 6) sorted by relevance

/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dwatcher_impl.cpp114 uint32_t watchEvents = 0; in StartNotify() local
116 watchEvents = wdFileNameMap_[arg->fileName].second | arg->events; in StartNotify()
118 watchEvents = arg->events; in StartNotify()
120 int newWd = inotify_add_watch(notifyFd_, arg->fileName.c_str(), watchEvents); in StartNotify()
127 wdFileNameMap_[arg->fileName].second = watchEvents; in StartNotify()
131 int FileWatcherManager::NotifyToWatchNewEvents(const string &fileName, const int &wd, const uint32_t &watchEvents) in NotifyToWatchNewEvents() argument
133 int newWd = inotify_add_watch(notifyFd_, fileName.c_str(), watchEvents); in NotifyToWatchNewEvents()
143 wdFileNameMap_[fileName].second = watchEvents; in NotifyToWatchNewEvents()
H A Dwatcher_impl.h88 int NotifyToWatchNewEvents(const std::string &fileName, const int &wd, const uint32_t &watchEvents);
H A Dcopy.cpp237 uint32_t watchEvents = IN_MODIFY; in CopySubDir() local
239 int newWd = inotify_add_watch(infos->notifyFd, destPath.c_str(), watchEvents); in CopySubDir()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_watcher/
H A Dwatcher_entity.cpp84 uint32_t watchEvents = 0; in StartNotify() local
86 watchEvents = wdFileNameMap_[arg->fileName].second | arg->events; in StartNotify()
88 watchEvents = arg->events; in StartNotify()
90 int newWd = inotify_add_watch(notifyFd_, arg->fileName.c_str(), watchEvents); in StartNotify()
97 wdFileNameMap_[arg->fileName].second = watchEvents; in StartNotify()
101 int FileWatcher::NotifyToWatchNewEvents(const string &fileName, const int &wd, const uint32_t &watchEvents) in NotifyToWatchNewEvents() argument
103 int newWd = inotify_add_watch(notifyFd_, fileName.c_str(), watchEvents); in NotifyToWatchNewEvents()
113 wdFileNameMap_[fileName].second = watchEvents; in NotifyToWatchNewEvents()
H A Dwatcher_entity.h67 int NotifyToWatchNewEvents(const std::string &fileName, const int &wd, const uint32_t &watchEvents);
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dcopy.cpp301 uint32_t watchEvents = IN_MODIFY; in CopySubDir() local
303 int newWd = inotify_add_watch(infos->notifyFd, destPath.c_str(), watchEvents); in CopySubDir()

Completed in 5 milliseconds