Home
last modified time | relevance | path

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

/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_freeze_test.cpp59 OHOS::sptr<OHOS::IRemoteObject> commonEventListener2; variable
173 …n<void()> asyncProcessFunc = std::bind(&SubscriberTest2::AsyncProcess, this, commonEventListener2); in ProcessSubscriberTest2Case1()
414 EXPECT_TRUE(SubscribeCommonEvent(subscriberTest2, UID2, commonEventListener2));
476 EXPECT_TRUE(SubscribeCommonEvent(subscriberTest2, UID2, commonEventListener2));
H A Dcommon_event_dump_test.cpp90 OHOS::sptr<OHOS::IRemoteObject> commonEventListener2; variable
222 …n<void()> asyncProcessFunc = std::bind(&SubscriberTest2::AsyncProcess, this, commonEventListener2); in ProcessSubscriberTest2Case1()
229 …n<void()> asyncProcessFunc = std::bind(&SubscriberTest2::AsyncProcess, this, commonEventListener2); in ProcessSubscriberTest2Case2()
1187 EXPECT_TRUE(SubscribeCommonEvent(subscriberTest2, UID2, commonEventListener2));
1207 GetInnerCommonEventManager()->UnsubscribeCommonEvent(commonEventListener2);
1242 EXPECT_TRUE(SubscribeCommonEvent(subscriberTest2, UID2, commonEventListener2));
1271 GetInnerCommonEventManager()->UnsubscribeCommonEvent(commonEventListener2);
/ohos5.0/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/
H A Dcommon_event_services_module_test.cpp193 sptr<CommonEventListener> commonEventListener2 = new CommonEventListener(subscriberPtr2); variable
195 subscribeInfo2, commonEventListener2), ERR_OK);
412 sptr<CommonEventListener> commonEventListener2 = new CommonEventListener(subscriberPtr2); variable
413 …EXPECT_EQ(commonEventManagerService_->SubscribeCommonEvent(subscribeInfo2, commonEventListener2), …
414 EXPECT_EQ(commonEventManagerService_->UnsubscribeCommonEvent(commonEventListener2), ERR_OK);