Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_watcher/
H A Dwatcher_n_exporter.cpp62 auto watchEntity = NClass::GetEntityOf<WatcherEntity>(env, funcArg.GetThisVar()); in StopSync() local
63 if (!watchEntity) { in StopSync()
68 watchEntity->fsEventReq_.reset(); in StopSync()
80 auto watchEntity = NClass::GetEntityOf<WatcherEntity>(env, funcArg.GetThisVar()); in Stop() local
81 if (!watchEntity) { in Stop()
86 auto cbExec = [watchEntity](napi_env env) -> UniError { in Stop()
87 watchEntity->fsEventReq_.reset(); in Stop()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_watcher/
H A Dwatcher_n_exporter.cpp65 auto watchEntity = NClass::GetEntityOf<WatcherEntity>(env, funcArg.GetThisVar()); in Stop() local
66 if (!watchEntity) { in Stop()
71 int ret = FileWatcher::GetInstance().StopNotify(watchEntity->data_); in Stop()
89 auto watchEntity = NClass::GetEntityOf<WatcherEntity>(env, funcArg.GetThisVar()); in Start() local
90 if (!watchEntity) { in Start()
96 int ret = FileWatcher::GetInstance().StartNotify(watchEntity->data_); in Start()