/ohos5.0/base/notification/common_event_service/frameworks/native/src/ |
H A D | async_common_event_result.cpp | 23 AsyncCommonEventResult::AsyncCommonEventResult(const int32_t &resultCode, const std::string &result… in AsyncCommonEventResult() function in OHOS::EventFwk::AsyncCommonEventResult 34 AsyncCommonEventResult::~AsyncCommonEventResult() in ~AsyncCommonEventResult() 37 bool AsyncCommonEventResult::SetCode(const int32_t &code) in SetCode() 49 int32_t AsyncCommonEventResult::GetCode() const in GetCode() 66 std::string AsyncCommonEventResult::GetData() const in GetData() 84 bool AsyncCommonEventResult::AbortCommonEvent() in AbortCommonEvent() 96 bool AsyncCommonEventResult::ClearAbortCommonEvent() in ClearAbortCommonEvent() 108 bool AsyncCommonEventResult::GetAbortCommonEvent() const in GetAbortCommonEvent() 113 bool AsyncCommonEventResult::FinishCommonEvent() in FinishCommonEvent() 136 bool AsyncCommonEventResult::IsStickyCommonEvent() const in IsStickyCommonEvent() [all …]
|
H A D | common_event_subscriber.cpp | 122 std::shared_ptr<AsyncCommonEventResult> CommonEventSubscriber::GoAsyncCommonEvent() in GoAsyncCommonEvent() 124 std::shared_ptr<AsyncCommonEventResult> res = result_; in GoAsyncCommonEvent() 139 bool CommonEventSubscriber::SetAsyncCommonEventResult(const std::shared_ptr<AsyncCommonEventResult>… in SetAsyncCommonEventResult() 146 std::shared_ptr<AsyncCommonEventResult> CommonEventSubscriber::GetAsyncCommonEventResult() in GetAsyncCommonEventResult()
|
/ohos5.0/base/notification/common_event_service/interfaces/kits/cj/src/ |
H A D | common_event.cpp | 43 std::shared_ptr<AsyncCommonEventResult> GetAsyncResult(const SubscriberImpl *objectInfo) in GetAsyncResult() 117 std::shared_ptr<AsyncCommonEventResult> result = GetAsyncResult(subscriber.get()); in GetSubscriberCode() 127 std::shared_ptr<AsyncCommonEventResult> result = GetAsyncResult(subscriber.get()); in SetSubscriberCode() 136 std::shared_ptr<AsyncCommonEventResult> result = GetAsyncResult(subscriber.get()); in GetSubscriberData() 146 std::shared_ptr<AsyncCommonEventResult> result = GetAsyncResult(subscriber.get()); in SetSubscriberData() 155 std::shared_ptr<AsyncCommonEventResult> result = GetAsyncResult(subscriber.get()); in SetSubscriberCodeAndData() 164 std::shared_ptr<AsyncCommonEventResult> result = GetAsyncResult(subscriber.get()); in IsCommonEventSticky() 174 std::shared_ptr<AsyncCommonEventResult> result = GetAsyncResult(subscriber.get()); in IsCommonEventOrdered()
|
H A D | common_event.h | 22 using AsyncCommonEventResult = OHOS::EventFwk::AsyncCommonEventResult; variable 32 std::shared_ptr<AsyncCommonEventResult> commonEventResult = nullptr; 37 std::shared_ptr<AsyncCommonEventResult> GetAsyncResult(const SubscriberImpl *objectInfo);
|
H A D | common_event_manager_ffi.cpp | 262 std::shared_ptr<AsyncCommonEventResult> result = GetAsyncResult(subscriber.get()); in CJ_FinishCommonEvent()
|
/ohos5.0/base/notification/common_event_service/interfaces/inner_api/ |
H A D | common_event_subscriber.h | 118 std::shared_ptr<AsyncCommonEventResult> GoAsyncCommonEvent(); 140 bool SetAsyncCommonEventResult(const std::shared_ptr<AsyncCommonEventResult> &result); 147 std::shared_ptr<AsyncCommonEventResult> GetAsyncCommonEventResult(); 160 std::shared_ptr<AsyncCommonEventResult> result_;
|
H A D | async_common_event_result.h | 23 class AsyncCommonEventResult { 34 …AsyncCommonEventResult(const int32_t &resultCode, const std::string &resultData, const bool &order… 37 ~AsyncCommonEventResult();
|
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_common_event_subscriber.cpp | 85 std::shared_ptr<AsyncCommonEventResult> CommonEventSubscriber::GoAsyncCommonEvent() in GoAsyncCommonEvent() 88 std::shared_ptr<AsyncCommonEventResult> res = result_; in GoAsyncCommonEvent() 105 bool CommonEventSubscriber::SetAsyncCommonEventResult(const std::shared_ptr<AsyncCommonEventResult>… in SetAsyncCommonEventResult() 112 std::shared_ptr<AsyncCommonEventResult> CommonEventSubscriber::GetAsyncCommonEventResult() in GetAsyncCommonEventResult()
|
/ohos5.0/base/notification/common_event_service/services/test/unittest/ |
H A D | mock_common_event_subscriber.cpp | 85 std::shared_ptr<AsyncCommonEventResult> CommonEventSubscriber::GoAsyncCommonEvent() in GoAsyncCommonEvent() 88 std::shared_ptr<AsyncCommonEventResult> res = result_; in GoAsyncCommonEvent() 105 bool CommonEventSubscriber::SetAsyncCommonEventResult(const std::shared_ptr<AsyncCommonEventResult>… in SetAsyncCommonEventResult() 112 std::shared_ptr<AsyncCommonEventResult> CommonEventSubscriber::GetAsyncCommonEventResult() in GetAsyncCommonEventResult()
|
H A D | common_event_freeze_test.cpp | 117 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTestCase1() 172 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTest2Case1() 234 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTestLastCase1()
|
H A D | common_event_dump_test.cpp | 163 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTestCase1() 170 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTestCase2() 215 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTest2Case1() 228 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTest2Case2() 274 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTestLastCase1()
|
/ohos5.0/base/notification/common_event_service/frameworks/native/test/unittest/ |
H A D | matching_skills_test.cpp | 403 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token); 421 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token); 441 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token); 461 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token); 482 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token); 501 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token); 520 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token);
|
/ohos5.0/base/notification/common_event_service/test/fuzztest/asynccommoneventresult_fuzzer/ |
H A D | asynccommoneventresult_fuzzer.cpp | 29 …std::shared_ptr<EventFwk::AsyncCommonEventResult> result = std::make_shared<EventFwk::AsyncCommonE… in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/ |
H A D | napi_common_event.cpp | 412 std::shared_ptr<AsyncCommonEventResult> GetAsyncResult(const SubscriberInstance *objectInfo) in GetAsyncResult() 952 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(subscriber.get()); in IsOrderedCommonEventSync() 980 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(subscriber.get()); in GetCodeSync() 1334 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult( in IsOrderedCommonEvent() 1417 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult( in IsStickyCommonEvent() 1498 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult( in GetCode() 1580 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult( in GetData() 1659 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult( in AbortCommonEvent() 1734 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult( in ClearAbortCommonEvent() 1810 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult( in GetAbortCommonEvent() [all …]
|
H A D | common_event_set_param.cpp | 159 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult( in SetCode() 236 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult( in SetData() 314 std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult( in SetCodeAndData()
|
/ohos5.0/base/notification/common_event_service/frameworks/core/src/ |
H A D | common_event_listener.cpp | 137 std::shared_ptr<AsyncCommonEventResult> result = in OnReceiveEvent() 138 std::make_shared<AsyncCommonEventResult>(code, data, ordered, sticky, this); in OnReceiveEvent()
|
/ohos5.0/base/notification/common_event_service/services/test/moduletest/common_event_services_publish_ordered_module_test/ |
H A D | common_event_services_publish_ordered_module_test.cpp | 193 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTestCase4() 226 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTestCase6() 233 void AsyncProcess(const std::shared_ptr<AsyncCommonEventResult> &result, time_t outtime) in AsyncProcess() 354 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberAnotherTestCase6() 361 void AsyncProcess(const std::shared_ptr<AsyncCommonEventResult> &result, time_t outtime) in AsyncProcess() 1194 std::shared_ptr<AsyncCommonEventResult> result = std::make_shared<AsyncCommonEventResult>(
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_publish_ordered_system_test/ |
H A D | common_event_services_publish_ordered_system_test.cpp | 182 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTestCase4() 213 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberTestCase6() 220 void AsyncProcess(const std::shared_ptr<AsyncCommonEventResult> &result, time_t outtime) in AsyncProcess() 341 std::shared_ptr<AsyncCommonEventResult> result = GoAsyncCommonEvent(); in ProcessSubscriberAnotherTestCase6() 348 void AsyncProcess(const std::shared_ptr<AsyncCommonEventResult> &result, time_t outtime) in AsyncProcess()
|
/ohos5.0/base/notification/common_event_service/interfaces/kits/napi/common_event/src/ |
H A D | common_event_set_param.cpp | 131 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in SetCode() 210 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in SetData() 291 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in SetCodeAndData()
|
H A D | common_event.cpp | 367 std::shared_ptr<AsyncCommonEventResult> GetAsyncResult(const SubscriberInstance *objectInfo) in GetAsyncResult() 430 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in IsOrderedCommonEvent() 516 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in IsStickyCommonEvent() 600 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in GetCode() 682 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in GetData() 763 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in AbortCommonEvent() 840 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in ClearAbortCommonEvent() 917 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in GetAbortCommonEvent() 999 …std::shared_ptr<AsyncCommonEventResult> asyncResult = GetAsyncResult(asyncCallbackInfo->subscriber… in FinishCommonEvent()
|
/ohos5.0/base/notification/common_event_service/interfaces/kits/napi/common_event/include/ |
H A D | common_event.h | 42 std::shared_ptr<AsyncCommonEventResult> commonEventResult = nullptr; 308 std::shared_ptr<AsyncCommonEventResult> GetAsyncResult(const SubscriberInstance *objectInfo);
|
/ohos5.0/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/include/ |
H A D | napi_common_event.h | 45 std::shared_ptr<AsyncCommonEventResult> commonEventResult = nullptr; 332 std::shared_ptr<AsyncCommonEventResult> GetAsyncResult(const SubscriberInstance *objectInfo);
|