Home
last modified time | relevance | path

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

/ohos5.0/base/customization/enterprise_device_management/services/edm/src/
H A Denterprise_device_mgr_ability.cpp83 commonEventFuncMap_[EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED] = in AddCommonEventFuncMap()
87 commonEventFuncMap_[EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED] = in AddCommonEventFuncMap()
91 commonEventFuncMap_[EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED] = in AddCommonEventFuncMap()
95 commonEventFuncMap_[SYSTEM_UPDATE_FOR_POLICY] = in AddCommonEventFuncMap()
173 auto func = listener_.commonEventFuncMap_.find(action); in OnReceiveEvent()
174 if (func != listener_.commonEventFuncMap_.end()) { in OnReceiveEvent()
189 for (auto &item : commonEventFuncMap_) { in CreateEnterpriseDeviceEventSubscriber()
/ohos5.0/base/customization/enterprise_device_management/services/edm/include/
H A Denterprise_device_mgr_ability.h69 commonEventFuncMap_; variable
/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm/src/
H A Denterprise_device_mgr_ability_test.cpp1837 size_t mapSize = edmMgr_->commonEventFuncMap_.size();
1846 auto func = edmMgr_->commonEventFuncMap_.find(action);
1847 EXPECT_TRUE(func == edmMgr_->commonEventFuncMap_.end());
1849 edmMgr_->commonEventFuncMap_[action] = nullptr;
1851 func = edmMgr_->commonEventFuncMap_.find(action);
1852 EXPECT_TRUE(func != edmMgr_->commonEventFuncMap_.end());
1951 auto func = edmMgr_->commonEventFuncMap_.find(action);
1952 EXPECT_TRUE(func != edmMgr_->commonEventFuncMap_.end());
1959 func = edmMgr_->commonEventFuncMap_.find(action);
1960 EXPECT_TRUE(func != edmMgr_->commonEventFuncMap_.end());