Home
last modified time | relevance | path

Searched refs:msgId (Results 1 – 25 of 87) sorted by relevance

1234

/base/hiviewdfx/hiview_lite/
Dhiview_service.c29 static void Output(IUnknown *iUnknown, int16 msgId, uint16 type);
78 if ((request == NULL) || (request->msgId >= HIVIEW_MSG_MAX)) { in MessageHandle()
81 if (g_hiviewMsgHandleList[request->msgId] != NULL) { in MessageHandle()
82 (*(g_hiviewMsgHandleList[request->msgId]))(request); in MessageHandle()
95 static void Output(IUnknown *iUnknown, int16 msgId, uint16 type) in Output() argument
99 .msgId = msgId, in Output()
127 void HiviewSendMessage(const char *srvName, int16 msgId, uint16 msgValue) in HiviewSendMessage() argument
138 hiviewInfterface->Output((IUnknown *)hiviewInfterface, msgId, msgValue); in HiviewSendMessage()
Dhiview_service.h50 void (*Output)(IUnknown *iUnknown, int16 msgId, uint16 type);
64 void HiviewSendMessage(const char *srvName, int16 msgId, uint16 msgValue);
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_event_manager.cpp76 NotifyCoordinationMessage(info->sess, info->msgId, info->userData, networkId, msg); in OnCoordinationMessage()
87 NotifyCoordinationMessage(info->sess, info->msgId, info->userData, networkId, msg); in OnEnable()
97 NotifyCoordinationMessage(info->sess, info->msgId, info->userData, networkId, msg); in OnStart()
107 NotifyCoordinationMessage(info->sess, info->msgId, info->userData, networkId, msg); in OnStop()
117 NotifyCoordinationState(info->sess, info->msgId, info->userData, state); in OnGetCrossingSwitchState()
126 NotifyCoordinationMessage(info->sess, info->msgId, info->userData, "", msg); in OnErrorMessage()
141 …SessionPtr sess, MessageId msgId, int32_t userData, const std::string &networkId, CoordinationMess… in NotifyCoordinationMessage() argument
145 NetPacket pkt(msgId); in NotifyCoordinationMessage()
159 void CoordinationEventManager::NotifyCoordinationState(SessionPtr sess, MessageId msgId, int32_t us… in NotifyCoordinationState() argument
163 NetPacket pkt(msgId); in NotifyCoordinationState()
Dcoordination.cpp48 event->msgId = MessageId::COORDINATION_MESSAGE; in ActivateCoordination()
65 event->msgId = MessageId::COORDINATION_MESSAGE; in DeactivateCoordination()
82 event->msgId = MessageId::COORDINATION_GET_STATE; in GetCoordinationState()
98 event->msgId = MessageId::COORDINATION_ADD_LISTENER; in RegisterCoordinationListener()
/base/msdp/device_status/intention/cooperate/plugin/src/
Devent_manager.cpp38 eventInfo->msgId = MessageId::COORDINATION_ADD_LISTENER; in RegisterListener()
83 eventInfo->msgId = MessageId::COORDINATION_MESSAGE; in StartCooperate()
98 …NotifyCooperateMessage(eventInfo->pid, eventInfo->msgId, eventInfo->userData, eventInfo->networkId… in StartCooperateFinish()
128 eventInfo->msgId = MessageId::COORDINATION_MESSAGE; in StopCooperate()
142 …NotifyCooperateMessage(eventInfo->pid, eventInfo->msgId, eventInfo->userData, eventInfo->networkId… in StopCooperateFinish()
177 … FI_HILOGD("Notify cooperate listener (%{public}d, %{public}d)", listener->pid, listener->msgId); in OnCooperateMessage()
178 NotifyCooperateMessage(listener->pid, listener->msgId, listener->userData, networkId, msg); in OnCooperateMessage()
182 void EventManager::NotifyCooperateMessage(int32_t pid, MessageId msgId, int32_t userData, in NotifyCooperateMessage() argument
188 NetPacket pkt(msgId); in NotifyCooperateMessage()
199 void EventManager::NotifyCooperateState(int32_t pid, MessageId msgId, int32_t userData, bool state) in NotifyCooperateState() argument
[all …]
Dhot_area.cpp40 .msgId = MessageId::HOT_AREA_ADD_LISTENER, in AddListener()
132 NotifyHotAreaMessage(callback.pid, callback.msgId, msg, isEdge); in OnHotAreaMessage()
136 void HotArea::NotifyHotAreaMessage(int32_t pid, MessageId msgId, HotAreaType msg, bool isEdge) in NotifyHotAreaMessage() argument
141 NetPacket pkt(msgId); in NotifyHotAreaMessage()
/base/location/services/location_locator/locator/source/
Dgeo_convert_proxy.cpp63 int GeoConvertProxy::SendSimpleMsg(const int msgId, MessageParcel& reply) in SendSimpleMsg() argument
73 error = SendMsgWithDataReply(msgId, data, reply); in SendSimpleMsg()
77 int GeoConvertProxy::SendMsgWithDataReply(const int msgId, MessageParcel& data, MessageParcel& repl… in SendMsgWithDataReply() argument
87 error = remote->SendRequest(msgId, data, reply, option); in SendMsgWithDataReply()
92 bool GeoConvertProxy::SendSimpleMsgAndParseResult(const int msgId) in SendSimpleMsgAndParseResult() argument
96 int error = SendSimpleMsg(msgId, reply); in SendSimpleMsgAndParseResult()
/base/msdp/device_status/services/interaction/drag/src/
Dstate_change_notify.cpp65 OnDragInfoNotify(info->session, info->msgId, style); in StyleChangedNotify()
81 OnDragInfoNotify(info->session, info->msgId, state); in StateChangedNotify()
88 void StateChangeNotify::OnDragInfoNotify(SocketSessionPtr session, MessageId msgId, T t) in OnDragInfoNotify() argument
90 void StateChangeNotify::OnDragInfoNotify(SessionPtr session, MessageId msgId, T t) in OnDragInfoNotify()
95 NetPacket pkt(msgId); in OnDragInfoNotify()
/base/telephony/sms_mms/services/sms/
Dgsm_cb_codec.cpp50 cbHeader_->msgId == codec.cbHeader_->msgId; in operator ==()
401 std::string cbMsgId("msgId:" + std::to_string(cbHeader_->msgId)); in ToString()
441 if (cbHeader_->msgId >= PWS_FIRST_ID && cbHeader_->msgId <= PWS_LAST_ID) { in GetPriority()
477 cbCategoty = cbHeader_->msgId; in GetServiceCategory()
507 etws = ((cbHeader_->msgId & ETWS_TYPE_MASK) == ETWS_TYPE); in IsEtwsMessage()
517 cmas = ((cbHeader_->msgId >= CMAS_FIRST_ID) && (cbHeader_->msgId <= CMAS_LAST_ID)); in IsCmasMessage()
545 uint16_t msgId = 0; in GetCmasSeverity() local
546 if (!GetMessageId(msgId)) { in GetCmasSeverity()
550 switch (static_cast<CmasMsgType>(msgId)) { in GetCmasSeverity()
580 uint16_t msgId = 0; in GetCmasUrgency() local
[all …]
Dgsm_cb_gsm_codec.cpp84 cbHeader_->msgId = (temp << HEX_VALUE_08) | oneByte; in Decode2gHeader()
85 …if ((cbHeader_->msgId & HEX_VALUE_FFF8) == GSM_ETWS_BASE_MASK && cbPduBuffer_->GetSize() <= MAX_ET… in Decode2gHeader()
109 if (cbHeader_->msgId >= GSM_ETWS_BASE_MASK) { in Decode2gHeaderEtws()
110 cbHeader_->warningType = cbHeader_->msgId - GSM_ETWS_BASE_MASK; in Decode2gHeaderEtws()
161 if ((cbHeader_->msgId & HEX_VALUE_FFF8) == GSM_ETWS_BASE_MASK) { in Decode2gHeaderCommonCb()
164 if (cbHeader_->msgId >= GSM_ETWS_BASE_MASK) { in Decode2gHeaderCommonCb()
165 cbHeader_->warningType = cbHeader_->msgId - GSM_ETWS_BASE_MASK; in Decode2gHeaderCommonCb()
/base/location/services/location_locator/locator/include/
Dgeo_convert_proxy.h40 bool SendSimpleMsgAndParseResult(const int msgId);
41 int SendSimpleMsg(const int msgId, MessageParcel& reply);
42 int SendMsgWithDataReply(const int msgId, MessageParcel& data, MessageParcel& reply);
/base/telephony/sms_mms/test/gtest/
Dzero_branch_cb_test.cpp124 cbCodec->cbHeader_->msgId = PWS_FIRST_ID;
143 smsCbMessage->cbHeader_->msgId = GsmCbCodec::CmasMsgType::EXTREME_OBSERVED;
146 smsCbMessage->cbHeader_->msgId = GsmCbCodec::CmasMsgType::EXTREME_OBSERVED_SPANISH;
149 smsCbMessage->cbHeader_->msgId = GsmCbCodec::CmasMsgType::EXTREME_LIKELY;
152 smsCbMessage->cbHeader_->msgId = GsmCbCodec::CmasMsgType::EXTREME_LIKELY_SPANISH;
155 smsCbMessage->cbHeader_->msgId = GsmCbCodec::CmasMsgType::EXTREME_OBSERVED;
158 smsCbMessage->cbHeader_->msgId = GsmCbCodec::CmasMsgType::SEVERE_OBSERVED_SPANISH;
161 smsCbMessage->cbHeader_->msgId = GsmCbCodec::CmasMsgType::SEVERE_LIKELY;
164 smsCbMessage->cbHeader_->msgId = GsmCbCodec::CmasMsgType::SEVERE_LIKELY_SPANISH;
167 smsCbMessage->cbHeader_->msgId = GsmCbCodec::CmasMsgType::ALERT_OBSERVED_DEFUALT;
[all …]
/base/location/interfaces/inner_api/include/
Dlocator_proxy.h80 int SendMsgWithDataReply(const int msgId, MessageParcel& data, MessageParcel& reply);
81 int SendMsgWithReply(const int msgId, MessageParcel& reply);
82 int SendSimpleMsg(const int msgId);
83 int SendRegisterMsgToRemote(const int msgId, const sptr<IRemoteObject>& callback, pid_t uid);
122 …LocationErrCode SendMsgWithDataReplyV9(const int msgId, MessageParcel& data, MessageParcel& reply);
123 LocationErrCode SendMsgWithReplyV9(const int msgId, MessageParcel& reply);
124 LocationErrCode SendSimpleMsgV9(const int msgId);
125 LocationErrCode SendRegisterMsgToRemoteV9(const int msgId, const sptr<IRemoteObject>& callback);
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_teleservice_message.cpp82 SmsTeleSvcMsgId msgId; in GetMessageType() local
83 CdmaSmsMessageId messageId(msgId, type); in GetMessageType()
103 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in CdmaSmsSubmitMessage()
105 parameter_.push_back(std::make_unique<CdmaSmsUserData>(msg.userData, msg.msgId.headerInd)); in CdmaSmsSubmitMessage()
141 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in CdmaSmsSubmitMessage()
143 … parameter_.push_back(std::make_unique<CdmaSmsUserData>(msg.userData, msg.msgId.headerInd)); in CdmaSmsSubmitMessage()
182 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in CdmaSmsCancelMessage()
189 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in CdmaSmsDeliverReport()
196 parameter_.push_back(std::make_unique<CdmaSmsUserData>(msg.userData, msg.msgId.headerInd)); in CdmaSmsDeliverReport()
221 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in PushParameter()
[all …]
/base/msdp/device_status/intention/cooperate/test/utils/
Dcooperate_client_test.cpp184 MessageId msgId = MessageId::COORDINATION_ADD_LISTENER; variable
185 NetPacket pkt(msgId);
209 MessageId msgId = MessageId::COORDINATION_ADD_LISTENER; variable
210 NetPacket pkt(msgId);
234 MessageId msgId = MessageId::COORDINATION_ADD_LISTENER; variable
235 NetPacket pkt(msgId);
259 MessageId msgId = MessageId::COORDINATION_ADD_LISTENER; variable
260 NetPacket pkt(msgId);
/base/msdp/device_status/utils/ipc/src/
Dnet_packet.cpp20 NetPacket::NetPacket(MessageId msgId) : msgId_(msgId) {} in NetPacket() argument
/base/startup/appspawn/interfaces/innerkits_new/client/
Dappspawn_client.c136 APPSPAWN_CHECK_ONLY_LOG(sendMsgId == msg->msgHdr.msgId, in ReadMessage()
137 "Invalid msg recvd %{public}u %{public}u", sendMsgId, msg->msgHdr.msgId); in ReadMessage()
159 …AWN_LOGV("HandleMsgSend reqId: %{public}u msgId: %{public}d", reqNode->reqId, reqNode->msg->msgId); in HandleMsgSend()
167 ret, reqNode->msg->msgId, reqNode->msg->msgLen, currentIndex); in HandleMsgSend()
173 reqNode->reqId, reqNode->msg->msgId, ret); in HandleMsgSend()
209 if (reqNode->msg->msgId == 0) { in ClientSendMsg()
210 reqNode->msg->msgId = reqMgr->msgNextId++; in ClientSendMsg()
214 ret = ReadMessage(reqMgr->socketId, reqNode->msg->msgId, in ClientSendMsg()
224 reqNode->msg->msgId = 0; in ClientSendMsg()
/base/powermgr/battery_lite/services/src/
Dbattery_manage_service.c68 ((BatteryServiceMsgID)(request->msgId) >= BATT_SRV_MSG_ID_MAX)) { in MessageHandle()
71 switch (request->msgId) { in MessageHandle()
102 .msgId = BATT_SRV_MSG_UPDATE, in BatteryMonitorHandle()
/base/msdp/device_status/services/interaction/drag/include/
Dstate_change_notify.h44 MessageId msgId { MessageId::INVALID };
68 void OnDragInfoNotify(SocketSessionPtr session, MessageId msgId, T t);
70 void OnDragInfoNotify(SessionPtr session, MessageId msgId, T t);
/base/telephony/sms_mms/services/sms/include/cdma/
Dcdma_sms_common.h238 uint16_t msgId; member
331 SmsTeleSvcMsgId msgId; member
352 SmsTeleSvcMsgId msgId; member
367 SmsTeleSvcMsgId msgId; member
371 SmsTeleSvcMsgId msgId; member
380 SmsTeleSvcMsgId msgId; member
388 SmsTeleSvcMsgId msgId; member
396 SmsTeleSvcMsgId msgId; member
/base/msdp/device_status/services/interaction/coordination/include/
Dcoordination_event_manager.h42 MessageId msgId { MessageId::INVALID };
63 void NotifyCoordinationMessage(SessionPtr sess, MessageId msgId, int32_t userData,
65 void NotifyCoordinationState(SessionPtr sess, MessageId msgId, int32_t userData, bool state);
/base/msdp/device_status/intention/cooperate/plugin/include/
Devent_manager.h44 MessageId msgId { MessageId::INVALID };
74 void NotifyCooperateMessage(int32_t pid, MessageId msgId, int32_t userData,
76 void NotifyCooperateState(int32_t pid, MessageId msgId, int32_t userData, bool state);
/base/security/access_token/services/privacymanager/src/sensitive/camera_manager/
Dcamera_service_callback_stub.cpp45 …PrivacyCameraMuteServiceInterfaceCode msgId = static_cast<PrivacyCameraMuteServiceInterfaceCode>(c… in OnRemoteRequest() local
46 switch (msgId) { in OnRemoteRequest()
/base/telephony/sms_mms/test/unittest/
Dcdma_sms_test.cpp55 transMsg->data.p2p.telesvcMsg.data.submit.msgId.headerInd = true; in SetPduSeqInfo()
346 cout << s << " msgId : " << static_cast<int>(deliver.msgId.msgId) << endl; in PrintTeleserviceDeliver()
347 cout << s << " headerInd : " << static_cast<int>(deliver.msgId.headerInd) << endl; in PrintTeleserviceDeliver()
374 cout << s << " msgId : " << static_cast<int>(submit.msgId.msgId) << endl; in PrintTeleserviceSubmit()
375 cout << s << " headerInd : " << static_cast<int>(submit.msgId.headerInd) << endl; in PrintTeleserviceSubmit()
392 cout << s << " msgId : " << static_cast<int>(deliveryAck.msgId.msgId) << endl; in PrintTeleserviceDeliverAck()
393 cout << s << " headerInd : " << static_cast<int>(deliveryAck.msgId.headerInd) << endl; in PrintTeleserviceDeliverAck()
419 … cout << s << " msgId : " << static_cast<int>(telesvcMsg.data.cancel.msgId.msgId) << endl; in PrintTelesvc()
420 … cout << s << " headerInd : " << static_cast<int>(telesvcMsg.data.cancel.msgId.headerInd) << endl; in PrintTelesvc()
428 …out << s << " msgId : " << static_cast<int>(telesvcMsg.data.report.msgId.msgId) << endl; in PrintTelesvc()
[all …]
/base/inputmethod/imf/common/src/
Dmessage.cpp24 Message::Message(int32_t msgId, MessageParcel *msgContent) in Message() argument
26 msgId_ = msgId; in Message()

1234