Home
last modified time | relevance | path

Searched refs:ussdNoticeInfo (Results 1 – 12 of 12) sorted by relevance

/base/telephony/cellular_call/services/control/src/
Dcellular_call_supplement.cpp789 void CellularCallSupplement::EventUssdNotify(UssdNoticeInfo &ussdNoticeInfo) in EventUssdNotify() argument
793 … bool isUssdError = ussdNoticeInfo.m != USSD_MODE_NOTIFY && ussdNoticeInfo.m != USSD_MODE_REQUEST; in EventUssdNotify()
794 if (!isUssdError && !ussdNoticeInfo.str.empty()) { in EventUssdNotify()
796 size_t cpyLen = strlen(ussdNoticeInfo.str.c_str()) + 1; in EventUssdNotify()
797 if (strcpy_s(mmiCodeInfo.message, cpyLen, ussdNoticeInfo.str.c_str()) != EOK) { in EventUssdNotify()
801 } else if (isUssdError && !(ussdNoticeInfo.m == USSD_MODE_NW_RELEASE)) { in EventUssdNotify()
/base/telephony/cellular_call/services/control/include/
Dcellular_call_supplement.h332 void EventUssdNotify(UssdNoticeInfo &ussdNoticeInfo);
/base/telephony/ril_adapter/services/hril/src/
Dhril_call.cpp736 HDI::Ril::V1_0::UssdNoticeInfo ussdNoticeInfo = {}; in CallUssdNotice() local
738 ussdNoticeInfo.type = hUssdNoticeInfo->m; in CallUssdNotice()
739 ussdNoticeInfo.message = hUssdNoticeInfo->str == nullptr ? "" : hUssdNoticeInfo->str; in CallUssdNotice()
740 return Notify(notifyType, error, &HDI::Ril::V1_0::IRilCallback::CallUssdNotice, ussdNoticeInfo); in CallUssdNotice()
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_call.cpp468 int32_t TelRilCall::CallUssdNotice(const HDI::Ril::V1_0::UssdNoticeInfo &ussdNoticeInfo) in CallUssdNotice() argument
475 ussdNotice->m = ussdNoticeInfo.type; in CallUssdNotice()
476 ussdNotice->str = ussdNoticeInfo.message; in CallUssdNotice()
Dtel_ril_callback.cpp59 …il::V1_0::RilRadioResponseInfo &responseInfo, const HDI::Ril::V1_0::UssdNoticeInfo &ussdNoticeInfo) in CallUssdNotice() argument
61 …n Notify(responseInfo, &TelRilManager::GetTelRilCall, &TelRilCall::CallUssdNotice, ussdNoticeInfo); in CallUssdNotice()
/base/telephony/ril_adapter/services/vendor/src/
Dat_call.c260 HRilUssdNoticeInfo ussdNoticeInfo = {0}; in ReportCallUssdNotice() local
267 if (NextInt(&pStr, &ussdNoticeInfo.m) < 0) { in ReportCallUssdNotice()
270 if (NextStr(&pStr, &ussdNoticeInfo.str) < 0) { in ReportCallUssdNotice()
275 …OnCallReport(GetSlotId(NULL), reportInfo, (const uint8_t *)&ussdNoticeInfo, sizeof(HRilUssdNoticeI… in ReportCallUssdNotice()
/base/telephony/core_service/services/tel_ril/include/
Dtel_ril_call.h113 int32_t CallUssdNotice(const HDI::Ril::V1_0::UssdNoticeInfo &ussdNoticeInfo);
Dtel_ril_callback.h39 const HDI::Ril::V1_0::UssdNoticeInfo &ussdNoticeInfo) override;
/base/telephony/ril_adapter/test/unittest/
Dril_callback_test.cpp666 …est::CallUssdNotice(const RilRadioResponseInfo &responseInfo, const UssdNoticeInfo &ussdNoticeInfo) in CallUssdNotice() argument
669 cout << "[ussdNoticeInfo] -->[type] : " << ussdNoticeInfo.type << endl; in CallUssdNotice()
670 cout << "[ussdNoticeInfo] -->[message] : " << ussdNoticeInfo.message << endl; in CallUssdNotice()
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
Dril_callback_test.cpp735 …est::CallUssdNotice(const RilRadioResponseInfo &responseInfo, const UssdNoticeInfo &ussdNoticeInfo) in CallUssdNotice() argument
738 responseInfo.slotId, ussdNoticeInfo.type, ussdNoticeInfo.message.c_str()); in CallUssdNotice()
/base/telephony/ril_adapter/test/unittest/include/
Dril_callback_test.h40 const HDI::Ril::V1_0::UssdNoticeInfo &ussdNoticeInfo) override;
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/include/
Dril_callback_test.h247 const HDI::Ril::V1_0::UssdNoticeInfo &ussdNoticeInfo) override;