/ohos5.0/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_control_manager_test.cpp | 273 int32_t userId = ALL_USER; in HWTEST_F() 291 int32_t userId = ALL_USER + 1; in HWTEST_F() 294 record->userId = ALL_USER + 1; in HWTEST_F() 312 int32_t userId = ALL_USER + 1; in HWTEST_F() 315 record->userId = ALL_USER + 2; in HWTEST_F() 333 int32_t userId = ALL_USER; in HWTEST_F() 355 int32_t userId = ALL_USER + 1; in HWTEST_F() 383 record->userId = ALL_USER; in HWTEST_F() 401 int32_t userId = ALL_USER; in HWTEST_F() 461 int32_t userId = ALL_USER; in HWTEST_F() [all …]
|
H A D | common_event_dump_test.cpp | 691 …GetInnerCommonEventManager()->DumpState(static_cast<int32_t>(DumpEventType::ALL), "", ALL_USER, st… 723 …GetInnerCommonEventManager()->DumpState(static_cast<int32_t>(DumpEventType::ALL), "", ALL_USER, st… 745 …GetInnerCommonEventManager()->DumpState(static_cast<int32_t>(DumpEventType::ALL), "", ALL_USER, st… 780 …GetInnerCommonEventManager()->DumpState(static_cast<int32_t>(DumpEventType::ALL), "", ALL_USER, st… 814 …GetInnerCommonEventManager()->DumpState(static_cast<int32_t>(DumpEventType::ALL), "", ALL_USER, st… 847 …GetInnerCommonEventManager()->DumpState(static_cast<int32_t>(DumpEventType::ALL), "", ALL_USER, st… 879 …GetInnerCommonEventManager()->DumpState(static_cast<int32_t>(DumpEventType::ALL), "", ALL_USER, st… 910 …GetInnerCommonEventManager()->DumpState(static_cast<int32_t>(DumpEventType::ALL), "", ALL_USER, st… 994 …GetInnerCommonEventManager()->DumpState(static_cast<int32_t>(DumpEventType::ALL), "", ALL_USER, st… 1012 …GetInnerCommonEventManager()->DumpState(static_cast<int32_t>(DumpEventType::ALL), "", ALL_USER, st… [all …]
|
H A D | common_event_subscriber_manager_test.cpp | 179 int32_t userId = ALL_USER; in HWTEST_F() 301 int32_t userId = ALL_USER; in HWTEST_F() 382 int32_t userId = ALL_USER; in HWTEST_F() 630 int32_t userId = ALL_USER; in HWTEST_F() 634 comm->userId = ALL_USER; in HWTEST_F() 696 int32_t userId = ALL_USER; in HWTEST_F() 700 comm->userId = ALL_USER; in HWTEST_F()
|
/ohos5.0/base/notification/common_event_service/frameworks/core/include/ |
H A D | common_event_constant.h | 23 constexpr int8_t ALL_USER = -1; variable
|
/ohos5.0/base/notification/common_event_service/services/src/ |
H A D | common_event_control_manager.cpp | 918 if (event.empty() && userId == ALL_USER) { in GetUnorderedEventRecords() 926 } else if (userId == ALL_USER) { in GetUnorderedEventRecords() 945 if (event.empty() && userId == ALL_USER) { in GetOrderedEventRecords() 953 } else if (userId == ALL_USER) { in GetOrderedEventRecords() 972 if (event.empty() && userId == ALL_USER) { in GetHistoryEventRecords() 980 } else if (userId == ALL_USER) { in GetHistoryEventRecords() 1011 case ALL_USER: in DumpStateByCommonEventRecord() 1125 case ALL_USER: in DumpHistoryStateByCommonEventRecord() 1302 case ALL_USER: in DumpHistoryStateBySubscriberRecord()
|
H A D | common_event_subscriber_manager.cpp | 167 case ALL_USER: in DumpDetailed() 371 if (subscriberUserId == ALL_USER || subscriberUserId == userId) { in CheckSubscriberByUserId() 375 if (isSystemApp && (userId == UNDEFINED_USER || userId == ALL_USER || in CheckSubscriberByUserId() 467 if (event.empty() && userId == ALL_USER) { in GetSubscriberRecordsByEvent() 475 } else if (userId == ALL_USER) { in GetSubscriberRecordsByEvent()
|
H A D | common_event_sticky_manager.cpp | 222 if ((userId == ALL_USER) || (record.second->userId == userId)) { in GetStickyCommonEventRecords() 231 if ((userId == ALL_USER) || (userId == recordItem->second->userId)) { in GetStickyCommonEventRecords()
|
H A D | inner_common_event_manager.cpp | 522 userId = ALL_USER; in SetSystemUserId() 526 userId = ALL_USER; in SetSystemUserId() 647 DumpState(DumpEventType::ALL, event, ALL_USER, records); in HiDump()
|
H A D | common_event_manager_service.cpp | 118 if (userId != ALL_USER && userId != CURRENT_USER && userId != UNDEFINED_USER) { in PublishCommonEvent() 583 if (userId != ALL_USER && userId != CURRENT_USER && userId != UNDEFINED_USER in CheckUserIdParams()
|
H A D | static_subscriber_manager.cpp | 175 if ((subscriber.userId > SUBSCRIBE_USER_SYSTEM_END) && (userId != ALL_USER) in PublishCommonEventInner()
|
/ohos5.0/base/notification/common_event_service/tools/cem/include/ |
H A D | common_event_command.h | 73 int32_t userId = ALL_USER;
|
/ohos5.0/base/notification/common_event_service/test/benchmarktest/common_event_service_test/ |
H A D | common_event_manager_service_test.cpp | 212 if (commonEventManagerService_->DumpState(0, "", ALL_USER, stateTest)) { in BENCHMARK_F()
|
/ohos5.0/base/notification/common_event_service/services/test/unittest/common_event_control_manager_branch_test/ |
H A D | common_event_control_manager_branch_test.cpp | 312 int32_t userId = ALL_USER; in HWTEST_F() 433 int32_t userId = ALL_USER; in HWTEST_F() 458 int32_t userId = ALL_USER; in HWTEST_F()
|
/ohos5.0/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/ |
H A D | common_event_services_module_test.cpp | 500 EXPECT_TRUE(CommonEvent::GetInstance()->DumpState(0, eventName, ALL_USER, stateTest)); 526 if (CommonEvent::GetInstance()->DumpState(0, eventNametest, ALL_USER, stateTest)) { 556 EXPECT_TRUE(CommonEvent::GetInstance()->DumpState(0, eventNameInput, ALL_USER, stateTest));
|