/base/telephony/core_service/test/unittest/tel_ril_gtest/ |
D | tel_ril_test.cpp | 213 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/ |
D | core_manager_inner.h | 53 …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/ |
D | le_asynctask.c | 27 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/ |
D | core_manager_inner.cpp | 167 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/ |
D | dmd_report.cpp | 44 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/ |
D | dmd_report.cpp | 48 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/ |
D | face_auth_req.cpp | 84 …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()
|
D | face_auth_manager.cpp | 221 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/ |
D | tel_ril_sms.cpp | 603 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 …]
|
D | tel_ril_call.cpp | 119 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 …]
|
D | tel_ril_network.cpp | 263 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 …]
|
D | tel_ril_sim.cpp | 135 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 …]
|
D | tel_ril_base.cpp | 174 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()
|
D | tel_ril_data.cpp | 63 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/ |
D | platform_callback_stub.cpp | 43 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/ |
D | hiview_event.c | 51 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/ |
D | face_auth_req.h | 35 FaceOperateType GetOperateType(uint32_t eventId); 38 bool isCanceled(uint32_t eventId, int32_t uId);
|
/base/telephony/cellular_call/services/manager/src/ |
D | cellular_call_handler.cpp | 220 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/ |
D | sms_network_policy_manager.cpp | 87 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()
|
D | sms_receive_handler.cpp | 50 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/ |
D | hiview_event.h | 44 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/ |
D | ims_callback_stub.cpp | 742 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/ |
D | call_status_manager.cpp | 161 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/ |
D | tel_ril_base.h | 142 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/ |
D | icc_file_controller.h | 75 …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);
|