/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/ |
H A D | actsCESDataTest.cpp | 739 bool subscribeFirstResult = CommonEventManager::SubscribeCommonEvent(subscriberFirstTest); 761 bool subscribeResultThird = CommonEventManager::SubscribeCommonEvent(subscriberThirdTest); 805 bool subscribeFirstResult = CommonEventManager::SubscribeCommonEvent(subscriberFirstTest); 827 bool subscribeResultThird = CommonEventManager::SubscribeCommonEvent(subscriberThirdTest); 872 bool subscribeFirstResult = CommonEventManager::SubscribeCommonEvent(subscriberFirstTest); 896 bool subscribeResultThird = CommonEventManager::SubscribeCommonEvent(subscriberThirdTest); 941 bool subscribeFirstResult = CommonEventManager::SubscribeCommonEvent(subscriberFirstTest); 965 bool subscribeResultThird = CommonEventManager::SubscribeCommonEvent(subscriberThirdTest); 1010 bool subscribeFirstResult = CommonEventManager::SubscribeCommonEvent(subscriberFirstTest); 1034 bool subscribeResultThird = CommonEventManager::SubscribeCommonEvent(subscriberThirdTest); [all …]
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/ |
H A D | common_event_services_system_test.cpp | 198 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); 215 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); 232 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); 249 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); 266 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); 284 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); 302 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); 319 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr1), true); 458 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); 476 EXPECT_EQ(CommonEventManager::SubscribeCommonEvent(subscriberPtr), true); [all …]
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/ |
H A D | actsCESManagertest.cpp | 145 if (!CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { 175 if (!CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { 1910 if (CommonEventManager::SubscribeCommonEvent(subscriberPtr) && 1951 if (CommonEventManager::SubscribeCommonEvent(subscriberPtr) && 1993 if (CommonEventManager::SubscribeCommonEvent(subscriberPtr) && 2035 if (CommonEventManager::SubscribeCommonEvent(subscriberPtr) && 2080 if (CommonEventManager::SubscribeCommonEvent(subscriberPtr) && 2125 if (CommonEventManager::SubscribeCommonEvent(subscriberPtr) && 2301 if (CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { 2349 if (CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { [all …]
|
/ohos5.0/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/ |
H A D | common_event_services_module_test.cpp | 126 EXPECT_EQ(commonEventManagerService_->SubscribeCommonEvent( 146 EXPECT_EQ(commonEventManagerService_->SubscribeCommonEvent( 166 EXPECT_EQ(commonEventManagerService_->SubscribeCommonEvent( 185 EXPECT_EQ(commonEventManagerService_->SubscribeCommonEvent( 194 EXPECT_EQ(commonEventManagerService_->SubscribeCommonEvent( 203 EXPECT_EQ(commonEventManagerService_->SubscribeCommonEvent( 676 if (commonEventManagerService_->SubscribeCommonEvent( 725 if (commonEventManagerService_->SubscribeCommonEvent( 774 if (commonEventManagerService_->SubscribeCommonEvent( 846 if (commonEventManagerService_->SubscribeCommonEvent( [all …]
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/bus_center/common_event/ |
H A D | lnn_common_event_monitor.cpp | 89 int32_t SubscribeCommonEvent(); 94 int32_t SubscribeEvent::SubscribeCommonEvent() in SubscribeCommonEvent() function in OHOS::EventFwk::SubscribeEvent 106 if (!CommonEventManager::SubscribeCommonEvent(subscriber_)) { in SubscribeCommonEvent() 139 if (subscriberPtr->SubscribeCommonEvent() == SOFTBUS_OK) { in LnnSubscribeCommonEvent()
|
/ohos5.0/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_manager_service_test.cpp | 159 int32_t result = commonEventManagerService.SubscribeCommonEvent(subscribeInfo, nullptr); in HWTEST_F() 178 int32_t result = commonEventManagerService.SubscribeCommonEvent(subscribeInfo, nullptr); in HWTEST_F() 196 int32_t result = commonEventManagerService.SubscribeCommonEvent(subscribeInfo, nullptr); in HWTEST_F() 220 bool ret = innerCommonEventManager->SubscribeCommonEvent(subscribeInfo, in HWTEST_F() 228 int32_t result = commonEventManagerService.SubscribeCommonEvent(subscribeInfo, nullptr); in HWTEST_F()
|
H A D | common_event_freeze_test.cpp | 71 …bool SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber, uid_t callingU… 277 bool CommonEventFreezeTest::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subs… in SubscribeCommonEvent() function in __anonb9c819750110::CommonEventFreezeTest 294 …nction<void()> SubscribeCommonEventFunc = std::bind(&InnerCommonEventManager::SubscribeCommonEvent, in SubscribeCommonEvent() 401 EXPECT_TRUE(SubscribeCommonEvent(subscriberTest, UID, commonEventListener)); 414 EXPECT_TRUE(SubscribeCommonEvent(subscriberTest2, UID2, commonEventListener2)); 463 EXPECT_TRUE(SubscribeCommonEvent(subscriberTest, UID, commonEventListener)); 476 EXPECT_TRUE(SubscribeCommonEvent(subscriberTest2, UID2, commonEventListener2));
|
H A D | common_event_publish_permission_event_unit_test.cpp | 121 inner.SubscribeCommonEvent(subscribeInfo, listener, curTime, PID, SYSTEM_UID, tokenID, "hello"); 163 inner.SubscribeCommonEvent(subscribeInfo, listener, curTime, PID, SYSTEM_UID, tokenID, "hello"); 206 inner.SubscribeCommonEvent(subscribeInfo, listener, curTime, PID, SYSTEM_UID, tokenID, "hello"); 249 inner.SubscribeCommonEvent(subscribeInfo, listener, curTime, PID, SYSTEM_UID, tokenID, "hello"); 1000 inner.SubscribeCommonEvent(subscribeInfo, listener, curTime, PID, SYSTEM_UID, tokenID, "case1"); 1045 inner.SubscribeCommonEvent(subscribeInfo, listener, curTime, PID, SYSTEM_UID, tokenID, "case2"); 1090 inner.SubscribeCommonEvent(subscribeInfo, listener, curTime, PID, SYSTEM_UID, tokenID, "case3"); 1135 inner.SubscribeCommonEvent(subscribeInfo, listener, curTime, PID, SYSTEM_UID, tokenID, "case4"); 1180 inner.SubscribeCommonEvent(subscribeInfo, listener, curTime, PID, SYSTEM_UID, tokenID, "case6"); 1225 inner.SubscribeCommonEvent(subscribeInfo, listener, curTime, PID, SYSTEM_UID, tokenID, "case1"); [all …]
|
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/ |
H A D | usb_event_test.cpp | 81 CommonEventManager::SubscribeCommonEvent(subscriber); 106 CommonEventManager::SubscribeCommonEvent(subscriber); 131 CommonEventManager::SubscribeCommonEvent(subscriber); 185 CommonEventManager::SubscribeCommonEvent(subscriber); 221 CommonEventManager::SubscribeCommonEvent(subscriber); 255 CommonEventManager::SubscribeCommonEvent(subscriber);
|
/ohos5.0/base/notification/common_event_service/test/benchmarktest/common_event_service_test/ |
H A D | common_event_manager_service_test.cpp | 78 bool result = commonEventManagerService_->SubscribeCommonEvent( in BENCHMARK_F() 102 bool result = commonEventManagerService_->SubscribeCommonEvent( in BENCHMARK_F() 126 bool result = commonEventManagerService_->SubscribeCommonEvent( in BENCHMARK_F() 204 bool result = commonEventManagerService_->SubscribeCommonEvent( in BENCHMARK_F()
|
/ohos5.0/base/notification/common_event_service/frameworks/native/test/unittest/ |
H A D | common_event_subscribe_test.cpp | 103 virtual int32_t SubscribeCommonEvent(const CommonEventSubscribeInfo &subscribeInfo, in SubscribeCommonEvent() function in CommonEventStubTest 159 bool subscribeResult = CommonEventManager::SubscribeCommonEvent(subscriber); 221 bool subscribeResulta = CommonEventManager::SubscribeCommonEvent(subscribera); 225 bool subscribeResultb = CommonEventManager::SubscribeCommonEvent(subscriberb); 242 bool subscribeResult = CommonEventManager::SubscribeCommonEvent(nullptr); 262 bool subscribeResult = CommonEventManager::SubscribeCommonEvent(subscriber); 283 CommonEventManager::SubscribeCommonEvent(subscriber); 285 bool subscribeResult = CommonEventManager::SubscribeCommonEvent(subscriber); 311 …EXPECT_EQ(false, innerCommonEventManager->SubscribeCommonEvent(subscribeInfo, sp, curTime, 0, 0, t…
|
/ohos5.0/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_common_event_observer.cpp | 55 auto task = [this] { this->SubscribeCommonEvent(); }; in AppAccountCommonEventObserver() 66 void AppAccountCommonEventObserver::SubscribeCommonEvent(void) in SubscribeCommonEvent() function in OHOS::AccountSA::AppAccountCommonEventObserver 69 if (CommonEventManager::SubscribeCommonEvent(subscriber_)) { in SubscribeCommonEvent()
|
/ohos5.0/base/powermgr/battery_manager/test/systemtest/src/ |
H A D | battery_event_system_test.cpp | 267 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 283 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 299 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 315 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 331 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 347 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 363 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 379 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 395 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent()
|
/ohos5.0/base/usb/usb_manager/test/native/mock/src/ |
H A D | usb_event_mock_test.cpp | 119 CommonEventManager::SubscribeCommonEvent(subscriber); 147 CommonEventManager::SubscribeCommonEvent(subscriber); 175 CommonEventManager::SubscribeCommonEvent(subscriber); 232 CommonEventManager::SubscribeCommonEvent(subscriber); 266 CommonEventManager::SubscribeCommonEvent(subscriber); 300 CommonEventManager::SubscribeCommonEvent(subscriber);
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/bus_center/wlan/ |
H A D | lnn_wifiservice_monitor.cpp | 162 if (!CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { in SubscribeAPConnStateEvent() 174 if (!CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { in SubscribeWifiConnStateEvent() 186 if (!CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { in SubscribeWifiPowerStateEvent() 199 if (!CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { in SubscribeWifiSemiStateEvent()
|
/ohos5.0/base/notification/common_event_service/tools/test/systemtest/cem/ |
H A D | common_event_command_publish_system_test.cpp | 164 CommonEventManager::SubscribeCommonEvent(subscriberTestPtr); 224 CommonEventManager::SubscribeCommonEvent(subscriberTestPtr); 284 CommonEventManager::SubscribeCommonEvent(subscriberTestPtr); 344 CommonEventManager::SubscribeCommonEvent(subscriberTestPtr);
|
H A D | common_event_command_dump_system_test.cpp | 111 CommonEventManager::SubscribeCommonEvent(subscriberTestPtr); 156 CommonEventManager::SubscribeCommonEvent(subscriberTestPtr);
|
/ohos5.0/base/location/test/location_locator/mock/src/ |
H A D | mock_common_event_manager.cpp | 43 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscri… in SubscribeCommonEvent() function in OHOS::EventFwk::CommonEventManager 45 return Location::MockCommonEventManager::GetInstance().SubscribeCommonEvent(subscriber); in SubscribeCommonEvent()
|
/ohos5.0/base/location/test/location_manager/mock/src/ |
H A D | mock_common_event_manager.cpp | 43 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscri… in SubscribeCommonEvent() function in OHOS::EventFwk::CommonEventManager 45 return Location::MockCommonEventManager::GetInstance().SubscribeCommonEvent(subscriber); in SubscribeCommonEvent()
|
/ohos5.0/foundation/ability/ability_runtime/service_router_framework/services/srms/src/ |
H A D | service_router_mgr_service.cpp | 80 SubscribeCommonEvent(); in Init() 134 bool ServiceRouterMgrService::ServiceRouterMgrService::SubscribeCommonEvent() in SubscribeCommonEvent() function in OHOS::AbilityRuntime::ServiceRouterMgrService::ServiceRouterMgrService 150 if (!EventFwk::CommonEventManager::SubscribeCommonEvent(eventSubscriber_)) { in SubscribeCommonEvent()
|
/ohos5.0/base/notification/common_event_service/test/benchmarktest/common_event_publish_test/ |
H A D | common_event_publish_test.cpp | 72 CommonEventManager::SubscribeCommonEvent(subscriberPtr); in BENCHMARK_F() 92 if (OHOS::EventFwk::CommonEventManager::SubscribeCommonEvent(subscriberPtr)) { in BENCHMARK_F()
|
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
H A D | net_policy_core.cpp | 46 SubscribeCommonEvent(); in Init() 95 void NetPolicyCore::SubscribeCommonEvent() in SubscribeCommonEvent() function in OHOS::NetManagerStandard::NetPolicyCore 110 result = EventFwk::CommonEventManager::SubscribeCommonEvent(subscriber_); in SubscribeCommonEvent()
|
/ohos5.0/base/powermgr/thermal_manager/test/systemtest/src/ |
H A D | thermal_level_event_system_test.cpp | 254 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 273 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 292 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 311 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent() 330 succeed = CommonEventManager::SubscribeCommonEvent(subscriberPtr); in RegisterEvent()
|
/ohos5.0/foundation/multimodalinput/input/service/account_manager/test/ |
H A D | account_manager_test.cpp | 68 ASSERT_NO_FATAL_FAILURE(accountManager.SubscribeCommonEvent()); 81 ASSERT_NO_FATAL_FAILURE(accountManager.SubscribeCommonEvent()); 98 ASSERT_NO_FATAL_FAILURE(accountManager.SubscribeCommonEvent());
|
/ohos5.0/base/security/device_auth/services/frameworks/src/os_account_adapter/ |
H A D | os_account_adapter.cpp | 74 static void SubscribeCommonEvent(void) in SubscribeCommonEvent() function 88 if (OHOS::EventFwk::CommonEventManager::SubscribeCommonEvent(g_accountSubscriber)) { in SubscribeCommonEvent() 132 SubscribeCommonEvent(); in NotifySystemAbilityAdded()
|