/base/telephony/cellular_call/test/unittest/cstest/ |
H A D | cs_test.h | 97 int32_t Dial(const sptr<CellularCallInterface> &telephonyService) const; 98 int32_t HangUp(const sptr<CellularCallInterface> &telephonyService) const; 99 int32_t Answer(const sptr<CellularCallInterface> &telephonyService) const; 100 int32_t Reject(const sptr<CellularCallInterface> &telephonyService) const; 101 int32_t HoldCall(const sptr<CellularCallInterface> &telephonyService) const; 102 int32_t UnHoldCall(const sptr<CellularCallInterface> &telephonyService) const; 103 int32_t SwitchCall(const sptr<CellularCallInterface> &telephonyService) const; 104 int32_t IsEmergencyPhoneNumber(const sptr<CellularCallInterface> &telephonyService) const; 105 int32_t CombineConference(const sptr<CellularCallInterface> &telephonyService) const; 106 int32_t SeparateConference(const sptr<CellularCallInterface> &telephonyService) cons 160 auto telephonyService = iface_cast<CellularCallInterface>(remote); TestDialCallByCs() local [all...] |
H A D | cs_test.cpp | 114 int32_t CsTest::Dial(const sptr<CellularCallInterface> &telephonyService) const in Dial() 129 return telephonyService->Dial(callInfo); in Dial() 132 int32_t CsTest::HangUp(const sptr<CellularCallInterface> &telephonyService) const in HangUp() 144 return telephonyService->HangUp(callInfo, static_cast<CallSupplementType>(type)); in HangUp() 147 int32_t CsTest::Answer(const sptr<CellularCallInterface> &telephonyService) const in Answer() 154 return telephonyService->Answer(callInfo); in Answer() 157 int32_t CsTest::Reject(const sptr<CellularCallInterface> &telephonyService) const in Reject() 166 return telephonyService->Reject(callInfo); in Reject() 169 int32_t CsTest::HoldCall(const sptr<CellularCallInterface> &telephonyService) const in HoldCall() 176 return telephonyService in HoldCall() 473 auto telephonyService = iface_cast<CellularCallInterface>(remote); JudgeIsEmergencyPhoneNumber() local [all...] |
H A D | cs_calloperation_test.cpp | 477 auto telephonyService = iface_cast<CellularCallInterface>(hangUpCallRemote); in HWTEST_F() local 478 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 486 ret = telephonyService->HangUp(hangUpCallInfo, CallSupplementType::TYPE_DEFAULT); in HWTEST_F() 488 ret = telephonyService->HangUp(hangUpCallInfo, CallSupplementType::TYPE_HANG_UP_ACTIVE); in HWTEST_F() 494 ret = telephonyService->HangUp(hangUpCallInfo, CallSupplementType::TYPE_DEFAULT); in HWTEST_F() 496 ret = telephonyService->HangUp(hangUpCallInfo, CallSupplementType::TYPE_HANG_UP_ACTIVE); in HWTEST_F() 516 auto telephonyService = iface_cast<CellularCallInterface>(hangUpCallRemote); in HWTEST_F() local 517 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 522 ret = telephonyService->HangUp(hangUpCallInfo, CallSupplementType::TYPE_DEFAULT); in HWTEST_F() 529 ret = telephonyService in HWTEST_F() 546 auto telephonyService = iface_cast<CellularCallInterface>(answerCallRemote); HWTEST_F() local 582 auto telephonyService = iface_cast<CellularCallInterface>(answerCallRemote); HWTEST_F() local 612 auto telephonyService = iface_cast<CellularCallInterface>(rejectCallRemote); HWTEST_F() local 648 auto telephonyService = iface_cast<CellularCallInterface>(rejectCallRemote); HWTEST_F() local 678 auto telephonyService = iface_cast<CellularCallInterface>(holdCallRemote); HWTEST_F() local 714 auto telephonyService = iface_cast<CellularCallInterface>(holdCallRemote); HWTEST_F() local 744 auto telephonyService = iface_cast<CellularCallInterface>(unHoldCallRemote); HWTEST_F() local 780 auto telephonyService = iface_cast<CellularCallInterface>(unHoldCallRemote); HWTEST_F() local 810 auto telephonyService = iface_cast<CellularCallInterface>(switchCallRemote); HWTEST_F() local 846 auto telephonyService = iface_cast<CellularCallInterface>(switchCallRemote); HWTEST_F() local 876 auto telephonyService = iface_cast<CellularCallInterface>(combineRemote); HWTEST_F() local 912 auto telephonyService = iface_cast<CellularCallInterface>(combineRemote); HWTEST_F() local 942 auto telephonyService = iface_cast<CellularCallInterface>(separateRemote); HWTEST_F() local 978 auto telephonyService = iface_cast<CellularCallInterface>(separateRemote); HWTEST_F() local 1008 auto telephonyService = iface_cast<CellularCallInterface>(kickOutRemote); HWTEST_F() local 1044 auto telephonyService = iface_cast<CellularCallInterface>(kickOutRemote); HWTEST_F() local 1074 auto telephonyService = iface_cast<CellularCallInterface>(hangUpAllConRemote); HWTEST_F() local 1101 auto telephonyService = iface_cast<CellularCallInterface>(startDtmfRemote); HWTEST_F() local 1139 auto telephonyService = iface_cast<CellularCallInterface>(startDtmfRemote); HWTEST_F() local 1170 auto telephonyService = iface_cast<CellularCallInterface>(stopDtmfRemote); HWTEST_F() local 1206 auto telephonyService = iface_cast<CellularCallInterface>(stopDtmfRemote); HWTEST_F() local 1236 auto telephonyService = iface_cast<CellularCallInterface>(sendDtmfRemote); HWTEST_F() local 1274 auto telephonyService = iface_cast<CellularCallInterface>(sendDtmfRemote); HWTEST_F() local [all...] |
H A D | cs1_test.cpp | 56 auto telephonyService = iface_cast<CellularCallInterface>(remote); in HWTEST_F() local 57 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 72 auto telephonyService = iface_cast<CellularCallInterface>(remote); in HWTEST_F() local 73 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 89 auto telephonyService = iface_cast<CellularCallInterface>(emergencyRemote); in HWTEST_F() local 90 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 116 EXPECT_EQ(telephonyService->SetEmergencyCallList(SIM1_SLOTID, eccVec), 0); in HWTEST_F() 119 EXPECT_EQ(telephonyService->SetEmergencyCallList(SIM2_SLOTID, eccVec), 0); in HWTEST_F() 131 auto telephonyService = iface_cast<CellularCallInterface>(operatorRemote); in HWTEST_F() local 132 ASSERT_TRUE(telephonyService ! in HWTEST_F() 592 auto telephonyService = iface_cast<CellularCallInterface>(hangUpCallRemote); HWTEST_F() local 631 auto telephonyService = iface_cast<CellularCallInterface>(hangUpCallRemote); HWTEST_F() local 661 auto telephonyService = iface_cast<CellularCallInterface>(answerCallRemote); HWTEST_F() local 697 auto telephonyService = iface_cast<CellularCallInterface>(answerCallRemote); HWTEST_F() local 727 auto telephonyService = iface_cast<CellularCallInterface>(rejectCallRemote); HWTEST_F() local 763 auto telephonyService = iface_cast<CellularCallInterface>(rejectCallRemote); HWTEST_F() local 793 auto telephonyService = iface_cast<CellularCallInterface>(holdCallRemote); HWTEST_F() local 829 auto telephonyService = iface_cast<CellularCallInterface>(holdCallRemote); HWTEST_F() local 859 auto telephonyService = iface_cast<CellularCallInterface>(unHoldCallRemote); HWTEST_F() local 895 auto telephonyService = iface_cast<CellularCallInterface>(unHoldCallRemote); HWTEST_F() local 925 auto telephonyService = iface_cast<CellularCallInterface>(switchCallRemote); HWTEST_F() local 961 auto telephonyService = iface_cast<CellularCallInterface>(switchCallRemote); HWTEST_F() local [all...] |
H A D | cs2_test.cpp | 61 auto telephonyService = iface_cast<CellularCallInterface>(combineRemote); in HWTEST_F() local 62 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 70 ret = telephonyService->CombineConference(conferenceCallInfo); in HWTEST_F() 77 ret = telephonyService->CombineConference(conferenceCallInfo); in HWTEST_F() 97 auto telephonyService = iface_cast<CellularCallInterface>(combineRemote); in HWTEST_F() local 98 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 103 ret = telephonyService->CombineConference(conferenceCallInfo); in HWTEST_F() 110 ret = telephonyService->CombineConference(conferenceCallInfo); in HWTEST_F() 127 auto telephonyService = iface_cast<CellularCallInterface>(separateRemote); in HWTEST_F() local 128 ASSERT_TRUE(telephonyService ! in HWTEST_F() 163 auto telephonyService = iface_cast<CellularCallInterface>(separateRemote); HWTEST_F() local 193 auto telephonyService = iface_cast<CellularCallInterface>(kickOutRemote); HWTEST_F() local 229 auto telephonyService = iface_cast<CellularCallInterface>(kickOutRemote); HWTEST_F() local 259 auto telephonyService = iface_cast<CellularCallInterface>(hangUpAllConRemote); HWTEST_F() local 286 auto telephonyService = iface_cast<CellularCallInterface>(startDtmfRemote); HWTEST_F() local 324 auto telephonyService = iface_cast<CellularCallInterface>(startDtmfRemote); HWTEST_F() local 355 auto telephonyService = iface_cast<CellularCallInterface>(stopDtmfRemote); HWTEST_F() local 391 auto telephonyService = iface_cast<CellularCallInterface>(stopDtmfRemote); HWTEST_F() local 421 auto telephonyService = iface_cast<CellularCallInterface>(sendDtmfRemote); HWTEST_F() local 459 auto telephonyService = iface_cast<CellularCallInterface>(sendDtmfRemote); HWTEST_F() local 491 auto telephonyService = iface_cast<CellularCallInterface>(domainPrefModeRemote); HWTEST_F() local 521 auto telephonyService = iface_cast<CellularCallInterface>(domainPrefModeRemote); HWTEST_F() local 545 auto telephonyService = iface_cast<CellularCallInterface>(getMuteRemote); HWTEST_F() local 575 auto telephonyService = iface_cast<CellularCallInterface>(getMuteRemote); HWTEST_F() local [all...] |
/base/telephony/cellular_call/test/unittest/satellitetest/ |
H A D | satellite_test.cpp | 71 auto telephonyService = iface_cast<CellularCallInterface>(remote); in HWTEST_F() local 72 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 89 auto telephonyService = iface_cast<CellularCallInterface>(remote); in HWTEST_F() local 90 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 106 auto telephonyService = iface_cast<CellularCallInterface>(hangUpCallRemote); in HWTEST_F() local 107 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 138 auto telephonyService = iface_cast<CellularCallInterface>(hangUpCallRemote); in HWTEST_F() local 139 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 147 ret = telephonyService->HangUp(callInfo, CallSupplementType::TYPE_DEFAULT); in HWTEST_F() 154 ret = telephonyService in HWTEST_F() 172 auto telephonyService = iface_cast<CellularCallInterface>(answerCallRemote); HWTEST_F() local 206 auto telephonyService = iface_cast<CellularCallInterface>(rejectCallRemote); HWTEST_F() local 238 auto telephonyService = iface_cast<CellularCallInterface>(startDtmfRemote); HWTEST_F() local 276 auto telephonyService = iface_cast<CellularCallInterface>(startDtmfRemote); HWTEST_F() local 307 auto telephonyService = iface_cast<CellularCallInterface>(stopDtmfRemote); HWTEST_F() local 343 auto telephonyService = iface_cast<CellularCallInterface>(stopDtmfRemote); HWTEST_F() local 373 auto telephonyService = iface_cast<CellularCallInterface>(sendDtmfRemote); HWTEST_F() local 411 auto telephonyService = iface_cast<CellularCallInterface>(sendDtmfRemote); HWTEST_F() local [all...] |
H A D | satellite_test.h | 175 auto telephonyService = iface_cast<CellularCallInterface>(remote); in TestDialCallBySatellite() local 176 if (telephonyService == nullptr) { in TestDialCallBySatellite() 185 ret = telephonyService->Dial(SatelliteCellularCallInfo); in TestDialCallBySatellite()
|
/base/telephony/cellular_call/test/unittest/imstest/ |
H A D | ims_test.cpp | 95 int32_t ImsTest::SetDomainPreferenceMode(const sptr<CellularCallInterface> &telephonyService) const in SetDomainPreferenceMode() 104 return telephonyService->SetDomainPreferenceMode(slotId, mode); in SetDomainPreferenceMode() 107 int32_t ImsTest::GetDomainPreferenceMode(const sptr<CellularCallInterface> &telephonyService) const in GetDomainPreferenceMode() 113 return telephonyService->GetDomainPreferenceMode(slotId); in GetDomainPreferenceMode() 116 int32_t ImsTest::SetImsSwitchStatus(const sptr<CellularCallInterface> &telephonyService) const in SetImsSwitchStatus() 125 return telephonyService->SetImsSwitchStatus(slotId, active); in SetImsSwitchStatus() 128 int32_t ImsTest::GetImsSwitchStatus(const sptr<CellularCallInterface> &telephonyService) const in GetImsSwitchStatus() 135 return telephonyService->GetImsSwitchStatus(slotId, enabled); in GetImsSwitchStatus() 138 int32_t ImsTest::SetImsConfigString(const sptr<CellularCallInterface> &telephonyService) const in SetImsConfigString() 148 return telephonyService in SetImsConfigString() [all...] |
H A D | ims_test.h | 141 int32_t SetDomainPreferenceMode(const sptr<CellularCallInterface> &telephonyService) const; 142 int32_t GetDomainPreferenceMode(const sptr<CellularCallInterface> &telephonyService) const; 143 int32_t SetImsSwitchStatus(const sptr<CellularCallInterface> &telephonyService) const; 144 int32_t GetImsSwitchStatus(const sptr<CellularCallInterface> &telephonyService) const; 145 int32_t SetImsConfigString(const sptr<CellularCallInterface> &telephonyService) const; 146 int32_t SetImsConfigInt(const sptr<CellularCallInterface> &telephonyService) const; 147 int32_t GetImsConfig(const sptr<CellularCallInterface> &telephonyService) const; 148 int32_t SetImsFeatureValue(const sptr<CellularCallInterface> &telephonyService) const; 149 int32_t GetImsFeatureValue(const sptr<CellularCallInterface> &telephonyService) const; 150 int32_t ControlCamera(const sptr<CellularCallInterface> &telephonyService) cons 206 auto telephonyService = iface_cast<CellularCallInterface>(remote); TestDialCallByIms() local [all...] |
H A D | ims1_test.cpp | 56 auto telephonyService = iface_cast<CellularCallInterface>(remote); in HWTEST_F() local 57 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 74 auto telephonyService = iface_cast<CellularCallInterface>(remote); in HWTEST_F() local 75 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 410 auto telephonyService = iface_cast<CellularCallInterface>(hangUpCallRemote); in HWTEST_F() local 411 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 419 ret = telephonyService->HangUp(callInfo, CallSupplementType::TYPE_DEFAULT); in HWTEST_F() 421 ret = telephonyService->HangUp(callInfo, CallSupplementType::TYPE_HANG_UP_ACTIVE); in HWTEST_F() 428 ret = telephonyService->HangUp(callInfo, CallSupplementType::TYPE_DEFAULT); in HWTEST_F() 430 ret = telephonyService in HWTEST_F() 447 auto telephonyService = iface_cast<CellularCallInterface>(answerCallRemote); HWTEST_F() local 480 auto telephonyService = iface_cast<CellularCallInterface>(rejectCallRemote); HWTEST_F() local 513 auto telephonyService = iface_cast<CellularCallInterface>(holdCallRemote); HWTEST_F() local 546 auto telephonyService = iface_cast<CellularCallInterface>(unHoldCallRemote); HWTEST_F() local 579 auto telephonyService = iface_cast<CellularCallInterface>(switchCallRemote); HWTEST_F() local 612 auto telephonyService = iface_cast<CellularCallInterface>(combineRemote); HWTEST_F() local 645 auto telephonyService = iface_cast<CellularCallInterface>(separateRemote); HWTEST_F() local 678 auto telephonyService = iface_cast<CellularCallInterface>(kickOutRemote); HWTEST_F() local 711 auto telephonyService = iface_cast<CellularCallInterface>(startDtmfRemote); HWTEST_F() local 746 auto telephonyService = iface_cast<CellularCallInterface>(stopDtmfRemote); HWTEST_F() local 779 auto telephonyService = iface_cast<CellularCallInterface>(sendDtmfRemote); HWTEST_F() local 814 auto telephonyService = iface_cast<CellularCallInterface>(transferRemote); HWTEST_F() local 844 auto telephonyService = iface_cast<CellularCallInterface>(setVoNRRemote); HWTEST_F() local [all...] |
H A D | ims2_test.cpp | 62 auto telephonyService = iface_cast<CellularCallInterface>(setVoNRRemote); in HWTEST_F() local 63 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 65 int32_t ret = telephonyService->SetVoNRState(SIM1_SLOTID, 0); in HWTEST_F() 69 int32_t ret = telephonyService->SetVoNRState(SIM2_SLOTID, 0); in HWTEST_F() 86 auto telephonyService = iface_cast<CellularCallInterface>(getVoNRRemote); in HWTEST_F() local 87 ASSERT_TRUE(telephonyService != nullptr); in HWTEST_F() 93 int32_t ret = telephonyService->GetVoNRState(SIM1_SLOTID, result); in HWTEST_F() 98 int32_t ret = telephonyService->GetVoNRState(SIM2_SLOTID, result); in HWTEST_F() 115 auto telephonyService = iface_cast<CellularCallInterface>(startRttRemote); in HWTEST_F() local 116 ASSERT_TRUE(telephonyService ! in HWTEST_F() 142 auto telephonyService = iface_cast<CellularCallInterface>(stopRttRemote); HWTEST_F() local 169 auto telephonyService = iface_cast<CellularCallInterface>(domainPrefModeRemote); HWTEST_F() local 198 auto telephonyService = iface_cast<CellularCallInterface>(getImsConfigRemote); HWTEST_F() local 227 auto telephonyService = iface_cast<CellularCallInterface>(getImsFeatureRemote); HWTEST_F() local 256 auto telephonyService = iface_cast<CellularCallInterface>(setMuteRemote); HWTEST_F() local 285 auto telephonyService = iface_cast<CellularCallInterface>(SetCWRemote); HWTEST_F() local 314 auto telephonyService = iface_cast<CellularCallInterface>(getCWRemote); HWTEST_F() local 341 auto telephonyService = iface_cast<CellularCallInterface>(setCRRemote); HWTEST_F() local 370 auto telephonyService = iface_cast<CellularCallInterface>(getCRRemote); HWTEST_F() local 399 auto telephonyService = iface_cast<CellularCallInterface>(setTransferRemote); HWTEST_F() local 428 auto telephonyService = iface_cast<CellularCallInterface>(getTransferRemote); HWTEST_F() local [all...] |
/base/customization/enterprise_device_management/services/edm_plugin/src/ |
H A D | get_device_info_plugin.cpp | 146 auto &telephonyService = Telephony::CoreServiceClient::GetInstance(); in GetSimInfoBySlotId() local 147 int32_t meidRet = telephonyService.GetMeid(slotId, meid); in GetSimInfoBySlotId() 154 int32_t imsiRet = telephonyService.GetIMSI(slotId, imsi); in GetSimInfoBySlotId() 161 int32_t iccIdRet = telephonyService.GetSimIccId(slotId, iccId); in GetSimInfoBySlotId() 168 int32_t imeiRet = telephonyService.GetImei(slotId, imei); in GetSimInfoBySlotId()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | sim_test_util.cpp | 69 sptr<ICoreService> telephonyService = iface_cast<ICoreService>(remote); in GetProxy() local 70 return telephonyService; in GetProxy()
|
H A D | network_search_test.cpp | 72 sptr<ICoreService> telephonyService = iface_cast<ICoreService>(remote); in GetProxy() local 73 return telephonyService; in GetProxy()
|
/base/telephony/core_service/services/network_search/test/ |
H A D | test.cpp | 98 sptr<ICoreService> telephonyService = iface_cast<ICoreService>(remote); in GetProxy() local 100 return telephonyService; in GetProxy()
|
/base/telephony/core_service/test/unittest/tel_ril_gtest/ |
H A D | tel_ril_test_util.cpp | 127 sptr<ICoreService> telephonyService = iface_cast<ICoreService>(remote); in GetProxy() local 128 return telephonyService; in GetProxy() 137 auto telephonyService = GetProxy(); in ProcessTest() local 138 if (telephonyService == nullptr) { in ProcessTest() 139 TELEPHONY_LOGE("TelRilTest::ProcessTest telephonyService is nullptr"); in ProcessTest() 143 telephonyService->HasSimCard(slotId, hasSimCard); in ProcessTest()
|
/base/telephony/core_service/services/sim/test/ |
H A D | test.cpp | 287 sptr<ICoreService> telephonyService = iface_cast<ICoreService>(remote); in GetProxy() local 289 return telephonyService; in GetProxy()
|