Home
last modified time | relevance | path

Searched refs:eventId (Results 1 – 25 of 75) sorted by relevance

123

/base/telephony/core_service/test/unittest/tel_ril_gtest/
Dtel_ril_test.cpp213 int32_t eventId = static_cast<int32_t>(RadioEvent::RADIO_CURRENT_CALLS); in CallGetCurrentCallsStatusTest() local
214 auto event = AppExecFwk::InnerEvent::Get(eventId); in CallGetCurrentCallsStatusTest()
220 bool syncResult = WaitGetResult(eventId, handler, WAIT_TIME_SECOND); in CallGetCurrentCallsStatusTest()
233 int32_t eventId = static_cast<int32_t>(RadioEvent::RADIO_SIM_GET_STATUS); in SimGetSimStatusTest() local
234 auto event = AppExecFwk::InnerEvent::Get(eventId); in SimGetSimStatusTest()
240 bool syncResult = WaitGetResult(eventId, handler, WAIT_TIME_SECOND); in SimGetSimStatusTest()
252 int32_t eventId = static_cast<int32_t>(RadioEvent::RADIO_SIM_IO); in SimIccIoTest() local
253 auto event = AppExecFwk::InnerEvent::Get(eventId); in SimIccIoTest()
268 bool syncResult = WaitGetResult(eventId, handler, WAIT_TIME_SECOND); in SimIccIoTest()
280 int32_t eventId = static_cast<int32_t>(RadioEvent::RADIO_SIM_GET_IMSI); in SimGetImsiTest() local
[all …]
/base/telephony/core_service/interfaces/innerkits/include/
Dcore_manager_inner.h53 …int32_t slotId, int32_t eventId, int fun, int rst, const std::shared_ptr<AppExecFwk::EventHandler>…
55 … int32_t slotId, int32_t eventId, const std::shared_ptr<AppExecFwk::EventHandler> &handler) const;
56 …int32_t ShutDown(int32_t slotId, int32_t eventId, const std::shared_ptr<AppExecFwk::EventHandler> …
58 … int32_t slotId, int32_t eventId, const std::shared_ptr<AppExecFwk::EventHandler> &handler) const;
59 int32_t Dial(int32_t slotId, int32_t eventId, std::string address, int clirMode,
61 …int32_t Reject(int32_t slotId, int32_t eventId, const std::shared_ptr<AppExecFwk::EventHandler> &h…
63 …int32_t slotId, int32_t eventId, int32_t gsmIndex, const std::shared_ptr<AppExecFwk::EventHandler>…
64 …int32_t Answer(int32_t slotId, int32_t eventId, const std::shared_ptr<AppExecFwk::EventHandler> &h…
66 … int32_t slotId, int32_t eventId, const std::shared_ptr<AppExecFwk::EventHandler> &handler) const;
67 …int32_t HoldCall(int32_t slotId, int32_t eventId, const std::shared_ptr<AppExecFwk::EventHandler> …
[all …]
/base/startup/init_lite/services/loopevent/task/
Dle_asynctask.c27 uint64_t eventId = *(uint64_t*)(buffer->data); in DoAsyncEvent_() local
29 asyncTask->processAsyncEvent((TaskHandle)asyncTask, eventId, in DoAsyncEvent_()
48 uint64_t eventId = 0; in HandleAsyncEvent_() local
49 int ret = read(GetSocketFd(taskHandle), &eventId, sizeof(eventId)); in HandleAsyncEvent_()
50 …LE_LOGV("HandleAsyncEvent_ read fd:%d ret: %d eventId %lu", GetSocketFd(taskHandle), ret, eventId); in HandleAsyncEvent_()
57 static uint64_t eventId = 0; in HandleAsyncEvent_() local
58 (void)write(GetSocketFd(taskHandle), &eventId, sizeof(eventId)); in HandleAsyncEvent_()
60 eventId++; in HandleAsyncEvent_()
97 const TaskHandle taskHandle, uint64_t eventId, const uint8_t *data, uint32_t buffLen) in LE_StartAsyncEvent() argument
100 BufferHandle handle = LE_CreateBuffer(loopHandle, buffLen + 1 + sizeof(eventId)); in LE_StartAsyncEvent()
[all …]
/base/telephony/core_service/frameworks/native/src/
Dcore_manager_inner.cpp167 int32_t CoreManagerInner::SetUssd(int32_t slotId, int32_t eventId, const std::string str, in SetUssd() argument
174 AppExecFwk::InnerEvent::Pointer response = AppExecFwk::InnerEvent::Get(eventId); in SetUssd()
180 int32_t slotId, int32_t eventId, const std::shared_ptr<AppExecFwk::EventHandler> &handler) const in GetUssd() argument
186 AppExecFwk::InnerEvent::Pointer response = AppExecFwk::InnerEvent::Get(eventId); in GetUssd()
192 int32_t slotId, int32_t eventId, const std::shared_ptr<AppExecFwk::EventHandler> &handler) const in GetMute() argument
198 AppExecFwk::InnerEvent::Pointer response = AppExecFwk::InnerEvent::Get(eventId); in GetMute()
204 …int32_t slotId, int32_t eventId, int32_t mute, const std::shared_ptr<AppExecFwk::EventHandler> &ha… in SetMute() argument
210 AppExecFwk::InnerEvent::Pointer response = AppExecFwk::InnerEvent::Get(eventId); in SetMute()
216 int32_t slotId, int32_t eventId, const std::shared_ptr<AppExecFwk::EventHandler> &handler) const in GetEmergencyCallList() argument
222 AppExecFwk::InnerEvent::Pointer response = AppExecFwk::InnerEvent::Get(eventId); in GetEmergencyCallList()
[all …]
/base/sensors/miscdevice/utils/src/
Ddmd_report.cpp44 static std::string GetEventName(int32_t eventId) in GetEventName() argument
46 switch (eventId) { in GetEventName()
64 void DmdReport::ReportException(int32_t eventId, const std::string &interfaceName, int32_t error) in ReportException() argument
68 auto eventIt = eventMap_.find(eventId); in ReportException()
70 HiLog::Error(LABEL, "%{public}s eventId : %{public}d doesn't support", __func__, eventId); in ReportException()
75 HiviewDFX::HiSysEvent::Write(HiviewDFX::HiSysEvent::Domain::SENSORS, GetEventName(eventId), in ReportException()
77 eventMap_[eventId] = curTime; in ReportException()
/base/sensors/sensor/utils/src/
Ddmd_report.cpp48 static std::string GetEventName(int32_t eventId) in GetEventName() argument
50 switch (eventId) { in GetEventName()
76 void DmdReport::ReportException(int32_t eventId, const std::string &interfaceName, int32_t error) in ReportException() argument
80 auto eventIt = eventMap_.find(eventId); in ReportException()
82 HiLog::Error(LABEL, "%{public}s eventId : %{public}d is not supported", __func__, eventId); in ReportException()
87 HiviewDFX::HiSysEvent::Write(HiviewDFX::HiSysEvent::Domain::SENSORS, GetEventName(eventId), in ReportException()
89 eventMap_[eventId] = curTime; in ReportException()
/base/user_iam/face_auth/services/faceauth/src/
Dface_auth_req.cpp84 …getMaskedString(reqType.reqId).c_str(), reqType.operateType, reqInfo.eventId, reqInfo.uId, reqInfo… in AddReqInfo()
121 FaceOperateType FaceAuthReq::GetOperateType(uint32_t eventId) in GetOperateType() argument
124 FACEAUTH_HILOGI(MODULE_SERVICE, "eventId is %{public}u", eventId); in GetOperateType()
126 if ((uint32_t)iter->second.eventId == eventId) { in GetOperateType()
140 return reqInfoList_[reqType].eventId; in GetEventId()
164 bool FaceAuthReq::isCanceled(uint32_t eventId, int32_t uId) in isCanceled() argument
167 FACEAUTH_HILOGI(MODULE_SERVICE, "eventId is %{public}u", eventId); in isCanceled()
170 if ((uint32_t)iter->second.eventId == eventId && uId == iter->second.uId) { in isCanceled()
175 eventId, uId); in isCanceled()
196 …MaskedString(iterinfo->first.reqId).c_str(), iterinfo->first.operateType, iterinfo->second.eventId, in PrintReqInfoList()
Dface_auth_manager.cpp221 faceInfo.eventId = GenerateEventId(); in AddAuthenticationRequest()
222 if (faceInfo.eventId == INVALID_EVENT_ID) { in AddAuthenticationRequest()
230 handler_->SendEvent(faceInfo.eventId, std::move(authInfo), priority); in AddAuthenticationRequest()
293 faceInfo.eventId = GenerateEventId(); in AddEnrollmentRequest()
294 if (faceInfo.eventId == INVALID_EVENT_ID) { in AddEnrollmentRequest()
302 handler_->SendEvent(faceInfo.eventId, std::move(authInfo), priority); in AddEnrollmentRequest()
365 faceInfo.eventId = GenerateEventId(); in AddRemoveRequest()
366 if (faceInfo.eventId == INVALID_EVENT_ID) { in AddRemoveRequest()
374 handler_->SendEvent(faceInfo.eventId, std::move(authInfo), priority); in AddRemoveRequest()
619 int32_t eventId = randomNum; in GenerateEventId() local
[all …]
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_sms.cpp603 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in SendGsmSmsResponse() local
604 int32_t ret = handler->SendEvent(eventId, sendSmsResultInfo); in SendGsmSmsResponse()
605 TELEPHONY_LOGI("GetInnerEventId:%{public}d, ret=%{public}d", eventId, ret); in SendGsmSmsResponse()
650 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in SendCdmaSmsResponse() local
651 int32_t ret = handler->SendEvent(eventId, sendSmsResultInfo); in SendCdmaSmsResponse()
652 TELEPHONY_LOGI("GetInnerEventId:%{public}d, ret=%{public}d", eventId, ret); in SendCdmaSmsResponse()
685 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in AddSimMessageResponse() local
686 int32_t ret = handler->SendEvent(eventId); in AddSimMessageResponse()
687 TELEPHONY_LOGI(" GetInnerEventId:%{public}d, ret=%{public}d", eventId, ret); in AddSimMessageResponse()
720 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in DelSimMessageResponse() local
[all …]
Dtel_ril_call.cpp119 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in AnswerResponse() local
122 handler->SendEvent(eventId, result); in AnswerResponse()
150 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in HoldCallResponse() local
153 handler->SendEvent(eventId, result); in HoldCallResponse()
181 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in UnHoldCallResponse() local
184 handler->SendEvent(eventId, result); in UnHoldCallResponse()
212 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in SwitchCallResponse() local
215 handler->SendEvent(eventId, result); in SwitchCallResponse()
252 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in GetCallListResponse() local
253 handler->SendEvent(eventId, callInfo); in GetCallListResponse()
[all …]
Dtel_ril_network.cpp263 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in GetNeighboringCellInfoListResponse() local
264 … TELEPHONY_LOGI("TelRilNetwork::GetNeighboringCellInfoListResponse eventId:%{public}d", eventId); in GetNeighboringCellInfoListResponse()
265 handler->SendEvent(eventId, cellListNearbyInfo); in GetNeighboringCellInfoListResponse()
301 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in GetCurrentCellInfoResponse() local
302 TELEPHONY_LOGI("TelRilNetwork::GetCurrentCellInfoResponse eventId:%{public}d", eventId); in GetCurrentCellInfoResponse()
303 handler->SendEvent(eventId, currentCellList); in GetCurrentCellInfoResponse()
524 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in GetImsRegStatusResponse() local
525 TELEPHONY_LOGI("TelRilNetwork::GetImsRegStatusResponse eventId:%{public}d", eventId); in GetImsRegStatusResponse()
527 handler->SendEvent(eventId, imsRegStatusInfo); in GetImsRegStatusResponse()
682 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in GetSignalStrengthResponse() local
[all …]
Dtel_ril_sim.cpp135 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in ErrorIccIoResponse() local
146 handler->SendEvent(eventId, object); in ErrorIccIoResponse()
166 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in ProcessIccIoInfo() local
180 handler->SendEvent(eventId, object); in ProcessIccIoInfo()
207 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in GetSimStatusResponse() local
208 handler->SendEvent(eventId, cardStatusInfo); in GetSimStatusResponse()
246 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in GetImsiResponse() local
247 handler->SendEvent(eventId, imsi); in GetImsiResponse()
281 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in GetSimLockStatusResponse() local
282 handler->SendEvent(eventId, SimLockStatus); in GetSimLockStatusResponse()
[all …]
Dtel_ril_base.cpp174 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in Response() local
175 …UserEvent userEvent = {funcName, *this, *handler, data, eventId, radioResponseInfo, *telRilRequest… in Response()
210 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in ErrorResponse() local
212 return handler->SendEvent(eventId, responseInfo); in ErrorResponse()
229 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in ErrorResponse() local
233 return handler->SendEvent(eventId, respInfo); in ErrorResponse()
263 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in TelRilOnlyReportResponseInfo() local
268 if (!handler->SendEvent(eventId, result)) { in TelRilOnlyReportResponseInfo()
269 TELEPHONY_LOGE("Send eventId:%{public}d is failed!", eventId); in TelRilOnlyReportResponseInfo()
Dtel_ril_data.cpp63 uint32_t eventId = response->GetInnerEventId(); in DataResponseError() local
68 if (!handler->SendEvent(eventId, respInfo)) { in DataResponseError()
69 TELEPHONY_LOGE("Send eventId:%{public}d is failed!", eventId); in DataResponseError()
169 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in ActivatePdpContextResponse() local
171 handler->SendEvent(eventId, setupDataCallResultInfo); in ActivatePdpContextResponse()
243 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in GetPdpContextListResponse() local
244 handler->SendEvent(eventId, dataCallResultList); in GetPdpContextListResponse()
341 uint32_t eventId = telRilRequest->pointer_->GetInnerEventId(); in GetLinkBandwidthInfoResponse() local
342 handler->SendEvent(eventId, dataLinkBandwidthInfo); in GetLinkBandwidthInfoResponse()
/base/miscservices/inputmethod/services/src/
Dplatform_callback_stub.cpp43 int eventId = data.ReadInt32(); in OnRemoteRequest() local
58 notifyEvent(eventId, userId, eventContent); in OnRemoteRequest()
68 …void PlatformCallbackStub::notifyEvent(int eventId, int userId, const std::vector<std::u16string>&… in notifyEvent() argument
71 switch (eventId) { in notifyEvent()
/base/hiviewdfx/hievent_lite/frameworks/
Dhiview_event.c51 void HiEventPrintf(uint8 type, uint16 eventId, int8 key, int32 value) in HiEventPrintf() argument
59 e.common.eventId = eventId; in HiEventPrintf()
73 HiEvent *HiEventCreate(uint8 type, uint16 eventId, uint8 num) in HiEventCreate() argument
90 event->common.eventId = eventId; in HiEventCreate()
/base/user_iam/face_auth/services/faceauth/include/
Dface_auth_req.h35 FaceOperateType GetOperateType(uint32_t eventId);
38 bool isCanceled(uint32_t eventId, int32_t uId);
/base/telephony/cellular_call/services/manager/src/
Dcellular_call_handler.cpp220 eventInfo.eventId = RequestResultEventId::RESULT_GET_CURRENT_CALLS_FAILED; in GetCsCallsDataResponse()
284 eventInfo.eventId = RequestResultEventId::RESULT_DIAL_NO_CARRIER; in DialResponse()
286 eventInfo.eventId = RequestResultEventId::RESULT_DIAL_SEND_FAILED; in DialResponse()
312 eventInfo.eventId = RequestResultEventId::RESULT_END_SEND_FAILED; in CommonResultResponse()
315 eventInfo.eventId = RequestResultEventId::RESULT_REJECT_SEND_FAILED; in CommonResultResponse()
318 eventInfo.eventId = RequestResultEventId::RESULT_ACCEPT_SEND_FAILED; in CommonResultResponse()
321 eventInfo.eventId = RequestResultEventId::RESULT_HOLD_SEND_FAILED; in CommonResultResponse()
324 eventInfo.eventId = RequestResultEventId::RESULT_ACTIVE_SEND_FAILED; in CommonResultResponse()
327 eventInfo.eventId = RequestResultEventId::RESULT_SWAP_SEND_FAILED; in CommonResultResponse()
330 eventInfo.eventId = RequestResultEventId::RESULT_JOIN_SEND_FAILED; in CommonResultResponse()
[all …]
/base/telephony/sms_mms/services/
Dsms_network_policy_manager.cpp87 int eventId = 0; in ProcessEvent() local
88 eventId = event->GetInnerEventId(); in ProcessEvent()
89 TELEPHONY_LOGI("SmsNetworkPolicyManager::ProcessEvent Handler Rec%{public}d", eventId); in ProcessEvent()
90 switch (eventId) { in ProcessEvent()
Dsms_receive_handler.cpp50 int eventId = 0; in ProcessEvent() local
51 eventId = event->GetInnerEventId(); in ProcessEvent()
52 TELEPHONY_LOGI("SmsReceiveHandler::ProcessEvent eventId = %{public}d", eventId); in ProcessEvent()
53 switch (eventId) { in ProcessEvent()
65 TELEPHONY_LOGE("SmsReceiveHandler::ProcessEvent Unknown eventId %{public}d", eventId); in ProcessEvent()
/base/hiviewdfx/hievent_lite/interfaces/native/innerkits/
Dhiview_event.h44 uint16 eventId; /* 0-65535 */ member
84 void HiEventPrintf(uint8 type, uint16 eventId, int8 key, int32 value);
96 HiEvent *HiEventCreate(uint8 type, uint16 eventId, uint8 num);
/base/telephony/cellular_call/ims_interfaces/src/
Dims_callback_stub.cpp742 eventInfo.eventId = RequestResultEventId::RESULT_DIAL_SEND_FAILED; in UpdateDialResponse()
760 eventInfo.eventId = RequestResultEventId::RESULT_END_SEND_FAILED; in UpdateHangUpResponse()
778 eventInfo.eventId = RequestResultEventId::RESULT_REJECT_SEND_FAILED; in UpdateRejectResponse()
796 eventInfo.eventId = RequestResultEventId::RESULT_ACCEPT_SEND_FAILED; in UpdateAnswerResponse()
814 eventInfo.eventId = RequestResultEventId::RESULT_HOLD_SEND_FAILED; in UpdateHoldResponse()
832 eventInfo.eventId = RequestResultEventId::RESULT_ACTIVE_SEND_FAILED; in UpdateUnHoldResponse()
850 eventInfo.eventId = RequestResultEventId::RESULT_SWAP_SEND_FAILED; in UpdateSwitchResponse()
868 eventInfo.eventId = RequestResultEventId::RESULT_JOIN_SEND_FAILED; in UpdateCombineConferenceResponse()
896 eventInfo.eventId = RequestResultEventId::RESULT_KICK_OUT_FROM_CONFERENCE_FAILED; in UpdateKickOutFromConferenceResponse()
898 eventInfo.eventId = RequestResultEventId::RESULT_KICK_OUT_FROM_CONFERENCE_SUCCESS; in UpdateKickOutFromConferenceResponse()
[all …]
/base/telephony/call_manager/services/call/src/
Dcall_status_manager.cpp161 TELEPHONY_LOGE("unexpected type event occurs, eventId:%{public}d", info.eventId); in HandleEventResultReportInfo()
164 TELEPHONY_LOGI("recv one Event, eventId:%{public}d", info.eventId); in HandleEventResultReportInfo()
167 if (mEventIdTransferMap_.find(info.eventId) != mEventIdTransferMap_.end()) { in HandleEventResultReportInfo()
168 eventInfo.eventId = mEventIdTransferMap_[info.eventId]; in HandleEventResultReportInfo()
170 if (eventInfo.eventId == CallAbilityEventId::EVENT_DIAL_NO_CARRIER) { in HandleEventResultReportInfo()
180 TELEPHONY_LOGW("unkown type Event, eventid %{public}d", info.eventId); in HandleEventResultReportInfo()
191 eventInfo.eventId = mOttEventIdTransferMap_[info.ottCallEventId]; in HandleOttEventReportInfo()
/base/telephony/core_service/services/tel_ril/include/
Dtel_ril_base.h142 uint32_t eventId);
175 …t32_t SendData(const char *funcName, EventHandler &handler, MessageParcel &data, uint32_t eventId);
251 …lBase::SendData(const char *funcName, EventHandler &handler, MessageParcel &data, uint32_t eventId) in SendData() argument
256 funcName, eventId, t->ToString(), ret, slotId_); in SendData()
257 return handler.SendEvent(eventId, t); in SendData()
/base/telephony/core_service/services/sim/include/
Dicc_file_controller.h75 …AppExecFwk::InnerEvent::Pointer BuildCallerInfo(int eventId, std::shared_ptr<IccControllerHolder> …
77 int eventId, int arg1, int arg2, std::shared_ptr<IccControllerHolder> &holderObject);
79 int eventId, int arg1, int arg2, const AppExecFwk::InnerEvent::Pointer &msg);

123