Home
last modified time | relevance | path

Searched refs:MessageType (Results 1 – 25 of 26) sorted by relevance

12

/base/hiviewdfx/hiview/core/test/unittest/common/
Devent_dispatch_queue_test.cpp38 … const std::string& message, Event::MessageType type) in CreateEvent()
99 …listener1->AddListenerInfo(Event::MessageType::RAW_EVENT, EventListener::EventIdRange(EVENT_ID_0, …
102 listener2->AddListenerInfo(Event::MessageType::RAW_EVENT, EVENT_ID_2);
105 …auto ret1 = platform.GetListenerInfo(Event::MessageType::RAW_EVENT, listener1->GetListenerName(), …
112 …auto ret2 = platform.GetListenerInfo(Event::MessageType::RAW_EVENT, listener2->GetListenerName(), …
118 auto event1 = CreateEvent("testEvent1", EVENT_ID_0, "test", Event::MessageType::RAW_EVENT);
123 auto event2 = CreateEvent("testEvent1", EVENT_ID_2, "test", Event::MessageType::RAW_EVENT);
128 auto event3 = CreateEvent("testEvent1", EVENT_ID_3, "test", Event::MessageType::RAW_EVENT);
133 auto event4 = CreateEvent("testEvent1", EVENT_ID_2, "test", Event::MessageType::FAULT_EVENT);
Dplugin_platform_test.cpp63 …listener->AddListenerInfo(Event::MessageType::FAULT_EVENT, EventListener::EventIdRange(901000000, …
122 …listener->AddListenerInfo(Event::MessageType::FAULT_EVENT, EventListener::EventIdRange(901000000, …
157 …listener->AddListenerInfo(Event::MessageType::FAULT_EVENT, EventListener::EventIdRange(901000000, …
238 listener->AddListenerInfo(Event::MessageType::FAULT_EVENT, set);
254 auto event = plugin->GetEvent(Event::MessageType::FAULT_EVENT);
331 auto event = plugin->GetEvent(Event::MessageType::FAULT_EVENT);
338 auto unloadEvent = plugin->GetEvent(Event::MessageType::PLUGIN_MAINTENANCE);
Devent_dispatch_queue_test.h35 … OHOS::HiviewDFX::Event::MessageType type);
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example4/
Devent_processor_example4.cpp41 if (event->messageType_ == Event::MessageType::FAULT_EVENT && in CanProcessEvent()
46 if (event->messageType_ == Event::MessageType::FAULT_EVENT && in CanProcessEvent()
95 AddEventListenerInfo(OHOS::HiviewDFX::Event::MessageType::SYS_EVENT, "testaa"); in OnLoad()
96 AddEventListenerInfo(OHOS::HiviewDFX::Event::MessageType::SYS_EVENT, "testbb"); in OnLoad()
97 …AddEventListenerInfo(OHOS::HiviewDFX::Event::MessageType::FAULT_EVENT, EventSourceExample::PIPELIN… in OnLoad()
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_plugin_example3/
Dbundle_plugin_example3.cpp57 AddEventListenerInfo(OHOS::HiviewDFX::Event::MessageType::SYS_EVENT, "testaa"); in OnLoad()
58 AddEventListenerInfo(OHOS::HiviewDFX::Event::MessageType::SYS_EVENT, "testbb"); in OnLoad()
60 AddEventListenerInfo(OHOS::HiviewDFX::Event::MessageType::RAW_EVENT, EVENT_ID_1); in OnLoad()
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example1/
Devent_processor_example1.cpp44 if (event->messageType_ == Event::MessageType::FAULT_EVENT && in CanProcessEvent()
49 if (event->messageType_ == Event::MessageType::FAULT_EVENT && in CanProcessEvent()
54 if (event->messageType_ == Event::MessageType::FAULT_EVENT && in CanProcessEvent()
/base/hiviewdfx/hiview/test/plugins/examples/dynamic_load_plugin_example/
Ddynamic_load_plugin_example.cpp40 AddListenerInfo(OHOS::HiviewDFX::Event::MessageType::SYS_EVENT, "testbb"); in OnLoad()
42 AddListenerInfo(OHOS::HiviewDFX::Event::MessageType::RAW_EVENT, EVENT_ID_1); in OnLoad()
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms.cpp42 return MessageType::TYPE_MMS_SEND_REQ; in WrapDecodeMmsStatus()
45 return MessageType::TYPE_MMS_SEND_CONF; in WrapDecodeMmsStatus()
48 return MessageType::TYPE_MMS_NOTIFICATION_IND; in WrapDecodeMmsStatus()
51 return MessageType::TYPE_MMS_RESP_IND; in WrapDecodeMmsStatus()
54 return MessageType::TYPE_MMS_RETRIEVE_CONF; in WrapDecodeMmsStatus()
57 return MessageType::TYPE_MMS_ACKNOWLEDGE_IND; in WrapDecodeMmsStatus()
60 return MessageType::TYPE_MMS_DELIVERY_IND; in WrapDecodeMmsStatus()
63 return MessageType::TYPE_MMS_READ_ORIG_IND; in WrapDecodeMmsStatus()
66 return MessageType::TYPE_MMS_READ_REC_IND; in WrapDecodeMmsStatus()
77 case MessageType::TYPE_MMS_SEND_REQ: { in WrapEncodeMmsStatus()
[all …]
/base/hiviewdfx/hiview/base/include/
Devent.h33 : messageType_(MessageType::NONE), in Event()
59 : messageType_(MessageType::NONE), in Event()
115 enum MessageType { enum
139 MessageType messageType_;
Dplugin.h83 virtual std::shared_ptr<Event> GetEvent(Event::MessageType type) in GetEvent()
/base/hiviewdfx/hiview/base/test/unittest/common/
Dpipeline_test.cpp78 event->messageType_ = Event::MessageType::FAULT_EVENT; in DoTest()
195 event->messageType_ = Event::MessageType::FAULT_EVENT;
Devent_dispatcher_test.cpp139 event.messageType_ = Event::MessageType::FAULT_EVENT; in DispatchInvalidEventTest()
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example2/
Devent_processor_example2.cpp83 AddListenerInfo(OHOS::HiviewDFX::Event::MessageType::RAW_EVENT, EVENT_ID_1); in OnLoad()
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts333 messageType: MessageType;
544 export enum MessageType { enum
/base/hiviewdfx/hiview/test/unittest/common/
Dholistic_platform_test.cpp255 event->messageType_ = OHOS::HiviewDFX::Event::MessageType::SYS_EVENT;
357 event1->messageType_ = OHOS::HiviewDFX::Event::MessageType::SYS_EVENT;
366 event2->messageType_ = OHOS::HiviewDFX::Event::MessageType::RAW_EVENT;
/base/hiviewdfx/hiview/plugins/hicollie_collector/
Dplugin.cpp55 AddListenerInfo(Event::MessageType::SYS_EVENT, STRINGID_SERVICE_TIMEOUT); in OnLoad()
56 AddListenerInfo(Event::MessageType::SYS_EVENT, STRINGID_SERVICE_BLOCK); in OnLoad()
/base/hiviewdfx/hiview/plugins/faultlogger/crash_validator/
Dcrash_validator.cpp302 AddListenerInfo(Event::MessageType::SYS_EVENT, EVENT_CPP_CRASH); in OnLoad()
303 AddListenerInfo(Event::MessageType::SYS_EVENT, KEY_PROCESS_EXIT); in OnLoad()
/base/hiviewdfx/hiview/plugins/eventservice/
Dsys_event_service.cpp79 if (event->messageType_ != Event::MessageType::SYS_EVENT) { in Convert2SysEvent()
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_event_source_example/
Dbundle_event_source_example.cpp173 event->messageType_ = Event::MessageType::FAULT_EVENT; in CreateAndPublishEvent()
/base/hiviewdfx/hiview/test/plugins/examples/event_source_example/
Devent_source_example.cpp185 event->messageType_ = Event::MessageType::FAULT_EVENT; in CreateAndPublishEvent()
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_mms.h42 enum MessageType { enum
/base/hiviewdfx/hiview/plugins/eventservice/test/unittest/common/
Devent_service_action_test.cpp220 event1->messageType_ = Event::MessageType::UE_EVENT;
/base/hiviewdfx/hiview/base/
Dsys_event.cpp50 messageType_ = Event::MessageType::SYS_EVENT; in SysEvent()
/base/hiviewdfx/hiview/core/
Dhiview_platform.cpp466 event->messageType_ = Event::MessageType::PLUGIN_MAINTENANCE; in NotifyPluginReady()
839 event->messageType_ = Event::MessageType::CROSS_PLATFORM; in PublishPluginCapacity()
857 event->messageType_ = Event::MessageType::CROSS_PLATFORM; in GetRemoteByCapacity()
/base/hiviewdfx/hiview/
Dhiview_zh.md307 事件预定义的若干类型,在Event::MessageType中,业务也可以在\include\public_defines.h中定义自己的事件类型。

12