Home
last modified time | relevance | path

Searched refs:imsSwitchValue (Results 1 – 10 of 10) sorted by relevance

/base/telephony/core_service/services/sim/include/
Dmulti_sim_controller.h65 int32_t SaveImsSwitch(int32_t slotId, int32_t imsSwitchValue);
66 int32_t QueryImsSwitch(int32_t slotId, int32_t &imsSwitchValue);
Dsim_manager.h135 int32_t SaveImsSwitch(int32_t slotId, int32_t imsSwitchValue) override;
136 int32_t QueryImsSwitch(int32_t, int32_t &imsSwitchValue) override;
/base/telephony/core_service/interfaces/innerkits/include/
Di_sim_manager.h130 virtual int32_t SaveImsSwitch(int32_t slotId, int32_t imsSwitchValue) = 0;
131 virtual int32_t QueryImsSwitch(int32_t slotId, int32_t &imsSwitchValue) = 0;
Dcore_manager_inner.h302 int32_t SaveImsSwitch(int32_t slotId, int32_t imsSwitchValue);
303 int32_t QueryImsSwitch(int32_t slotId, int32_t &imsSwitchValue);
/base/telephony/core_service/services/sim/src/
Dmulti_sim_controller.cpp913 int32_t MultiSimController::SaveImsSwitch(int32_t slotId, int32_t imsSwitchValue) in SaveImsSwitch() argument
922 DataShare::DataShareValueObject valueObj(imsSwitchValue); in SaveImsSwitch()
927 int32_t MultiSimController::QueryImsSwitch(int32_t slotId, int32_t &imsSwitchValue) in QueryImsSwitch() argument
933 imsSwitchValue = IMS_SWITCH_VALUE_UNKNOWN; in QueryImsSwitch()
938 imsSwitchValue = simRdbInfo.imsSwitch; in QueryImsSwitch()
Dsim_manager.cpp1091 int32_t SimManager::SaveImsSwitch(int32_t slotId, int32_t imsSwitchValue) in SaveImsSwitch() argument
1097 return multiSimController_->SaveImsSwitch(slotId, imsSwitchValue); in SaveImsSwitch()
1100 int32_t SimManager::QueryImsSwitch(int32_t slotId, int32_t &imsSwitchValue) in QueryImsSwitch() argument
1106 return multiSimController_->QueryImsSwitch(slotId, imsSwitchValue); in QueryImsSwitch()
/base/telephony/cellular_call/services/control/src/
Dcellular_call_config.cpp456 int32_t CellularCallConfig::SaveImsSwitch(int32_t slotId, int32_t imsSwitchValue) in SaveImsSwitch() argument
465 if (imsSwitchValue == lastImsSwitchValue) { in SaveImsSwitch()
466 … TELEPHONY_LOGI("ims switch status do not change, imsSwitchValue: %{public}d", imsSwitchValue); in SaveImsSwitch()
469 int32_t saveRet = CoreManagerInner::GetInstance().SaveImsSwitch(slotId, imsSwitchValue); in SaveImsSwitch()
/base/telephony/cellular_call/services/control/include/
Dcellular_call_config.h478 int32_t SaveImsSwitch(int32_t slotId, int32_t imsSwitchValue);
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp915 int32_t imsSwitchValue = 0; variable
916 EXPECT_NE(mInner.SaveImsSwitch(0, imsSwitchValue), TELEPHONY_ERR_SUCCESS);
968 int32_t imsSwitchValue = 1; variable
972 EXPECT_EQ(mInner.QueryImsSwitch(INVALID_SLOTID, imsSwitchValue), TELEPHONY_ERROR);
1145 int32_t imsSwitchValue; variable
1146 EXPECT_NE(multiSimController->QueryImsSwitch(0, imsSwitchValue), TELEPHONY_ERR_SUCCESS);
1322 int32_t imsSwitchValue; variable
1323 EXPECT_NE(simManager->QueryImsSwitch(0, imsSwitchValue), TELEPHONY_ERR_SUCCESS);
1324 EXPECT_NE(simManager->QueryImsSwitch(INVALID_SLOTID, imsSwitchValue), TELEPHONY_ERR_SUCCESS);
/base/telephony/core_service/frameworks/native/src/
Dcore_manager_inner.cpp2255 int32_t CoreManagerInner::SaveImsSwitch(int32_t slotId, int32_t imsSwitchValue) in SaveImsSwitch() argument
2261 return simManager_->SaveImsSwitch(slotId, imsSwitchValue); in SaveImsSwitch()
2264 int32_t CoreManagerInner::QueryImsSwitch(int32_t slotId, int32_t &imsSwitchValue) in QueryImsSwitch() argument
2270 return simManager_->QueryImsSwitch(slotId, imsSwitchValue); in QueryImsSwitch()