Home
last modified time | relevance | path

Searched refs:defaultSlotId (Results 1 - 6 of 6) sorted by relevance

/base/telephony/cellular_data/services/src/state_machine/
H A Dincall_data_state_machine.cpp210 int32_t defaultSlotId = CoreManagerInner::GetInstance().GetDefaultCellularDataSlotId(); in ProcessCallStarted() local
211 if (defaultSlotId != stateMachine->GetSlotId()) { in ProcessCallStarted()
251 int32_t defaultSlotId = CoreManagerInner::GetInstance().GetDefaultCellularDataSlotId(); in ProcessSettingsOn() local
252 if (defaultSlotId != stateMachine->GetSlotId()) { in ProcessSettingsOn()
269 int32_t defaultSlotId = CoreManagerInner::GetInstance().GetDefaultCellularDataSlotId(); in ProcessDsdsChanged() local
270 if (defaultSlotId != stateMachine->GetSlotId()) { in ProcessDsdsChanged()
325 int32_t defaultSlotId = CoreManagerInner::GetInstance().GetDefaultCellularDataSlotId(); in ProcessCallEnded() local
328 if (defaultSlotId != primarySlotId) { in ProcessCallEnded()
346 int32_t defaultSlotId = CoreManagerInner::GetInstance().GetDefaultCellularDataSlotId(); in ProcessSettingsOff() local
349 if (defaultSlotId ! in ProcessSettingsOff()
434 int32_t defaultSlotId = CoreManagerInner::GetInstance().GetDefaultCellularDataSlotId(); StateBegin() local
[all...]
H A Dcellular_data_state_machine.cpp310 int32_t defaultSlotId = CoreManagerInner::GetInstance().GetDefaultCellularDataSlotId(); in GetNetScoreBySlotId() local
311 if (slotId != defaultSlotId) { in GetNetScoreBySlotId()
/base/telephony/core_service/services/sim/src/
H A Dmulti_sim_controller.cpp551 int32_t defaultSlotId = getDefaultMainSlotByIccId(); in CheckIfNeedSwitchMainSlotId() local
552 if (IsSimActive(defaultSlotId)) { in CheckIfNeedSwitchMainSlotId()
553 if (IsAllCardsReady() && defaultSlotId != lastPrimarySlotId_) { in CheckIfNeedSwitchMainSlotId()
554 TELEPHONY_LOGI("defaultSlotId changed, need to set slot%{public}d primary", defaultSlotId); in CheckIfNeedSwitchMainSlotId()
555 std::thread initDataTask([&, defaultSlotId = defaultSlotId]() { in CheckIfNeedSwitchMainSlotId()
557 CoreManagerInner::GetInstance().SetPrimarySlotId(defaultSlotId); in CheckIfNeedSwitchMainSlotId()
560 } else if (radioProtocolController_->GetRadioProtocolModemId(defaultSlotId) != MAIN_MODEM_ID) { in CheckIfNeedSwitchMainSlotId()
561 TELEPHONY_LOGI("main slot is different with modemid, need to set slot%{public}d primary", defaultSlotId); in CheckIfNeedSwitchMainSlotId()
[all...]
/base/telephony/state_registry/frameworks/js/napi/src/
H A Dnapi_state_registry.cpp62 int32_t defaultSlotId = DEFAULT_SIM_SLOT_ID; in IsValidSlotIdEx() local
64 defaultSlotId = -1; in IsValidSlotIdEx()
67 return ((slotId >= defaultSlotId) && (slotId < SIM_SLOT_COUNT + 1)); in IsValidSlotIdEx()
/base/telephony/state_registry/frameworks/cj/src/
H A Dtelephony_observer_impl.cpp111 int32_t defaultSlotId = DEFAULT_SIM_SLOT_ID; in IsValidSlotIdEx() local
113 defaultSlotId = -1; in IsValidSlotIdEx()
116 return ((slotId >= defaultSlotId) && (slotId < SIM_SLOT_COUNT + 1)); in IsValidSlotIdEx()
/base/telephony/cellular_data/services/src/
H A Dcellular_data_handler.cpp1611 int32_t defaultSlotId = CoreManagerInner::GetInstance().GetDefaultCellularDataSlotId(); in HandleDsdsModeChanged() local
1616 if (defaultSlotId != i && object->data == DSDS_MODE_V2) { in HandleDsdsModeChanged()

Completed in 11 milliseconds