/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
H A D | ril_call_test.cpp | 1071 DtmfInfo dtmfInfo = {}; in HWTEST_F() local 1072 dtmfInfo.callId = 0; in HWTEST_F() 1073 dtmfInfo.dtmfKey = "#"; in HWTEST_F() 1074 dtmfInfo.onLength = 300; in HWTEST_F() 1075 dtmfInfo.offLength = 0; in HWTEST_F() 1076 dtmfInfo.stringLength = 1; in HWTEST_F() 1077 int32_t ret = g_rilInterface->SendDtmf(SLOTID_1, RilTestUtil::GetSerialId(), dtmfInfo); in HWTEST_F() 1093 DtmfInfo dtmfInfo = {}; in HWTEST_F() local 1094 dtmfInfo.callId = 0; in HWTEST_F() 1095 dtmfInfo in HWTEST_F() 1115 DtmfInfo dtmfInfo = {}; HWTEST_F() local 1134 DtmfInfo dtmfInfo = {}; HWTEST_F() local 1153 DtmfInfo dtmfInfo = {}; HWTEST_F() local 1172 DtmfInfo dtmfInfo = {}; HWTEST_F() local [all...] |
/base/telephony/core_service/services/tel_ril/src/ |
H A D | tel_ril_call.cpp | 455 HDI::Ril::V1_1::DtmfInfo dtmfInfo = {}; in SendDtmfString() local 456 dtmfInfo.callId = index; in SendDtmfString() 457 dtmfInfo.dtmfKey = sDTMFCode; in SendDtmfString() 458 dtmfInfo.onLength = switchOn; in SendDtmfString() 459 dtmfInfo.offLength = switchOff; in SendDtmfString() 460 dtmfInfo.stringLength = sDTMFCode.length(); in SendDtmfString() 461 return Request(TELEPHONY_LOG_FUNC_NAME, result, &HDI::Ril::V1_1::IRil::SendDtmf, dtmfInfo); in SendDtmfString() 470 HDI::Ril::V1_1::DtmfInfo dtmfInfo = {}; in SendDtmf() local 471 dtmfInfo.callId = index; in SendDtmf() 472 dtmfInfo in SendDtmf() 485 HDI::Ril::V1_1::DtmfInfo dtmfInfo = {}; StartDtmf() local 497 HDI::Ril::V1_1::DtmfInfo dtmfInfo = {}; StopDtmf() local [all...] |
/base/telephony/ril_adapter/test/unittest/ |
H A D | ril_interface_test.cpp | 328 DtmfInfo dtmfInfo = {};
in SendDtmfTest() local 329 dtmfInfo.callId = 1;
in SendDtmfTest() 330 dtmfInfo.onLength = DTMF_ON_LEN;
in SendDtmfTest() 331 dtmfInfo.offLength = 0;
in SendDtmfTest() 332 dtmfInfo.stringLength = 1;
in SendDtmfTest() 334 cin >> dtmfInfo.dtmfKey;
in SendDtmfTest() 335 cout << endl << "====>Send Dtmf Key: " << dtmfInfo.dtmfKey << endl;
in SendDtmfTest() 337 int ret = g_rilInterface->SendDtmf(slotId, GetSerialId(), dtmfInfo);
in SendDtmfTest() 344 DtmfInfo dtmfInfo = {};
in StartDtmfTest() local 345 dtmfInfo in StartDtmfTest() 356 DtmfInfo dtmfInfo = {}; StopDtmfTest() local [all...] |
/base/telephony/ril_adapter/services/hril/src/ |
H A D | hril_call.cpp | 376 int32_t HRilCall::StartDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo) in StartDtmf() argument 379 info.callId = dtmfInfo.callId; in StartDtmf() 380 info.dtmfKey = StringToCString(dtmfInfo.dtmfKey); in StartDtmf() 384 int32_t HRilCall::SendDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo) in SendDtmf() argument 387 info.callId = dtmfInfo.callId; in SendDtmf() 388 info.dtmfKey = StringToCString(dtmfInfo.dtmfKey); in SendDtmf() 389 info.onLength = dtmfInfo.onLength; in SendDtmf() 390 info.offLength = dtmfInfo.offLength; in SendDtmf() 391 info.stringLength = dtmfInfo.stringLength; in SendDtmf() 395 int32_t HRilCall::StopDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo) in StopDtmf() argument [all...] |
H A D | hril_manager.cpp | 550 int32_t HRilManager::SendDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo) in SendDtmf() argument 552 return TaskSchedule(MODULE_HRIL_CALL, hrilCall_[slotId], &HRilCall::SendDtmf, serialId, dtmfInfo); in SendDtmf() 555 int32_t HRilManager::StartDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo) in StartDtmf() argument 557 return TaskSchedule(MODULE_HRIL_CALL, hrilCall_[slotId], &HRilCall::StartDtmf, serialId, dtmfInfo); in StartDtmf() 560 int32_t HRilManager::StopDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo) in StopDtmf() argument 562 return TaskSchedule(MODULE_HRIL_CALL, hrilCall_[slotId], &HRilCall::StopDtmf, serialId, dtmfInfo); in StopDtmf()
|
/base/telephony/ril_adapter/services/hril/include/ |
H A D | hril_call.h | 61 int32_t StartDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo); 62 int32_t SendDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo); 63 int32_t StopDtmf(int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo);
|
H A D | hril_manager.h | 105 int32_t SendDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo); 106 int32_t StartDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo); 107 int32_t StopDtmf(int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_1::DtmfInfo &dtmfInfo);
|