Home
last modified time | relevance | path

Searched refs:PublishCommonEventAsUser (Results 1 - 12 of 12) sorted by relevance

/base/notification/common_event_service/frameworks/native/src/
H A Dcommon_event_manager.cpp28 return PublishCommonEventAsUser(data, publishInfo, nullptr, UNDEFINED_USER); in PublishCommonEvent()
31 bool CommonEventManager::PublishCommonEventAsUser(const CommonEventData &data, const int32_t &userId) in PublishCommonEventAsUser() function in OHOS::EventFwk::CommonEventManager
34 return PublishCommonEventAsUser(data, publishInfo, nullptr, userId); in PublishCommonEventAsUser()
48 bool CommonEventManager::PublishCommonEventAsUser(const CommonEventData &data, in PublishCommonEventAsUser() function in OHOS::EventFwk::CommonEventManager
63 return PublishCommonEventAsUser(data, publishInfo, subscriber, UNDEFINED_USER); in PublishCommonEvent()
66 bool CommonEventManager::PublishCommonEventAsUser(const CommonEventData &data, in PublishCommonEventAsUser() function in OHOS::EventFwk::CommonEventManager
77 return CommonEvent::GetInstance()->PublishCommonEventAsUser(data, publishInfo, subscriber, in NewPublishCommonEventAsUser()
84 return PublishCommonEventAsUser(data, publishInfo, subscriber, uid, callerToken, UNDEFINED_USER); in PublishCommonEvent()
87 bool CommonEventManager::PublishCommonEventAsUser(const CommonEventData &data, in PublishCommonEventAsUser() function in OHOS::EventFwk::CommonEventManager
91 return CommonEvent::GetInstance()->PublishCommonEventAsUser(dat in PublishCommonEventAsUser()
[all...]
/base/notification/common_event_service/interfaces/inner_api/
H A Dcommon_event_manager.h42 static bool PublishCommonEventAsUser(const CommonEventData &data, const int32_t &userId);
70 static bool PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
104 static bool PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
143 static bool PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
/base/notification/common_event_service/test/fuzztest/publishcommoneventasuser_fuzzer/
H A Dpublishcommoneventasuser_fuzzer.cpp48 // test PublishCommonEventAsUser and two paramter in DoSomethingInterestingWithMyAPI()
49 EventFwk::CommonEventManager::PublishCommonEventAsUser(commonEventData, userId); in DoSomethingInterestingWithMyAPI()
52 EventFwk::CommonEventManager::PublishCommonEventAsUser( in DoSomethingInterestingWithMyAPI()
60 EventFwk::CommonEventManager::PublishCommonEventAsUser( in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/frameworks/core/include/
H A Dcommon_event.h52 int32_t PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
79 bool PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
/base/notification/common_event_service/test/fuzztest/commonevent_fuzzer/
H A Dcommonevent_fuzzer.cpp84 commonEvent.PublishCommonEventAsUser(commonEventData, commonEventPublishInfo, nullptr, code); in DoSomethingInterestingWithMyAPI()
85 commonEvent.PublishCommonEventAsUser(commonEventData, commonEventPublishInfo, nullptr, code, code, code); in DoSomethingInterestingWithMyAPI()
/base/account/os_account/services/accountmgr/src/
H A Daccount_event_provider.cpp95 if (!CommonEventManager::PublishCommonEventAsUser(data, userId)) { in EventPublishAsUser()
96 ACCOUNT_LOGE("PublishCommonEventAsUser failed! event %{public}s. userId is %{public}d", event.c_str(), userId); in EventPublishAsUser()
97 ReportOhosAccountOperationFail(userId, EVENT_PUBLISH, false, "PublishCommonEventAsUser failed"); in EventPublishAsUser()
101 ACCOUNT_LOGI("PublishCommonEventAsUser succeed! event %{public}s.", event.c_str()); in EventPublishAsUser()
/base/notification/common_event_service/interfaces/kits/cj/src/
H A Dcommon_event_manager_impl.cpp34 return OHOS::EventFwk::CommonEventManager::PublishCommonEventAsUser(data, userId) ? NO_ERROR : ERR_CES_FAILED; in PublishEvent()
/base/notification/common_event_service/tools/cem/src/
H A Dcommon_event_command.cpp86 int32_t publishResult = CommonEvent::GetInstance()->PublishCommonEventAsUser( in RunAsPublishCommand()
/base/notification/common_event_service/frameworks/core/test/unittest/common_event_branch_test/
H A Dcommon_event_branch_test.cpp250 * tc.name: PublishCommonEventAsUser
252 * tc.desc: test PublishCommonEventAsUser function.
264 EXPECT_EQ(false, commonEvent.PublishCommonEventAsUser(data, publishInfo, subscriber, uid, callToken, userId)); in HWTEST_F()
/base/notification/common_event_service/frameworks/core/src/
H A Dcommon_event.cpp71 int32_t CommonEvent::PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, in PublishCommonEventAsUser() function in OHOS::EventFwk::CommonEvent
107 bool CommonEvent::PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, in PublishCommonEventAsUser() function in OHOS::EventFwk::CommonEvent
/base/notification/common_event_service/frameworks/native/test/unittest/
H A Dcommon_event_subscribe_test.cpp503 * tc.desc: Invoke PublishCommonEventAsUser interface verify whether it is normal
510 bool result = commonEventManager.PublishCommonEventAsUser(data, userId); in HWTEST_F()
519 * tc.desc: Invoke PublishCommonEventAsUser interface verify whether it is normal
527 bool result = commonEventManager.PublishCommonEventAsUser(data, publishInfo, userId); in HWTEST_F()
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
H A Dcommon_event.cpp1190 asyncCallbackInfo->errorCode = CommonEventManager::PublishCommonEventAsUser( in PublishAsUser()

Completed in 12 milliseconds