Home
last modified time | relevance | path

Searched refs:dtmfInfo (Results 1 – 7 of 7) sorted by relevance

/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_call.cpp382 HDI::Ril::V1_0::DtmfInfo dtmfInfo = {}; in SendDtmf() local
383 dtmfInfo.callId = index; in SendDtmf()
384 dtmfInfo.dtmfKey = sDTMFCode; in SendDtmf()
385 dtmfInfo.onLength = switchOn; in SendDtmf()
386 dtmfInfo.offLength = switchOff; in SendDtmf()
387 dtmfInfo.stringLength = sDTMFCode.length(); in SendDtmf()
388 …t(TELEPHONY_LOG_FUNC_NAME, result, HREQ_CALL_SEND_DTMF, &HDI::Ril::V1_0::IRil::SendDtmf, dtmfInfo); in SendDtmf()
397 HDI::Ril::V1_0::DtmfInfo dtmfInfo = {}; in SendDtmf() local
398 dtmfInfo.callId = index; in SendDtmf()
399 dtmfInfo.dtmfKey = dtmfKey; in SendDtmf()
[all …]
/base/telephony/ril_adapter/services/hril/src/
Dhril_call.cpp279 int32_t HRilCall::StartDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo) in StartDtmf() argument
282 info.callId = dtmfInfo.callId; in StartDtmf()
283 info.dtmfKey = StringToCString(dtmfInfo.dtmfKey); in StartDtmf()
287 int32_t HRilCall::SendDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo) in SendDtmf() argument
290 info.callId = dtmfInfo.callId; in SendDtmf()
291 info.dtmfKey = StringToCString(dtmfInfo.dtmfKey); in SendDtmf()
292 info.onLength = dtmfInfo.onLength; in SendDtmf()
293 info.offLength = dtmfInfo.offLength; in SendDtmf()
294 info.stringLength = dtmfInfo.stringLength; in SendDtmf()
298 int32_t HRilCall::StopDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo) in StopDtmf() argument
[all …]
Dhril_manager.cpp489 …Manager::SendDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo) in SendDtmf() argument
491 … return TaskSchedule(MODULE_HRIL_CALL, hrilCall_[slotId], &HRilCall::SendDtmf, serialId, dtmfInfo); in SendDtmf()
494 …anager::StartDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo) in StartDtmf() argument
496 …return TaskSchedule(MODULE_HRIL_CALL, hrilCall_[slotId], &HRilCall::StartDtmf, serialId, dtmfInfo); in StartDtmf()
499 …Manager::StopDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo) in StopDtmf() argument
501 … return TaskSchedule(MODULE_HRIL_CALL, hrilCall_[slotId], &HRilCall::StopDtmf, serialId, dtmfInfo); in StopDtmf()
/base/telephony/ril_adapter/test/unittest/
Dril_interface_test.cpp319 DtmfInfo dtmfInfo = {}; in SendDtmfTest() local
320 dtmfInfo.callId = 1; in SendDtmfTest()
321 dtmfInfo.onLength = DTMF_ON_LEN; in SendDtmfTest()
322 dtmfInfo.offLength = 0; in SendDtmfTest()
323 dtmfInfo.stringLength = 1; in SendDtmfTest()
325 cin >> dtmfInfo.dtmfKey; in SendDtmfTest()
326 cout << endl << "====>Send Dtmf Key: " << dtmfInfo.dtmfKey << endl; in SendDtmfTest()
328 int ret = g_rilInterface->SendDtmf(slotId, GetSerialId(), dtmfInfo); in SendDtmfTest()
335 DtmfInfo dtmfInfo = {}; in StartDtmfTest() local
336 dtmfInfo.callId = 1; in StartDtmfTest()
[all …]
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
Dril_interface_test.cpp1147 DtmfInfo dtmfInfo = {}; variable
1148 dtmfInfo.callId = 0;
1149 dtmfInfo.dtmfKey = "#";
1150 dtmfInfo.onLength = 300;
1151 dtmfInfo.offLength = 0;
1152 dtmfInfo.stringLength = 1;
1153 int32_t ret = g_rilInterface->SendDtmf(SLOTID_1, GetSerialId(), dtmfInfo);
1169 DtmfInfo dtmfInfo = {}; variable
1170 dtmfInfo.callId = 0;
1171 dtmfInfo.dtmfKey = "#";
[all …]
/base/telephony/ril_adapter/services/hril/include/
Dhril_call.h62 int32_t StartDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo);
63 int32_t SendDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo);
64 int32_t StopDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo);
Dhril_manager.h100 …int32_t SendDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo);
101 …nt32_t StartDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo);
102 …int32_t StopDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_0::DtmfInfo &dtmfInfo);