Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/
H A Dcloud_file_cache_napi.cpp80 auto fileCacheEntity = make_unique<FileCacheEntity>(); in Constructor() local
81 if (!NClass::SetEntityFor<FileCacheEntity>(env, funcArg.GetThisVar(), move(fileCacheEntity))) { in Constructor()
355 auto fileCacheEntity = NClass::GetEntityOf<FileCacheEntity>(env, funcArg.GetThisVar()); in On() local
356 if (!fileCacheEntity) { in On()
371 if (!fileCacheEntity->registerMgr.AddRegisterInfo(arg)) { in On()
380 (void)fileCacheEntity->registerMgr.RemoveRegisterInfo(eventType); in On()
410 auto fileCacheEntity = NClass::GetEntityOf<FileCacheEntity>(env, funcArg.GetThisVar()); in Off() local
411 if (!fileCacheEntity) { in Off()
417 if (!fileCacheEntity->registerMgr.HasEvent(eventType)) { in Off()
430 if (!fileCacheEntity->registerMgr.RemoveRegisterInfo(eventType)) { in Off()