Home
last modified time | relevance | path

Searched refs:ThreadMode (Results 1 – 10 of 10) sorted by relevance

/base/notification/common_event_service/interfaces/inner_api/
Dcommon_event_subscribe_info.h25 enum ThreadMode { enum
101 CommonEventSubscribeInfo::ThreadMode GetThreadMode() const;
109 void SetThreadMode(CommonEventSubscribeInfo::ThreadMode threadMode);
164 CommonEventSubscribeInfo::ThreadMode threadMode_;
/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_subscribe_info.cpp80 CommonEventSubscribeInfo::ThreadMode CommonEventSubscribeInfo::GetThreadMode() const in GetThreadMode()
85 void CommonEventSubscribeInfo::SetThreadMode(CommonEventSubscribeInfo::ThreadMode threadMode) in SetThreadMode()
158 threadMode_ = (CommonEventSubscribeInfo::ThreadMode)parcel.ReadUint32(); in ReadFromParcel()
/base/notification/common_event_service/test/fuzztest/subscribecommonevent_fuzzer/
Dsubscribecommonevent_fuzzer.cpp54 EventFwk::CommonEventSubscribeInfo::ThreadMode threadMode = in DoSomethingInterestingWithMyAPI()
55 EventFwk::CommonEventSubscribeInfo::ThreadMode(mode); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/test/systemtest/common/acts/actsCESSubscribeInfoTest/
DactsCESSubscribeInfoTest.cpp378 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
379 if (subscribeInfo.GetThreadMode() != CommonEventSubscribeInfo::ThreadMode::HANDLER) {
407 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::POST);
408 if (subscribeInfo.GetThreadMode() != CommonEventSubscribeInfo::ThreadMode::POST) {
437 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::ASYNC);
438 if (subscribeInfo.GetThreadMode() != CommonEventSubscribeInfo::ThreadMode::ASYNC) {
467 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::BACKGROUND);
468 if (subscribeInfo.GetThreadMode() != CommonEventSubscribeInfo::ThreadMode::BACKGROUND) {
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_publish_ordered_event_unit_test.cpp584 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
641 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::POST);
698 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::ASYNC);
755 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::BACKGROUND);
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_service.cpp145 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::COMMON); in SubscribeCommonEvent()
/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/
Dcommon_event_services_module_test.cpp1233 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
1255 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
1280 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/
Dcommon_event_services_system_test.cpp2300 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
2319 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
2343 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
2380 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::POST);
/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/
DactsCESManagertest.cpp2842 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
2874 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
2909 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
2945 subscribeInfo.SetThreadMode(CommonEventSubscribeInfo::ThreadMode::HANDLER);
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
Dnapi_common_event.cpp3522 subscribeInfo.SetThreadMode(EventFwk::CommonEventSubscribeInfo::ThreadMode::HANDLER); in CommonEventSubscriberConstructor()