/base/telephony/cellular_call/services/control/src/ |
H A D | satellite_control.cpp | 185 int32_t SatelliteControl::ReportSatelliteCallsData(int32_t slotId, const SatelliteCurrentCallList &callInfoList) in ReportSatelliteCallsData() argument 188 if (callInfoList.callSize <= 0) { in ReportSatelliteCallsData() 190 } else if (callInfoList.callSize > 0 && connectionMap_.empty()) { in ReportSatelliteCallsData() 191 return ReportIncomingInfo(slotId, callInfoList); in ReportSatelliteCallsData() 192 } else if (callInfoList.callSize > 0 && !connectionMap_.empty()) { in ReportSatelliteCallsData() 193 return ReportUpdateInfo(slotId, callInfoList); in ReportSatelliteCallsData() 198 int32_t SatelliteControl::ReportUpdateInfo(int32_t slotId, const SatelliteCurrentCallList &callInfoList) in ReportUpdateInfo() argument 202 for (int32_t i = 0; i < callInfoList.callSize; ++i) { in ReportUpdateInfo() 203 CallReportInfo reportInfo = EncapsulationCallReportInfo(slotId, callInfoList.calls[i]); in ReportUpdateInfo() 206 connectionMap_, callInfoList in ReportUpdateInfo() 234 DeleteConnection(CallsReportInfo &callsReportInfo, const SatelliteCurrentCallList &callInfoList) DeleteConnection() argument 278 ReportIncomingInfo(int32_t slotId, const SatelliteCurrentCallList &callInfoList) ReportIncomingInfo() argument 416 ReportCallsData(int32_t slotId, const CallInfoList &callInfoList) ReportCallsData() argument [all...] |
H A D | cs_control.cpp | 433 int32_t CSControl::ReportCallsData(int32_t slotId, const CallInfoList &callInfoList) in ReportCallsData() argument 436 if (callInfoList.callSize <= 0) { in ReportCallsData() 438 } else if (callInfoList.callSize > 0 && connectionMap_.empty()) { in ReportCallsData() 439 return ReportIncomingInfo(slotId, callInfoList); in ReportCallsData() 440 } else if (callInfoList.callSize > 0 && !connectionMap_.empty()) { in ReportCallsData() 441 return ReportUpdateInfo(slotId, callInfoList); in ReportCallsData() 446 int32_t CSControl::ReportUpdateInfo(int32_t slotId, const CallInfoList &callInfoList) in ReportUpdateInfo() argument 450 for (int32_t i = 0; i < callInfoList.callSize; ++i) { in ReportUpdateInfo() 451 CallReportInfo reportInfo = EncapsulationCallReportInfo(slotId, callInfoList.calls[i]); in ReportUpdateInfo() 452 if (callInfoList in ReportUpdateInfo() 492 DeleteConnection(CallsReportInfo &callsReportInfo, const CallInfoList &callInfoList) DeleteConnection() argument 555 ReportIncomingInfo(int32_t slotId, const CallInfoList &callInfoList) ReportIncomingInfo() argument [all...] |
H A D | ims_control.cpp | 349 int32_t IMSControl::ReportImsCallsData(int32_t slotId, const ImsCurrentCallList &callInfoList) in ReportImsCallsData() argument 352 if (callInfoList.callSize <= 0) { in ReportImsCallsData() 354 } else if (callInfoList.callSize > 0 && connectionMap_.empty()) { in ReportImsCallsData() 355 return ReportIncomingInfo(slotId, callInfoList); in ReportImsCallsData() 356 } else if (callInfoList.callSize > 0 && !connectionMap_.empty()) { in ReportImsCallsData() 357 return ReportUpdateInfo(slotId, callInfoList); in ReportImsCallsData() 362 int32_t IMSControl::ReportCallsData(int32_t slotId, const CallInfoList &callInfoList) in ReportCallsData() argument 429 int32_t IMSControl::ReportUpdateInfo(int32_t slotId, const ImsCurrentCallList &callInfoList) in ReportUpdateInfo() argument 433 for (int32_t i = 0; i < callInfoList.callSize; ++i) { in ReportUpdateInfo() 434 CallReportInfo reportInfo = EncapsulationCallReportInfo(slotId, callInfoList in ReportUpdateInfo() 526 DeleteConnection(CallsReportInfo &callsReportInfo, const ImsCurrentCallList &callInfoList) DeleteConnection() argument [all...] |
/base/telephony/cellular_call/services/control/include/ |
H A D | ims_control.h | 166 int32_t ReportImsCallsData(int32_t slotId, const ImsCurrentCallList &callInfoList); 175 int32_t ReportCallsData(int32_t slotId, const CallInfoList &callInfoList) override; 225 int32_t ReportIncomingInfo(int32_t slotId, const ImsCurrentCallList &callInfoList); 233 int32_t ReportUpdateInfo(int32_t slotId, const ImsCurrentCallList &callInfoList); 249 void DeleteConnection(CallsReportInfo &callsReportInfo, const ImsCurrentCallList &callInfoList);
|
H A D | satellite_control.h | 99 int32_t ReportSatelliteCallsData(int32_t slotId, const SatelliteCurrentCallList &callInfoList); 106 int32_t ReportCallsData(int32_t slotId, const CallInfoList &callInfoList) override; 194 void DeleteConnection(CallsReportInfo &callsResponseInfo, const SatelliteCurrentCallList &callInfoList);
|
H A D | cs_control.h | 180 int32_t ReportCallsData(int32_t slotId, const CallInfoList &callInfoList) override; 234 void DeleteConnection(CallsReportInfo &callsResponseInfo, const CallInfoList &callInfoList);
|
H A D | control_base.h | 163 virtual int32_t ReportCallsData(int32_t slotId, const CallInfoList &callInfoList) = 0;
|
/base/telephony/cellular_call/test/unittest/cstest/ |
H A D | cs2_test.cpp | 1153 auto callInfoList = std::make_shared<CallInfoList>(); in HWTEST_F() local 1154 callInfoList->callSize = 1; in HWTEST_F() 1161 callInfoList->calls = callInfoLists; in HWTEST_F() 1162 fourthHandler.ProcessCsPhoneNumber(*callInfoList); in HWTEST_F() 1163 EXPECT_EQ(callInfoList->calls[0].number, expectedPhoneNumber); in HWTEST_F() 1206 auto callInfoList = std::make_shared<CallInfoList>(); in HWTEST_F() local 1207 callInfoList->callSize = 1; in HWTEST_F() 1221 callInfoList->calls.push_back(callInfo); in HWTEST_F() 1222 fifthHandler.ProcessRedundantCode(*callInfoList); in HWTEST_F() 1223 EXPECT_EQ(callInfoList in HWTEST_F() [all...] |
/base/telephony/cellular_call/services/manager/src/ |
H A D | cellular_call_handler.cpp | 335 void CellularCallHandler::ReportCsCallsData(const CallInfoList &callInfoList) in ReportCsCallsData() argument 343 std::vector<CallInfo>::const_iterator it = callInfoList.calls.begin(); in ReportCsCallsData() 344 for (; it != callInfoList.calls.end(); ++it) { in ReportCsCallsData() 347 TELEPHONY_LOGI("[slot%{public}d] callInfoList.callSize:%{public}d", slotId_, callInfoList.callSize); in ReportCsCallsData() 350 if (callInfoList.callSize == 0) { in ReportCsCallsData() 361 if (csControl->ReportCallsData(slotId_, callInfoList) != TELEPHONY_SUCCESS) { in ReportCsCallsData() 371 if (callInfoList.callSize == 1) { in ReportCsCallsData() 382 if (csControl->ReportCallsData(slotId_, callInfoList) != TELEPHONY_SUCCESS) { in ReportCsCallsData() 438 auto callInfoList in GetCsCallsDataResponse() local 578 ReportSatelliteCallsData(const SatelliteCurrentCallList &callInfoList) ReportSatelliteCallsData() argument 1340 ProcessRedundantCode(CallInfoList &callInfoList) ProcessRedundantCode() argument [all...] |
/base/telephony/cellular_call/test/unittest/imstest/ |
H A D | zero_branch_test.cpp | 74 void InitImsCallInfoList(ImsCurrentCallList &callInfoList, int32_t num); 75 void InitCsCallInfoList(CallInfoList &callInfoList, int32_t num); 111 void BranchTest::InitImsCallInfoList(ImsCurrentCallList &callInfoList, int32_t num) in InitImsCallInfoList() argument 113 callInfoList.callSize = num; in InitImsCallInfoList() 119 callInfoList.calls.push_back(call); in InitImsCallInfoList() 137 void BranchTest::InitCsCallInfoList(CallInfoList &callInfoList, int32_t num) in InitCsCallInfoList() argument 139 callInfoList.callSize = num; in InitCsCallInfoList() 145 callInfoList.calls.push_back(call); in InitCsCallInfoList() 701 CallInfoList callInfoList; in HWTEST_F() local 702 csControl.ReportCallsData(SIM1_SLOTID, callInfoList); in HWTEST_F() 853 CallInfoList callInfoList; HWTEST_F() local [all...] |
H A D | zero_branch1_test.cpp | 75 void InitImsCallInfoList(ImsCurrentCallList &callInfoList, int32_t num); 76 void InitCsCallInfoList(CallInfoList &callInfoList, int32_t num); 112 void BranchTest::InitImsCallInfoList(ImsCurrentCallList &callInfoList, int32_t num) in InitImsCallInfoList() argument 114 callInfoList.callSize = num; in InitImsCallInfoList() 120 callInfoList.calls.push_back(call); in InitImsCallInfoList() 138 void BranchTest::InitCsCallInfoList(CallInfoList &callInfoList, int32_t num) in InitCsCallInfoList() argument 140 callInfoList.callSize = num; in InitCsCallInfoList() 146 callInfoList.calls.push_back(call); in InitCsCallInfoList()
|
H A D | ims2_test.cpp | 511 CallInfoList callInfoList; in HWTEST_F() local 512 EXPECT_EQ(imsControl->ReportCallsData(slotId, callInfoList), TELEPHONY_ERROR); in HWTEST_F()
|
/base/telephony/cellular_call/services/manager/include/ |
H A D | cellular_call_handler.h | 236 void ReportCsCallsData(const CallInfoList &callInfoList); 238 void ReportSatelliteCallsData(const SatelliteCurrentCallList &callInfoList); 241 void ProcessRedundantCode(CallInfoList &callInfoList);
|
/base/telephony/cellular_call/test/unittest/satellitetest/ |
H A D | zero_branch_test.cpp | 114 CallInfoList callInfoList; in HWTEST_F() local 115 satelliteControl.ReportCallsData(SIM1_SLOTID, callInfoList); in HWTEST_F()
|
/base/telephony/core_service/services/tel_ril/src/ |
H A D | tel_ril_call.cpp | 55 const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const HDI::Ril::V1_1::CallInfoList &callInfoList) in GetCallListResponse() 62 BuildCallInfoList(callInfo, callInfoList); in GetCallListResponse() 684 std::shared_ptr<CallInfoList> callInfoList, const HDI::Ril::V1_1::CallInfoList &iCallInfoList) in BuildCallInfoList() 686 callInfoList->callSize = iCallInfoList.callSize; in BuildCallInfoList() 699 callInfoList->calls.push_back(call); in BuildCallInfoList() 54 GetCallListResponse( const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const HDI::Ril::V1_1::CallInfoList &callInfoList) GetCallListResponse() argument 683 BuildCallInfoList( std::shared_ptr<CallInfoList> callInfoList, const HDI::Ril::V1_1::CallInfoList &iCallInfoList) BuildCallInfoList() argument
|
/base/telephony/core_service/test/unittest/tel_ril_gtest/ |
H A D | tel_ril_common_test.cpp | 449 HDI::Ril::V1_1::CallInfoList callInfoList; in HWTEST_F() local 450 auto result = telRilCall->GetCallListResponse(responseInfo, callInfoList); in HWTEST_F()
|
/base/telephony/core_service/services/tel_ril/include/ |
H A D | tel_ril_call.h | 126 void BuildCallInfoList(std::shared_ptr<CallInfoList> callInfoList,
|
/base/telephony/ril_adapter/services/hril/include/ |
H A D | hril_call.h | 154 HDI::Ril::V1_1::CallInfoList &callInfoList, const void *response, size_t responseLen);
|
/base/telephony/ril_adapter/services/hril/src/ |
H A D | hril_call.cpp | 414 HDI::Ril::V1_1::CallInfoList &callInfoList, const void *response, size_t responseLen) in BuildICallList() 418 callInfoList.callSize = num; in BuildICallList() 432 callInfoList.calls.push_back(callInfo); in BuildICallList() 413 BuildICallList( HDI::Ril::V1_1::CallInfoList &callInfoList, const void *response, size_t responseLen) BuildICallList() argument
|