Home
last modified time | relevance | path

Searched refs:FileWatcherManager (Results 1 - 4 of 4) sorted by relevance

/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dwatcher_impl.cpp28 mutex FileWatcherManager::watchMutex_;
30 FileWatcherManager::FileWatcherManager() {} in FileWatcherManager() function in OHOS::CJSystemapi::FileWatcherManager
32 FileWatcherManager::~FileWatcherManager() {} in ~FileWatcherManager()
34 int32_t FileWatcherManager::GetNotifyId() in GetNotifyId()
39 bool FileWatcherManager::InitNotify() in InitNotify()
54 tuple<bool, int> FileWatcherManager::CheckEventWatched(const string &fileName, const uint32_t &event) in CheckEventWatched()
68 bool FileWatcherManager::AddWatcherInfo(const string &fileName, shared_ptr<WatcherInfoArg> arg) in AddWatcherInfo()
90 uint32_t FileWatcherManager
[all...]
H A Dwatcher_impl.h67 class FileWatcherManager : public Singleton<FileWatcherManager> { class
69 FileWatcherManager();
70 ~FileWatcherManager();
71 FileWatcherManager(FileWatcherManager const &) = delete;
72 void operator=(FileWatcherManager const &) = delete;
H A Dfile_fs_ffi.cpp618 int32_t startCode = FileWatcherManager::GetInstance().StartNotify(instance->data_); in FfiOHOSFileFsWatcherStart()
622 FileWatcherManager::GetInstance().GetNotifyEvent(instance->data_); in FfiOHOSFileFsWatcherStart()
636 return FileWatcherManager::GetInstance().StopNotify(instance->data_); in FfiOHOSFileFsWatcherStop()
H A Dfile_fs_impl.cpp1228 if (!FileWatcherManager::GetInstance().CheckEventValid(events)) { in CreateWatcher()
1240 if (FileWatcherManager::GetInstance().GetNotifyId() < 0 && in CreateWatcher()
1241 !FileWatcherManager::GetInstance().InitNotify()) { in CreateWatcher()
1246 bool ret = FileWatcherManager::GetInstance().AddWatcherInfo(infoArg->fileName, infoArg); in CreateWatcher()

Completed in 4 milliseconds