Searched refs:commonEventListener2 (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_freeze_test.cpp | 59 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 D | common_event_dump_test.cpp | 90 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 D | common_event_services_module_test.cpp | 193 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);
|