Home
last modified time | relevance | path

Searched refs:matchingSkills (Results 1 – 25 of 99) sorted by relevance

1234

/base/notification/common_event_service/test/systemtest/common/acts/actsCESMatchingSkillsTest/
DactsCESMatchingSkillsTest.cpp71 MatchingSkills matchingSkills; variable
73 matchingSkills.AddEvent(eventName);
74 matchingSkills.AddEntity(entity);
75 matchingSkills.AddEntity(entityRemove);
77 EXPECT_EQ(entity, matchingSkills.GetEntity(0));
78 EXPECT_TRUE(matchingSkills.HasEvent(eventName));
79 EXPECT_EQ(false, entity == matchingSkills.GetEntity(1000));
80 if (matchingSkills.HasEntity(entity)) {
81 matchingSkills.RemoveEntity(entity);
84 EXPECT_EQ(1, matchingSkills.CountEntities());
[all …]
/base/notification/common_event_service/test/fuzztest/matchingskills_fuzzer/
Dmatchingskills_fuzzer.cpp34 EventFwk::MatchingSkills matchingSkills; in DoSomethingInterestingWithMyAPI() local
36 matchingSkills.HasEntity(stringData); in DoSomethingInterestingWithMyAPI()
38 matchingSkills.RemoveEntity(stringData); in DoSomethingInterestingWithMyAPI()
40 matchingSkills.CountEntities(); in DoSomethingInterestingWithMyAPI()
42 matchingSkills.GetEvents(); in DoSomethingInterestingWithMyAPI()
44 matchingSkills.RemoveEvent(stringData); in DoSomethingInterestingWithMyAPI()
46 matchingSkills.HasEvent(stringData); in DoSomethingInterestingWithMyAPI()
48 matchingSkills.HasScheme(stringData); in DoSomethingInterestingWithMyAPI()
50 matchingSkills.RemoveScheme(stringData); in DoSomethingInterestingWithMyAPI()
52 matchingSkills.CountSchemes(); in DoSomethingInterestingWithMyAPI()
[all …]
/base/notification/common_event_service/test/systemtest/common/acts/actsCESSubscribeInfoTest/
DactsCESSubscribeInfoTest.cpp82 MatchingSkills matchingSkills; variable
84 matchingSkills.AddEvent(eventName);
85 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
94 matchingSkills.RemoveEvent(eventName);
111 MatchingSkills matchingSkills; variable
113 matchingSkills.AddEvent(eventName);
114 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
123 matchingSkills.RemoveEvent(eventName);
140 MatchingSkills matchingSkills; variable
142 matchingSkills.AddEvent(eventName);
[all …]
/base/notification/common_event_service/test/systemtest/common/acts/actsCESCESpublishInfoTest/
DactsCESCESpublishInfoTest.cpp86 MatchingSkills matchingSkills; variable
88 matchingSkills.AddEvent(eventName);
89 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
99 matchingSkills.RemoveEvent(eventName);
119 MatchingSkills matchingSkills; variable
121 matchingSkills.AddEvent(eventName);
122 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
132 matchingSkills.RemoveEvent(eventName);
151 MatchingSkills matchingSkills; variable
153 matchingSkills.AddEvent(eventName);
[all …]
/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/
Dcommon_event_services_system_test.cpp188 MatchingSkills matchingSkills; variable
189 matchingSkills.AddEvent(eventName);
190 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
205 MatchingSkills matchingSkills; variable
206 matchingSkills.AddEvent(eventName);
207 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
222 MatchingSkills matchingSkills; variable
223 matchingSkills.AddEvent(eventName);
224 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
239 MatchingSkills matchingSkills; variable
[all …]
/base/notification/common_event_service/test/benchmarktest/common_event_service_test/
Dcommon_event_manager_service_test.cpp71 MatchingSkills matchingSkills; in BENCHMARK_F() local
72 matchingSkills.AddEvent(eventName); in BENCHMARK_F()
73 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F()
95 MatchingSkills matchingSkills; in BENCHMARK_F() local
96 matchingSkills.AddEvent(eventName); in BENCHMARK_F()
97 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F()
119 MatchingSkills matchingSkills; in BENCHMARK_F() local
120 matchingSkills.AddEvent(eventName); in BENCHMARK_F()
121 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F()
143 MatchingSkills matchingSkills; in BENCHMARK_F() local
[all …]
/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/
DactsCESManagertest.cpp140 MatchingSkills matchingSkills; variable
142 matchingSkills.AddEvent(eventName);
143 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
152 matchingSkills.RemoveEvent(eventName);
170 MatchingSkills matchingSkills; variable
172 matchingSkills.AddEvent(eventName);
173 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
182 matchingSkills.RemoveEvent(eventName);
200 MatchingSkills matchingSkills; variable
202 matchingSkills.AddEvent(eventName);
[all …]
/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/
Dcommon_event_services_module_test.cpp119 MatchingSkills matchingSkills; variable
120 matchingSkills.AddEvent(eventName);
121 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
139 MatchingSkills matchingSkills; variable
140 matchingSkills.AddEvent(eventName);
141 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
159 MatchingSkills matchingSkills; variable
160 matchingSkills.AddEvent(eventName);
161 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
216 MatchingSkills matchingSkills; variable
[all …]
/base/notification/common_event_service/frameworks/native/test/unittest/
Dcommon_event_subscribe_test.cpp63 MatchingSkills matchingSkills; member in CommonEventSubscribeTest
155 MatchingSkills matchingSkills; variable
156 matchingSkills.AddEvent(EVENT);
157 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
215 MatchingSkills matchingSkills; variable
216 matchingSkills.AddEvent(EVENT);
217 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
258 MatchingSkills matchingSkills; variable
259 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
278 MatchingSkills matchingSkills; variable
[all …]
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_unsubscribe_unit_test.cpp93 MatchingSkills matchingSkills; variable
94 matchingSkills.AddEvent(EVENT);
95 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
130 MatchingSkills matchingSkills; variable
131 matchingSkills.AddEvent(EVENT);
132 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
167 MatchingSkills matchingSkills; variable
168 matchingSkills.AddEvent(EVENT);
169 matchingSkills.AddEntity(ENTITY);
170 matchingSkills.AddScheme(SCHEME);
[all …]
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_common_event_subscriber.cpp42 OHOS::EventFwk::MatchingSkills matchingSkills; in CreateSubscriberInfo() local
43 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED); in CreateSubscriberInfo()
44 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_ADDED); in CreateSubscriberInfo()
45 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED); in CreateSubscriberInfo()
46 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in CreateSubscriberInfo()
47 return CommonEventSubscribeInfo(matchingSkills); in CreateSubscriberInfo()
/base/notification/distributed_notification_service/services/ans/src/
Dsystem_event_observer.cpp29 EventFwk::MatchingSkills matchingSkills; in SystemEventObserver() local
30 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in SystemEventObserver()
32 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON); in SystemEventObserver()
33 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF); in SystemEventObserver()
35 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in SystemEventObserver()
36 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED); in SystemEventObserver()
37 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED); in SystemEventObserver()
38 EventFwk::CommonEventSubscribeInfo commonEventSubscribeInfo(matchingSkills); in SystemEventObserver()
Dreminder_event_manager.cpp50 MatchingSkills matchingSkills; in init() local
51 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED); in init()
52 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in init()
53 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED); in init()
54 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_RESTARTED); in init()
55 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_TIMEZONE_CHANGED); in init()
56 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_TIME_CHANGED); in init()
57 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in init()
58 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_REMOVED); in init()
59 CommonEventSubscribeInfo subscriberInfo(matchingSkills); in init()
/base/usb/usb_manager/test/native/service_unittest/src/
Dusb_event_test.cpp77 MatchingSkills matchingSkills; variable
78 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USB_STATE);
79 CommonEventSubscribeInfo subscriberInfo(matchingSkills);
102 MatchingSkills matchingSkills; variable
103 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USB_STATE);
104 CommonEventSubscribeInfo subscriberInfo(matchingSkills);
127 MatchingSkills matchingSkills; variable
128 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USB_DEVICE_ATTACHED);
129 CommonEventSubscribeInfo subscriberInfo(matchingSkills);
182 MatchingSkills matchingSkills; variable
[all …]
/base/notification/common_event_service/test/benchmarktest/common_event_publish_test/
Dcommon_event_publish_test.cpp67 MatchingSkills matchingSkills; in BENCHMARK_F() local
68 matchingSkills.AddEvent(eventName); in BENCHMARK_F()
69 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F()
85 MatchingSkills matchingSkills; in BENCHMARK_F() local
86 matchingSkills.AddEvent(eventName); in BENCHMARK_F()
87 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F()
/base/notification/common_event_service/test/fuzztest/unsubscribecommonevent_fuzzer/
Dunsubscribecommonevent_fuzzer.cpp41 EventFwk::MatchingSkills matchingSkills; in DoSomethingInterestingWithMyAPI() local
42 matchingSkills.AddEvent(stringData); in DoSomethingInterestingWithMyAPI()
43 matchingSkills.AddEntity(stringData); in DoSomethingInterestingWithMyAPI()
44 matchingSkills.AddScheme(stringData); in DoSomethingInterestingWithMyAPI()
46 EventFwk::CommonEventSubscribeInfo subscribeInfo(matchingSkills); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/
DactsCESDataTest.cpp733 MatchingSkills matchingSkills; variable
734 matchingSkills.AddEvent(EVENTCASE1);
736 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
799 MatchingSkills matchingSkills; variable
800 matchingSkills.AddEvent(EVENTCASE2);
802 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
865 MatchingSkills matchingSkills; variable
866 matchingSkills.AddEvent(EVENTCASE3);
868 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
934 MatchingSkills matchingSkills; variable
[all …]
/base/powermgr/battery_manager/test/systemtest/src/
Dbattery_event_system_test.cpp262 MatchingSkills matchingSkills; in RegisterEvent() local
263 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED); in RegisterEvent()
264 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent()
278 MatchingSkills matchingSkills; in RegisterEvent() local
279 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_BATTERY_LOW); in RegisterEvent()
280 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent()
294 MatchingSkills matchingSkills; in RegisterEvent() local
295 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_BATTERY_OKAY); in RegisterEvent()
296 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent()
310 MatchingSkills matchingSkills; in RegisterEvent() local
[all …]
/base/notification/common_event_service/tools/test/systemtest/cem/
Dcommon_event_command_dump_system_test.cpp102 MatchingSkills matchingSkills; variable
103 matchingSkills.AddEvent(STRING_EVENT);
106 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
147 MatchingSkills matchingSkills; variable
148 matchingSkills.AddEvent(STRING_EVENT);
151 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
Dcommon_event_command_publish_system_test.cpp155 MatchingSkills matchingSkills; variable
156 matchingSkills.AddEvent(STRING_EVENT);
159 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
212 MatchingSkills matchingSkills; variable
213 matchingSkills.AddEvent(STRING_EVENT);
216 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
272 MatchingSkills matchingSkills; variable
273 matchingSkills.AddEvent(STRING_EVENT);
276 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
332 MatchingSkills matchingSkills; variable
[all …]
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/sa/
Dcm_event_observer.cpp69 OHOS::EventFwk::MatchingSkills matchingSkills; in SubscribeSystemEvent() local
70 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in SubscribeSystemEvent()
71 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED); in SubscribeSystemEvent()
72 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED); in SubscribeSystemEvent()
73 OHOS::EventFwk::CommonEventSubscribeInfo subscriberInfo(matchingSkills); in SubscribeSystemEvent()
/base/usb/usb_manager/test/native/mock/src/
Dusb_event_mock_test.cpp115 MatchingSkills matchingSkills; variable
116 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USB_STATE);
117 CommonEventSubscribeInfo subscriberInfo(matchingSkills);
143 MatchingSkills matchingSkills; variable
144 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USB_STATE);
145 CommonEventSubscribeInfo subscriberInfo(matchingSkills);
171 MatchingSkills matchingSkills; variable
172 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USB_DEVICE_ATTACHED);
173 CommonEventSubscribeInfo subscriberInfo(matchingSkills);
229 MatchingSkills matchingSkills; variable
[all …]
/base/notification/common_event_service/test/fuzztest/subscribecommonevent_fuzzer/
Dsubscribecommonevent_fuzzer.cpp47 EventFwk::MatchingSkills matchingSkills; in DoSomethingInterestingWithMyAPI() local
49 matchingSkills.AddEvent(stringData); in DoSomethingInterestingWithMyAPI()
50 matchingSkills.AddEntity(stringData); in DoSomethingInterestingWithMyAPI()
51 matchingSkills.AddScheme(stringData); in DoSomethingInterestingWithMyAPI()
56 EventFwk::CommonEventSubscribeInfo subscribeInfo(matchingSkills); in DoSomethingInterestingWithMyAPI()
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_common_event_observer.cpp44 MatchingSkills matchingSkills; in AppAccountCommonEventObserver() local
45 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in AppAccountCommonEventObserver()
46 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_REMOVED); in AppAccountCommonEventObserver()
47 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED); in AppAccountCommonEventObserver()
49 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in AppAccountCommonEventObserver()
/base/powermgr/thermal_manager/test/systemtest/src/
Dthermal_level_event_system_test.cpp192 MatchingSkills matchingSkills; in RegisterEvent() local
193 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_THERMAL_LEVEL_CHANGED); in RegisterEvent()
194 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent()
211 MatchingSkills matchingSkills; in RegisterEvent() local
212 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_THERMAL_LEVEL_CHANGED); in RegisterEvent()
213 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent()
230 MatchingSkills matchingSkills; in RegisterEvent() local
231 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_THERMAL_LEVEL_CHANGED); in RegisterEvent()
232 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent()
249 MatchingSkills matchingSkills; in RegisterEvent() local
[all …]

1234