Searched refs:watchMap_ (Results 1 – 5 of 5) sorted by relevance
31 std::map<int, std::string> MtpFileObserver::watchMap_; member in OHOS::Media::MtpFileObserver51 for (const auto &item : watchMap_) { in EraseFromWatchMap()62 watchMap_.erase(i); in EraseFromWatchMap()75 for (auto &item : watchMap_) { in UpdateWatchMap()151 iter = watchMap_.find(event->wd); in AddInotifyEvents()152 isFind = iter != watchMap_.end(); in AddInotifyEvents()180 for (auto ret : watchMap_) { in StopFileInotify()185 watchMap_.clear(); in StopFileInotify()208 size = watchMap_.size(); in WatchPathThread()224 watchMap_.insert(make_pair(ret, path)); in AddFileInotify()[all …]
384 const auto resExecutor = watchMap_.try_emplace(instanceId, watchers); in Register()392 int32_t num = static_cast<int32_t>(watchMap_.erase(instanceId)); in Unregister()400 auto iter = watchMap_.find(instanceId); in BuriedBomb()401 if (iter == watchMap_.end()) { in BuriedBomb()421 auto iter = watchMap_.find(instanceId); in DefusingBomb()422 if (iter == watchMap_.end()) { in DefusingBomb()
440 const auto resExecutor = watchMap_.try_emplace(instanceId, watchers); in Register()448 auto num = watchMap_.erase(instanceId); in Unregister()456 auto iter = watchMap_.find(instanceId); in BuriedBomb()457 if (iter == watchMap_.end()) { in BuriedBomb()477 auto iter = watchMap_.find(instanceId); in DefusingBomb()478 if (iter == watchMap_.end()) { in DefusingBomb()
42 std::unordered_map<int32_t, Watchers> watchMap_;
44 static std::map<int, std::string> watchMap_; variable