Home
last modified time | relevance | path

Searched refs:CheckSubscriberPermission (Results 1 - 4 of 4) sorted by relevance

/base/notification/common_event_service/services/include/
H A Dcommon_event_control_manager.h163 bool CheckSubscriberPermission(const EventSubscriberRecord &subscriberRecord,
/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_control_manager_test.cpp195 * @tc.desc: test CheckSubscriberPermission function.
210 EXPECT_EQ(true, commonEventControlManager.CheckSubscriberPermission(subscriberRecord, eventRecord)); in HWTEST_F()
216 * @tc.desc: test CheckSubscriberPermission function.
232 EXPECT_EQ(true, commonEventControlManager.CheckSubscriberPermission(subscriberRecord, eventRecord)); in HWTEST_F()
238 * @tc.desc: test CheckSubscriberPermission function.
257 EXPECT_EQ(false, commonEventControlManager.CheckSubscriberPermission(subscriberRecord, eventRecord)); in HWTEST_F()
/base/notification/common_event_service/services/test/unittest/common_event_control_manager_branch_test/
H A Dcommon_event_control_manager_branch_test.cpp82 * @tc.desc: test CheckSubscriberPermission permission.names.size is 2 and permission.state is PermissionState::AND.
108 EXPECT_EQ(false, commonEventControlManager.CheckSubscriberPermission(subscriberRecord, eventRecord)); in HWTEST_F()
114 * @tc.desc: test CheckSubscriberPermission permission.names.size is 2 and permission.state is PermissionState::AND.
134 EXPECT_EQ(true, commonEventControlManager.CheckSubscriberPermission(subscriberRecord, eventRecord)); in HWTEST_F()
140 * @tc.desc: test CheckPermission and CheckSubscriberPermission is false.
170 * @tc.desc: test CheckPermission and CheckSubscriberPermission is true.
/base/notification/common_event_service/services/src/
H A Dcommon_event_control_manager.cpp776 ret = CheckSubscriberPermission(subscriberRecord, eventRecord); in CheckPermission()
796 bool CommonEventControlManager::CheckSubscriberPermission( in CheckSubscriberPermission() function in OHOS::EventFwk::CommonEventControlManager

Completed in 6 milliseconds