Searched refs:threadMode (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/notification/eventhandler/interfaces/inner_api/ |
H A D | event_runner.h | 70 static std::shared_ptr<EventRunner> Create(bool inNewThread, ThreadMode threadMode); 91 static std::shared_ptr<EventRunner> Create(const std::string &threadName, ThreadMode threadMode) in Create() argument 93 return Create(threadName, Mode::DEFAULT, threadMode); in Create() 117 static inline std::shared_ptr<EventRunner> Create(const char *threadName, ThreadMode threadMode) in Create() argument 119 …eate((threadName != nullptr) ? std::string(threadName) : std::string(), Mode::DEFAULT, threadMode); in Create() 309 …d::shared_ptr<EventRunner> Create(const std::string &threadName, Mode mode, ThreadMode threadMode);
|
/ohos5.0/base/notification/common_event_service/frameworks/core/src/ |
H A D | common_event_listener.cpp | 73 auto threadMode = commonEventSubscriber_->GetSubscribeInfo().GetThreadMode(); in Init() local 74 EVENT_LOGD("thread mode: %{public}d", threadMode); in Init() 75 if (threadMode == CommonEventSubscribeInfo::HANDLER) { in Init()
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/ |
H A D | napi_hitrace_init.cpp | 99 napi_value threadMode = nullptr; in InitHiTraceCommunicationModeEnum() local 100 napi_create_int32(env, HITRACE_CM_THREAD, &threadMode); in InitHiTraceCommunicationModeEnum() 107 commuicationModeMap["THREAD"] = threadMode; in InitHiTraceCommunicationModeEnum()
|
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_common_event_subscribe_info.cpp | 71 void CommonEventSubscribeInfo::SetThreadMode(CommonEventSubscribeInfo::ThreadMode threadMode) in SetThreadMode() argument 74 threadMode_ = threadMode; in SetThreadMode()
|
/ohos5.0/base/notification/common_event_service/test/fuzztest/subscribecommonevent_fuzzer/ |
H A D | subscribecommonevent_fuzzer.cpp | 54 EventFwk::CommonEventSubscribeInfo::ThreadMode threadMode = in DoSomethingInterestingWithMyAPI() local 63 subscribeInfo.SetThreadMode(threadMode); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/eventhandler/frameworks/eventhandler/src/ |
H A D | event_runner.cpp | 564 std::shared_ptr<EventRunner> EventRunner::Create(bool inNewThread, ThreadMode threadMode) in Create() argument 566 HILOGD("inNewThread is %{public}d %{public}d", inNewThread, threadMode); in Create() 569 return Create(std::string(), Mode::DEFAULT, threadMode); in Create() 587 …r<EventRunner> EventRunner::Create(const std::string &threadName, Mode mode, ThreadMode threadMode) in Create() argument 589 HILOGD("threadName is %{public}s %{public}d %{public}d", threadName.c_str(), mode, threadMode); in Create() 598 if (threadMode == ThreadMode::FFRT && mode == Mode::DEFAULT) { in Create() 607 if (threadMode == ThreadMode::FFRT || mode == Mode::NO_WAIT) { in Create()
|
/ohos5.0/base/notification/common_event_service/frameworks/native/src/ |
H A D | common_event_subscribe_info.cpp | 86 void CommonEventSubscribeInfo::SetThreadMode(CommonEventSubscribeInfo::ThreadMode threadMode) in SetThreadMode() argument 88 threadMode_ = threadMode; in SetThreadMode()
|
/ohos5.0/base/notification/common_event_service/interfaces/inner_api/ |
H A D | common_event_subscribe_info.h | 109 void SetThreadMode(CommonEventSubscribeInfo::ThreadMode threadMode);
|