/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/ |
H A D | common_event_services_system_test.cpp | 196 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); in HWTEST_F() local 198 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 199 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 213 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); in HWTEST_F() local 215 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 216 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 230 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); in HWTEST_F() local 232 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 233 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 247 auto subscriberPtr in HWTEST_F() local 264 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 282 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 300 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 456 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 474 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 492 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 510 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 528 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 694 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 732 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 770 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 810 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 847 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 888 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 917 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 956 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 983 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1011 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1053 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1083 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1123 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1164 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1193 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1232 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1259 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1287 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1329 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1359 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1399 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1430 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1459 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1502 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1543 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1587 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1634 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1681 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1720 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1740 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1802 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1852 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1901 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1949 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1995 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2049 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2085 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2107 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2131 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2151 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2173 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2197 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2221 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2264 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2306 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2325 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2349 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2386 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2511 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2536 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2541 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2796 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local [all...] |
/base/notification/common_event_service/test/benchmarktest/common_event_service_test/ |
H A D | common_event_manager_service_test.cpp | 74 auto subscriberPtr = std::make_shared<CommonEventSubscriberBenchmark>(subscribeInfo);
in BENCHMARK_F() local 75 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr);
in BENCHMARK_F() 98 auto subscriberPtr = std::make_shared<CommonEventSubscriberBenchmark>(subscribeInfo);
in BENCHMARK_F() local 99 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr);
in BENCHMARK_F() 122 auto subscriberPtr = std::make_shared<CommonEventSubscriberBenchmark>(subscribeInfo);
in BENCHMARK_F() local 123 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr);
in BENCHMARK_F() 146 auto subscriberPtr = std::make_shared<CommonEventSubscriberBenchmark>(subscribeInfo);
in BENCHMARK_F() local 147 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr);
in BENCHMARK_F() 177 auto subscriberPtr = std::make_shared<CommonEventSubscriberBenchmark>(subscribeInfo);
in BENCHMARK_F() local 178 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr);
in BENCHMARK_F() 201 auto subscriberPtr = std::make_shared<CommonEventSubscriberBenchmark>(subscribeInfo); BENCHMARK_F() local [all...] |
/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/ |
H A D | actsCESManagertest.cpp | 144 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); in HWTEST_F() local 145 if (!CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { in HWTEST_F() 153 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F() 174 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); in HWTEST_F() local 175 if (!CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { in HWTEST_F() 183 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F() 204 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); in HWTEST_F() local 205 if (!CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { in HWTEST_F() 213 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F() 234 auto subscriberPtr in HWTEST_F() local 264 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 295 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 326 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 597 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 627 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 657 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 687 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 717 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1020 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1058 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1095 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1134 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1173 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1214 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1255 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1294 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1334 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1374 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1416 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1458 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1497 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1538 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1579 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1618 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1658 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1698 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1740 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1782 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1822 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1869 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1909 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1950 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 1992 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2034 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2079 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2124 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2161 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2194 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2227 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2261 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2300 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2348 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2396 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2442 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2485 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2524 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTestSubscriber>(subscribeInfo); HWTEST_F() local 2555 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2588 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2624 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2656 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2690 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2726 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2765 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2806 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2841 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2873 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2908 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2944 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 2981 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 3015 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 3048 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 3082 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local 3115 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); HWTEST_F() local [all...] |
/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/ |
H A D | common_event_services_module_test.cpp | 123 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); in HWTEST_F() local 124 sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr); in HWTEST_F() 143 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); in HWTEST_F() local 144 sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr); in HWTEST_F() 163 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); in HWTEST_F() local 164 sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr); in HWTEST_F() 221 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); in HWTEST_F() local 222 sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr); in HWTEST_F() 242 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); in HWTEST_F() local 243 sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr); in HWTEST_F() 263 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 285 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 306 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 326 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 345 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 364 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 383 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 447 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 476 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 498 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 524 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 554 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 583 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 627 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 674 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 723 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 772 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 815 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 842 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 892 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 942 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 974 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1001 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1025 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1051 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1073 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1096 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1121 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1149 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1180 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1213 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1235 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1257 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1282 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1308 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1350 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1384 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local 1409 auto subscriberPtr = std::make_shared<CommonEventServicesModuleTest>(subscribeInfo); HWTEST_F() local [all...] |
/base/powermgr/power_manager/test/systemtest/src/ |
H A D | power_mgr_shutdown_fast_test.cpp | 88 auto subscriberPtr = std::make_shared<CommonEventServiceSystemTest>(subscribeInfo); in OnRegisterEvent() local 89 result = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in OnRegisterEvent() 91 return subscriberPtr; in OnRegisterEvent() 111 auto subscriberPtr = eventPtr->OnRegisterEvent(CommonEventSupport::COMMON_EVENT_SCREEN_OFF); in HWTEST_F() local 119 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F() 135 auto subscriberPtr = eventPtr->OnRegisterEvent(CommonEventSupport::COMMON_EVENT_SHUTDOWN); in HWTEST_F() local 138 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
|
H A D | ces_system_test.cpp | 75 auto subscriberPtr = std::make_shared<CommonEventServiCesSystemTest>(subscribeInfo); in HWTEST_F() local 76 result = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in HWTEST_F() 84 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
|
H A D | power_level_event_system_test_on.cpp | 84 auto subscriberPtr = std::make_shared<CommonEventScreenOnTest>(subscribeInfo); in RegisterEvent() local 86 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 91 return subscriberPtr; in RegisterEvent()
|
H A D | power_level_event_system_test_off.cpp | 83 auto subscriberPtr = std::make_shared<CommonEventScreenOffTest>(subscribeInfo); in RegisterEvent() local 85 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 90 return subscriberPtr; in RegisterEvent()
|
H A D | power_mgr_powersavemode_test.cpp | 394 auto subscriberPtr = std::make_shared<CommonEventSaveModeTest>(subscribeInfo); in RegisterEvent() local 396 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 401 return subscriberPtr; in RegisterEvent() 419 auto subscriberPtr = std::make_shared<CommonEventServiCesSystemTest>(subscribeInfo); in HWTEST_F() local 420 result = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in HWTEST_F() 425 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F() 445 auto subscriberPtr = std::make_shared<CommonEventServiCesSystemTest>(subscribeInfo); in HWTEST_F() local 446 result = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in HWTEST_F() 451 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
|
/base/notification/common_event_service/test/benchmarktest/common_event_publish_test/ |
H A D | common_event_publish_test.cpp | 70 auto subscriberPtr = std::make_shared<CommonEventSubscriberBenchmark>(subscribeInfo);
in BENCHMARK_F() local 72 CommonEventManager::SubscribeCommonEvent(subscriberPtr);
in BENCHMARK_F() 89 auto subscriberPtr = std::make_shared<CommonEventSubscriberBenchmark>(subscribeInfo);
in BENCHMARK_F() local 92 if (OHOS::EventFwk::CommonEventManager::SubscribeCommonEvent(subscriberPtr)) {
in BENCHMARK_F() 93 OHOS::EventFwk::CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
in BENCHMARK_F()
|
/base/powermgr/battery_manager/test/systemtest/src/ |
H A D | battery_event_system_test.cpp | 266 auto subscriberPtr = std::make_shared<CommonEventBatteryChangedTest>(subscribeInfo); in RegisterEvent() local 268 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 273 return subscriberPtr; in RegisterEvent() 282 auto subscriberPtr = std::make_shared<CommonEventBatteryLowTest>(subscribeInfo); in RegisterEvent() local 284 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 289 return subscriberPtr; in RegisterEvent() 298 auto subscriberPtr = std::make_shared<CommonEventBatteryOkayTest>(subscribeInfo); in RegisterEvent() local 300 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 305 return subscriberPtr; in RegisterEvent() 314 auto subscriberPtr in RegisterEvent() local 330 auto subscriberPtr = std::make_shared<CommonEventBatteryDischargingTest>(subscribeInfo); RegisterEvent() local 346 auto subscriberPtr = std::make_shared<CommonEventBatteryDisconnectTest>(subscribeInfo); RegisterEvent() local 362 auto subscriberPtr = std::make_shared<CommonEventBatteryConnectTest>(subscribeInfo); RegisterEvent() local 378 auto subscriberPtr = std::make_shared<CommonEventChargeTypeChangedTest>(subscribeInfo); RegisterEvent() local 394 auto subscriberPtr = std::make_shared<CommonEventDumpCapacityTest>(subscribeInfo); RegisterEvent() local [all...] |
/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
H A D | os_account_inner_account_mgr_cov.cpp | 219 std::shared_ptr<AccountCommonEventSubscriber> subscriberPtr = in HWTEST_F() local 221 ASSERT_NE(subscriberPtr, nullptr); in HWTEST_F() 222 bool result = EventFwk::CommonEventManager::SubscribeCommonEvent(subscriberPtr); in HWTEST_F() 227 subscriberPtr->localId_ = osAccountInfo.GetLocalId(); in HWTEST_F() 235 ASSERT_EQ(subscriberPtr->GetStatus(), true); in HWTEST_F() 236 subscriberPtr->ResetStatus(); in HWTEST_F() 239 ASSERT_EQ(subscriberPtr->GetStatus(), false); in HWTEST_F() 240 subscriberPtr->ResetStatus(); in HWTEST_F() 244 ASSERT_EQ(subscriberPtr->GetStatus(), true); in HWTEST_F() 245 subscriberPtr in HWTEST_F() [all...] |
/base/powermgr/thermal_manager/test/systemtest/src/ |
H A D | thermal_level_event_system_test.cpp | 252 auto subscriberPtr = std::make_shared<CommonEventThermalLevel1Test>(subscribeInfo); in RegisterEvent() local 254 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 260 return subscriberPtr; in RegisterEvent() 271 auto subscriberPtr = std::make_shared<CommonEventThermalLevel2Test>(subscribeInfo); in RegisterEvent() local 273 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 279 return subscriberPtr; in RegisterEvent() 290 auto subscriberPtr = std::make_shared<CommonEventThermalLevel3Test>(subscribeInfo); in RegisterEvent() local 292 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 298 return subscriberPtr; in RegisterEvent() 309 auto subscriberPtr in RegisterEvent() local 328 auto subscriberPtr = std::make_shared<CommonEventThermalIdleFalseTest>(subscribeInfo); RegisterEvent() local [all...] |
/base/account/os_account/services/accountmgr/test/unittest/ohos_account/ |
H A D | ohos_account_manager_test.cpp | 217 std::shared_ptr<AccountCommonEventSubscriber> subscriberPtr = in HWTEST_F() local 219 bool result = EventFwk::CommonEventManager::SubscribeCommonEvent(subscriberPtr); in HWTEST_F() 233 std::unique_lock<std::mutex> lock(subscriberPtr->mutex); in HWTEST_F() 234 subscriberPtr->cv.wait_for( in HWTEST_F() 235 lock, std::chrono::seconds(WAIT_TIME), [lockCallback = subscriberPtr]() { return lockCallback->isReady; }); in HWTEST_F() 240 EXPECT_EQ(EventFwk::CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 259 std::shared_ptr<AccountCommonEventSubscriber> subscriberPtr = in HWTEST_F() local 261 ASSERT_NE(subscriberPtr, nullptr); in HWTEST_F() 262 bool result = EventFwk::CommonEventManager::SubscribeCommonEvent(subscriberPtr); in HWTEST_F() 275 std::unique_lock<std::mutex> lock(subscriberPtr in HWTEST_F() [all...] |
/base/notification/common_event_service/test/systemtest/common/ces/ces_check_service/ |
H A D | ces_check_service.cpp | 118 auto subscriberPtr = std::make_shared<CommonEventServicesSystemTest>(subscribeInfo); in HWTEST_F() local 120 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 140 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
|
/base/notification/common_event_service/interfaces/kits/ndk/src/ |
H A D | oh_commonevent_wrapper.cpp | 105 auto subscriberPtr = reinterpret_cast<std::shared_ptr<SubscriberObserver>*>(subscriber); in DestroySubscriber() local 106 delete subscriberPtr; in DestroySubscriber() 107 subscriberPtr = nullptr; in DestroySubscriber()
|
/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_level_event_test.cpp | 143 auto subscriberPtr = std::make_shared<CommonEventThermalLevelTest>(subscribeInfo); in RegisterEvent() local 145 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 151 return subscriberPtr; in RegisterEvent()
|
/base/powermgr/power_manager/test/unittest/src/ |
H A D | power_coordination_lock_test.cpp | 149 auto subscriberPtr = std::make_shared<PowerStateCommonEventSubscriber>(subscribeInfo); in RegisterEvent() local 151 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 161 return subscriberPtr; in RegisterEvent()
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 2476 std::shared_ptr<AccountTestEventSubscriber> subscriberPtr = in HWTEST_F() local 2478 ASSERT_EQ(EventFwk::CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 2499 Wait(subscriberPtr); in HWTEST_F() 2505 EXPECT_EQ(EventFwk::CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 2582 std::shared_ptr<AccountTestEventSubscriber> subscriberPtr = in HWTEST_F() local 2584 ASSERT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 2597 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 2705 std::shared_ptr<AccountTestEventSubscriber> subscriberPtr = in HWTEST_F() local 2707 ASSERT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); in HWTEST_F() 2722 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), tru in HWTEST_F() [all...] |
/base/telephony/call_manager/services/call/include/ |
H A D | call_control_manager.h | 143 explicit SystemAbilityListener(std::shared_ptr<CallBroadcastSubscriber> subscriberPtr);
|
/base/telephony/call_manager/services/call/src/ |
H A D | call_control_manager.cpp | 1447 CallControlManager::SystemAbilityListener::SystemAbilityListener(std::shared_ptr<CallBroadcastSubscriber> subscriberPtr) in SystemAbilityListener() argument 1448 : subscriberPtr_(subscriberPtr) in SystemAbilityListener() 1459 TELEPHONY_LOGE("CallControlManager::OnAddSystemAbility subscriberPtr is nullptr"); in OnAddSystemAbility() 1477 TELEPHONY_LOGE("CallControlManager::OnRemoveSystemAbility subscriberPtr is nullptr"); in OnRemoveSystemAbility() 1494 std::shared_ptr<CallBroadcastSubscriber> subscriberPtr = std::make_shared<CallBroadcastSubscriber>(subscriberInfo); in BroadcastSubscriber() local 1495 if (subscriberPtr == nullptr) { in BroadcastSubscriber() 1496 TELEPHONY_LOGE("CallControlManager::BroadcastSubscriber subscriberPtr is nullptr"); in BroadcastSubscriber() 1543 statusChangeListener_ = new (std::nothrow) SystemAbilityListener(subscriberPtr); in BroadcastSubscriber()
|
/base/time/time_service/services/ |
H A D | time_system_ability.cpp | 243 std::shared_ptr<PowerSubscriber> subscriberPtr = std::make_shared<PowerSubscriber>(subscriberInfo); in RegisterScreenOnSubscriber() local 244 bool subscribeResult = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterScreenOnSubscriber()
|
/base/telephony/call_manager/frameworks/native/src/ |
H A D | call_manager_proxy.cpp | 75 std::shared_ptr<CallManagerProxySubcribed> subscriberPtr = in Init() local 78 if (subscriberPtr == nullptr) { in Init() 79 TELEPHONY_LOGE("CallManagerProxy::Init subscriberPtr is nullptr"); in Init() 83 bool subscribeResult = EventFwk::CommonEventManager::SubscribeCommonEvent(subscriberPtr); in Init()
|
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/ |
H A D | zero_branch3_test.cpp | 813 std::shared_ptr<CallBroadcastSubscriber> subscriberPtr = nullptr; in HWTEST_F() local 814 CallControlManager::SystemAbilityListener listen(subscriberPtr); in HWTEST_F() 824 subscriberPtr = std::make_shared<CallBroadcastSubscriber>(subscriberInfo); in HWTEST_F()
|