/base/notification/common_event_service/test/systemtest/common/acts/actsCESMatchingSkillsTest/ |
D | actsCESMatchingSkillsTest.cpp | 71 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/ |
D | matchingskills_fuzzer.cpp | 34 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/ |
D | actsCESSubscribeInfoTest.cpp | 82 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/ |
D | actsCESCESpublishInfoTest.cpp | 86 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/ |
D | common_event_services_system_test.cpp | 188 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/ |
D | common_event_manager_service_test.cpp | 71 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/services/test/moduletest/common_event_services_module_test/ |
D | common_event_services_module_test.cpp | 115 MatchingSkills matchingSkills; variable 116 matchingSkills.AddEvent(eventName); 117 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 135 MatchingSkills matchingSkills; variable 136 matchingSkills.AddEvent(eventName); 137 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 155 MatchingSkills matchingSkills; variable 156 matchingSkills.AddEvent(eventName); 157 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 212 MatchingSkills matchingSkills; variable [all …]
|
/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/ |
D | actsCESManagertest.cpp | 140 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/frameworks/native/test/unittest/ |
D | common_event_subscribe_test.cpp | 63 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/ |
D | common_event_unsubscribe_unit_test.cpp | 93 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 …]
|
D | common_event_subscribe_unit_test.cpp | 147 MatchingSkills matchingSkills; variable 148 matchingSkills.AddEvent(EVENT); 149 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 174 MatchingSkills matchingSkills; variable 175 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 202 MatchingSkills matchingSkills; variable 203 matchingSkills.AddEvent(EVENT); 204 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 222 MatchingSkills matchingSkills; variable 223 matchingSkills.AddEvent(EVENT); [all …]
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | system_event_observer.cpp | 29 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()
|
D | reminder_event_manager.cpp | 48 MatchingSkills matchingSkills; in init() local 49 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED); in init() 50 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in init() 51 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED); in init() 52 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_RESTARTED); in init() 53 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_TIMEZONE_CHANGED); in init() 54 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_TIME_CHANGED); in init() 55 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in init() 56 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_REMOVED); in init() 57 CommonEventSubscribeInfo subscriberInfo(matchingSkills); in init()
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
D | usb_event_test.cpp | 77 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/ |
D | common_event_publish_test.cpp | 67 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/ |
D | unsubscribecommonevent_fuzzer.cpp | 41 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/ |
D | actsCESDataTest.cpp | 733 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/notification/common_event_service/tools/test/systemtest/cem/ |
D | common_event_command_publish_system_test.cpp | 135 MatchingSkills matchingSkills; variable 136 matchingSkills.AddEvent(STRING_EVENT); 139 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 192 MatchingSkills matchingSkills; variable 193 matchingSkills.AddEvent(STRING_EVENT); 196 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 252 MatchingSkills matchingSkills; variable 253 matchingSkills.AddEvent(STRING_EVENT); 256 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 312 MatchingSkills matchingSkills; variable [all …]
|
D | common_event_command_dump_system_test.cpp | 102 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);
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/sa/ |
D | cm_event_observer.cpp | 69 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/notification/common_event_service/test/fuzztest/subscribecommonevent_fuzzer/ |
D | subscribecommonevent_fuzzer.cpp | 47 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/telephony/sms_mms/services/ |
D | sms_state_observer.cpp | 35 MatchingSkills matchingSkills; in StartEventSubscriber() local 36 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED); in StartEventSubscriber() 37 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED); in StartEventSubscriber() 38 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SMS_RECEIVE_COMPLETED); in StartEventSubscriber() 39 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED); in StartEventSubscriber() 40 CommonEventSubscribeInfo subscriberInfo(matchingSkills); in StartEventSubscriber()
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_common_event_observer.cpp | 36 MatchingSkills matchingSkills; in AppAccountCommonEventObserver() local 37 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in AppAccountCommonEventObserver() 38 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_REMOVED); in AppAccountCommonEventObserver() 39 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED); in AppAccountCommonEventObserver() 41 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in AppAccountCommonEventObserver()
|
/base/notification/common_event_service/tools/test/unittest/cem/ |
D | common_event_command_dump_test.cpp | 340 MatchingSkills matchingSkills; variable 341 matchingSkills.AddEvent(STRING_EVENT); 344 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 423 MatchingSkills matchingSkills; variable 424 matchingSkills.AddEvent(STRING_EVENT); 427 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 522 MatchingSkills matchingSkills; variable 523 matchingSkills.AddEvent(STRING_EVENT); 525 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 583 MatchingSkills matchingSkills; variable [all …]
|
/base/powermgr/power_manager/services/native/test/unittest/src/ |
D | ces_system_test.cpp | 72 MatchingSkills matchingSkills; variable 73 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SHUTDOWN); 74 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
|